vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Urgent help needed in vbulletin search function (https://vborg.vbsupport.ru/showthread.php?t=259540)

intensecool 02-27-2011 04:46 PM

Urgent help needed in vbulletin search function
 
Hey guys,

I am writing out a php code which appears on the search result page, now that code needs the SEARCH QUERY words inside.

Just like i search for : VBULLETIN themes.
Now on the SEARCH RESULTS page, it should pop up words like .

Quote:

Hey, you just searched for VBULLETIN Themes.
Now, this is what i want.
How do i do this, i need EXACT SAME SEARCH WORDS that this guy searches on board.
For this i need some vbulletin search engine tag like {vb:rawphrase search hash}

I am not able to find what vbulletin calls it..??:confused:
Can anyone tell this..??

Please help me, its really URGENT..??
:erm:

Replies awaited.

intensecool 03-01-2011 06:13 AM

So, no one ..
No one knows this thing..
Not even senior programmers

Lynne 03-01-2011 04:22 PM

The words show up at the top of the search page already, so I'm not sure what you are asking about.
Quote:

Search:

Keyword(s): VBULLETIN themes

HTML Code:

<p class="description">
                        {vb:raw criteriaDisplay}               
                </p>

So, try a search in the files for that variable and you should see what comes up.

intensecool 03-06-2011 11:39 AM

Nothing,
vbcriteria display pops up this :

Type : Keywords: Posts : keyword_term

I cant extract keyword_term from this.

Lynne 03-06-2011 04:07 PM

I can't tell what you are talking about from that little information. If you are going to use the variable I posted, you will need to make sure it is available in whatever template you want to use it in. Making it available means making sure the code has already run and the variable is registered for use in the template you plan to use it in .

BeoRski 01-22-2012 04:30 PM

Hello Lynne, I guess what the thread starter, and me for that matter, is looking for is a way to just get the raw "search keywords". Example is I search for "vBulletin", we need a way to just extract the keyword "vBulletin" instead of "Keyword(s): <b><u>vBulletin</u></b>" which is what the function {vb:raw criteriaDisplay} returns. Any ideas? ^_^


All times are GMT. The time now is 03:42 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.02875 seconds
  • Memory Usage 1,720KB
  • 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_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