Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues
Author Message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1242

PostPosted: Wed Jul 16, 2008 3:32 pm Reply with quote

I can alter the code in /includes/bbcode.php but is there an easier way to disallow image posting altogether? Why there isn't anything in the config files to do that in the UI is beyond me.

Cheers
 
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6792
Location: Ha Noi, Viet Nam

PostPosted: Thu Jul 17, 2008 1:08 am Reply with quote

This is the first time anyone has asked to disable image posting in the forums to the best of my knowledge.
However if 'allow BBCode' and 'allow HTML' in the forum config is off then that should prevent image linking. Failing that, yes, I think you would need to disable BBCode in that file for images if you are allowing the use of BBCode in the forums. Likewise if you have HTML enable you might want to remove img tag from the allowed_html() array - but this will affect the whole of nuke.
 
View user's profile Send private message Send e-mail
dad7732
PostPosted: Thu Jul 17, 2008 6:28 am Reply with quote

Only the [IMG] needs to be disabled but yes, I can do that in bbcode.php but I thought maybe there would be an easier way but since I already know how to edit the file then I guess there is no "easier" way, at least for me that is. Smile

Posting images in my support forum use to get really out of hand with users posting huge images and such and the occasional spam images. Users now simply post a link to the image and that works as intended.

I'd still like to see it in the UI prefs tho.

BTW: Imageshack postings are easy to disallow by using the word censor:

Word => Only registered users can see links on this board! Get registered or login!
Replace with: Sorry, we don't allow images

Same can be done for other sources as well.

Cheers
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©