vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to search users' threads by prefix? (https://vborg.vbsupport.ru/showthread.php?t=257568)

hiker 01-22-2011 01:38 AM

How to search users' threads by prefix?
 
I'm looking for the search string that can search a certain user's threads he's started that begin with a certain prefix.

I've got bits and pieces, but here's what I'm looking for.

This search string gives me all of that user's posts, but I want threads started with the prefix of "Trip Report".

http://www.bogley.com/forum/search.p...vBForum_Thread

here's the same string, non linked:

Code:

http://www.bogley.com/forum/search.php?do=finduser&userid=333&starteronly=1&contenttype=vBForum_Thread
So, &userid=333 can somehow be substituted with $userid and I assume the &contenttype=vBForum_Thread needs to be somehow edited or swapped out with &prefixid=Trip_Report but I'm just not getting the right results.

Any help?

Thanks.

MaemoMeeGo 01-24-2011 02:53 PM

Same question...

Thanks for any help!

Lynne 01-24-2011 04:22 PM

I already posted this over on vb.com:

Code:

search.php?do=finduser&userid=xxx&starteronly=1&contenttype=vBForum_Post&prefixchoice[]=yyyy
xxx is userid, yyyy is the prefix id from the admincp (not the actual prefix text)

MaemoMeeGo 01-24-2011 11:36 PM

Thanks Lynne!

I'm using this code for my mod (Quicksearch adv):
Code:

?do=process&query=XXXX&titleonly=ZZZZ&contenttypeid=1&searchuser=KKKK&prefixchoice[]=YYYY
http://img442.imageshack.us/img442/5...rcarapida1.png

Grazie ;)


All times are GMT. The time now is 06:28 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.01392 seconds
  • Memory Usage 1,711KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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