View Full Version : Thread Category / Prefix Hack
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
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.
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
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:<input type="hidden" name="childforums" value="1" />Add below: <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
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
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.
Protonus
12-18-2006, 10:13 PM
Is there any plan to port this to vB 3.6.x?
marc_t
12-19-2006, 07:28 AM
Is there any plan to port this to vB 3.6.x?
https://vborg.vbsupport.ru/showthread.php?t=123033
Dioxin
01-29-2007, 12:12 PM
hey, nice hack.
replaced my custom category hack with this one :)
i changed you installer a bit:
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "thread ADD threadprefix varchar(100)");
to:
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "thread ADD threadprefix varchar(100) NOT NULL DEFAULT ''");
could you include this change in your next version?
reddyink
10-10-2007, 11:14 AM
ERROR with 3.6.8
when I run category install.php ...here is the error I am getting.
Warning: require_once(.//categoryinstall_text.php) [function.require-once]: failed to open stream: No such file or directory in \admincp\categoryinstall.php on line 20
Fatal error: require_once() [function.require]: Failed opening required './/categoryinstall_text.php' (include_path='.;C:/Program Files/EasyPHP 2.0b1\php5\pear\') in C:\Program Files\EasyPHP 2.0b1\www\upload\admincp\categoryinstall.php on line 20
reddyink
10-10-2007, 07:14 PM
Can anyone please help me on fixing this below error.
I copied 2 files categoryinstall and categoryinstall_text in both upload folder and admincp folder. when i run in internet explorer. I am getting following error. What am I doing wrong? I noticed global.php exists in both folders.
Fatal error: Call to undefined function globalize() in C:\Program Files\EasyPHP 2.0b1\www\upload\admincp\categoryinstall.php on line 23
Mystics
10-10-2007, 08:01 PM
You really should use the version for 3.6.x, not this version which is designed for 3.0.x. :)
https://vborg.vbsupport.ru/showthread.php?t=123033
reddyink
10-11-2007, 12:09 AM
Thanks for the reply. I need thread category also because. I want the categories to come from database. Is this 3.6 thread prefix mod gets categories from DB. Looks like from your screen shots I am understanding that we have to manually enter the prefix in the form to show up in Thread prefix dropdown box.
Am I correct or we this latest version mod we can also get categories from database.
Please advice.
Thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.