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
shrug
New Member
New Member


Joined: Jul 24, 2006
Posts: 12

PostPosted: Thu May 17, 2007 7:41 am Reply with quote Back to top

Hi. I have a problem with 8.0
When I was using 7.9 I had html code in my admin messages and news stories to add photos to them.
8.0 seems to strip out all of my html code. As a consequence I have had to put my last two sites back to 7.9

Any ideas?

Thank you
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Thu May 17, 2007 7:46 am Reply with quote Back to top

You need to allow the img tag ('img' => 2) in your AllowableHtml array in config.php. Use the search function for AllowableHTML here if you need more info.
View user's profile Send private message
shrug
New Member
New Member


Joined: Jul 24, 2006
Posts: 12

PostPosted: Thu May 17, 2007 8:03 am Reply with quote Back to top

Many thanks. That did the trick. It is very inconvenient and difficult to find!
View user's profile Send private message
shrug
New Member
New Member


Joined: Jul 24, 2006
Posts: 12

PostPosted: Thu May 17, 2007 9:49 am Reply with quote Back to top

Is there a way to have it not strip any html code like in 7.8?
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Thu May 17, 2007 11:37 am Reply with quote Back to top

7.8, AFAIK, has the same mechanisim as 8.0 for stripping HTML....it is that AllowableHTML array. You have to put the tags you don't want stripped into it.
View user's profile Send private message
shrug
New Member
New Member


Joined: Jul 24, 2006
Posts: 12

PostPosted: Thu May 17, 2007 11:42 am Reply with quote Back to top

OK, I now see that line in my config.php however I have not changed it and it still allows tables, images, etc., with all of the attributes.
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-2011 by Raven

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 Modified by the RavenNuke™ Team ::

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

zerosum