vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Find my Posts link (https://vborg.vbsupport.ru/showthread.php?t=294948)

WorldCraft 02-09-2013 10:46 PM

Find my Posts link
 
Hi, I'm trying to add a Find my Posts link similar to how vB.org has one under "Search this Thread". I'm trying this URL but instead of showing the user's posts within the corresponding thread it shows all posts by the user. Is there a different link format to get this working for vB4?

http://www.mysite.com/forums/search.php?searchthreadid={vb:raw thread.threadid}&userid={vb:raw bbuserinfo.userid}&do=finduser

Amaury 02-09-2013 11:13 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=227856" target="_blank">This</a> might help.

WorldCraft 02-09-2013 11:27 PM

That shows all posts by a user, and already have a function like that.

Amaury 02-09-2013 11:35 PM

Quote:

Originally Posted by WorldCraft (Post 2403210)
That shows all posts by a user, and already have a function like that.

Okay, that feature is already there, then.

Under Search Thread on a thread, click Advanced Search, input the appropriate username, select Exact Name, and search.

WorldCraft 02-10-2013 01:28 AM

I'm referring to this find my posts link: http://gyazo.com/97a16f2d21b86fc746395742636a3f75

I know how to manually use the Advanced Search, but I want to implement this for ease of use for my members.....

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

Figured it out. For anyone interested I added this to my SHOWTHREAD template after line: <div class="submitoptions">&nbsp;</div>

HTML Code:

<div class="advancedsearchlink"><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;searchthreadid={vb:raw thread.threadid}&amp;userid={vb:raw bbuserinfo.userid}&amp;contenttype=vBForum_Post&amp;showposts=1">Find My Posts</a></div>

<div class="submitoptions">&nbsp;</div>


Amaury 02-10-2013 01:49 AM

Quote:

Originally Posted by WorldCraft (Post 2403233)
I'm referring to this find my posts link: http://gyazo.com/97a16f2d21b86fc746395742636a3f75

I know how to manually use the Advanced Search, but I want to implement this for ease of use for my members.....

Ah, okay. Sorry, I misunderstood you twice.

This is the URL I get:
Code:

www.kh-mediaflare.net/search.php?searchid=[ID here]


All times are GMT. The time now is 02:48 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.01097 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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