The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Community Link
Hi All,
I updated my forum to vb 3.8 last night with the style, however the style doesn't show the new community link. I was wondering how I can change the Members List link into the new community link, I think it's probably just change in the header template but I'm not sure. The header section of the template looks like this: Code:
<!-- header --> <a name="top"></a> <div id="header"> <div id="header_left"> <div id="header_right"> <div id="header_middle"> <img src="$stylevar[imgdir_misc]/skin/header.png" alt="$vboptions[bbtitle]" /></div></div></div></div> <div id="main_menu"><a href="/forum/index.php"><img src="$stylevar[imgdir_button]/menu_home.jpg" alt="Home" /> <a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[imgdir_button]/menu_forum.png" alt="Forum" /> <a href="/forum/arcade.php"><img src="$stylevar[imgdir_button]/menu_arcade.png" alt="Arcade" /> <a href="/forum/misc.php?do=donate"><img src="$stylevar[imgdir_button]/menu_donate.png" alt="Donate" /> </a><if condition="$show['member']"><a href="usercp.php$session[sessionurl_q]"><img src="$stylevar[imgdir_button]/menu_usercp.jpg" alt="$vbphrase[user_cp]" /></a><else /><a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_button]/menu_register.jpg" alt="$vbphrase[register]" /></a></if><if condition="$show['popups'] && $show['member']"><a id="usercptools.header" href="$show[nojs_link]#usercptools"><img src="$stylevar[imgdir_button]/menu_quicklinks.jpg" alt="$vbphrase[quick_links]" /></a><script type="text/javascript"> vbmenu_register("usercptools.header", true); </script><else /><if condition="$show['member']"><a href="search.php?$session[sessionurl]do=getnew"><img src="$stylevar[imgdir_button]/menu_newposts.jpg" alt="$vbphrase[new_posts_nav]" /></a><else /><a href="search.php?$session[sessionurl]do=getdaily"><img src="$stylevar[imgdir_button]/menu_todaysposts.jpg" alt="$vbphrase[todays_posts]" /></a></if></if><a href="memberlist.php$session[sessionurl_q]"><img src="$stylevar[imgdir_button]/menu_members.jpg" alt="$vbphrase[members_list]" /></a><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_button]/menu_calendar.jpg" alt="$vbphrase[calendar]" /></a><a href="faq.php$session[sessionurl_q]"><img src="$stylevar[imgdir_button]/menu_faq.jpg" alt="$vbphrase[faq]" /></a><if condition="$show['popups']"><a id="navbar_search.header" href="search.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_button]/menu_search.jpg" alt="$vbphrase[search]" /></a><script type="text/javascript"> vbmenu_register("navbar_search.header", true); </script><else /><a href="search.php$session[sessionurl_q]"><img src="$stylevar[imgdir_button]/menu_search.jpg" alt="$vbphrase[search]" /></a></if><if condition="$show['member']"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><img src="$stylevar[imgdir_button]/menu_logout.jpg" alt="$vbphrase[log_out]" /></a></if></div> <!-- /header --> |
#2
|
||||
|
||||
It would normally show up in your navbar. You just need to grab the code (both the link and the pop-up code) from the navbar and add it in.
|
#3
|
|||
|
|||
Getting somewhere now, thanks.
Code:
<if condition="$show['communitylink'] AND $show['popups']"> <td class="vbmenu_control"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community"); </script></td></if> <img src="$stylevar[imgdir_button]/menu_community.png" alt="" /> I tried but it went funny, and without the image it's just text and looks silly. |
#4
|
||||
|
||||
That looks like the line, yes.
|
#5
|
|||
|
|||
I put the button image in, now it looks like this:
Code is: Code:
<if condition="$show['communitylink'] AND $show['popups']"> <td class="vbmenu_control"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6"><img src="$stylevar[imgdir_button]/menu_community.png" alt="$vbphrase[community]"</a> <script type="text/javascript"> vbmenu_register("community"); </script></td></if> Thanks for the help so far, Lynne. |
#6
|
||||
|
||||
HTML Code:
<if condition="$show['communitylink'] AND $show['popups']"> <td class="vbmenu_control"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6"><img src="$stylevar[imgdir_button]/menu_community.png" alt="$vbphrase[community]"</a> <script type="text/javascript"> vbmenu_register("community", true); </script></td></if> |
#7
|
||||
|
||||
Make sure you've also created the image fore the link, as it looks like your navbar buttons are created from images.
|
#8
|
|||
|
|||
Quote:
Quote:
Thank all the help, much appreciated. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|