vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Miscellaneous Hacks - Advanced Quick Search form like vBulletin.org (https://vborg.vbsupport.ru/showthread.php?t=196078)

navik 11-15-2008 07:35 PM

Hi fellows! let me introduce you my site its

Code:

http://maya-empire.com/m-e/forum.php
im trying to put this kind of search into my web....but i've found out that my colaborator has changed the style im readin the header code....and im reading this

Code:

<!-- logo -->
<a href="http://www.maya-empire.com"><img src="/m-e/images/undergroundstyle/misc/maya_2008.jpg" alt="Ad" /></a>
  </div>

<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

and beause of the instructuions i can't place the given code here...in the location where its supposed to be as far as i understand the html the code given here it's located into a table...and as you can se in my header code i dont have tables.....

Can someone help me configurating my header code please?

but.....i was thinking
it can be places into another templante right?? a table could be created beneath the line that has
USER CP Help Chat Member List...

i thik its called navbar

can someone could create a template modification that im proposing? im not a coder

i would like to help....but its an idea, maybe some coder havent thought of it....

i hope someone can make it....

Crashh 11-16-2008 09:30 AM

Quote:

Originally Posted by veenuisthebest (Post 1665770)
Btw, if you want it that way on forumdisplay.php, then ITS A DEFAULT FEATURE of 3.7
Check on my site
http://www.tech555.com/forum/f51-vbulletin/

Oh.. Yeapp.. I find it:)) But in footer of the page :))
Thx for help!

Can u paste here "template hack", how u insert filter in "header" on your site tech555.com ?

veenuisthebest 11-16-2008 10:24 AM

Quote:

Originally Posted by Crashh (Post 1666689)
Oh.. Yeapp.. I find it:)) But in footer of the page :))
Thx for help!

Can u paste here "template hack", how u insert filter in "header" on your site tech555.com ?

well that is different mod crashh ;)

Display Options Above Threads - as seen on vbulletin.org

Crashh 11-16-2008 10:39 AM

Quote:

Originally Posted by veenuisthebest (Post 1666711)

Ohhh. Thanks a lot ;)

leitel 12-06-2008 03:38 AM

Did I understand correctly that this is a default feature of 3.7? I couldn't find any option to switch this on.

Quote:

Originally Posted by veenuisthebest (Post 1665770)
Its the MODS forum at vborg. Its totally custom.

Btw, if you want it that way on forumdisplay.php, then ITS A DEFAULT FEATURE of 3.7

Check on my site
http://www.tech555.com/forum/f51-vbulletin/


Powlo 12-08-2008 02:37 PM

Thanks for this mod but i dont understand how it works. I am probably being a bit dim but here goes..

Where the code is..

PHP Code:

 <option value="1">Forum1</option

i am assuming i replace Forum1 with a the forum name of my chosing, right?

What about subforums? I have several subforums with the same name but in different categories so i guess it will have to include the parent too.

I cant see how this works as ive added the code on a test forum ive changed nothing in the code but it will still perform a search and retrieve results even though i dont have a forum called 'Forum1'.

Hope you can help.

{EDIT}
Scrap all that, sorry chaps just read instruction 6 doh!

Powlo 12-08-2008 07:53 PM

Ok ive installed it and its Fantastic for my forum. Thanks.

There is one thing i dont like though..

If for example you selected a category from the drop down list but left the search area blank it will default to the advanced search paget. Would it not be possible for it to list the latest posts in the selected category instead? Now that for me would make this perfect.

Cheers

mesdar 12-12-2008 02:56 AM

Very nice

Thanks

leroub 12-28-2008 02:27 AM

Hi all....

I need your help... i want to allow a portion of the search option for groups 6 and 12 ... I try this, but it doesn't work... :(

Code:

<if condition="$show['searchbuttons']">
    <form action="search.php?do=process" method="post">
    <input type="hidden" name="do" value="process" />
    <input type="hidden" name="quicksearch" value="1" />
    <input type="hidden" name="childforums" value="1" />
    <input type="hidden" name="exactname" value="1" />
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<div>
  <div align="center">
    <input type="text" name="query" size="30" style="font-size: 8pt;" />
    <select name="forumchoice[]">
      <option value="-1" selected="selected">Tout le site</option>
      <option value="3,4">Tutoriels</option>
      <option value="12">Forums d'aide</option>
                <if condition="is_member_of($bbuserinfo, 6,12)">
                  <option value="27"> Images famille</option>
                  <option value="19,20,21,22,23,25">Messages perso</option>
              </if>
    </select>
    <select name="titleonly">
      <option value="0" selected="selected">Dans le texte complet</option>
      <option value="1" >Seulement dans le titre</option>
    </select>
    <input name="search" value="Recherche" type="submit" class="button" />
    <a href="search.php" accesskey="4" rel="nofollow" id="navbar_search1" class=""></a>
    <script type="text/javascript"> vbmenu_register("navbar_search1",1); </script>
  </div>
</div>
</form>
    </if>

I also tried, "is_member_of($userinfo, 6,12)", but doesn't work... :(

thx in advance for your help... :up:

veenuisthebest 12-28-2008 09:11 AM

It should be

HTML Code:

<if condition="is_member_of($vbulletin->userinfo, 6, 12)">


All times are GMT. The time now is 02:26 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.01039 seconds
  • Memory Usage 1,752KB
  • 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)bbcode_html_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete