![]() |
|
#1
|
||||
|
||||
|
Is there a way or a link that shows how to change navigation items. I want to delete USER CP and faq and put in Home and Forums. Heres my template;
Thanks for any help. <!-- / breadcrumb, login, pm info --> <!-- nav buttons bar --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center"> <if condition="$show['member']"> <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> </if> <if condition="$show['registerbutton']"> <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td> </if> $template_hook[navbar_buttons_left] <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td> <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td> <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> <if condition="$show['popups']"> <if condition="$show['searchbuttons']"> <if condition="$show['member']"> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> Last edited by toejam; 09-26-2007 at 06:58 PM. |
|
#2
|
||||
|
||||
|
If you search the hacks forum here, there are at least a few different threads with instructions for this.
|
|
#3
|
||||
|
||||
|
I looked at every one, and i couldn't make any sense on what to do.
http://www.vbadvanced.com/forum/show...ic+navbar+link Thats a hack that isnt what Iam looking to do. http://www.tincap.com/fora/index.php This is what I like. |
|
#4
|
|||
|
|||
|
|
|
#5
|
||||
|
||||
|
Thank you, thats what I needed. I got the forum button on there, it took some time but I got it. Now I need to delete usercp and add home. VB should have more options with the navigation bar.
|
|
#6
|
||||
|
||||
|
I got it, in case anybody needs the code
<!-- / breadcrumb, login, pm info --> <!-- nav buttons bar --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center"> <td class="vbmenu_control"><a href=""http://www.dentallabnetwork.com?"> Home </a></td> <td class="vbmenu_control"><a href="forums.php$session[sessionurl_q]" accesskey="5">$vbphrase[forums]</a></td> <if condition="$show['member']"> <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> </if> <if condition="$show['registerbutton']"> <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td> </if> $template_hook[navbar_buttons_left] <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td> <if condition="$show['popups']"> <if condition="$show['searchbuttons']"> <if condition="$show['member']"> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> |
|
#7
|
||||
|
||||
|
Suggestion: Instead of having both Home & Forums on the navbar at the same time use a conditional to switch between the two dynamically.
Examples: http://www.vbadvanced.com/forum/showthread.php?t=6826 http://www.vbadvanced.com/forum/showthread.php?t=41 |
|
#8
|
||||
|
||||
|
I will try that. I love your site coolscifi. Do you know how to find different background colors, I am looking for a darker blue like the vbulletin.org or CinVin.com
Last edited by toejam; 09-27-2007 at 05:09 PM. |
|
#9
|
||||
|
||||
|
If you have problems, just let us know.
![]() I took a look at your site... a nice clean look to it. What part of it do want to make a different color? |
|
#10
|
||||
|
||||
|
The blue that I have for the background. It was a vb style color that had a url attached to it. I think a little darker would look better or a color that fades. Your SinVin background looks awesome. Plus I need a header that has a professional look to it. I made whats there with paint in windows. I thought about asking in paid services for a little help.
|
|
#11
|
|||
|
|||
|
This mod is good also...but what i did to my site is also the other way...coz' i said to myself..why do i need two word on my navbar? like Home and Forums...so i did like this...if i or the members are on Portal Page which is my Homepage...they can see/click only the Forums to my navbar (left) which a direct link to my forum...the other way also...if they are on my Forum Page...they can see/click only to my navbar the word Home which is the direct link to my portal...meaning auto-change...
No Image Code:
<td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="http://yoursite.com/index.php"> Forums <else /> <a href="http://yoursite.com/"> Home </if></a></td> Code:
<td align="left" valign="top" width="90" height="55"><if condition="THIS_SCRIPT == 'adv_index'"><a href="http://yoursite.com/index.php"><img src="$stylevar[imgdir_misc]/nav_forums.gif" border="0" alt="" /><else /><a href="http://yoursite.com/"><img src="$stylevar[imgdir_misc]/nav_home.gif" border="0" alt="" /></if></a></td>
Last edited by princeedward; 09-27-2007 at 08:09 PM. |
|
#12
|
||||
|
||||
|
Quote:
Quote:
|
|
#13
|
||||
|
||||
|
I love this thing. Question though.
I have it running on my site and wanted to make it so my photopost page says "forum" when you are looking at it up there. the THIS_SCRIPT for Photopost is ppindex Is there a way to add that conditional to the code above?
__________________
TheDarkTower.com--Stephen King Fan Site |
|
#14
|
||||
|
||||
|
Towermatt,
PhotoPost Pro or PhotoPost vBGallery? |
|
#15
|
||||
|
||||
|
Ooops--sorry about that. It is the PhotoPost Pro--and I have not upgraded to the new version yet.
Thanks KW802
__________________
TheDarkTower.com--Stephen King Fan Site |
|
#16
|
||||
|
||||
|
Quote:
Code:
<if condition="THIS_SCRIPT == 'adv_index' OR THIS_SCRIPT == 'ppindex'"> |
|
#17
|
||||
|
||||
|
WOOHOO!! That worked!
Thanks so much as usual Brian.
__________________
TheDarkTower.com--Stephen King Fan Site |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding "Forum" and "Home" to the Navbar | satfix | "How Do I..." Questions | 3 | 09-18-2007 09:25 AM |
| "New Posts" total not updating after "Marking Forums Read" unless we "log out" | Mithan | Troubleshooting & Problems | 3 | 07-12-2006 07:28 PM |
| How do I add the "Home" and "Forum" link on nav bar? | HuangA | Troubleshooting / "How do I..." Questions | 60 | 05-20-2006 08:33 PM |
| Newbie: Missing the "Home" and "Register" in the top Navigation | Perkyd | Troubleshooting / "How do I..." Questions | 2 | 09-25-2005 10:19 PM |