The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
please help a noobie, ( link problem ) Details »» | |||||||||||||||||||||||||
i just installed vbbux.vbplaza 1.5.8. (locally, for testing purposes )
I had some trouble doing the template-edits, becuase in my theme some code didnt exist in the navbar but in my header, so i edited it there instead. It seems to be working, but i have some trouble with the link, maybe my theme doesnt support it or something, my header is "split" in the middle and I see the text vbplaza menu, just txt. IE says that there is an error on my page too. This is the link it leads to... (it goes nowhere actually, i just stay in my forums, the txt in the header dissapears, and my header seem ok then) http://localhost/forums/index.php?nojs=1#vbplazamenu and it looks like this : i think it tries to make a dropdownbox or something but i guess its not working with my theme. Any ideas on this ? I guess i could always make a custom button for the vbplazamenu, but could someone point me in the right direction what the proper link then would be ?? tnx for ur time !!! Code:
<!-- logo --> <a id="top"></a> <div class="headbg"> <div class="headpic"><a href="$vboptions[forumhome].php?$session[sessionurl_q]"><img src="/designs/cyborg-dark/sp.gif" alt="$vboptions[bbtitle]" width="524" height="111" /></a></div> </div> <div class="navibg"> <div class="center_navi"> <if condition="$show['member']"><div class="c_log_out"><a class="c_log_out" title=" <phrase 1="$bbuserinfo[username]"> $vbphrase[log_out_x]</phrase> " href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><span> <phrase 1="$bbuserinfo[username]"> $vbphrase[log_out_x]</phrase> </span></a></div><else /><div class="c_register_right"><a class="c_register_right" href="register.php?$session[sessionurl]" title="$vbphrase[register]"><span>$vbphrase[register]</span></a></div></if> <if condition="$show['member']"><div class="c_new_posts"><a class="c_new_posts" href="search.php?$session[sessionurl]do=getnew" accesskey="2" title="$vbphrase[new_posts_nav]"><span>$vbphrase[new_posts_nav]</span></a></div> <else /><div class="c_daily_posts"><a class="c_daily_posts" href="search.php?$session[sessionurl]do=getdaily" accesskey="2" title="$vbphrase[todays_posts]"><span>$vbphrase[todays_posts]</span></a></div></if> <if condition="$show['member']"><div class="c_menu"><div id="usercptools"><a class="c_menu" href="#usercptools" title="$vbphrase[quick_links]"><span>$vbphrase[quick_links]</span></a> <script type="text/javascript"> vbmenu_register("usercptools", true); </script></div></div><else /> <div class="c_menu"><div id="usercptoolsguest"><a class="c_menu" href="#usercptools" title="$vbphrase[quick_links]"><span>$vbphrase[quick_links]</span></a> <script type="text/javascript"> vbmenu_register("usercptoolsguest", true); </script></div></div></if> <div class="c_search"><div id="navbar_search"><a class="c_search" href="search.php?$session[sessionurl]" accesskey="4" title="$vbphrase[search]"><span>$vbphrase[search]</span></a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search", true); </script></if> </div></div> <if condition="$show['member']"><div class="c_user_cp"><a class="c_user_cp" href="usercp.php?$session[sessionurl]" title="$vbphrase[user_cp]"><span>$vbphrase[user_cp]</span></a></div></if> <if condition="$show['registerbutton']"><div class="c_register"><a class="c_register" href="register.php?$session[sessionurl]" title="$vbphrase[register]"><span>$vbphrase[register]</span></a></div></if> <div class="c_faq"><a class="c_faq" href="faq.php?$session[sessionurl]" accesskey="5" title="$vbphrase[faq]"><span>$vbphrase[faq]</span></a></div> <div class="c_member"><a class="c_member" href="memberlist.php?$session[sessionurl]" title="$vbphrase[members_list]"><span>$vbphrase[members_list]</span></a></div> <div class="c_calendar"><a class="c_calendar" href="calendar.php?$session[sessionurl]" title="$vbphrase[calendar]"><span>$vbphrase[calendar]</span></a></div> <div class="nav_middle_pic"><a href="$vboptions[forumhome].php?$session[sessionurl_q]"><img src="/designs/cyborg-dark/sp.gif" alt="$vboptions[bbtitle]" width="82" height="33" /></a></div> </div> </div> <if condition="$show['popups']"> <!-- NAVBAR POPUP MENUS --> <if condition="$show['searchbuttons']"> <!-- header quick search form --> <div class="vbmenu_popup" id="navbar_search_menu" style="display:none"> <form action="search.php?do=process" method="post"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$vbphrase[search_forums]</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <input type="hidden" name="do" value="process" /> <input type="hidden" name="quicksearch" value="1" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div> </td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label> <label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label> </td> </tr> <tr> <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td> </tr> </table> </form> </div> <!-- / header quick search form --> </if> <if condition="$show['member']"> <!-- user cp tools menu --> <div class="vbmenu_popup" id="usercptools_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0" style="text-align:left;" > <tr><td class="thead">$vbphrase[quick_links]</td></tr> <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td></tr></if> <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr> <tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr> <tr><td class="thead"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_control_panel]</a></td></tr> <if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if> <if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr> <tr><td class="thead">$vbphrase[miscellaneous]</td></tr> <if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if> <tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr> <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr> <if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if> <tr><td class="vbmenu_option"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></tr> </table> </div> <!-- / user cp tools menu --> </if> <!-- user cp tools menu --> <div class="vbmenu_popup" id="usercptoolsguest_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0" style="text-align:left;" > <tr><td class="thead">$vbphrase[quick_links]</td></tr> <tr><td class="vbmenu_option"><a href="register.php?$session[sessionurl]">$vbphrase[register]</a></td></tr> <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if> <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr> </table> </div> <!-- / user cp tools menu --> <!-- vbPlaza start --> <if condition="$show['member']"> <!-- vbplaza tools menu --> <div class="vbmenu_popup" id="vbplazamenu_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead"><a href="vbplaza.php?$session[sessionurl]">$vbphrase[vbplaza_name] $vbphrase[vbplaza_main]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=48">$vbphrase[vbplaza_lottery]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=27">$vbphrase[vbplaza_give_gifts]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=118">$vbphrase[vbplaza_give_ribbons]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=13">$vbphrase[vbbux_bank]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=7">$vbphrase[vbplaza_donate]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=16">$vbphrase[vbplaza_thief]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=richestusers">$vbphrase[vbbux_richest_users]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=userhistory">$vbphrase[vbplaza_history]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=mostsold">$vbphrase[vbplaza_most_sold]</a></td></tr> <if condition="is_member_of($vbulletin->userinfo, $vboptions['vbplaza_adminusergroups'])"> <tr><td class="thead">$vbphrase[vbplaza_admin_only]</a></td></tr> <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&itemid=12">$vbphrase[vbplaza_admin_donate]</a></td></tr> </if> </table> </div> <!-- / vbplaza tools menu --> </if> <!-- vbPlaza end --> <!-- / NAVBAR POPUP MENUS --> </if> <div class="top_borderbg"> <div class="top_border_right_pic"></div> <div class="top_border_left_pic"></div> <div class="top_border_middle_pic"></div> </div> <div class="border_left"> <div class="border_right"> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output Code:
<!-- vbPlaza start --> <if condition="$show['member']"> <if condition="$vboptions['vbplaza_enabled']"><td id="vbplazamenu" class="vbmenu_control"><a href="$show[nojs_link]#vbplazamenu">$vbphrase[vbplaza_name] $vbphrase[vbplaza_menu]</a> <script type="text/javascript"> vbmenu_register("vbplazamenu"); </script></td></if> </if> <!-- vbPlaza end --> its a vbdesigns theme, i could add a button for vbplaza but I dont know how the code would look like.... Show Your Support
|
Comments |
#2
|
|||
|
|||
Insert it here but you need to make it match up with the way that they do it.
Quote:
Copy this one: <div class="c_search"><div id="navbar_search"><a class="c_search" href="search.php?$session[sessionurl]" accesskey="4" title="$vbphrase[search]"><span>$vbphrase[search]</span></a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search", true); </script></if> </div></div> Use the data from here: <!-- vbPlaza start --> <if condition="$show['member']"><if condition="$vboptions['vbplaza_enabled']"><td id="vbplazamenu" class="vbmenu_control"><a href="$show[nojs_link]#vbplazamenu">$vbphrase[vbplaza_name] $vbphrase[vbplaza_menu]</a> <script type="text/javascript"> vbmenu_register("vbplazamenu"); </script></td></if> </if> <!-- vbPlaza end --> Dont forget to include the vbplaza popup code ;-) Dont have much time or i will provide you with the exact code to insert ;-) The skin you are using isnt using a regular vb design code. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|