vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   VB Search Box dropdown problem (https://vborg.vbsupport.ru/showthread.php?t=311561)

Ghostt 05-21-2014 11:22 PM

VB Search Box dropdown problem
 
do you know why multiple forum in value dont work?
and this css also dont work in dropdown?
Code:

<option value="661,828"><span style="text-decoration:line-through;">Dropdowntitle</span></option>

Ghostt 05-25-2014 05:29 PM

so no support here?

kh99 05-25-2014 05:54 PM

Probably multiple forums don't work because the php script that uses the value is expecting it to be a single integer. You might be able to change that if you find the code that handles the value and modify it to look for a list of values.

I don't know why the line-through CSS isn't working, but my guess would be that there's javascript setting the style of the menu options so it's overriding what you put there.

Ghostt 05-25-2014 07:18 PM

sorry i dont know how to change. maybe it needs array or so.
it should be same like advanced search. there you can choose also multiple categories to search in. so why not via dropdown?


similar problem here:
https://vborg.vbsupport.ru/showthread.php?t=148298

kh99 05-25-2014 09:30 PM

Maybe we need to see more of your code, or maybe I just don't understand what it is you're trying to do. Why would using <option value=-".."> set the forums to search?

Ghostt 05-25-2014 09:55 PM

i need to search multiple forums if drop down chosen. search box code is almost the same like here in VB...


All times are GMT. The time now is 10:05 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.03548 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_code_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