PDA

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


vBulletin THEN DAYLIGHT
01-10-2007, 10:00 PM
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;s earchuser=$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
01-11-2007, 09:27 PM
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;s earchuser=$bbuserinfo[username]">My Posts</a></td></tr>

Untested.

GASTCorp
01-12-2007, 06:40 PM
Thank You.

Kadi
01-17-2007, 08:39 AM
Thanks.

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

vBulletin THEN DAYLIGHT
01-18-2007, 05:46 PM
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
01-18-2007, 09:33 PM
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
01-19-2007, 02:53 PM
doesnt work for me...

nothing shows up

vBulletin THEN DAYLIGHT
01-19-2007, 03:34 PM
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
01-19-2007, 03:38 PM
i agree with you, but nothing is showing up

Al-Fateh
01-19-2007, 03:43 PM
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;s earchuser=$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
01-20-2007, 05:29 AM
doesnt work for me...

nothing shows up

Are you looking in Quick Links in navbar after install?

Al-Fateh
01-20-2007, 02:00 PM
yes...nothing there.

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

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

do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;s earchuser=$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
01-20-2007, 02:37 PM
thaks for the great help

working great now!!

blind-eddie
01-20-2007, 02:38 PM
np, Glad I could help.

Al-Fateh
01-20-2007, 02:42 PM
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;s earchuser=$bbuserinfo[username]">My Posts</a></td></tr>

Untested.

:up:

josepheseven
08-22-2007, 12:23 PM
thanks...... works fine on 3.6.8 :)

ram94401
03-07-2008, 07:29 AM
Installed and working ok. Thanks!

Mongez
03-23-2008, 12:56 AM
Great ... Installed :)

sdavis2702
04-29-2008, 11:07 AM
Perfect! Thanks :)

demoniavbh
11-23-2008, 01:52 PM
Perfect!!

How about showing stickies first? is it possible?

Thanks