images will not appear in news / content

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   images will not appear in news / content
hectic408
CZ Newbie
hectic408 has been a member for over 16 year's 16 Year Member
Status: Offline
Joined: Aug 05, 2008
0.00 posts per day
Posts: 2
Points: 0
   
Hello

site : [ Register or login to view links on this board. ]

I am having a problem with images appearing in my posts. My goal would be to type out some words and then insert an image. This is not working. I am using the "news" module to create my posts, when i create the post in the window where i type out the code the image appears, but when i click preview it shows the code, not the image, then when i publish it there is no image and no code. Its like the html is removed when i post it.

Here is exactly what i type in the post window:

Baconator down!
<img src="baconator.jpg" alt="the mighty baconator"></img>


you can see the image is there : [ Register or login to view links on this board. ]

i have tried creating a full wep page in the post with /head /body etc... this does nothing.

I cant find anywhere in php-nuke to turn on or off html for the news module.

Can anyone help me out with this? It seems so simple but its just not working. I also find it odd that 1 post has the little icon and the other 2 dont.

Thanks in advance.


Back to top Reply with quote
#2   re: images will not appear in news / content
Rizzen
CZ Newbie
Rizzen has been a member for over 16 year's 16 Year Member
Status: Offline
Joined: Feb 03, 2008
0.00 posts per day
Posts: 16
Points: 10
   
Open up your config.php

and look for the line of code that says:

$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 add , "img"=>2 to the end so it looks like this:

$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,"img"=>2);



Back to top Reply with quote
#3   
hectic408
CZ Newbie
hectic408 has been a member for over 16 year's 16 Year Member
Status: Offline
Joined: Aug 05, 2008
0.00 posts per day
Posts: 2
Points: 0
   
Thank you sir. they seem to work now.



Back to top Reply with quote
#4   re: images will not appear in news / content
sdean
CZ Newbie
sdean has been a member for over 16 year's 16 Year Member
usa.gif
Gender: Female
Website:
Status: Offline
Joined: Oct 02, 2008
0.00 posts per day
Posts: 15
Points: 295
   
I am having the very same problem. I copied the code provided and edited the config.php file but am still having this issue. I'm trying to add an image into a message post using a mac. Any help would be most appreciated!!! icon_smile.gif Thanks in advance!!!



Back to top Reply with quote
#5   re: images will not appear in news / content
sdean
CZ Newbie
sdean has been a member for over 16 year's 16 Year Member
usa.gif
Gender: Female
Website:
Status: Offline
Joined: Oct 02, 2008
0.00 posts per day
Posts: 15
Points: 295
   
Any advice? Anyone????? Pahleaseeeeeee!!!!



Back to top Reply with quote
#6   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Your trying to add an image to what messages? Private Message, Site Message etc.

What is the link to your site?

What version of Nuke are you using?

If its a Site message (that appears on main page) is it active now?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#7   re: images will not appear in news / content
sdean
CZ Newbie
sdean has been a member for over 16 year's 16 Year Member
usa.gif
Gender: Female
Website:
Status: Offline
Joined: Oct 02, 2008
0.00 posts per day
Posts: 15
Points: 295
   
Yes, I am trying to add images to the Site Message. :-) It is active at this time and the url to my site is [ Register or login to view links on this board. ] I am currently using version 7.9. Thank you so much for being willing to help!! :-)



Back to top Reply with quote
#8   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Attach a copy of your config.php (remove your database login information) also a copy of your admin/modules/message.php and be patient icon_smile.gif




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#9   re: images will not appear in news / content
sdean
CZ Newbie
sdean has been a member for over 16 year's 16 Year Member
usa.gif
Gender: Female
Website:
Status: Offline
Joined: Oct 02, 2008
0.00 posts per day
Posts: 15
Points: 295
   
Here you go and thanks!! :-)



Attached Files
Config-Messages.zip (5.64 KB, Downloaded: 878 Time(s))


Back to top Reply with quote
#10   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Paste here exactly what your trying to add. Make sure to wrap it in CODE tags so it doesn't parse.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

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 cannot download files in this forum