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 |
#197
|
|||
|
|||
Problem went away on its own after a day or so...
?? |
#198
|
|||
|
|||
Hi Mystics,
I'm the administrator of the French forum of a famous website (check out my PM). We currently have 3 forums in several languages. Today i'm ready to try your hack but I wondering if you can add the following changes. Please, have a look to the attached pic. #1 - Display categories under titles of forums [important request, please] #2 - Let users to select categories from top of the page (as showed on the pic) Another question. I saw you are member of the vBulletin programming commulity. So, can you tell me if your hack could be integrated as a standard feature in next releases of VB? Bye |
#199
|
||||
|
||||
Quote:
|
#200
|
|||
|
|||
ok, I understand your position. BTW perhaps I can use the Replacement Variable Manager if I can't display all categories as plain links. Possible ?
e.g: [cat1] = http://www.xxxxxxxx.xxx/forum/showthread.p.... Another solution should be to extend the length of descriptions below Forum title. Is it possible and does this affect something? Quote:
check it out at: http://forum.hardware.fr/ Thanks anyway, Bye |
#201
|
||||
|
||||
Quote:
Quote:
You should consider using sub forums instead of categories. |
#202
|
|||
|
|||
Quote:
Forum Nokia Entry level | Middle class | Pro class By clicking on 'Forum Nokia' members display threads of the 3 categories. If not, then they display only the selected category. This possible with your hack but not by using sub-forums. Perhaps there is a special PHP command to do this but I don't know it.. |
#203
|
||||
|
||||
In vB 3.0.6 "Edit the file: clientscript/vbulletin_stdedit.js"
Find this code: Code:
function validatePost(tform, subjectVal, minLength, maxLength) { return validatemessage(tform.message.value, subjectVal, minLength, maxLength, false, tform); } Code:
function validatePost(tform, subjectVal, minLength, maxLength, categoryVal) { if (typeof categoryVal == "undefined") { var categoryVal = 0; } return validatemessage(tform.message.value, subjectVal, minLength, maxLength, false, tform, categoryVal); } Code:
function validatePost(tform, subjectVal, minLength, maxLength) { postOK = validatemessage(tform.message.value, subjectVal, minLength, maxLength, false, tform); if ((postOK == true) & is_ie) { Copied = tform.message.createTextRange(); Copied.execCommand("Copy"); } return postOK; } |
#204
|
|||
|
|||
TTG,
Thank but what for? Can you explain? |
#205
|
||||
|
||||
Quote:
|
#206
|
||||
|
||||
@TTG
You obviously have already modified vbulletin_stdedit.js....yours is not the original code...so either upload the original vbulletin_stdedit.js or use this: Code:
function validatePost(tform, subjectVal, minLength, maxLength, categoryVal) { if (typeof categoryVal == "undefined") { var categoryVal = 0; } postOK = validatemessage(tform.message.value, subjectVal, minLength, maxLength, false, tform, categoryVal); if ((postOK == true) & is_ie) { Copied = tform.message.createTextRange(); Copied.execCommand("Copy"); } return postOK; } |
#207
|
||||
|
||||
Thanks Mystics .. that solved the problem.
Clicked Install .. One of the best set of hack instructions I've used .. very well done m8 |
#208
|
|||
|
|||
I installed Mystics' Prefix Hack but prefixes aren't showing on the cmps. Any idea on how to fix this?
|
#209
|
|||
|
|||
I'm gonna use this Was looking it for ages ..... Excellent ....
** Clicks Install ** |
#210
|
|||
|
|||
has anyone gotten this to work with vbadvance? i want to display the prefix in the news module
|
#211
|
|||
|
|||
i don't know if it's a bug with this hack, or it's something else. but if someone is viewing a thread in a forum, it doesn't say (x Viewing). only people viewing the forum is counted as viewing.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|