vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to add direct link to find all my posts when logged in? (https://vborg.vbsupport.ru/showthread.php?t=256604)

jpietrowiak 01-06-2011 02:20 AM

How to add direct link to find all my posts when logged in?
 
I would like to add direct link to find all my posts when logged in to VB to add to either navbar or welcome user box. Is this possible? I see I can do it by going to the search function enter my user name but would like a direct link for my forum so people can find there posts easy if they do not subscribe to them.

Thanks for any help you can provide.

Digital Jedi 01-06-2011 07:14 AM

The URL for that kind of search would be search.php?$session[sessionurl]do=finduser&u=$bbuserinfo[userid].

For threads started it would be search.php?$session[sessionurl]do=finduser&u=$bbuserinfo[userid]&starteronly=1.

jpietrowiak 01-06-2011 07:10 PM

That worked perfectly!! Thanks Digital Jedi

slehmann 01-12-2011 10:16 PM

Quote:

Originally Posted by Digital Jedi (Post 2144794)
The URL for that kind of search would be search.php?$session[sessionurl]do=finduser&u=$bbuserinfo[userid].

For threads started it would be search.php?$session[sessionurl]do=finduser&u=$bbuserinfo[userid]&starteronly=1.

I added and thought it was working great but just realized that the one for threads started is bringing up threads that I have replied to but not started.

jpietrowiak 01-12-2011 10:49 PM

Your right Slehmann, I didn't even notice that I wonder if there is a way to do it?

Digital Jedi 01-14-2011 02:14 AM

It shouldn't. That's just a slightly tweaked version of the link from MEMBERINFO.

jpietrowiak 01-14-2011 03:04 PM

Not sure why I thought that it didn't work that day when I checked it out, but Jedi you are right. It did what you said it does. Sorry for the confusion or my loss of consciousness that day. :)

Digital Jedi 01-14-2011 06:51 PM

I've been unconscious since Tuesday. So, no worries.

slehmann 01-14-2011 10:25 PM

mine just shows replies for both. some of my users brought it to my attention.

should look like this, right?

Quote:

<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$bbuserinfo[userid]&amp;starteronly=1">My Threads/<a href="search.php?$session[sessionurl]do=finduser&amp;u=$bbuserinfo[userid]">Replies</a></td>

Digital Jedi 01-14-2011 11:02 PM

Well, you never closed the first <a> tag. See the code in red? You left that out.

Code:

<td class="vbmenu_control">
  <a href="search.php?$session[sessionurl]do=finduser&amp;u=$bbuserinfo[userid]&amp;starteronly=1">My Threads</a>/
  <a href="search.php?$session[sessionurl]do=finduser&amp;u=$bbuserinfo[userid]">Replies</a>
</td>



All times are GMT. The time now is 01:30 AM.

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.01113 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete