vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Thread Category / Prefix Hack (https://vborg.vbsupport.ru/showthread.php?t=61494)

marc_t 10-31-2005 01:42 PM

Thanks for this info. So I'll be waiting ;)

Mystics 11-02-2005 07:51 PM

<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=99925" target="_blank">Thread Prefixes for vBulletin 3.5</a>

WreckRman2 11-09-2005 12:34 PM

Is there a way to call up a search function that shows all threads from a certain category thats forum wide.

Currently you can do this however it only pulls from one forum... I'd like to do it via multiple forums.

Lets say it shows all posts from Category "BLA BLA" even if the posts are in forums 1, 5, 8, etc...

Imperial Fritz 11-19-2005 06:15 PM

Quote:

Originally Posted by sensimilla
would it need alot of coding to use images for each category ,instead of descriptions?
thanks in advance

I'm thinking the html markup option is our friend here.

Say I add a cathegory "Important"

Then I put this html <img src="http://mydomain.com/forum/images/cathegory_icons/{1}.gif" alt="{1}">

And have a folder in /forum/images/ called cathegory_icons and in it I have Important.gif

I think this should work, haven't tried yet though.

Nutz 11-26-2005 05:55 PM

This is a very good hack. Good work Mystics,
I would love to see some more hacks from you :)

Thanks,
Mat

sybakaos 08-11-2006 09:59 AM

Is there a way that, when filtering a forum by a certain category and choose "search this forum" it searches only the currently present threads?

Mystics 08-12-2006 11:25 AM

Quote:

Originally Posted by sybakaos
Is there a way that, when filtering a forum by a certain category and choose "search this forum" it searches only the currently present threads?

Edit the FORUMDISPLAY template and find:
Code:

<input type="hidden" name="childforums" value="1" />
Add below:
Code:

                        <if condition="$searchthreadprefix = $vbulletin->GPC['threadprefix']">
                        <input type="hidden" name="threadprefix" value="$searchthreadprefix" />
                        </if>

(you have to do this 2x)

sybakaos 08-17-2006 03:52 PM

Sadly it didn't work as you described. When I filter a forum by category X and search for "example", it displays all results like it normally does (all threads).

Mystics 08-17-2006 03:55 PM

Quote:

Originally Posted by sybakaos
Sadly it didn't work as you described. When I filter a forum by category X and search for "example", it displays all results like it normally does (all threads).

Works fine for me. Did you allow the prefix search in your vBulletin options?

Do you have a link to your site and an test user?

sybakaos 08-17-2006 06:17 PM

Quote:

Originally Posted by Mystics
Works fine for me. Did you allow the prefix search in your vBulletin options?

Do you have a link to your site and an test user?

At first I had chosen the following option: "Yes - Only Automatically Created List" then did tested all options with no luck (on the normal search.php it works good).

I'm testing the vbulletin hacks locally.


All times are GMT. The time now is 11: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.01314 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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