View Full Version : Question
ozzy47
06-29-2011, 03:16 AM
I have coded something for my navbar, for vb 4.x but I can not seem to code it for 3.8.x I would like to know if anyone can tell me how to code the following for vB 3.8.x
<li>
<a onclick="return tabViewPicker(this);" href={vb:link member, {vb:raw bbuserinfo}}&tab=quotes#quotes"id="quotes-tab">Quotes
</a>
</li>
It is a tab in my user profile, from a mod, and I can not seem to get it to recognize the member who is clicking on the link.
BirdOPrey5
06-29-2011, 12:26 PM
I have coded something for my navbar, for vb 4.x but I can not seem to code it for 3.8.x I would like to know if anyone can tell me how to code the following for vB 3.8.x
<li>
<a onclick="return tabViewPicker(this);" href={vb:link member, {vb:raw bbuserinfo}}&tab=quotes#quotes"id="quotes-tab">Quotes</a>
</li>
It is a tab in my user profile, from a mod, and I can not seem to get it to recognize the member who is clicking on the link.
This code:
{vb:link member, {vb:raw bbuserinfo}}
doesn't work in VB 3.x, it is 4.x template code.
Assuming it is linking to the member's profile you would need to do something like:
<li>
<a onclick="return tabViewPicker(this);" href=member.php?u=$bbuserinfo[userid]&tab=quotes#quotes"id="quotes-tab">Quotes</a>
</li>
But double check your use of "quotes" in your code- doesn't look right to me.
ozzy47
06-30-2011, 02:30 AM
Thanks BOP5, you got me going in the right direction, here is how it had to be coded to work right
<tr><td class="vbmenu_option"><a href="member.php?u=$bbuserinfo[userid]&tab=quotes#quotes"id="quotes-tab">Quotes</a></td></tr>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.