Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.219
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 - Images in messages box not being saved.
Images in messages box not being saved.

7 Replies / 3025 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Modules

View previous topic :: View next topic


Siborg
Reputation: 461.5 Add RepSubtract Rep
Local time: 8:03 AM


Noob
Noob

0.00 posts per day
Medals: 0

Joined: May 18, 2007
Last Visit: 06 Jun 2007
Posts: 9
Points: 447 

Post Images in messages box not being saved. Posted: Sun May 20, 2007 9:42 am

Hello there, I have been trying to get an image to show in the messages section of my site but without success, I choose edit HTML and insert this code
Code:
<img src="images/title.gif" height="281" width="600" align="middle" border="0">

and the image shows up in the edit message box but when I click save changes and examine the page the image is not showing and the html has been stripped, can anyone offer any advice on this please?

I'm using 7.9 and the Kaput theme. wowsultans.com
 

 
View user's profileSend private message Reply with quote

Ped
Reputation: 94 Add RepSubtract Rep
votes: 37
Local time: 9:03 AM
Location: Great British Empire
uk.gif

Site Founder
Site Founder

1.82 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Theme Guru
Theme Guru
Joined: Nov 13, 2006
Last Visit: 26 May 2012
Posts: 3675
Points: 191993 

Post Re: Images in messages box not being saved. Posted: Sun May 20, 2007 10:17 am

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

You can read this thread i started here http://ravenphpscripts.com/posts11768-highlight-.html

unfortunately it is a problem with anything above 7.6

useful thread:
http://www.clan-themes.co.uk/ftopict-30.html
 

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

Noto
Reputation: 1072.7 Add RepSubtract Rep
votes: 13
Local time: 9:03 AM
Location: Sunny UK !
uk.gif

Site Admin
Site Admin

0.60 posts per day
Medals: 3 (View more...)
Dedication (Amount: 1)
Theme Guru
Theme Guru
Joined: May 03, 2007
Last Visit: 26 May 2012
Posts: 1118
Points: 73959 

Post Posted: Sun May 20, 2007 6:15 pm

i ran into this problem many times.

What u need to do is to tell nuke what html code u want to allow.

Code:
Open: config.php (root)
find: $AllowableHTML = array(
then list the html u want to allow.


this will help u just copy and paste.

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(),
    '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(),
);
 

Tactical Combat Evolved - Sig Showcase  
View user's profileSend private messageVisit poster's website Reply with quote


Siborg
Reputation: 461.5 Add RepSubtract Rep
Local time: 8:03 AM


Noob
Noob

0.00 posts per day
Medals: 0

Joined: May 18, 2007
Last Visit: 06 Jun 2007
Posts: 9
Points: 447 

Post Posted: Tue May 22, 2007 4:07 pm

Thanks very much guys, the editing works perfectly Pint Embarrased

I spoke too soon, it seems the br tag is being ignored and stripped, it's in the config so it should work but it doesn't Bad HAir Day
 

 
View user's profileSend private message Reply with quote

Siborg
Reputation: 461.5 Add RepSubtract Rep
Local time: 8:03 AM


Noob
Noob

0.00 posts per day
Medals: 0

Joined: May 18, 2007
Last Visit: 06 Jun 2007
Posts: 9
Points: 447 

Post Posted: Fri May 25, 2007 4:35 pm

I'm sorry for bumping this but I really could do with some assistance, all of my text in the articles is one whole wall of text with no paragraphs as the br tag is not being recognised after I've added the new html code. The pics display no problem but no br :(
 

 
View user's profileSend private message Reply with quote

Noto
Reputation: 1072.7 Add RepSubtract Rep
votes: 13
Local time: 9:03 AM
Location: Sunny UK !
uk.gif

Site Admin
Site Admin

0.60 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
Theme Guru
Theme Guru
Joined: May 03, 2007
Last Visit: 26 May 2012
Posts: 1118
Points: 73959 

Post Posted: Fri May 25, 2007 7:34 pm

Yes u are right that is a problem in 7.9 I'm currently running 7.9 and have never noticed it LMAO But now that u pointed it out i went to work on a fix.

As there is no attachment mod available at the moment Ive put it on my web space.
U can grab the Fiix Here
 

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


Siborg
Reputation: 461.5 Add RepSubtract Rep
Local time: 8:03 AM


Noob
Noob

0.00 posts per day
Medals: 0

Joined: May 18, 2007
Last Visit: 06 Jun 2007
Posts: 9
Points: 447 

Post Posted: Sat May 26, 2007 11:47 am

Thankyou once again Noto, works a treat Angel
 

 
View user's profileSend private message Reply with quote

Noto
Reputation: 1072.7 Add RepSubtract Rep
votes: 13
Local time: 9:03 AM
Location: Sunny UK !
uk.gif

Site Admin
Site Admin

0.60 posts per day
Medals: 3 (View more...)
Super Dedicated User (Amount: 1)
Theme Guru
Theme Guru
Joined: May 03, 2007
Last Visit: 26 May 2012
Posts: 1118
Points: 73959 

Post Posted: Sat May 26, 2007 2:42 pm

Sweet glad i could help !
 

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


 
7 Replies / 3025 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