Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vbBux / vbPlaza
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
please help a noobie, ( link problem ) Details »»
please help a noobie, ( link problem )
Version: , by cyclops1 cyclops1 is offline
Developer Last Online: Nov 2006 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 09-28-2006 Last Update: Never Installs: 0
 
No support by the author.

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&amp;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>
                &nbsp;
                <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&amp;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&amp;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&amp;itemid=48">$vbphrase[vbplaza_lottery]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=27">$vbphrase[vbplaza_give_gifts]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=118">$vbphrase[vbplaza_give_ribbons]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=13">$vbphrase[vbbux_bank]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=7">$vbphrase[vbplaza_donate]</a></td></tr>
		<tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;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&amp;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
this my header and i fail to see where to insert

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 -->
please help someone

its a vbdesigns theme, i could add a button for vbplaza but I dont know how the code would look like....

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-05-2006, 05:48 PM
phpdevrus phpdevrus is offline
 
Join Date: Mar 2006
Location: San Francisco, CA
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Insert it here but you need to make it match up with the way that they do it.

Quote:
Originally Posted by cyclops1
<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&amp;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>
They seem to have a custom css class for each menu link, so you would either have to make a class for your new link or just use one of the current ones ;-)

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.
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 08:08 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03800 seconds
  • Memory Usage 2,262KB
  • Queries Executed 17 (?)
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
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (2)postbit_onlinestatus
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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