vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Building Search Strings into a link in a post (https://vborg.vbsupport.ru/showthread.php?t=317139)

darnoldy 02-03-2015 10:17 PM

Building Search Strings into a link in a post
 
Okay...
I want to put a link in a message (any message) that connects to the results of a search.

My thought was simply to run the desired search manually, then paste the url into the href of a standard link BBCode. The problem is that the search results reference a searchid, which is transient.

Can anyone show me how to construct an href to pass the search parameters to search.php?

thanks!

ozzy47 02-04-2015 10:47 PM

So what exactly is the search parameters you are wanting? Not sure if it can be done, but need more info first.

darnoldy 02-05-2015 05:23 AM

Okay... so i have a bunch of forums and many of them have prefix sets. Some of the prefixes are in multiple sets—but because of the way sets are built, the prefix ids are different.

As a simplified example:

3 stooges forum has prefixes moe, larry, curly, & shemp
Pep Boys forum has prefixes manny, moe & jack
Bumpkin forum has prefixes larry, darryl1 & darryl2

I want to put a link in a post on the 3 stooges forum that returns all of the posts with the moe prefix, or the larry prefix.

does that make sense?


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