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)
-   -   Add Search/Sort/Order in thread view (https://vborg.vbsupport.ru/showthread.php?t=39947)

The Piper 06-17-2002 02:40 PM

This hack is wonderful, this should definately be in vB 3. I specially like the possibility of searching in a thread only, since I always get lost when I get 80 threads as a result, each one of them with 50 pages! :)

Congrats and thanks for a great hack!

bluecat 06-17-2002 02:53 PM

Hmmm, still can't get the background color to change to my forum's colors...it's purple. Am I missing something or is there another way to do it? I tried both way (reinstalling and manually). Thanks again.

bluecat 06-17-2002 03:00 PM

Opp, my bad. I got it through my main colors page. :confused:

bad_madman 06-17-2002 03:29 PM

Search in template showthread_adds for:
Code:

<td colspan=4 align=center>
replace with:
Code:

<td colspan=4 bgcolor="{ tableheadbgcolor }" align=center>
Set for "tableheadbgcolor" your 'replacement'...

sorry :nervous:
Please, test it. I then change the Download. Thx.

edit:
1. not template "showthread" but template "showthread_adds"
2. { tableheadbgcolor } -> without blanks !

Recluse 06-17-2002 04:00 PM

ok installed, got a small problem tho, every search takes me the the new reply of the thread im currently looking at

bad_madman 06-17-2002 04:29 PM

@Recluse: After the search the complete thread is always shown. Become the search result (the words) highlightedly (highlight function). Do you mean this?

bluecat 06-17-2002 04:30 PM

Quote:

Originally posted by bad_madman
Search in template showthread_adds for:
Code:

<td colspan=4 align=center>
replace with:
Code:

<td colspan=4 bgcolor="{ tableheadbgcolor }" align=center>
Set for "tableheadbgcolor" your 'replacement'...

sorry :nervous:
Please, test it. I then change the Download. Thx.

edit:
not template "showthread" but template "showthread_adds"


Cool, yep, it works. Thanks. :)

bad_madman 06-17-2002 04:35 PM

@bluecat: Good. Very good. :classic:
Thx for your report. The Download was actualized.

bluecat 06-17-2002 05:06 PM

For what it's worth, I added a new replacement variable (Replacement > Add) and created {tableheadbgcolor2}, made this color it's own and edited it in the showthread_add to the new variable, giving me the option to change just this table's colors. :) Thanks again for the great hack.

Smoothie 06-17-2002 05:38 PM

will this work on older versions of vb


All times are GMT. The time now is 06:42 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.01188 seconds
  • Memory Usage 1,734KB
  • 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
  • (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