Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-06-2011, 02:20 AM
jpietrowiak jpietrowiak is offline
 
Join Date: Dec 2008
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 01-06-2011, 07:14 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 01-06-2011, 07:10 PM
jpietrowiak jpietrowiak is offline
 
Join Date: Dec 2008
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That worked perfectly!! Thanks Digital Jedi
Reply With Quote
  #4  
Old 01-12-2011, 10:16 PM
slehmann slehmann is offline
 
Join Date: Apr 2008
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
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.
Reply With Quote
  #5  
Old 01-12-2011, 10:49 PM
jpietrowiak jpietrowiak is offline
 
Join Date: Dec 2008
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your right Slehmann, I didn't even notice that I wonder if there is a way to do it?
Reply With Quote
  #6  
Old 01-14-2011, 02:14 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It shouldn't. That's just a slightly tweaked version of the link from MEMBERINFO.
Reply With Quote
  #7  
Old 01-14-2011, 03:04 PM
jpietrowiak jpietrowiak is offline
 
Join Date: Dec 2008
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 01-14-2011, 06:51 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been unconscious since Tuesday. So, no worries.
Reply With Quote
  #9  
Old 01-14-2011, 10:25 PM
slehmann slehmann is offline
 
Join Date: Apr 2008
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #10  
Old 01-14-2011, 11:02 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:19 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12875 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete