Anonymous,

Please Login or Register
Download Nuke Evolution Xtreme today for a CMS you can enjoy using and sharing with your friends!
[ Download Now ]
Forum Index  ·  Search  ·  Usergroups  ·  Edit your profile  ·  Members  ·  Login, Check Messages
Arcade  ·  Ranks  ·  Staff  ·  Statistics  ·  Board Rules  ·  Forum FAQ  ·  Log in

Search for at
Evolution-Xtreme Advanced Search


+  
Latest Site News   Next 5 >>  
 Forum   Author   Replies   Last Post 
File Repository 1.0.0 Released Announcements! Lonestar 0 Tue Apr 26, 2016 6:44 am
Lonestar View latest post
Image Repository Released Announcements! Lonestar 1 Mon Oct 27, 2014 7:39 pm
Lonestar View latest post
So what happened to us? Announcements! SgtLegend 0 Tue May 06, 2014 12:32 am
SgtLegend View latest post
[PROGRESS] Nuke Evolution Xtreme 2.0.9e Announcements! SgtLegend 2 Sun May 27, 2012 6:25 pm
SgtLegend View latest post
European Cookie Law Announcements! SgtLegend 0 Sat May 26, 2012 7:33 am
SgtLegend View latest post
   
Recent Topics   Next 15 >>  
 Forum   Author   Replies   Last Post 
Evo staff looking for some volunteers. Community Announcements coRpSE 20 Thu Jul 02, 2015 9:19 am
Depresjon2 View latest post
Evo Xtreme 2.0.9D Updated for PHP 5.6 General Support coRpSE 121 Thu Mar 23, 2017 3:57 pm
casterdon View latest post
[ MOD ] - Honeypot V2.2 AntiBot Module Security coRpSE 106 Tue Nov 22, 2016 11:30 am
coRpSE View latest post
Possible new Admin area layout Comments and Suggestions Lonestar 18 Wed Sep 14, 2016 11:37 am
Blackou View latest post
jQuery update General Support Lonestar 2 Wed May 11, 2016 4:49 pm
Charles64 View latest post
Deutsche Sprachdatei - german language files German DT50R 7 Thu Jan 28, 2016 7:04 am
DT50R View latest post
[FIX] Correct Cookie Settings (Invalid Session Error) Quick fixes killigan 110 Fri Mar 20, 2015 1:06 pm
Macdaddy View latest post
login as admin strange error General Support Worfwarrior 8 Sun May 21, 2017 12:42 pm
Worfwarrior View latest post
Does Anyone Have a Media Player Mod? Modules goosse 0 Mon May 01, 2017 9:17 am
goosse View latest post
head and body help General Support hercountrybuck 8 Tue Apr 04, 2017 2:08 pm
Sp0rAdiC View latest post
babstats nuke evo PHP 5.6 Modules pd35 4 Mon Mar 27, 2017 5:45 pm
Ragonese View latest post
Looking for coRpSE? He is gone till May. General Chat coRpSE 4 Sun Mar 26, 2017 6:50 pm
coRpSE View latest post
Think I got hit with malware somehow General Support bobdude 10 Sun Mar 26, 2017 6:44 pm
coRpSE View latest post
error log Bugs Redcougarxr7 31 Tue Mar 21, 2017 8:46 pm
coRpSE View latest post
I seem to be locked out of my website Smile General Support storm 4 Sat Mar 11, 2017 12:29 pm
coRpSE View latest post

Help with block

 
Post new topic    Reply to topic    printer-friendly view   Thank Post    Evolution-Xtreme Forum Index -> Blocks
View previous topic :: View next topic  
Author Message
BuffaloNickel




Joined: Jan 16, 2010
Posts: 44

Reputation: 5.5
blank.png


Status: Offline
PostPosted: Fri Sep 09, 2011 5:50 pm Post subject: No icon Help with block Reply with quote

 Hello,  can  someone  please  help  me  with  the  code  I  need  to  make  a  side  block?
 
 I  would  like  the  block  to  have  an  image  when  clicked  links  to  a  site.  I  would  also  like  to  have  some  text  centered  below  the  image.
 
 
 Thanks  in  advance  for  the  help!
Back to top
View user's profile Send private message
travo



Gender: Gender:Male
Joined: Jan 21, 2009
Age: 24
Posts: 486
Location: Australia
Reputation: 65.1
votes: 2
australia.png


Status: Offline
PostPosted: Fri Sep 09, 2011 6:15 pm Post subject: No icon Re: Help with block Reply with quote

 Try  something  like  this
 
 
                                                 
PHP:                
<?php
$content 
'<div style="width:100%;text-align:center;">';
$content .= '<a href="blah"><img src="blah" style="width:??px;height:??px;border:none;"></a><br /><br />';
$content .= 'Text goes here';
$content .= '</div>'
               

 
 You  will  have  to  change  widths  and  urls  etc


Last edited by travo on Fri Sep 09, 2011 6:41 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
BuffaloNickel




Joined: Jan 16, 2010
Posts: 44

Reputation: 5.5
blank.png


Status: Offline
PostPosted: Fri Sep 09, 2011 6:20 pm Post subject: No icon Re: Help with block Reply with quote

 Travo,  thank  you  so  much  for  the  help!!!  Much  appreciated!
Back to top
View user's profile Send private message
Sponsor
webstorm.jpg
BuffaloNickel




Joined: Jan 16, 2010
Posts: 44

Reputation: 5.5
blank.png


Status: Offline
PostPosted: Fri Sep 09, 2011 6:29 pm Post subject: No icon Re: Help with block Reply with quote

 Travo,  can  you  take  a  look  at  my  site,  the  block  is  on  the  lower  left.  Let  me  know  how  to  fix?  Thanks  again  in  advance!
 
 Here  is  the  code  in  the  block
 
 
 <!--?php
 $content  =  '<div  style="width:100%;text-align:center;"-->
 <p>
  ';  $content  =  '<a  href="https://www.facebook.com/pages/Brotherhood-of-Tactical-Killers/201221103270596"><img  src="http://www.brotherhoodoftacticalkillers.com/images/Facebook2.png"  style="width:128px;height:156px;border:none;"  /></a><br  />
  <br  />
  ';  $content  =  'Visit  the  BtK  Facebook  Page!';  ';</p>
Back to top
View user's profile Send private message
travo



Gender: Gender:Male
Joined: Jan 21, 2009
Age: 24
Posts: 486
Location: Australia
Reputation: 65.1
votes: 2
australia.png


Status: Offline
PostPosted: Fri Sep 09, 2011 6:35 pm Post subject: No icon Re: Help with block Reply with quote

 Yeah  Ill  have  a  look,  but  first,  whats  your  site  lol
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
BuffaloNickel




Joined: Jan 16, 2010
Posts: 44

Reputation: 5.5
blank.png


Status: Offline
PostPosted: Fri Sep 09, 2011 6:37 pm Post subject: No icon Re: Help with block Reply with quote

 btk-squad.com
Back to top
View user's profile Send private message
Sponsor
phpstorm.jpg
travo



Gender: Gender:Male
Joined: Jan 21, 2009
Age: 24
Posts: 486
Location: Australia
Reputation: 65.1
votes: 2
australia.png


Status: Offline
PostPosted: Fri Sep 09, 2011 6:43 pm Post subject: No icon Re: Help with block Reply with quote

 Im  not  sure  if  its  just  what  you  posted  there  or  if  thats  just  because  you  didnt  use  php  tags  but  try  this
 
 
                                                 
PHP:                
<?php
$content 
'<div style="width:100%;text-align:center;"><p>';
$content .= '<a href="https://www.facebook.com/pages/Brotherhood-of-Tactical-Killers/201221103270596"><img src="http://www.brotherhoodoftacticalkillers.com/images/Facebook2.png" style="width:128px;height:156px;border:none;" /></a><br /><br />';
$content .= 'Visit the BtK Facebook Page!';
$content .= '</p></div>'
               

 
 Just  realised  I  had  an  error  in  my  previous  code,  should  work  now
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
BuffaloNickel




Joined: Jan 16, 2010
Posts: 44

Reputation: 5.5
blank.png


Status: Offline
PostPosted: Fri Sep 09, 2011 6:48 pm Post subject: No icon Re: Help with block Reply with quote

 hmmm  not  seem  to  be  working
Back to top
View user's profile Send private message
travo



Gender: Gender:Male
Joined: Jan 21, 2009
Age: 24
Posts: 486
Location: Australia
Reputation: 65.1
votes: 2
australia.png


Status: Offline
PostPosted: Fri Sep 09, 2011 6:59 pm Post subject: No icon Re: Help with block Reply with quote

 Thats  wierd  can  you  post  your  block  file?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Sponsor
phpstorm.jpg
BuffaloNickel




Joined: Jan 16, 2010
Posts: 44

Reputation: 5.5
blank.png


Status: Offline
PostPosted: Fri Sep 09, 2011 7:03 pm Post subject: No icon Re: Help with block Reply with quote

 <!--?php
 $content  =  '<div  style="width:100%;text-align:center;"-->
 <p>
  ';  $content  .=  '<a  href="https://www.facebook.com/pages/Brotherhood-of-Tactical-Killers/201221103270596"><img  src="http://www.brotherhoodoftacticalkillers.com/images/Facebook2.png"  style="width:128px;height:156px;border:none;"  /></a><br  />
  <br  />
  ';  $content  .=  'Visit  the  BtK  Facebook  Page!';  $content  .=  '</p>
 <p>
  ';</p>
 
 
 
 I  am  hitting  the  source  button  and  pasting  the  code  into  the  box  and  then  hitting  source  again.
Back to top
View user's profile Send private message
travo



Gender: Gender:Male
Joined: Jan 21, 2009
Age: 24
Posts: 486
Location: Australia
Reputation: 65.1
votes: 2
australia.png


Status: Offline
PostPosted: Fri Sep 09, 2011 8:55 pm Post subject: No icon Re: Help with block Reply with quote

 Nah,  you  wanna  use  the  php  bbcopde  tags...  but  can  you  please  attach  the  actual  file?  thanks
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
pest



Gender: Gender:Male
Joined: Jan 21, 2009
Posts: 699

Reputation: 89.6
votes: 1
usa.png


Status: Offline
Web Control Panel: Ampps 2.0
PostPosted: Fri Sep 09, 2011 9:01 pm Post subject: No icon Re: Help with block Reply with quote

 try  this
Back to top
View user's profile Send private message
Sponsor
phpstorm.jpg
BuffaloNickel




Joined: Jan 16, 2010
Posts: 44

Reputation: 5.5
blank.png


Status: Offline
PostPosted: Fri Sep 09, 2011 9:31 pm Post subject: No icon Re: Help with block Reply with quote

                                                   
travo  wrote  (View  Post):                
Nah,  you  wanna  use  the  php  bbcopde  tags...  but  can  you  please  attach  the  actual  file?  thanks                

 
 
 Very  sorry,  that  was  the  problem  all  along.  I  copied  and  pasted  your  code  into  notepad  and  all  is  working  fine!  Thanks  again  for  your  help,  very  much  appreciated!
Back to top
View user's profile Send private message
Display posts from previous:
Post new topic  Reply to topic   printer-friendly view   Thank Post Evolution-Xtreme Forum Index ->  Blocks All times are UTC - 5 Hours
Page 1 of 1


 
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

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts error please help needed 12 buddy459rc 6254 Tue Mar 22, 2016 6:25 am
Lonestar View latest post
No new posts Help with Site Navigation mod 34 TimBitz 14663 Thu Oct 04, 2012 1:38 pm
usbigoil View latest post
No new posts Signature Help Please :] 6 dakotaboul123 4372 Thu May 12, 2011 4:46 pm
OleRedNeck View latest post
No new posts [ Poll ] Recipe Mod - We need some help! 9 win7hkr 5609 Thu May 13, 2010 9:47 pm
Daveran27703 View latest post
No new posts [ Poll ] Errors, Errors and More User Errors, Help! 14 Ruphus 6546 Sat Jan 30, 2010 7:33 am
Ruphus View latest post
 




Powered by phpBB © 2001, 2006 phpBB Group
EvoXtreme Theme by SgtLegend ©
Forums ©