vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   search inside posts and titles ? (https://vborg.vbsupport.ru/showthread.php?t=300397)

NeXuM 07-24-2013 02:12 AM

search inside posts and titles ?
 
When searching for something on a vbulletin forum, you have to select wether you want to search for a word inside the topic titles or inside the post content.
Is there a way to look for the query inside both ? So it would search inside posts content and topic titles at the same time ?

fxdigi-cash 07-24-2013 03:30 PM

I'm not sure as I haven't tried it myself, but if you look at the code of search inside topic and inside words, you will get the idea how to implement the combination of both at the same time.

I guess you are right about your idea, though

RickyH 07-27-2013 12:04 PM

As fxdigi-cash stated, look at the code for the searchbit. There will 2 be options inside there, copy one and add the second in the same tags. This SHOULD in theory create another option. Be sure to rename the option to "Both", or it will show a duplicate of the one you've copied first.


All times are GMT. The time now is 01:17 AM.

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