vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   My Posts link in Quick Links navbar menu (https://vborg.vbsupport.ru/showthread.php?t=89164)

Spinball 05-15-2004 10:00 PM

My Posts link in Quick Links navbar menu
 
A navigation bar Quick Link to show the user's most recent posts.
Simple one which I had on vB2.
Works on 3.01 (and probably 3.00 aswell).
I find this very useful and going by the amount of requests for it, so do my members.
And despite zero hacking experience I managed to get working:

Add a phrase into GLOBAL
title : my_posts_nav
text : My Posts

Edit the navbar template under Navigation / Breadcrumb Templates

after
HTML Code:

<tr><td class="thead">$vbphrase[quick_links]</td></tr>
insert
HTML Code:

                <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&userid=$bbuserinfo[userid]">$vbphrase[my_posts_nav]</a></td></tr></if>

MaxScript 05-19-2004 11:42 PM

another:
under where says " Private Messages: " in user name box

added:
My Posts:: New Posts:: Log Out

Add a phrase into GLOBAL
title : my_posts_nav
text : My Posts

Find:
Code:

<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if><br>
After Add:
Code:

                        <if condition="$vboptions['enablesearches']"><a href="search.php?$session[sessionurl]do=finduser&userid=$bbuserinfo[userid]">$vbphrase[my_posts_nav]</a></if>::
                        <if condition="$vboptions['enablesearches']"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></if>::
                        <if condition="$bbuserinfo['userid']"><a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a></if>

by: bayster http://batalk.com

YabbaDabba 06-13-2004 06:38 AM

Very Nice!

Will want to install in the morning when my eyes are focusing!

What would make this utterly brilliant is if it could optionally include all posts made by others who "Quote" my posts/threads. A "My Conversations" search, if you will.

ab7fh 06-14-2004 05:46 PM

Thanks. I just installed this :D


All times are GMT. The time now is 01:04 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.01035 seconds
  • Memory Usage 1,724KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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