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 |
#62
|
||||
|
||||
Small update to 1.3.3:
Edit forumdisplay.php and find: Code:
$pagenav = construct_page_nav($totalthreads, "forumdisplay.php?$session[sessionurl]f=$forumid", "&sort=$sortfield&order=$sortorder&pp=$perpage&daysprune=$daysprune"); Code:
$pagenav = construct_page_nav($totalthreads, "forumdisplay.php?$session[sessionurl]f=$forumid", "&sort=$sortfield&order=$sortorder&pp=$perpage&daysprune=$daysprune" . iif(!empty($_REQUEST['threadcategory']), '&threadcategory=' . urlencode($_REQUEST['threadcategory']))); |
#63
|
|||
|
|||
Thanks for the update.
I wanted to know if there's a way to make the Thread Category dropdown menu (on forumshow) be the same as others? See attached screenshot, the Thread Category dropdown menu is a little bit narrower than the others. It's the same in Opera. |
#64
|
|||
|
|||
Very nice hack, works like a charm for me !
Just a little thing : when editing the first post with QuickEdit, the category is lost. Any suggestion for that ? Thanks anyway ! |
#65
|
||||
|
||||
Quote:
If you edit the first post, you are able to change the current category. |
#66
|
|||
|
|||
Sorry, I mean the QuickEdit hack : https://vborg.vbsupport.ru/showthrea...245#post500245
If you edit the first post using QuickEdit, the thread will lose its category. |
#67
|
|||
|
|||
Any way we can choose different colours for different categories?
|
#68
|
||||
|
||||
_Excellent_ hack, well done and will prove to be quite useful. *clicks install* I don't think I've ever edited so many files in one sitting.
I do have a question though. I wonder if there's a way to have it so that categories are required only in certain forums and not required in all that have categories assigned to them. For example, I don't really need categories to be required in say "the bugs, complaints & suggestions" forum, but I'd like for categories to be requried in the "fanfiction" forum since I'm going to have the ratings be the categories. Either way, love the hack-age. |
#69
|
|||
|
|||
The installation setup was great. It looks like you will be setting a trend and hopefully every hacker will setup their installation pages this way.
Excellent idea and great hack. I have been looking for this. Thanks for the amazing hack. *click* |
#70
|
|||
|
|||
One quick suggestion or maybe a request addon for future versions. I am trying to set this up so that members can select which category his/her thread should be in. On my list of category, I have 3 categories only mods/admin and SM should be using (annoucement, featured thread and Rules ) . My question is , is there anyway to set this up in a way for me to specific certain categories registered users are restricted from using?
That would be great |
#71
|
|||
|
|||
I've installed this hack and I have to say it is well done, I did seem to make a small error somewhere though. I can add categories from the AdminCP - Options but when I try to do it from the forum manager I get the following error:
Not Found The requested URL /forums/threadcategory.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.29 Server at www.lwg3d.org Port 80 Any ideas on what I did wrong? |
#72
|
||||
|
||||
Quote:
|
#73
|
|||
|
|||
Quote:
|
#74
|
|||
|
|||
Well, that worked like a charm!
After getting a feel for how this works, it's led to another request. Would it be or is it possible to have the search ognore all other parameters other than "catagory"? It would be really nice to allow members to just choose a cataegory and have the search engine list all threads under that particular category independant of author, title, etc. |
#75
|
|||
|
|||
I repeat my question again, Mystics, sorry about nagging. That thing just bugs me the whole time. I've liturally spent hours trying to find where can decrease the width of the dropdown menu in any forum. The screenshot is there: https://vborg.vbsupport.ru/attachmen...chmentid=18043
Notice how the All Categories dropdown menu is a little bit narrower than the others? Where can I adjust it? The closes i've come is the bit in FORUMDISPLAY template: Code:
<td class="smallfont">$vbphrase[threadcategory]:</td> <td>$threadcategories</td> I've tried everything, even crazy stuff like Code:
<td>$threadcategories</td> <td><select name="threadcategories" style="width:125px"> <option>$threadcategories</option> </select></td> Many thanks for the hack, waiting for a reply. |
#76
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|