Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Thread Category / Prefix Hack Details »
Thread Category / Prefix Hack
Mod Version: 1.3.7, by Mystics (Member) Mystics is offline
Developer Last Online: Jun 2015 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.7 Rating: (3 votes - 5.00 average) Installs: 105
Released: 12 Feb 2004 Last Update: 25 May 2005 Downloads: 85
Not Supported DB Changes  

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
1.3.3 (04-08-2004 - 08:55 pm)
  • Bugfix: File: forumdisplay.php
    Selected category got lost when browsing through forum pages
1.3.2 (03-27-2004 - 05:45 pm)
  • Bugfix: File: clientscript/vbulletin_quickreply.js
    Javascript error when using Quick Reply
  • New: Added modification for postbit_legacy template (same as postbit modification)
  • Modified instructions for vBulletin 3.0.0 'Gold' (only the first modification of postings.php has changed)
1.3.1 (03-06-2004 - 00:20 am)
  • Bugfix: Template: threadbit_deleted
    Incorrect display of category column in this template
1.3 (02-23-2004 - 08:40 pm)
  • Bugfix: Don't display a category in a thread if categories are not allowed in the forum
  • Bugfix: Critical bug in threadcategory.php related to the option 'Update existing threads with changed categories' fixed
Upload the new threadcategory.php as soon as possible!
1.2.1 (02-14-2004 - 02:15 pm)
  • 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
  1. Upload the files categoryinstall.php and categoryinstall_text.php to the admincp directory of your forum
  2. Open this file with your browser:
    http://www.yourdomain.de/forum/admin...oryinstall.php
  3. Log in and follow the instructions
  4. 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
  1. Upload the files categoryinstall.php and categoryinstall_text.php to the admincp directory of your forum
  2. Open this file with your browser:
    http://www.yourdomain.de/forum/admin...oryinstall.php
  3. 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.

Thanks to ReadWrite for his french translation.

Have fun with the hack.

Please click Install if you have installed it

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	eng_admincp_edit_forum.gif
Views:	929
Size:	13.8 KB
ID:	20841   Click image for larger version

Name:	eng_forum_manage_categories.gif
Views:	1235
Size:	100.8 KB
ID:	20842   Click image for larger version

Name:	eng_admincp_category_settings.gif
Views:	830
Size:	96.0 KB
ID:	20843   Click image for larger version

Name:	eng_forum_threads_in_forum.gif
Views:	1580
Size:	34.9 KB
ID:	20844  

Click image for larger version

Name:	eng_forum_search_forums.gif
Views:	1092
Size:	52.5 KB
ID:	20845   Click image for larger version

Name:	eng_forum_post_new_thread.gif
Views:	1016
Size:	80.0 KB
ID:	20846  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini Mods Prefix in the url of thread 1.0 ForumsMods vBulletin 3.7 Add-ons 14 18 Mar 2009 15:47

Comments
  #2  
Old 13 Feb 2004, 00:11
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Real name: wayne
what will it look like if a forum doesnt have any catagories ? will u still see the catagory coloumn ?
Reply With Quote
  #3  
Old 13 Feb 2004, 00:14
Mystics's Avatar
Mystics Mystics is offline
 
Join Date: Oct 2001
Real name: Mike
Originally Posted by corsacrazy
will u still see the catagory coloumn ?
No.
Reply With Quote
  #4  
Old 13 Feb 2004, 07:32
SpeedStreet SpeedStreet is offline
 
Join Date: Aug 2002
This hack is invaluable.

You've taken a great hack for vb2, and made Vb3 that much more exciting because of the upgrades you have here.

Thank you a ton!
__________________
Charity Organization Charity Coder
Reply With Quote
  #5  
Old 13 Feb 2004, 08:29
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
You have done such an excellent job with this, this is certainly going into my new site release coming out in the next few days.. I'm planning on turning this on in our news forum, however since we're going to also be using vBadvanced would you happen to know how I can call the images (such as amusing, politics, etc.) from that index page too? That would be immensely better for me to show it in both places my news occurs!

Thank you SO much for the hard work, it's layed out real clean!

-Jason
__________________
-Jason / WTF!?
Reply With Quote
  #6  
Old 13 Feb 2004, 08:37
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Oh I noticed this hack does not yet include or have an add-on for allowing mini images, would it be possible to get this support in the future?
__________________
-Jason / WTF!?
Reply With Quote
  #7  
Old 13 Feb 2004, 11:11
colicab-d's Avatar
colicab-d colicab-d is offline
 
Join Date: Dec 2002
Real name: Dave
wow, this is a great hack and amust for the new version of my site now i can organize the tutorials better

thnx

will probs get the other admin to do this as its a time consuming hack lol
Reply With Quote
  #8  
Old 13 Feb 2004, 11:14
colicab-d's Avatar
colicab-d colicab-d is offline
 
Join Date: Dec 2002
Real name: Dave
actually could someone maybe see about making this htl compliant? would speed things up no end
Reply With Quote
  #9  
Old 13 Feb 2004, 12:44
MrNase's Avatar
MrNase MrNase is offline
 
Join Date: May 2003
Real name: Dominik
why would that speed up the installation? As far as i know the htl hack doesn't change the templates and the files on it's own... So you'd have to do it too
Reply With Quote
  #10  
Old 13 Feb 2004, 13:15
Kaffeerappel Kaffeerappel is offline
 
Join Date: Nov 2001
Thanks for the hack, I consider installing it in a future project.

I would also love to be able to use images as a category. Also, is there a way to force the user to pick a category?
Reply With Quote
  #11  
Old 13 Feb 2004, 13:18
sypher_again sypher_again is offline
 
Join Date: Jan 2004
very good hack , thx very much
Reply With Quote
  #12  
Old 13 Feb 2004, 17:51
Mystics's Avatar
Mystics Mystics is offline
 
Join Date: Oct 2001
Real name: Mike
Originally Posted by Kaffeerappel
Also, is there a way to force the user to pick a category?
Sure. This is an admin cp option
http://www.vbulletin.org/forum/attac...chmentid=16702


Originally Posted by Alien
Oh I noticed this hack does not yet include or have an add-on for allowing mini images, would it be possible to get this support in the future?
Hm, is this not possible with the vBulletin Post Icons?

I don't have planned to add something like this in the future, sorry.

Last edited by Mystics; 13 Feb 2004 at 17:57.
Reply With Quote
  #13  
Old 13 Feb 2004, 21:58
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Darn. It would be an amazing solution for us..

If you did it with post icons, it would throw the neatness of the post icons table off.. I'd want to use like little bars with "Political", or "Strange" on them and that would ruin the look of the post icons section completely. Also, if I just used reguler sized icons people would have to put their mouse over them to read the category since there's no way a 15x15 icon is gonna have readable text. When users are choosing a category they can also see all the different graphical buttons in a pulldown menu as well (in the same place, just like you do with your text version right now). I think this would be an excellent option, but understand if you have no desire to pursue it.. I guess I can always hire out the modifications if it came down to it.

Thanks for this either way, it really IS excellent!

-Jason
__________________
-Jason / WTF!?
Reply With Quote
  #14  
Old 13 Feb 2004, 22:01
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
Beautifully done Mystics - good to see you releasing mods again
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
  #15  
Old 14 Feb 2004, 00:18
Logikos Logikos is offline
 
Join Date: Jan 2003
VERY VERY NICE JOB Mystics! Can't thank you enough.

/me clicks install!
__________________
Full Time PHP Developer
Please feel free to contact me if you have any paid work to be done.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:10.

Layout Options | Width: Wide Color: