PDA

View Full Version : 'My Threads' in Quick Links menu.


vBulletin THEN DAYLIGHT
11 Jan 2007, 17:00
This one is really simple, but a useful means of members quickly following their own threads on the forum without having to go into their profile first.

It takes about 2 minutes to install. One template edit.

Installation

Open up the 'navbar' template under 'Navigation/Breadcrumb Templates'

Find:

<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>And add above it:

<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$bbuserinfo[username]">My Threads</a></td></tr>And that's it. Child's play. :) Could be added anywhere else in the Quick Links menu if you so wish.

I've uploaded a copy of the installation instructions in case you like to keep them on your computer like I do.

Thomas P
11 Jan 2007, 22:27
Nice, I like it and will use it :)

To show 'My Posts' I use this:
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=process&amp;showposts=1&amp;starteronly=0&amp;exactname=1&amp;searchuser=$bbuserinfo[username]">My Posts</a></td></tr>

Untested.

GASTCorp
12 Jan 2007, 19:40
Thank You.

Kadi
17 Jan 2007, 09:39
Thanks.

How do I make 'New Threads' appear in the translated language on the forum?

vBulletin THEN DAYLIGHT
18 Jan 2007, 18:46
Thanks.

How do I make 'New Threads' appear in the translated language on the forum?
Hi Kadi, I assume you mean 'My Threads'? You will have to make it into a phrase if you want it to translate for different languages.

Admin CP > Languages & Phrases > Phrase Manager > Add New Phrase

Phrase Type: GLOBAL
Product: vBulletin
Varname: mythreads
Text: My Threads

And then type in the different translations of 'My Threads' for each language in the translations boxes.

Save.

Now, you need to replace 'My Threads' in the code with '$vbphrase[mythreads]'.

Bellinis
18 Jan 2007, 22:33
Installed, but adjusted the search to show ALL posts made by a member and added a phrase for $vbphrase[my_posts] ;)

<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$bbuserinfo[userid]">$vbphrase[my_posts]</a></td></tr>

Thanks! :)

Al-Fateh
19 Jan 2007, 15:53
doesnt work for me...

nothing shows up

vBulletin THEN DAYLIGHT
19 Jan 2007, 16:34
doesnt work for me...

nothing shows up
Given this is a simple template modification I don't see why it shouldn't if it has been installed properly. Are you referring to the phrase?

Al-Fateh
19 Jan 2007, 16:38
i agree with you, but nothing is showing up

Al-Fateh
19 Jan 2007, 16:43
here is what i have

<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$bbuserinfo[username]">My Threads</a></td></tr>
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>

blind-eddie
20 Jan 2007, 06:29
doesnt work for me...

nothing shows up

Are you looking in Quick Links in navbar after install?

Al-Fateh
20 Jan 2007, 15:00
yes...nothing there.

blind-eddie
20 Jan 2007, 15:07
ok, Are you using custom Styles? I have custom style on my site, and some style templates need to be edited seperatly.

blind-eddie
20 Jan 2007, 15:15
You forgot this before what you have <if condition="$vboptions['enablesearches']">


do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$bbu serinfo[username]">My Threads</a></td></tr>
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>

Al-Fateh
20 Jan 2007, 15:37
thaks for the great help

working great now!!

blind-eddie
20 Jan 2007, 15:38
np, Glad I could help.

Al-Fateh
20 Jan 2007, 15:42
Nice, I like it and will use it :)

To show 'My Posts' I use this:
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=process&amp;showposts=1&amp;starteronly=0&amp;exactname=1&amp;searchuser=$bbuserinfo[username]">My Posts</a></td></tr>

Untested.

:up:

josepheseven
22 Aug 2007, 13:23
thanks...... works fine on 3.6.8 :)

ram94401
07 Mar 2008, 08:29
Installed and working ok. Thanks!

Mongez
23 Mar 2008, 01:56
Great ... Installed :)

sdavis2702
29 Apr 2008, 12:07
Perfect! Thanks :)

demoniavbh
23 Nov 2008, 14:52
Perfect!!

How about showing stickies first? is it possible?

Thanks