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

Reply
 
Thread Tools Display Modes
  #1  
Old 11-04-2010, 10:48 PM
michelle86 michelle86 is offline
 
Join Date: Jan 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Search link for "threads I've replied to" and "my started threads"

So www.mysite.com/search.php?do=getdaily is used to find posts from the last 24 hours

and www.mysite.com/search.php?do=getnew is used to find all new unread posts

What do I need to show "threads I've replied to" and "my started threads"

I would like to make these easy to find for my members.

I found solutions for earlier versions of vbulletin, but they did not work for me. I have vb 4.0.8
Reply With Quote
  #2  
Old 11-13-2010, 05:06 AM
michelle86 michelle86 is offline
 
Join Date: Jan 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone?
Reply With Quote
  #3  
Old 11-13-2010, 03:52 PM
Fusion2 Fusion2 is offline
 
Join Date: Oct 2006
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by michelle86 View Post

I would like to make these easy to find for my members.

I found solutions for earlier versions of vbulletin, but they did not work for me. I have vb 4.0.8

So many ways to do this:

1. Add links to navbar

2. Add links to Tab

3. Add links anywhere you want them to be


You can also set navbar link to show all the time for users. So you could create a navbar called "my activity" with links to "my post" "my blog" "my profile" "my thread etc.
Reply With Quote
  #4  
Old 11-13-2010, 04:52 PM
michelle86 michelle86 is offline
 
Join Date: Jan 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I already know how to place the links in the navbar and anywhere else on my site that I want to. That's not what I'm asking.

I don't know how to form the search link to show someone their started threads or posts they have replied to.
Reply With Quote
  #5  
Old 11-13-2010, 05:06 PM
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Location: MY
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

THIS MIGHT HELP :
Code:
http://www.YOURFORUMPATH.com/search.php?do=finduser&userid=ENTERUSERID&starteronly=1&contenttype=vBForum_Thread
Reply With Quote
  #6  
Old 11-13-2010, 05:14 PM
michelle86 michelle86 is offline
 
Join Date: Jan 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't put a specific userid because when the person is logged in, I want them to be able to click the link and have it take them to THEIR OWN started threads as well as have a link that takes them to posts that they have replied to.
Reply With Quote
  #7  
Old 11-14-2010, 03:46 AM
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Location: MY
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you can use this :
Quote:
{vb:raw bbuserinfo.userid}
so your whole link would look like this , just replace your forum link :
Code:
http://www.yourforumpath.com/search.php?do=finduser&userid={vb:raw bbuserinfo.userid}&starteronly=1&contenttype=vBForum_Thread
Reply With Quote
  #8  
Old 11-14-2010, 04:28 AM
michelle86 michelle86 is offline
 
Join Date: Jan 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

THANK YOU YankForum! That was exactly what I meant

It worked! It shows all the threads a user has started in descending order.

Is there a way to have it display the threads they have participated in? Or is there no way to do that?

--------------- Added [DATE]1289722217[/DATE] at [TIME]1289722217[/TIME] ---------------

By the way, I changed it to this:

Code:
http://www.yourforumpath.com/search.php?do=finduser&userid={vb:raw bbuserinfo.userid}&starteronly=1&contenttype=vBForum_Post
(changed "Thread" to "Post")

When it said Thread, for some reason it left out some of the threads I had started. Changed it to Post, and that fixed the problem.

Still trying to figure out how to have it display the threads you have participated in (whether you started them or not).
Reply With Quote
  #9  
Old 11-14-2010, 07:18 AM
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Location: MY
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Still trying to figure out how to have it display the threads you have participated in (whether you started them or not).
same url except that u need to change "starteronly=1" to "starteronly=0" ( true changes to not true )
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 02:01 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.03848 seconds
  • Memory Usage 2,240KB
  • 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
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete