Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-23-2002, 07:38 PM
Rezet Rezet is offline
 
Join Date: May 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Top images...

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
Reply With Quote
  #2  
Old 10-23-2002, 07:45 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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> -->
&nbsp;
<!-- /toplinks -->

Thats the code for all the buttons, if you know html you sould get along fine.
Reply With Quote
  #3  
Old 10-23-2002, 08:19 PM
Rezet Rezet is offline
 
Join Date: May 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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','','{imagesfo lder}/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','','{imagesfold er}/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','','{imagesfold er}/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','','{imagesfold er}/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','','{imagesfold er}/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','','{imagesfold er}/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','','{imagesfol der}/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">&nbsp;</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">&nbsp;</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....
Reply With Quote
  #4  
Old 10-23-2002, 09:18 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Heres the block of code.

<a href="register.php?s=$session[sessionhash]&action=signup" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('register','','{imagesfo lder}/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','','{imagesfold er}/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','','{imagesfold er}/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','','{imagesfold er}/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','','{imagesfold er}/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','','{imagesfold er}/helproll.gif',1)"><img name="Image9" border="0" src="{imagesfolder}/help.gif" width="46" height="16"></a>
Reply With Quote
  #5  
Old 10-23-2002, 09:33 PM
Rezet Rezet is offline
 
Join Date: May 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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??
Reply With Quote
  #6  
Old 10-23-2002, 09:56 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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','','{imagesfol der}/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','','{imagesfold er}/helproll.gif',1)"><img name="Image9" border="0" src="{imagesfolder}/help.gif" width="46" height="16"></a>
Reply With Quote
  #7  
Old 10-24-2002, 03:07 PM
Rezet Rezet is offline
 
Join Date: May 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx for your help...im gona try it out now
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:22 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07043 seconds
  • Memory Usage 2,226KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete