Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.217
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 sh...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriousl...
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 - Problem with html code
Problem with html code

4 Replies / 974 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » General PhpNuke

View previous topic :: View next topic


Tonyss
Reputation: 7 Add RepSubtract Rep
Local time: 2:20 AM
Location: Kosovo/ Kamenica
albania.gif

Rocket Noob
Rocket Noob

0.02 posts per day
Medals: 0

Joined: Apr 29, 2009
Last Visit: 04 Oct 2009
Posts: 24
Points: 514 

Post Problem with html code Posted: Thu Jul 16, 2009 2:32 pm

I have problem with html code in my php nuke, the problem is for block and in next things...

Please help me anyone, i have upgrate my phpnuke, but now i have more problem with this new phpnuke, see these fotos and maybe you can help me. Html code on my site does not red...
My new php nuke is 8.0


1



2
 

 
View user's profileSend private messageSend e-mail Reply with quote

Snype
Reputation: 305.5 Add RepSubtract Rep
votes: 8
Local time: 2:20 AM
Location: lincolshire
uk.gif



0.60 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)
Respected Member
Respected Member
Joined: May 20, 2008
Last Visit: 06 Nov 2011
Posts: 812
Points: 60742 

Post Problem with html code Posted: Thu Jul 16, 2009 3:23 pm

Shop Purchases:
Call of Duty 4 SAS Theme

first off why upgrade to phpnuke 8?? there are better distro's out there like ravennuke or nuke-evolution that offer better things and whats more better security. Anyway the way i allways solve these problems is within the config.php or in some CMSes the mainfile.php anyway look for
Quote:
$AllowableHTML = array('b'=>1,'i'=>1,'u'=>1,'div'=>2,'a'=>2,'em'=>1,'br'=>1,'strong'=>1,'blockquote'=>1,'tt'=>1,'li'=>1,'ol'=>1,'ul'=>1);


you could all ways just add the codes you need
Quote:
'object' => array('width' => 1, 'height' => 1), 'embed' => array('src' => 1, 'width' => 1, 'height' => 1, 'wmode' => 1, 'type' => 1),

or you could use my one?
Code:
$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(),
   'embed' => array('src' => 1, 'width' => 1, 'height' => 1, 'wmode' => 1, 'type' => 1),
   '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(),
   'object' => array('width' => 1, 'height' => 1),
   'ol' => array(),
   'p' => array('align' => 1),
   'param' => array('name' => 1, 'value' => 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, 'bgcolor' =>1 ),
   'tr' => array('align' => 1),
   'tt'=>array(),
   'u' => array(),
   'ul' => array(),
);


let me know if that worked?
 

WebSite > http://www.phpnukeblog.info Xfire > DDsnype MSN > ritchietaylor@live.co.uk Email > admin@phpnukeblog.info  
View user's profileSend private messageVisit poster's websiteMSN Messenger Reply with quote

Ped
Reputation: 63.4 Add RepSubtract Rep
votes: 35
Local time: 3:20 AM
Location: Great British Empire
uk.gif

Site Founder
Site Founder

2.33 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Theme Guru
Theme Guru
Joined: Nov 13, 2006
Last Visit: 09 Feb 2012
Posts: 4461
Points: 181063 

Post Re: Problem with html code Posted: Thu Jul 16, 2009 4:45 pm

Shop Purchases:
Clan Roster 2.0 · Bad Company 2 Vietnam Xtreme Theme

in your first image you posted, just below the textbox if you look at the formatting buttons there is a button called HTML

Seen as you were entering HTML code into the textbox area you surely need to hit the HTML button then enter the HTML code, and then hit the HTML button once more, and you should preview the code in HTML format.

I do know PHPNuke 7.7+ strips a lot of HTML though, but i would try that first.

Kiss
 

 
View user's profileSend private messageSend e-mail Reply with quote


RELIC
Reputation: 549.3 Add RepSubtract Rep
votes: 2
Local time: 3:20 AM
Location: Louisville, Kentucky
usa.gif



0.19 posts per day
Medals: 0
Respected Member
Respected Member
Joined: Jan 29, 2007
Last Visit: 20 Jan 2012
Posts: 341
Points: 12261 

Post Problem with html code Posted: Thu Jul 16, 2009 5:51 pm

Could he simplyt just use one of those html to php converters to resolve this? Also, I'd like to suggest keeping both php and html as seperate as possible. Less confusion that way.
 

 
View user's profileSend private messageSend e-mailVisit poster's websiteYahoo MessengerMSN Messenger Reply with quote

Tonyss
Reputation: 7 Add RepSubtract Rep
Local time: 2:20 AM
Location: Kosovo/ Kamenica
albania.gif

Rocket Noob
Rocket Noob

0.02 posts per day
Medals: 0

Joined: Apr 29, 2009
Last Visit: 04 Oct 2009
Posts: 24
Points: 514 

Post Re: Problem with html code Posted: Thu Jul 16, 2009 9:52 pm

Thankyou to all for you help.

Im sry mr. Snype, i can't try now becouse my site is blocked from php-nuke becouse one problem is in my php-nuke, i dont know why we have more problem from php-nuke, it's very hard to understand... In lost time i have one old php nuke 3.10 version, and i must have to upgrate it to any new php-nuke and i have more more problem in site now but i will work abut this...

The problem with html code, i dont know why, after time i have old php-nuke, and i dont have problem with html, and now i can't write here any image or any next thing, i can just to "insert link" and i can't change the color of text or anything...
 

 
View user's profileSend private messageSend e-mail Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » General PhpNuke


 
4 Replies / 974 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