Clan Adverts

Custom PHPNuke Scripts

 

www.clan-themes.co.uk :: View topic - Images won't add to blocks

 Welcome To Clan Themes 

As the board grows please remember the Search Option and we hope you find our community useful.

We also monitor Private Messages to stop members from abusing our sites system.
If you are asking for assistance please provide your site link and nuke version, Thanks.

Images won't add to blocks

8 Replies / 455 Views


Post new topic   Reply to topic  

   www.clan-themes.co.uk Forum Index » General PhpNuke

View previous topic :: View next topic


DarthMartel
Reputation: 1.8
Local time: 9:46 AM


Status: Offline
0.07 posts per day
Medals: 0

Joined: Feb 21, 2008
Last Visit: 05 Apr 2008
Posts: 10
Points: 348 

Post Images won't add to blocks Posted: Tue Mar 18, 2008 2:21 am   

I'm having issues with adding images to my website. I've tried adding images to blocks of my website using both IMG and HTML code via the add html button in the block editing window. When I click update the image will appear in the block window but, when I hit save and the website updates the image disappears and doesn't appear in the block. When I go back to the block I put the image in and look at the code, the majority of the code is missing. Does anyone have an idea what's going on with that? I've tried several different ways and I keep getting the same results. Any help would be appreciated.

thank you

Darth
 

 
View user's profileSend private message Reply with quote

Mudgutz
Reputation: 0.2
Local time: 10:46 AM


Status: Offline
0.02 posts per day
Medals: 0

Joined: Mar 17, 2008
Last Visit: 19 Mar 2008
Posts: 2
Points: 63 

Post Images won't add to blocks Posted: Tue Mar 18, 2008 2:42 am   

Hi Darth -

I am having the same exact problem with my new PHPnuke 8.0 install

Im trying to get resolution from multiple sources, .. if i get anything i will share the info with you


Mudgutz
 

 
View user's profileSend private message Reply with quote

blackfox_us
Reputation: 277.7
votes: 1
Local time: 10:46 AM

blank.gif

Status: Offline
0.51 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)

Joined: Oct 04, 2007
Last Visit: 30 Jun 2008
Posts: 143
Points: 3848 

Post Re: Images won't add to blocks Posted: Tue Mar 18, 2008 2:56 am   

I don't know if that would work for you guys, but I saved myself the trouble and time and used the banner block to have photos in my website, renamed the block and it's working great.
here you can check it on my website www.bhzclan.com
it's the last center block.

it might serve what you guys need
 

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

Ped
Reputation: 450.9
votes: 17
Local time: 4:46 PM
Location: Great British Empire
uk.gif

Status: Offline
2.92 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 08 Jul 2008
Posts: 1764
Points: 8628 

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




blackfox_us
Reputation: 277.7
votes: 1
Local time: 10:46 AM

blank.gif

Status: Offline
0.51 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)

Joined: Oct 04, 2007
Last Visit: 30 Jun 2008
Posts: 143
Points: 3848 

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

Ped
Reputation: 450.9
votes: 17
Local time: 4:46 PM
Location: Great British Empire
uk.gif

Status: Offline
2.92 posts per day
Medals: 2 (View more...)
Dedicated User (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 08 Jul 2008
Posts: 1764
Points: 8628 

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

Bayler
Reputation: 743.7
votes: 9
Local time: 10:46 AM

usa.gif

Status: Offline
1.16 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)

Joined: Nov 01, 2007
Last Visit: 06 Jul 2008
Posts: 292
Points: 5592 

Post Images won't add to blocks Posted: Tue Mar 18, 2008 12:28 pm   

Ped is right about modern versions of nuke.....

Just like ANY new release of ANYTHING, its going to have Bugs, ( New isnt always Better ) also see topic titled phpBB3 -vs- nukeBB and youll see what i mean!

as for embedding images... HTML tags all the way!

Code:

<img border="0" src="http://www.url_to_img.png">

or
Code:

<img border="0" src="/images/url_to_img.png">

Also...if you going to be uploading images to your servers, try to keep them organized and in 1 location, that way later on down the road, if you find your images being hotlinked on another site, you can simply write one .htaccess file to block hotlinking! ( Saves yourself Bandwidth )
 

 
View user's profileSend private messageMSN Messenger Reply with quote

Mudgutz
Reputation: 0.2
Local time: 10:46 AM


Status: Offline
0.02 posts per day
Medals: 0

Joined: Mar 17, 2008
Last Visit: 19 Mar 2008
Posts: 2
Points: 63 

Post Images won't add to blocks Posted: Tue Mar 18, 2008 4:35 pm   

Hi Darth -

Me Again providing you are using PHPnuke 8.0 or above ...

the solution is this:

in your config.php make sure this line looks like this with img bracket set at 2

$AllowableHTML = array("img"=>2,"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 all coding for html will work perfectly

Mudgutz
 

 
View user's profileSend private message Reply with quote




DarthMartel
Reputation: 1.8
Local time: 9:46 AM


Status: Offline
0.07 posts per day
Medals: 0

Joined: Feb 21, 2008
Last Visit: 05 Apr 2008
Posts: 10
Points: 348 

Post Images won't add to blocks Posted: Tue Mar 18, 2008 10:27 pm   

I gotta tip my hat to you guys. I'm so glad I found this community because you are so amazingly helpful. Mudgutz, your advice worked like a champ. I just added that little bit about the IMG tag and poof, it works like a champ now. You'd figure the guys at nuke would get that stuff squared away before release. It's not like site admins use html or img tags or anything right?

Ped, when I first brought my website up I initially used the latest version of raven nuke but, I had problems getting stuff to work how I liked. I figured I'd go with phpnuke just until I got more familiar with how everything works. I will try raven nuke again at some point. I'm very green at the whole website building experience but, thanks to some long hours, patience, and help from you fine people I'm slowly getting there. I value your help greatly. Thanks so very much.

Darth
 

 
View user's profileSend private message Reply with quote
Post new topic   Reply to topic  
   www.clan-themes.co.uk Forum Index » General PhpNuke


 
8 Replies / 455 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