Version: 1.3.7, by Mystics
Developer Last Online: Jun 2015
Version: 3.0.7
Rating:
Released: 02-11-2004
Last Update: 05-24-2005
Installs: 105
DB Changes
No support by the author.
Thread Category / Prefix Hack
Version: 1.3.7 vBulletin Version: 3.0.7 Developer: Mystics (www.vbulletin-germany.com) Hack-Language: English & German & French (thanks to ReadWrite) Install-difficulty: Medium File-edits: 19 Template-edits: 16
Brief Description of the Hack
With this hack it is possible to assign a category/prefix to a thread. To do this you are able to select an appropriate category from a list beside the title while posting a new thread - for example 'Help', 'Problem', 'Search' etc.
The categories displayed in this list may be defined by a moderator for each of his moderated forums (Forum Tools -> Manage Categories); of course an administrator is allowed to do this for every forum.
Features
Moderators are able to create own categories for each of their moderated forums
(Forum -> Forum Tools -> Manage Categories -> threadcategory.php)
Display of the categories on forum display, search results, subscribed threads and within the thread itself
It is possible to change the category with editing the first post of a thread or with the thread tools available for moderators at any time
Settings in the Admin CP
Maximum categories per forum
Thread Category required: Users have to select a thread category for their threads
Default Thread Categories: You may set default categories which will either be shown only in forums without own categories or be shown in addition to existing categories
Show Thread Categories in extra column or in front of the thread title in the same column
Alignment of the categories (if 'Show in extra column' is enabled): Align left, align right, center
Show Category in 'Last Post' column
Category HTML Markup: Specify an HTML tag with which to display the categories (bold, italic, red etc.)
Allow Thread Category search: If enabled, the categories of all forums the user has access to will be grouped in a list and displayed in the search engine.
Per Forum: Allow categories in this forum.
Screenshots
See attachments.
Version-History
1.3.7 (02-22-2005 - 09:00 pm)
Modified instructions for vBulletin 3.0.7
(3 more changes within the search_results template)
1.3.6 (01-15-2005 - 06:10 pm)
Modified instructions for vBulletin 3.0.5
(only the third modification of the template FORUMDISPLAY has changed)
1.3.5 (11-02-2004 - 11:00 pm)
Bugfix: File: newthread.php
Preview error with categories containing "&" fixed
1.3.4 (09-25-2004 - 04:00 pm)
Update: Template SUBSCRIBE (colspan have to be increased since vB 3.0.2)
Bugfix: File: includes/functions_forumlist.php
Include category length in length of the shown last thread title
Bugfix: Template: forumdisplay_announcement
Wrong 'colspan' value used, if categories are displayed in an extra
column and forum contains announements in addition
1.2 (02-11-2004 - 11:30 pm)
New: Display category in notify mail next to the thread title
Bugfix: Improved display of the categories in "Who's Online"
1.1 (02-10-2004 - 11:55 pm)
New: Display of last category in the 'Last Post' column (may be disabled in the admin cp)
New: Display of hack version in the admin cp at the vBulletin options (for example 'Thread-Category Hack v1.1')
Bugfix: Show link to 'Manage Categories, if DHTML menus are disabled
Bugfix: Don't show categories from forums where categories are not (longer) allowed
Bugfix: Convert HTML code within categories
1.0.1 (02-08-2004 - 11:30 pm)
Bugfix: Correct display in "Who's Online" while managing categories
1.0.0 (02-08-2004 - 4:49 pm)
First version
Installation
Upload the files categoryinstall.php and categoryinstall_text.php to the admincp directory of your forum
You may delete the two files after the installation of the hack
Time needed for installation: approx. 30-60 min. Tested for version: 3.0.0 RC 3 (and above).
Note: If you have already used the vBulletin 2 version of this hack (only available in german) and the categories are still stored in the vB3 database, you may convert them for the vB3 version. You will see a note to that in step 2 of the hack installation.
Update hack
Upload the files categoryinstall.php and categoryinstall_text.php to the admincp directory of your forum
Log in, select the version you want to update from (at Step 2 -> 'Update Hack') and follow the instructions
Short overview of the needed modifications
1. Files that need to be edited:
editpost.php
forumdisplay.php
moderator.php
newthread.php
postings.php
search.php
showthread.php
subscription.php
admincp/forum.php
clientscript/vbulletin_global.js
clientscript/vbulletin_quickreply.js
clientscript/vbulletin_stdedit.js
clientscript/vbulletin_wysiwyg.js
includes/functions.php
includes/functions_databuild.php
includes/functions_forumlist.php
includes/functions_newpost.php
includes/functions_online.php
includes/functions_search.php
2. New files:
threadcategory.php
3. Templates that need to be edited:
editor_clientscript
editpost
FORUMDISPLAY
forumdisplay_announcement
forumhome_lastpostby
newthread
postbit
postbit_legacy
search_forums
search_results
search_results_postbit
SHOWTHREAD
SUBSCRIBE
threadadmin_editthread
threadbit
threadbit_deleted
4. New templates:
threadcategory_listbit
threadcategory_modify
5. New phrases:
Too many to list them all - they will be created automatically by the install script
Final words
If the hack doesn't work correct after installation, please verify all modifications you have made within the files and the templates. Be sure you have uploaded all edited and new files.
The hack was tested extensive and will function properly if installed correct.
But this has nothing to do with the post icons. That was an answer for Alien.
I was aware of that. I was trying to explain that you cannot use the post icons in the same way as you can use the prefixes with your hack. I think that's why Alien and myself would love to see your hack with images.
The moderators can't manage categories in their own forums. Is it because my usergroup ids isn't standard?
No, that is no problem. I have tested it with all kinds of users...admin, mod, supermod, mod of a forum with a new usergroup....all worked fine.
I'm just using the standard function:
Code:
can_moderate($forumid, '')
Do they have no access to threadcatgory.php or are they just not able to see the link 'Manage Categories' within the Forum-Tools? Does it work for you?
No, that is no problem. I have tested it with all kinds of users...admin, mod, supermod, mod of a forum with a new usergroup....all worked fine.
I'm just using the standard function:
Code:
can_moderate($forumid, '')
Do they have no access to threadcatgory.php or are they just not able to see the link 'Manage Categories' within the Forum-Tools? Does it work for you?