Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1358 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

IPB Skinning Help

Thread title: IPB Skinning Help
Closed Thread    
    Thread tools Search this thread Display Modes  
02-09-2006, 12:16 AM
#1
EcLypSe is offline EcLypSe
Status: Junior Member
Join date: Aug 2005
Location: Ontario, Canada
Expertise:
Software:
 
Posts: 57
iTrader: 0 / 0%
 

EcLypSe is on a distinguished road

Send a message via AIM to EcLypSe Send a message via MSN to EcLypSe

  Old  IPB Skinning Help

Hey, Im having some trouble figuring out how to change the IPB Submenu Buttons:


I want to have them as image buttons rather text buttons. I don't know exactly how to do that but I do know is had to do with this code right here:


<div id="submenu">
<p class="home"><!--ipb.leftlinks.start--><a href="{ipb.vars['home_url']}">{ipb.vars['home_name']}</a><!--IBF.RULES--><!--ipb.leftlinks.end--></p>
<p><!--ipb.rightlinks.start-->
<if="component_links != """>
{$component_links}
</if>

<a href="{ipb.script_url}act=Help">{ipb.lang['tb_help']}</a><a href="{ipb.script_url}act=Search&amp;f={ipb.input['f']}">{ipb.lang['tb_search']}</a><a href="{ipb.script_url}act=Members">{ipb.lang['tb_mlist']}</a><a href="{ipb.script_url}act=calendar">{ipb.lang['tb_calendar']}</a>
<!--ipb.rightlinks.end--></p>
</div>
I just dont know how exactly to go by editing the code.

If someone could contact me and help me out with a tutorial or something of that nature I would be able to throw maybe 10$ their way via Paypal. Thanks.

02-09-2006, 12:32 AM
#2
Nirvana- is offline Nirvana-
Status: Member
Join date: Sep 2005
Location: United States
Expertise:
Software:
 
Posts: 286
iTrader: 0 / 0%
 

Nirvana- is on a distinguished road

  Old

the text is in the code as "{ipb.lang['tb_help']}" just change that to the image and that should do it for you

02-09-2006, 01:00 AM
#3
Haris is offline Haris
Status: Request a custom title
Join date: Dec 2005
Location:
Expertise:
Software:
 
Posts: 2,741
iTrader: 9 / 100%
 

Haris is on a distinguished road

  Old

Code:
<a href="{ipb.script_url}act=Help">{ipb.lang['tb_help']}</a><a href="{ipb.script_url}act=Search&amp;f={ipb.input['f']}">{ipb.lang['tb_search']}</a><a href="{ipb.script_url}act=Members">{ipb.lang['tb_mlist']}</a><a href="{ipb.script_url}act=calendar">{ipb.lang['tb_calendar']}</a>
Replace with

Code:
<img src="http://www.unofficial-nhl.info/submenu.gif">
You would need to do mapping to create the links.

02-09-2006, 01:02 AM
#4
EcLypSe is offline EcLypSe
Status: Junior Member
Join date: Aug 2005
Location: Ontario, Canada
Expertise:
Software:
 
Posts: 57
iTrader: 0 / 0%
 

EcLypSe is on a distinguished road

Send a message via AIM to EcLypSe Send a message via MSN to EcLypSe

  Old

hmmm i tried that but no change, the button just goes away, rather than replaced by my cusom one, and its directed to the right spot too

02-10-2006, 03:40 PM
#5
Sam Granger is offline Sam Granger
Status: Request a custom title
Join date: Feb 2005
Location: The Netherlands
Expertise:
Software:
 
Posts: 2,616
iTrader: 19 / 88%
 

Sam Granger is on a distinguished road

Send a message via MSN to Sam Granger

  Old

So - change this:
Code:
<a href="{ipb.script_url}act=Help">{ipb.lang['tb_help']}</a><a href="{ipb.script_url}act=Search&amp;f={ipb.input['f']}">{ipb.lang['tb_search']}</a><a href="{ipb.script_url}act=Members">{ipb.lang['tb_mlist']}</a><a href="{ipb.script_url}act=calendar">{ipb.lang['tb_calendar']}</a>
To:
Code:
<a href="{ipb.script_url}act=Help"><img src='style_images/<#IMG_DIR#>/help.gif' alt='' border='0' /></a><a href="{ipb.script_url}act=Search&amp;f={ipb.input['f']}"><img src='style_images/<#IMG_DIR#>/search.gif' alt='' border='0' /></a><a href="{ipb.script_url}act=Members"><img src='style_images/<#IMG_DIR#>/members.gif' alt='' border='0' /></a><a href="{ipb.script_url}act=calendar"><img src='style_images/<#IMG_DIR#>/calendar.gif' alt='' border='0' /></a>
Now, the images need to be uploaded to your skin image directory - eg. /style_images/1/

Also, the css of the div where the buttons are can be changed by going to Edit Stylesheet (CSS Advanced Mode) - the div class is called submenu.

02-12-2006, 07:01 AM
#6
EcLypSe is offline EcLypSe
Status: Junior Member
Join date: Aug 2005
Location: Ontario, Canada
Expertise:
Software:
 
Posts: 57
iTrader: 0 / 0%
 

EcLypSe is on a distinguished road

Send a message via AIM to EcLypSe Send a message via MSN to EcLypSe

  Old

ty sam it worked

02-12-2006, 04:15 PM
#7
Sam Granger is offline Sam Granger
Status: Request a custom title
Join date: Feb 2005
Location: The Netherlands
Expertise:
Software:
 
Posts: 2,616
iTrader: 19 / 88%
 

Sam Granger is on a distinguished road

Send a message via MSN to Sam Granger

  Old

Glad I could help

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed