PDA

View Full Version : Mini Mods - My Posts & Threads in navbar


dutchbb
08-31-2006, 10:00 PM
Port from: https://vborg.vbsupport.ru/showthread.php?t=118306

This adds a "My Posts" link to your navbar with a drop down menu for threads. Now you can easily find your recent topics and post with one click :)

Installation is easy and should take no more than a few minutes.

Please click install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=125529) if you use this, thank you.

**** Due to unethical actions by vBulletin Solutions (http://www.vbulletin.com/forum/showthread.php?363883-Internet-Brands-claims-against-Xenforo&p=2050616#post2050616) I can no longer support this modification ****

dutchbb
09-01-2006, 06:02 PM
**** Due to unethical actions by vBulletin Solutions (http://www.vbulletin.com/forum/showthread.php?363883-Internet-Brands-claims-against-Xenforo&p=2050616#post2050616) I can no longer support this modification ****

Bounce
09-01-2006, 07:21 PM
Nice one. good idea :cool:

*Installed*

Benj
09-01-2006, 07:39 PM
do you know if theres anyway to show my threads from a specific forum ?

alkatraz
09-01-2006, 07:42 PM
great little mod, thanks!

I've changed it around a bit to Include those options along with the UserCP

Here's what mine now looks like,

dutchbb
09-01-2006, 08:02 PM
I like that alkatraz, nice addition.

StuntFactoryX
09-01-2006, 08:38 PM
how did ya do that alkatraz? great idea triple.

alkatraz
09-01-2006, 11:52 PM
how did ya do that alkatraz?

since my navbar is sorta customized already i'm too lazy to cut and paste step by step instructions, but here's a quick run down

- I did the mod as instructed first
- then I moved the part that goes beside "New Posts" so it was beside "UserCP"

ah screw it, here's the bits of code you can figure it out it's pretty easy =)


basicaly I replaced the bits within the USERCP <td>'s with:

<a href="usercp.php$session[sessionurl_q]">My Account</a> <span id="navbar_myposts"><script type="text/javascript"> vbmenu_register("navbar_myposts"); </script></span>


and here's what my dropdown setup is like:

<!-- My Posts Menu -->
<div class="vbmenu_popup" id="navbar_myposts_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">My Account</td>
</tr>

<tr>
<td class="vbmenu_option"><a href="usercp.php$session[sessionurl_q]">My Account Settings</a></td>
</tr>

<tr>
<td class="vbmenu_option"><a href="search.php?do=finduser&u=$bbuserinfo[userid]">View My Posts</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?do=process&showposts=0&starteronly=1&exactname=1&searchuser=$bbuserinfo[username]">View My Threads</a></td>
</tr>

<tr>
<td class="vbmenu_option"><a href="member.php?u=$bbuserinfo[userid]">View My Profile</a></td>
</tr>

</table>
</div>
<!-- / My Posts Menu -->

soletrader
09-02-2006, 11:05 AM
alkatraz.... i am having some difficulties understanding what exactly you did. Is the edit in the navbar template?

Rickie3
09-02-2006, 11:38 AM
alkatraz.... i am having some difficulties understanding what exactly you did. Is the edit in the navbar template?
sure is;)

xman_79
09-03-2006, 09:26 AM
Installed .
Nice one. good idea
Thank you .

friendly
09-05-2006, 04:14 AM
Terrific! This should be standard in VB. Thank you!

iran.gs
09-10-2006, 07:56 PM
Installed Tyyyyyyyyyyyyyy

abenoking
09-15-2006, 03:04 PM
This needs to be a standard feature that comes with every fresh install of VB.

Thanks for the fix!

perfphysio
09-23-2006, 01:08 PM
Great Mod. Just tried it in 3.1.6 without any problem :)

dutchbb
10-11-2006, 07:20 PM
Great Mod. Just tried it in 3.1.6 without any problem :)
Yes also for 3.6.2.

mrkhm
01-25-2007, 06:46 AM
the edits are different for 3.6.4, can't find the parts to replace.

marcsmith73
02-04-2007, 01:18 AM
Very helpful on my site!! Thxs!

skariko
02-04-2007, 12:57 PM
Good work, I like it so much! ;)

dutchbb
02-04-2007, 01:43 PM
the edits are different for 3.6.4, can't find the parts to replace.
Just tried it, it's exactly the same :)

mandy71480
02-04-2007, 01:50 PM
This is a nice addition! Thanks! I have 3.6.4 and had no problems finding the edits and I have over 10 mods installed.

JohnBee
02-08-2007, 03:20 PM
Thanks for this! - wonderful addition to a great modification. :up:since my navbar is sorta customized already i'm too lazy to cut and paste step by step instructions, but here's a quick run down

- I did the mod as instructed first
- then I moved the part that goes beside "New Posts" so it was beside "UserCP"

ah screw it, here's the bits of code you can figure it out it's pretty easy =)


basicaly I replaced the bits within the USERCP <td>'s with:

<a href="usercp.php$session[sessionurl_q]">My Account</a> <span id="navbar_myposts"><script type="text/javascript"> vbmenu_register("navbar_myposts"); </script></span>
and here's what my dropdown setup is like:

<!-- My Posts Menu -->
<div class="vbmenu_popup" id="navbar_myposts_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">My Account</td>
</tr>

<tr>
<td class="vbmenu_option"><a href="usercp.php$session[sessionurl_q]">My Account Settings</a></td>
</tr>

<tr>
<td class="vbmenu_option"><a href="search.php?do=finduser&u=$bbuserinfo[userid]">View My Posts</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?do=process&showposts=0&starteronly=1&exactname=1&searchuser=$bbuserinfo[username]">View My Threads</a></td>
</tr>

<tr>
<td class="vbmenu_option"><a href="member.php?u=$bbuserinfo[userid]">View My Profile</a></td>
</tr>

</table>
</div>
<!-- / My Posts Menu -->

Philster
02-09-2007, 04:45 PM
Thanks works good in version 3.6.3 with the 3.6.4 security patch.

Phil.

JohnBee
02-10-2007, 12:21 PM
I was wondering.
Someone mentioned recently that the "My Posts" formatting is not quite as appealing as the Advanced Search "Username" results. Does anyone know if it's possible to get the same look and feel as the Advanced search with the "My Posts" addon?

Reedly
02-13-2007, 09:33 PM
I assume you're talking about the fact that the link doesn't 'drop down' like the search and 'quick links' links unless you click the arrow instead of the words "my posts"?

I noticed this too, and it was a bit confusing at first since click 'my posts' took me directly to that section. But, then I clicked the arrow to receive the drop down menu.

Is there a way to easily make the words part of the advanced link also?

Oh, and this is a great mod that's working wonderfully - thank you!!!

dutchbb
02-13-2007, 11:43 PM
I was wondering.
Someone mentioned recently that the "My Posts" formatting is not quite as appealing as the Advanced Search "Username" results. Does anyone know if it's possible to get the same look and feel as the Advanced search with the "My Posts" addon?
What you mean is "threads I posted in"...

That will show you a list with all the threads you have posted in, ordered by the last post in it.

You can use this string to replace the one in "my posts":
search.php?do=process&showposts=0&starteronly=0&exactname=1&searchuser=$bbuserinfo[username]

However I believe when someone searches for 'their posts', it's more logical to show the latest posts, not the threads they posted in.

A better way to do it IMO would be to add the extra feature like mentioned above (threads I posted in) in the drop down menu:

FIND in navbar:

<tr>
<td class="vbmenu_option"><a href="search.php?do=process&showposts=0&starteronly=1&exactname=1&searchuser=$bbuserinfo[username]">My Threads</a></td>
</tr>

ADD BELOW:

<tr>
<td class="vbmenu_option"><a href="search.php?do=process&showposts=0&starteronly=0&exactname=1&searchuser=$bbuserinfo[username]">Threads I Posted in</a></td>
</tr>

So now you have the 3
-my posts (YOUR posts, listed as posts)
-my threads (threads YOU started, listed as threads)
-threads I posted in (threads you DIDN'T neccecairly start, but containing your posts, listed as threads)

Hope this makes sense to you :)

dutchbb
02-14-2007, 12:00 AM
I assume you're talking about the fact that the link doesn't 'drop down' like the search and 'quick links' links unless you click the arrow instead of the words "my posts"?

I noticed this too, and it was a bit confusing at first since click 'my posts' took me directly to that section. But, then I clicked the arrow to receive the drop down menu.

Is there a way to easily make the words part of the advanced link also?

Oh, and this is a great mod that's working wonderfully - thank you!!!
Well my members use "my posts" most of the time so they actually wanted to click once and get the posts. But you can have it your way:

In navbar FIND:

<td class="vbmenu_control"><a href="search.php?do=finduser&u=$bbuserinfo[userid]" accesskey="2">My Posts</a> <span id="navbar_myposts"><script type="text/javascript"> vbmenu_register("navbar_myposts"); </script></span></td>

REPLACE WITH:


<td id="navbar_myposts" class="vbmenu_control"><a href="$show[nojs_link]#navbar_myposts">My Posts</a><script type="text/javascript">vbmenu_register("navbar_myposts");</script></td>

obmob
02-14-2007, 07:59 PM
Good idea :)

Sakera
03-20-2007, 10:10 AM
The search cache gives a problem with the View my threads stuff, sadly. When you Write new threads, you can risk that View my threads is'n updated for over an hour, as the search is cached....

styleforum
03-24-2007, 11:29 PM
Nice mod, I'll see how people like it and if it needs to be spiffed up like some here have done.

One note though - shouldn't the accesskey be something other than '2'? I bet 99.9% of people would never use that, but since 2 is already the accesskey for New Posts, it will probably confuse some browsers.

Thanks for writing it though! I'm sure people will enjoy it.

mrkhm
07-22-2007, 04:31 AM
well done!

JadedSouls
07-24-2007, 12:48 PM
Great mod! I was looking for something like this today as a few members suggested having something in the navbar such as this!

Kudos!

jw00dy
07-24-2007, 09:40 PM
Thank you! Clicked Installed.

RVM
07-25-2007, 04:51 AM
This needs to be a standard feature that comes with every fresh install of VB.


TOTALLY! :D

jauhari
08-09-2007, 03:35 PM
Install and running JUST PERFECT ;)

webmaster74
08-16-2007, 11:19 PM
thanks.

has anyone tested if this mod works fine in 3.6.8 ???

dutchbb
08-26-2007, 01:00 PM
Yes it works in 3.6.8 :)

webmaster74
08-26-2007, 01:25 PM
unhappy.

In 'navbar' template:
FIND:



-----------------------------------------------------------
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
-----------------------------------------------------------


the one on line 85 or the one on line 98???

there are two occurences of this string.

webmaster74
08-26-2007, 01:29 PM
"my posts" and "my threads" are hardcoded!

(N)

DieselMinded
08-27-2007, 01:17 AM
How Do I Add a Threads Ive Posted in link here too?

bbrase
08-28-2007, 01:28 PM
I, for the life of me cannot get this to work... I have the code where I need and such. Shouldn't I be at the very least be getting an error or something up on the navbar?

Running, 3.6.8

dutchbb
08-28-2007, 05:50 PM
How Do I Add a Threads Ive Posted in link here too?

https://vborg.vbsupport.ru/showpost.php?p=1181933&postcount=26

And start reading from:
FIND in navbar:

dutchbb
08-28-2007, 05:52 PM
"my posts" and "my threads" are hardcoded!

(N)
Of course, this is a template mod, not a plugin or file mod.

dutchbb
08-28-2007, 05:54 PM
I, for the life of me cannot get this to work... I have the code where I need and such. Shouldn't I be at the very least be getting an error or something up on the navbar?

Running, 3.6.8
Make sure you add everything in the right place, maybe you have done changes before this edit? For example an </if> statement can affect this.

DieselMinded
08-28-2007, 06:27 PM
How Do I Make the My Posts in the nav bar Not Hyper link and only open the drop down ?

Thanks

dutchbb
08-29-2007, 08:50 AM
That was already asked in page 2: https://vborg.vbsupport.ru/showpost.php?p=1181939&postcount=27

gobears20
08-29-2007, 10:13 PM
I was curious if I wanted to display this only for certain user groups?

Would I put something like this below and if so, where?

Thanks!

<if condition="$bbuserinfo['usergroupid'] < 10">


</if>

woodcreeker
09-03-2007, 06:51 AM
Great Mod, taught me several things about the navbar code. I actually modified this for my needs, and put it a top bar Mod.

Thanks dutchbb !!

dutchbb
09-07-2007, 12:02 PM
gobears:

<if condition="$bbuserinfo[usergroupid] == A">B</if>

Replace A with usergroup and B with every code that is added in navbar (wrap it around each code).

woodcreeker: glad I could help :)

yoyoyoyo
09-10-2007, 11:18 PM
I, for the life of me cannot get this to work... I have the code where I need and such. Shouldn't I be at the very least be getting an error or something up on the navbar?

Running, 3.6.8same here - code added, but nothing appears in the navbar - code checked and re-checked - strange

yoyoyoyo
09-12-2007, 01:53 PM
Ok - I played around with this a bit, and got the "My Posts" dhtml menu to show up in my navbar, however when I click on the link it displays all of my links instead of dropping down the dhtml menu. To get the dhtml menu to drop down I have to click to the right of the link on the little arrow thingy, and then the dhtml menu opens to the right of the link and I can select either threads or links. How can I make it drop down directly below the link (like the search link does by default) without going to the posts listing first?

mishb68
09-18-2007, 04:42 AM
Thanks! I've been wanting something like this.

dutchbb
09-18-2007, 06:47 PM
yoyoyoyo: look at the first post on this page please.

PokerFreedom
10-06-2007, 04:34 PM
Will this work for 3.6.8?

Let me know.

dutchbb
11-02-2007, 06:47 PM
Yes it does.

thompson
11-02-2007, 10:17 PM
nice addon

Deadly Assassin
01-20-2008, 05:14 PM
Had to place the second lot of code between the </if> and <!-- / NAVBAR POPUP MENUS -->
Rather than above them both.

Otherwise i got a an error at the very top of my board.

Great mod though..

DieselMinded
05-09-2008, 02:42 AM
I Tried to uninstall this , but couldnt as it deleted the links even tho i moved them from the my posts drop down into the search drop down , Mod running on 3.7.0 Gold sort of

Rick
07-09-2008, 12:13 AM
I have this running in 3.7.2. It brings up "My posts" fine, but the drop down menu for threads is busted.

This is the code I'm using, probably the same as what it says here:

<!-- My Posts -->
<td class="vbmenu_control"><a href="search.php?do=finduser&u=$bbuserinfo[userid]" accesskey="5">My Posts</a> <span id="navbar_myposts"><script type="text/javascript"> vbmenu_register("navbar_myposts"); </script></span></td>
<!-- End My Posts -->

Any quick fix to get the threads portion working again??

N3v3R
07-10-2008, 12:44 AM
will this be ported to 3.7 soon?

Yalan
08-27-2008, 11:07 AM
Thanks ;)

bestmilan
09-02-2008, 07:47 PM
Great mod. Thanks.

Clicked Installed.

stb74
12-12-2008, 08:55 AM
I have added this mod.

Would you have any idea how to add a query for showing latest replies to a posts that a user has added a post to.

Chunky Monkey
12-18-2008, 03:50 PM
Can anyone verify whether this works in 3.7.4?

stardotstar
12-18-2008, 09:28 PM
Just looking right now and wondering this myself - if I get some time to sus it out I may be able to post back - otherwise I too am awaiting an update to 3.7

stardotstar
12-18-2008, 09:45 PM
Looks fine to me on 3.7

Here is a copy of my navbar template - I had to add the section twice since the section to look for appears twice and is slightly different to 3.6 - but this is only after a cursory glance - perhaps someone can confirm this and we can show this good mod as compatible with 3.7

<br />

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>

<if condition="$show['member']">

<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
</div>
</td>

<else />

<td class="alt2" nowrap="nowrap" style="padding:0px">

<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->

</td>

</if>

</tr>
</table>

<!-- / breadcrumb, login, pm info -->





<!-- nav buttons bar -->
<div align="center">
<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="cmps_index.php$session[sessionurl_q]">Portal</a></td>
<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td class="vbmenu_control"><a href="photoplog/index.php$session[sessionurl_q]">Gallery</a></td>
<if condition="$bbuserinfo['userid']">
<td class="vbmenu_control">
<a href="vbgooglemapme.php">$vbphrase[vbgooglemapme]</a></td>
</if>
<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>

<td class="vbmenu_control"><a href="search.php?do=finduser&u=$bbuserinfo[userid]" accesskey="2">My Posts</a> <span id="navbar_myposts"><script type="text/javascript"> vbmenu_register("navbar_myposts"); </script></span></td>


<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
</if>
<if condition="$show['member']">
<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>

<td class="vbmenu_control"><a href="search.php?do=finduser&u=$bbuserinfo[userid]" accesskey="2">My Posts</a> <span id="navbar_myposts"><script type="text/javascript"> vbmenu_register("navbar_myposts"); </script></span></td>


<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
$template_hook[navbar_buttons_right]
<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
</if>

</tr>
</table>
</div>
<!-- / nav buttons bar -->

<br />
<if condition="$show['forumdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>

<if condition="$show['popups']">

<!-- My Posts Menu -->
<div class="vbmenu_popup" id="navbar_myposts_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">My Posts</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?do=finduser&u=$bbuserinfo[userid]">My Posts</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?do=process&showposts=0&starteronly=1&exactname=1&searchuser=$bbuserinfo[username]">My Threads</a></td>
</tr>
</table>
</div>
<!-- / My Posts Menu -->




<!-- NAVBAR POPUP MENUS -->

<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
<div style="margin-top:$stylevar[cellpadding]px">
<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>
</div>
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
$template_hook[navbar_search_menu]
</table>
</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">

<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=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>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
$template_hook[navbar_quick_links_menu_pos1]

<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$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>
$template_hook[navbar_quick_links_menu_pos2]

<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$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_q]">$vbphrase[whos_online]</a></td></tr></if>
$template_hook[navbar_quick_links_menu_pos3]

</table>
</div>
<!-- / user cp tools menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->

<!-- PAGENAV POPUP -->

<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>

<!-- / PAGENAV POPUP -->
</if>


The section:

<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
can be found at line 96 and 109
I added the recommended text below both entries and it appears to work fine.
Therefore both the found sections become:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>

<td class="vbmenu_control"><a href="search.php?do=finduser&u=$bbuserinfo[userid]" accesskey="2">My Posts</a> <span id="navbar_myposts"><script type="text/javascript"> vbmenu_register("navbar_myposts"); </script></span></td>
Will

boatswife
01-26-2009, 09:54 PM
For 3.8 listed under Quick Links

Edit Templates
navbar

Find:
<tr><td class="thead">$vbphrase[quick_links]</td></tr>

Add........I have mine added under Today's Posts.
<tr><td class="vbmenu_option"><a href="search.php?do=finduser&u=$bbuserinfo[userid]">My Posts</a></td></tr>
<tr><td class="vbmenu_option"><a href="search.php?do=process&showposts=0&starteronly=1&exactname=1&searchuser=$bbuserinfo[username]">My Threads</a></td></tr>

meijin
04-12-2009, 06:01 AM
Under 3.8.1 and using the info in the post directly above this one, do I have to rebuild anything in the Administrator CP? I ask because while the link shows, when I click on it all I get is:

Sorry - no matches. Please try some different terms.

I am new to vBulletin, so I guess I am missing something to make this work.

Thanks for your help.

glowinggal
05-21-2009, 02:48 PM
bump - would like to know too about using in 3.8.1

boatswife
05-22-2009, 05:04 AM
Make sure you are finding the following in your navbar.
<tr><td class="thead">$vbphrase[quick_links]</td></tr>

When you pull up the navbar, do a search for the phrase quick_links and it' the 5th lookup that has <td class="thead">.

I'm using 3.8.2 and it's working fine.