View Full Version : Top images...
Rezet
10-23-2002, 07:38 PM
hey...can anyone tell me how to change the buttons in the top..(home, forums, usercp and stuff like this)
i want to make more buttons on my site like a chat button, but i don't know how :)
please i need your help
In the header template find this:
<!-- toplinks -->
<a href="usercp.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences" border="0"></a>
<a href="register.php?s=$session[sessionhash]&action=signup"><img src="{imagesfolder}/top_register.gif" alt="Registration is free!" border="0"></a>
<a href="calendar.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_calendar.gif" alt="Calendar" border="0"></a>
<a href="memberlist.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_members.gif" alt="Find other members" border="0"></a>
<a href="misc.php?s=$session[sessionhash]&action=faq"><img src="{imagesfolder}/top_faq.gif" alt="Frequently Asked Questions" border="0"></a>
<a href="search.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_search.gif" alt="Search" border="0"></a>
<a href="index.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_home.gif" alt="Home" border="0"></a>
<!-- <a href="member.php?s=$session[sessionhash]&action=logout"><img src="{imagesfolder}/top_logout.gif" alt="Logout" border="0"></a> -->
<!-- /toplinks -->
Thats the code for all the buttons, if you know html you sould get along fine.
Rezet
10-23-2002, 08:19 PM
but this is what mine says:
<center>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#333D4D" width="758">
<tr>
<td width="100%">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="758" id="AutoNumber1">
<tr>
<td width="50%" background="{imagesfolder}/topbg.gif">
<img border="0" src="{imagesfolder}/leftbanner.gif" width="424" height="74"></td>
<td width="50%" background="{imagesfolder}/topbg.gif">
<p align="right">
<img border="0" src="{imagesfolder}/rightbanner.gif" width="334" height="74"></td>
</tr>
</table>
</center>
</div>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="758" id="AutoNumber2">
<tr>
<td width="602" background="{imagesfolder}/navbg.gif">
<a href="register.php?s=$session[sessionhash]&action=signup" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('register','','{imagesfolder}/registerroll.gif',1)"><img name="register" border="0" src="{imagesfolder}/register.gif" width="82" height="16"></a><a href="memberlist.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','{imagesfolder}/membersroll.gif',1)"><img name="Image5" border="0" src="{imagesfolder}/members.gif" width="77" height="16"></a><a href="calendar.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','{imagesfolder}/calendarroll.gif',1)"><img name="Image6" border="0" src="{imagesfolder}/calendar.gif" width="80" height="16"></a><a href="showgroups.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','{imagesfolder}/forumleadersroll.gif',1)"><img name="Image7" border="0" src="{imagesfolder}/forumleaders.gif" width="123" height="16"></a><a href="search.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','{imagesfolder}/searchroll.gif',1)"><img name="Image8" border="0" src="{imagesfolder}/search.gif" width="94" height="16"></a><a href="misc.php?s=$session[sessionhash]&action=faq" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image9','','{imagesfolder}/helproll.gif',1)"><img name="Image9" border="0" src="{imagesfolder}/help.gif" width="46" height="16"></a></td>
<td width="156" background="{imagesfolder}/navbg.gif">
<p align="right">
<a href="usercp.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','{imagesfolder}/usercproll.gif',1)"><img name="Image10" border="0" src="{imagesfolder}/usercp.gif" width="150" height="16"></a></td>
</tr>
</table>
</center>
</div>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="758" id="AutoNumber3">
<tr>
<td width="50%" background="{imagesfolder}/bg.jpg"> </td>
<td width="50%">
<p align="right"><table align="right" border="0" background="{imagesfolder}/searchbg.jpg" cellpadding="4" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="390">
<form action="search.php" method="post"><tr>
<td width="156px" background="{imagesfolder}/searchleft.jpg" height="34">
<p style="margin-top: 0; margin-bottom: 0"> </td>
<td width="50%" background="{imagesfolder}/searchbg.jpg" valign="baseline"><input type="hidden" name="s" value="$session[sessionhash]">
<p align="center">
<input type="text" name="query" class="search">
<input type="hidden" name="searchuser" value="">
<input type="hidden" name="forumchoice" value="-1">
<input type="hidden" name="searchdate" value="-1">
<input type="hidden" name="sortby" value="lastpost">
<input type="hidden" name="sortorder" value="descending">
<input type="hidden" name="beforeafter" value="after">
<input type="hidden" name="action" value="simplesearch">
<input type="hidden" name="titleonly" value="">
<input type="hidden" name="showposts" value="">
<input type="hidden" name="exactname" value="yes">
</td>
<td width="10%" background="{imagesfolder}/gobg.gif">
<p align="center">
<INPUT TYPE="image" SRC="{imagesfolder}/blank.gif" BORDER="0" ALT="Submit" accesskey="s"></td>
</tr></form>
</table>
</td>
</tr>
</table>
</center>
</div>
<div align="center">
<center>
is this maybe because of the style is use??
i use the tech style....
Heres the block of code.
<a href="register.php?s=$session[sessionhash]&action=signup" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('register','','{imagesfolder}/registerroll.gif',1)"><img name="register" border="0" src="{imagesfolder}/register.gif" width="82" height="16"></a><a href="memberlist.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','{imagesfolder}/membersroll.gif',1)"><img name="Image5" border="0" src="{imagesfolder}/members.gif" width="77" height="16"></a><a href="calendar.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','{imagesfolder}/calendarroll.gif',1)"><img name="Image6" border="0" src="{imagesfolder}/calendar.gif" width="80" height="16"></a><a href="showgroups.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','{imagesfolder}/forumleadersroll.gif',1)"><img name="Image7" border="0" src="{imagesfolder}/forumleaders.gif" width="123" height="16"></a><a href="search.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','{imagesfolder}/searchroll.gif',1)"><img name="Image8" border="0" src="{imagesfolder}/search.gif" width="94" height="16"></a><a href="misc.php?s=$session[sessionhash]&action=faq" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image9','','{imagesfolder}/helproll.gif',1)"><img name="Image9" border="0" src="{imagesfolder}/help.gif" width="46" height="16"></a>
Rezet
10-23-2002, 09:33 PM
but what do i do next, im a newbie when it comes to programming in php........
im mean do i just copy on line ad modify it so that the next image is like image10 and then what is the file name and so on....will the new added line the show the gif i have made in the top box??
basicly you need to make two new images, a chat.gif and a chatroll.gif.
then add this: (asuming your chat is located at Chat.php)
<a href="chat.php?s=$session[sessionhash]" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','{imagesfolder}/chatroll.gif',1)"><img name="Image10" border="0" src="{imagesfolder}/chat.gif" width="46" height="16"></a>
after this:
<a href="misc.php?s=$session[sessionhash]&action=faq" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image9','','{imagesfolder}/helproll.gif',1)"><img name="Image9" border="0" src="{imagesfolder}/help.gif" width="46" height="16"></a>
Rezet
10-24-2002, 03:07 PM
thanx for your help...im gona try it out now :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.