vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Search link for "threads I've replied to" and "my started threads" (https://vborg.vbsupport.ru/showthread.php?t=253170)

michelle86 11-04-2010 10:48 PM

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

michelle86 11-13-2010 05:06 AM

anyone?

Fusion2 11-13-2010 03:52 PM

Quote:

Originally Posted by michelle86 (Post 2118088)

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.

michelle86 11-13-2010 04:52 PM

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.

YankForum 11-13-2010 05:06 PM

THIS MIGHT HELP :
Code:

http://www.YOURFORUMPATH.com/search.php?do=finduser&userid=ENTERUSERID&starteronly=1&contenttype=vBForum_Thread

michelle86 11-13-2010 05:14 PM

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.

YankForum 11-14-2010 03:46 AM

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

michelle86 11-14-2010 04:28 AM

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

YankForum 11-14-2010 07:18 AM

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 )


All times are GMT. The time now is 04:23 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.02232 seconds
  • Memory Usage 1,729KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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