vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   'My Threads' in Quick Links menu. (https://vborg.vbsupport.ru/showthread.php?t=136208)

vBulletin THEN DAYLIGHT 01-10-2007 10:00 PM

'My Threads' in Quick Links menu.
 
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:

Code:

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

Code:

<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 01-11-2007 09:27 PM

Nice, I like it and will use it :)

To show 'My Posts' I use this:
Code:

<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 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

Quote:

Originally Posted by Kadi (Post 1161275)
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] ;)

Code:

<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

Quote:

Originally Posted by Al-Fateh (Post 1162836)
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

Quote:

<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;e xactname=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 01-20-2007 05:29 AM

Quote:

Originally Posted by Al-Fateh (Post 1162836)
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']">

[QUOTE<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;e xactname=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>[/QUOTE]

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

Quote:

Originally Posted by Thomas P (Post 1156579)
Nice, I like it and will use it :)

To show 'My Posts' I use this:
Code:

<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 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


All times are GMT. The time now is 07:14 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.01240 seconds
  • Memory Usage 1,758KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete