Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.218
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ? This s...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriously...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Phpnuke stripping img alt text tag?
Phpnuke stripping img alt text tag?

6 Replies / 1988 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » General PhpNuke

View previous topic :: View next topic


fr34k123
Reputation: 473 Add RepSubtract Rep
Local time: 7:08 AM

uk.gif

Armour Whore
Armour Whore

0.02 posts per day
Medals: 0

Joined: May 19, 2007
Last Visit: 11 Nov 2008
Posts: 43
Points: 695 

Post Phpnuke stripping img alt text tag? Posted: Sat Apr 19, 2008 6:36 pm

Hi,
i have recently noticed that phpnuke is stripping the image 'ALT' text code. Any idea's why?

Thanks
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

StevieH
Reputation: 609.4 Add RepSubtract Rep
votes: 4
Local time: 7:08 AM
Location: Bristol
uk.gif



0.08 posts per day
Medals: 2 (View more...)
Dedication (Amount: 1)
Site Helper
Site Helper
Joined: Mar 19, 2007
Last Visit: 03 May 2012
Posts: 157
Points: 20891 

View user's profileSend private messageVisit poster's websiteMSN Messenger Reply with quote

fr34k123
Reputation: 473 Add RepSubtract Rep
Local time: 7:08 AM

uk.gif

Armour Whore
Armour Whore

0.02 posts per day
Medals: 0

Joined: May 19, 2007
Last Visit: 11 Nov 2008
Posts: 43
Points: 695 

Post Phpnuke stripping img alt text tag? Posted: Sat Apr 19, 2008 11:07 pm

hi mate,
running nuke 7.9 fully patched with nuke sentinal (fully up to date).

Thanks for your reply :)
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote


floppy
Reputation: 2088.8 Add RepSubtract Rep
votes: 22
Local time: 2:08 AM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.17 posts per day
Medals: 2 (View more...)
Dedication (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 03 May 2012
Posts: 2353
Points: 132516 

Post Phpnuke stripping img alt text tag? Posted: Sat Apr 19, 2008 11:13 pm

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

Out of news?

I use nukeWYSIWYG. I think your using nsn news. It has that hack also.

http://www.nukeseo.com/modules.php?name=Downloads&cid=2
 

Phpnuke Downloads | VMaxxRx Male Enhancement  
View user's profileSend private messageVisit poster's website Reply with quote

fr34k123
Reputation: 473 Add RepSubtract Rep
Local time: 7:08 AM

uk.gif

Armour Whore
Armour Whore

0.02 posts per day
Medals: 0

Joined: May 19, 2007
Last Visit: 11 Nov 2008
Posts: 43
Points: 695 

Post Phpnuke stripping img alt text tag? Posted: Sun Apr 20, 2008 5:18 pm

Hi mate,
Ive noticed it's not just the news it's stripping the code to but also the images within our review module and within an image block - well basically all over the site it's stripping the alt tag for images.
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

floppy
Reputation: 2088.8 Add RepSubtract Rep
votes: 22
Local time: 2:08 AM
Location: Jackson Mississippi
usa.gif

Site Admin
Site Admin

1.17 posts per day
Medals: 2 (View more...)
Dedication (Amount: 1)
Scripts/Coder
Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 03 May 2012
Posts: 2353
Points: 132516 

Post Phpnuke stripping img alt text tag? Posted: Sun Apr 20, 2008 5:19 pm

Shop Purchases:
Clan Roster 2.0 · Multi Gaming (Warrior) Evo Theme · COD6 ModernWarfare 2 Teaser Splash Screen · Left for Dead Evo Extreme Version

I think you need to add it to your safe string list in config.php. I forget what its called off top of my head though.
 

 
View user's profileSend private messageVisit poster's website Reply with quote


DreAdeDcoRpSE
Reputation: 2572.3 Add RepSubtract Rep
votes: 28
Local time: 2:08 AM
Location: Back of your Mind
usa.gif

Site Admin
Site Admin

1.37 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
Forums Moderator
Forums Moderator
Joined: Sep 22, 2007
Last Visit: 24 May 2012
Posts: 2331
Points: 136106 

Post Phpnuke stripping img alt text tag? Posted: Sun Apr 20, 2008 7:09 pm

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

Find in ROOT/config.php

Code:
$AllowableHTML = array("b"=>1,"i"=>1,"strike"=>1,"div"=>2,"u"=>1,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1);


and replace with

Code:
$advanced_editor = 1;
$AllowableHTML = array(
   'a' => array('href' => 1, 'target' => 1, 'title' => array('minlen' => 4, 'maxlen' => 120)),
   'b' => array(),
   'blockquote' => array(),
   'br' => array(),
   'center' => array(),
   'div' => array('align' => 1),
   'em' => array(),
   'font' => array('face' => 1, 'style' => 1, 'color' => 1, 'size' => array('minval' => 1, 'maxval' => 7)),
   'h1'=>array(),
   'h2'=>array(),
   'h3'=>array(),
   'h4'=>array(),
   'h5'=>array(),
   'h6'=>array(),
   'hr' => array(),
   'i' => array(),
   'img' => array('alt' => 1, 'src' => 1, 'hspace' => 1, 'vspace' => 1, 'width' => 1, 'height' => 1, 'border' => 1, 'align' => 1),
   'li' => array(),
   'ol' => array(),
   'p' => array('align' => 1),
   'pre' => array('align' => 1),
   'span' =>array('class' => 1, 'style' => array('font-family' => 1, 'color' => 1)),
   'strong' => array(),
   'strike'=>array(),
   'sub'=>array(),
   'sup'=>array(),
   'table' => array('align' => 1, 'border' => 1, 'cell' => 1, 'width' => 1, 'cellspacing' => 1, 'cellpadding' => 1),
   'td' => array('align' => 1, 'width' => 1, 'valign' => 1, 'height' => 1, 'rowspan' => 1, 'colspan' => 1 ),
   'tr' => array('align' => 1),
   'tt'=>array(),
   'u' => array(),
   'ul' => array(),
);
 

 
View user's profileSend private messageVisit poster's website Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » General PhpNuke


 
6 Replies / 1988 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
Jump to:  
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 cannot attach files in this forum
You can download files in this forum