PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
dad7732
Worker
Worker


Joined: Mar 18, 2007
Posts: 211

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

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: 4553
Location: Poland

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

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 Visit poster's website
dad7732
Worker
Worker


Joined: Mar 18, 2007
Posts: 211

PostPosted: Thu Jul 17, 2008 6:28 am Reply with quote Back to top

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 to the forums!

Replace with: Sorry, we don't allow images

Same can be done for other sources as well.

Cheers
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum