| Author |
Message |
dad7732 Worker


Joined: Mar 18, 2007 Posts: 211
|
Posted:
Wed Jul 16, 2008 3:32 pm |
|
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 |
|
|
|
 |
Guardian2003 Site Admin

Joined: Aug 28, 2003 Posts: 4553 Location: Poland
|
Posted:
Thu Jul 17, 2008 1:08 am |
|
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. |
|
|
|
 |
dad7732 Worker


Joined: Mar 18, 2007 Posts: 211
|
Posted:
Thu Jul 17, 2008 6:28 am |
|
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.
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 =>
Replace with: Sorry, we don't allow images
Same can be done for other sources as well.
Cheers |
|
|
|
 |
|
|
|
|