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 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 - Placing single graphiic in block?
Placing single graphiic in block?

8 Replies / 3698 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Blocks

View previous topic :: View next topic


Kosmic
Reputation: 461.5 Add RepSubtract Rep
Local time: 5:26 AM

usa.gif

Noob
Noob

0.00 posts per day
Medals: 0

Joined: Jul 08, 2007
Last Visit: 04 Aug 2007
Posts: 6
Points: 506 

Post Placing single graphiic in block? Posted: Sun Jul 15, 2007 6:27 am

Does anyone know how to place a single graphic in a block?

I tried in the overview messsages to place a graphic which was inserted in with the html but it won't show up in the page?
Is there a graphic mod or something that I need to put in.

I am using PHPNuke 7.9

Very Happy
 

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

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

Site Admin
Site Admin

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

Post Posted: Sun Jul 15, 2007 10:36 am

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

I am kinda confused about what you want.

If you would like to build a block with a single graphic you could use these tools

http://www.clan-themes.co.uk/php-nuke-tools.html

If your trying to edit all your blocks and add a graphic to them. You need to refer to your theme folder and you should find a block.html file or something in there.

 

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

Noto
Reputation: 1072.5 Add RepSubtract Rep
votes: 13
Local time: 11:26 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: 24 May 2012
Posts: 1116
Points: 73863 

Post Posted: Sun Jul 15, 2007 12:33 pm

I think hes on about the message blocks on home page.

There is a problem with 7.9 and most html tags u have to add them manually.

there's a thread he that tells u how to fix it but i cant find it. if i do ill post it here.
 

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


eeyuk69
Reputation: 462.9 Add RepSubtract Rep
votes: 1
Local time: 10:26 AM
Location: Lincoln
uk.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Apr 22, 2007
Last Visit: 24 Oct 2011
Posts: 78
Points: 6188 

Post Posted: Sun Jul 15, 2007 12:59 pm

Shop Purchases:
Battlefield 2 Splash Screen · Battlefield 2 Splash Screen · Clan Themes Green PhpNuke Theme · Multi-T3 Evo Gaming Theme · Battlefield 3 Evo Theme

If you mean you just want to display a graphic inside a block I use this piece of code

Code:
</a>


Just change "block-welcome.php" to "block-NAME OF YOUR BLOCK.php" and point the <img src=\ to the location of the graphic you want to display
 

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

eeyuk69
Reputation: 462.9 Add RepSubtract Rep
votes: 1
Local time: 10:26 AM
Location: Lincoln
uk.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Apr 22, 2007
Last Visit: 24 Oct 2011
Posts: 78
Points: 6188 

Post Posted: Sun Jul 15, 2007 1:06 pm

Shop Purchases:
Battlefield 2 Splash Screen · Battlefield 2 Splash Screen · Clan Themes Green PhpNuke Theme · Multi-T3 Evo Gaming Theme · Battlefield 3 Evo Theme

Erm how do you display the code Dont Know

Tried using code tags, quote tags, removing the php tags cant get the code to display Sad
 

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

floppy
Reputation: 2088.8 Add RepSubtract Rep
votes: 22
Local time: 5:26 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 Posted: Sun Jul 15, 2007 4:10 pm

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

Testing html input

Code:
<a href="http://www.clan-themes.co.uk"><img src="http://www.clan-themes.co.uk/rockin.gif" alt="Clan Themes ROCKS!"></a>


See what the forum does if you post html code (not php code huge difference there) is it actually trys to display the html output. By turning off html in General Admin in your forum ACP. You can eliminate the problem.

Also adds more security as hackers can't use html to hack your forums.
 

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


eeyuk69
Reputation: 462.9 Add RepSubtract Rep
votes: 1
Local time: 10:26 AM
Location: Lincoln
uk.gif

Tree Hugger
Tree Hugger

0.04 posts per day
Medals: 0

Joined: Apr 22, 2007
Last Visit: 24 Oct 2011
Posts: 78
Points: 6188 

Post Posted: Sun Jul 15, 2007 5:23 pm

Shop Purchases:
Battlefield 2 Splash Screen · Battlefield 2 Splash Screen · Clan Themes Green PhpNuke Theme · Multi-T3 Evo Gaming Theme · Battlefield 3 Evo Theme

Thanx floppy

This is the code that was missing

Code:
<?php
if (eregi("block-welcome.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}
$content = "";
$content .="<center><img src=\"images/custom/welcome.jpg\" border=\"0\" /></a></center>";

?>


Just change "block-welcome.php" to "block-NAME OF YOUR BLOCK.php" and point the <img src=\ to the location of the graphic you want to display
 

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

Bitterman
Reputation: 461.3 Add RepSubtract Rep
Local time: 5:26 AM

canada.gif

Noob
Noob

0.00 posts per day
Medals: 0

Joined: Oct 13, 2007
Last Visit: 04 Nov 2007
Posts: 2
Points: 364 

Post Posted: Sat Oct 20, 2007 7:19 pm

Shop Purchases:
Clan PhpNuke Theme · FEAR Theme (Aviator) for PHP Nuke

Hi there,

I'm also trying to add an image to a block on the main page of our php-nuke 7.9 clan site so I searched the forums for this thread. I've followed the format shown below and can get the image to appear in the Edit HTML Source preview window but when I save the block and test it no image appears. When I go back to check the html I see that the <img reference is automatically removed from the code. Do I need to activate/allow images somewhere? I've checked my Admin prefs but I can't see anything.

Again, this isn't a forum problem (works fine there) but a main page block problem.

Any help would be greatly appreciated!

Thanks.

Bitterman

----


floppy wrote:
Testing html input

Code:
<a href="http://www.clan-themes.co.uk"><img src="http://www.clan-themes.co.uk/rockin.gif" alt="Clan Themes ROCKS!"></a>


See what the forum does if you post html code (not php code huge difference there) is it actually trys to display the html output. By turning off html in General Admin in your forum ACP. You can eliminate the problem.

Also adds more security as hackers can't use html to hack your forums.
 

 
View user's profileSend private message Reply with quote

DoC
Reputation: 89.6 Add RepSubtract Rep
votes: 5
Local time: 10:26 AM
Location: UK
uk.gif



0.20 posts per day
Medals: 3 (View more...)
Site Supporter (Amount: 1)
Forums Moderator
Forums Moderator
Joined: Feb 07, 2007
Last Visit: 30 Jun 2011
Posts: 394
Points: 4451 

Post Placing single graphiic in block? Posted: Thu Nov 01, 2007 10:52 pm

Shop Purchases:
Clan Roster v1.7 Php Nuke Module · Clan Roster 2.0

Easiest way I found to do this was go into admin and then block, in the make a new block area u can add html content direct into it.

Then just put the following:

Code:
<img src="http://YOUR_SITE_URL/IMAGE_FOLDER/NAME_OF_IMAGE.jpg" width="468" height="50"/>


Making sure the spelling is correct and there are no spaces and CaPiTalS are where they are meant to be... for XHTML compliance don't use capitals at all ;)

Thats it! Nerd

DoC
 

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

Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Blocks


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