vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Extended! Useful Admin Stuff (https://vborg.vbsupport.ru/showthread.php?t=53533)

shovel 06-02-2003 12:38 PM

Can somebody test this code in place of the old vB.com search? Thanks.

PHP Code:

<form action="http://www.vbulletin.com/forum/search.php" method="post" name="vbform" target="_blank">
<
input type="hidden" name="s" value="" />
<
input type="hidden" name="do" value="process" />
<
input type="hidden" name="sortby" value="lastpost" />
<
tr class="firstalt">
 <
td><a href="http://www.vbulletin.com/" target="_blank">vBulletin.com Search</a></td>
 <
td><input type="text" class="bginput" name="query" size="30" value="" tabindex="1" />&nbsp;<select name="forumchoice[]" tabindex="3">
          <
option value="0" selected>All Open Forums</option>
          <
option value="30" class="fjdpth0">vBulletin</option>
          <
option value="1" class="fjdpth1" >&nbsp; &nbsp;  vBulletin Announcements</option>
          <
option value="74" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  Jelsoft eBulletin Archives</option>
          <
option value="32" class="fjdpth1" >&nbsp; &nbsp;  Announcements Discussions</option>
          <
option value="28" class="fjdpth0" vBulletin 2</option>
          <
option value="20" class="fjdpth1" >&nbsp; &nbsp;  vBulletin 2 Suggestions and Feedback</option>
          <
option value="29" class="fjdpth1" >&nbsp; &nbsp;  vBulletin 2 'How Do I' Questions</option>
          <
option value="47" class="fjdpth1" >&nbsp; &nbsp;  vBulletin 2 Pre-sales Questions</option>
          <
option value="39" class="fjdpth1" >&nbsp; &nbsp;  vBulletin 2 Installation</option>
          <
option value="38" class="fjdpth1" >&nbsp; &nbsp;  vBulletin 2 Troubleshooting and Problems</option>
          <
option value="19" class="fjdpth1" >&nbsp; &nbsp;  vBulletin 2 Bugs</option>
          <
option value="33" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  Pre beta 4.1 bugs</option>
          <
option value="40" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  Pre 2.0.1 bugs</option>
          <
option value="41" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  Pre 2.0.2 bugs</option>
          <
option value="46" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  Pre 2.2.0 bugs</option>
          <
option value="49" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  Pre 2.2.1 bugs</option>
          <
option value="50" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  Pre 2.2.2 bugs</option>
          <
option value="51" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  Pre 2.2.4 bugs</option>
          <
option value="52" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  Pre 2.2.6 bugs</option>
          <
option value="60" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  Pre 2.2.7 bugs</option>
          <
option value="61" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  Pre 2.2.8 bugs</option>
          <
option value="65" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  Pre 2.2.9 Bugs</option>
          <
option value="75" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  Pre 2.3.0 Bugs</option>
          <
option value="54" class="fjdpth0" vBulletin 3</option>
          <
option value="55" class="fjdpth1" >&nbsp; &nbsp;  vBulletin 3 Suggestions and Feedback</option>
          <
option value="56" class="fjdpth1" >&nbsp; &nbsp;  vBulletin 3 'How Do I' Questions</option>
          <
option value="59" class="fjdpth1" >&nbsp; &nbsp;  vBulletin 3 Troubleshooting and Problems</option>
          <
option value="64" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  Pre-Beta Troubleshooting</option>
          <
option value="53" class="fjdpth1" >&nbsp; &nbsp;  vBulletin 3 Bugs</option>                            
          <
option value="68" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  Resolved vB3 Bugs</option>
          <
option value="63" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  Pre-Beta Bugs</option>
          <
option value="26" class="fjdpth0" Customizing vBulletin</option>
          <
option value="7" class="fjdpth1" >&nbsp; &nbsp;  vBulletin Templates</option>
          <
option value="10" class="fjdpth1" >&nbsp; &nbsp;  vBulletin Graphics and Styles</option>
          <
option value="42" class="fjdpth0" vBulletin Hints and Tips</option>
          <
option value="43" class="fjdpth1" >&nbsp; &nbsp;  vBulletin Hints and Tips</option>
          <
option value="37" class="fjdpth1" >&nbsp; &nbsp;  FAQs</option>
          <
option value="24" class="fjdpth0" General</option>
          <
option value="11" class="fjdpth1" >&nbsp; &nbsp;  vBulletin Hosting Options</option>
          <
option value="12" class="fjdpth1" >&nbsp; &nbsp;  PHP coding</option>
          <
option value="18" class="fjdpth1" >&nbsp; &nbsp;  MySQL</option>
          <
option value="13" class="fjdpth1" >&nbsp; &nbsp;  HTML Questions</option>                                                   
          <
option value="14" class="fjdpth1" >&nbsp; &nbsp;  Server Configuration</option>
          <
option value="6" class="fjdpth1" >&nbsp; &nbsp;  Chit Chat</option>
          <
option value="15" class="fjdpth1" >&nbsp; &nbsp;  A place to test things out</option>
          <
option value="25" class="fjdpth0" vBulletin.com Web site</option><option value="5" class="fjdpth1" >&nbsp; &nbsp;  Site Feedback</option>
          <
option value="66" class="fjdpth1" >&nbsp; &nbsp;  Archives</option>
          <
option value="23" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  vBulletin 1.1.x Archives</option>
          <
option value="2" class="fjdpth3" >&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  vBulletin 1.1.x Suggestions and Feedback</option>
          <
option value="9" class="fjdpth3" >&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  vBulletin 1.1.x Questions</option>
          <
option value="3" class="fjdpth3" >&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  vBulletin Installation</option>
          <
option value="4" class="fjdpth3" >&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  vBulletin 1.1.x Bug Reports</option>
          <
option value="27" class="fjdpth2" >&nbsp; &nbsp; &nbsp; &nbsp;  vBulletin Lite</option>
          <
option value="16" class="fjdpth3" >&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  vBulletin Lite</option>
    </
select>&nbsp;<span id="submitrow"><input type="submit" value="vB.com" accesskey="s" tabindex="4" /></span></td>
</
tr>
</
form


Chris M 06-03-2003 08:33 PM

Tested:)

You need a search field;):p

Satan

Chris M 06-03-2003 08:53 PM

2 corrections:)

Code:

<form action="http://www.vbulletin.com/forum/search.php" method="post" name="vbform">
should be:
Code:

<form action="http://www.vbulletin.com/forum/search.php" method="post" name="vbform" target="_blank">
Code:

<td><type="text" class="bginput" name="query" size="30" value="" tabindex="1" />&nbsp;<select name="forumchoice[]" tabindex="3">
should be:
Code:

<td><input type="text" class="bginput" name="query" size="30" value="" tabindex="1" />&nbsp;<select name="forumchoice[]" tabindex="3">
You missed the input in input type;)

Satan

shovel 06-04-2003 12:19 PM

Oops. Lol! Thanks Chris!

FIXED!

WEForums 06-04-2003 01:35 PM

Very nice. Looks tons better and much more impressive. Good job shovel and hellsatan. :)

Chris M 06-04-2003 02:48 PM

NP shovel;):)

Satan

shovel 06-05-2003 10:12 AM

Quote:

Yesterday at 10:35 AM WEForums said this in Post #65
Very nice. Looks tons better and much more impressive. Good job shovel and hellsatan. :)
Thanks WEF. :)

Boofo 06-05-2003 05:11 PM

I've made a couple of useful (to me, anyway) tweaks for this hack. If you replace:

PHP Code:

<td><a href="http://www.vbulletin.org/" target="_blank">vBulletin.org Search</a></td

with:

PHP Code:

<td><a href="https://vborg.vbsupport.ru/search.php?s=$session[sessionhash]&action=getnew"" target="_blank">vBulletin.org Search</a></td> 

and replace:

PHP Code:

<td><a href="http://www.vbulletin.com/" target="_blank">vBulletin.com Search</a></td

with:

PHP Code:

<td><a href="http://www.vbulletin.com/forum/search.php?do=getnew" target="_blank">vBulletin.com Search</a></td

you can search for any new posts by just clicking on the link.

shovel 06-06-2003 10:23 AM

Oh that's neat. Thanks Bob. :)

Chris M 06-07-2003 09:03 AM

Nice idea Bob, but I removed the links on mine due to the fact that IMO it looks too clustered...

What I might do, is add 3 links at the bottom of the table saying "Get New Posts", 2 with the ones you put above, and one with:

PHP Code:

<a href="$bburl/search.php?s=$session[sessionhash]&action=getnew" target="_blank">$bbtitle Search</a

:)

Satan


All times are GMT. The time now is 06:40 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.01385 seconds
  • Memory Usage 1,851KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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