The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Thread Category / Prefix Hack Details »» | |||||||||||||||||||||||||
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
See attachments. Version-History 1.3.7 (02-22-2005 - 09:00 pm)
Upload the new threadcategory.php as soon as possible!1.2.1 (02-14-2004 - 02:15 pm)
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. Files that need to be edited:
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 Show Your Support
|
Благодарность от: | ||
Comments |
#12
|
|||
|
|||
very good hack , thx very much
|
#13
|
||||
|
||||
Quote:
https://vborg.vbsupport.ru/attachmen...chmentid=16702 Quote:
I don't have planned to add something like this in the future, sorry. |
#14
|
||||
|
||||
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 |
#15
|
||||
|
||||
Beautifully done Mystics - good to see you releasing mods again
|
#16
|
|||
|
|||
VERY VERY NICE JOB Mystics! Can't thank you enough.
/me clicks install! |
#17
|
|||
|
|||
Hey, i can't belive how sweet the install went. No problems at all. I can see how hard you worked on this. i love the way you set up your install script, wish everyone did it like that.
One very minor template error, unless i missed something. Check attachment and you will see. |
#18
|
||||
|
||||
Quote:
To fix it, open forumdisplay.php and find: Code:
// ### THREAD CATEGORY HACK START ### // get categories $threadcategories = fetch_thread_categories($foruminfo, urldecode($_REQUEST['threadcategory']), 0, $vbphrase['all_categories']); $show['threadcategories'] = 0; if (!empty($threadcategories) AND $foruminfo['allowcategories']) { if (!empty($_REQUEST['threadcategory'])) { $sorturl .= '&threadcategory=' . urlencode($_REQUEST['threadcategory']); } $show['threadcategories'] = 1; $categorymarkup = array(); $categorymarkup = explode('{1}', $vboptions['categorymarkup']); if ($vboptions['showcategoryalign'] > 0) { $show['threadcategories'] = 2; switch($vboptions['showcategoryalign']) { case 1: $categoryalign = 'left'; break; case 2: $categoryalign = 'right'; break; case 3: $categoryalign = 'center'; break; default: $categoryalign = 'left'; } } } // ### THREAD CATEGORY HACK END ### Code:
// get announcements Code:
$sorturl = "forumdisplay.php?$session[sessionurl]f=$forumid&daysprune=$daysprune"; Code:
$sorturl = "forumdisplay.php?$session[sessionurl]f=$forumid&daysprune=$daysprune" . $sorturl; Code:
<if condition="$show['threadicons']">5<else />4</if>"> Code:
<if condition="$show['threadicons']"><if condition="$show['threadcategories'] == 2">6<else />5</if><else /><if condition="$show['threadcategories'] == 2">5<else />4</if></if>"> |
#19
|
|||
|
|||
Quote:
|
#20
|
||||
|
||||
Quote:
The thread starter is forced to select a thread category (if you enabled this in your vBulletin options) - see my answer to your posting above. But this has nothing to do with the post icons. That was an answer for Alien. |
#21
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|