The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Thread Prefixes Details »» | |||||||||||||||||||||||||
Thread Prefixes
Version: 1.6.2 vBulletin Version: 3.6.10 Developer: Michael (Mystics) Koenig (www.vbulletin-germany.com) Modification-Language: English & German & French (thanks to ReadWrite - Note: Readme has not yet been translated to french.) Install-difficulty: Medium File-edits: 5 Template-edits: 10 Brief Description of the Modification This modification allows your users to choose a thread prefix for each thread. To do this you are able to select an appropriate prefix from a list beside the title while posting a new thread - for example 'Help', 'Problem', 'Search' etc. This prefix will be displayed in front of the thread title. The result will be for example: Problem - I can't find this setting Problem is the thread prefix, I can't find this setting is the title of the thread. The prefixes displayed in this list may be defined by a moderator for each of his moderated forums (Forum Tools -> Manage Thread Prefixes); of course an administrator and a super moderator is allowed to do this for every forum. Features
See attachments. Version-History 1.6.2 (2008-05-24 - 9:30 pm CET)
Tested for version: 3.5.0 (and above). Note: If you have used the Thread Category / Prefix Hack in vBulletin 3.0.x, don't worry: all existing prefixes will be imported during the installation. You just have to re-do your thread prefix settings in your vBulletin Options. Update Product
1. Files that need to be edited:
If the modification 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 modification was tested extensive and will function properly if installed correct. Thanks to ReadWrite for his french translation. Special Thanks to Andreas for his help with the hooks. Have fun with the modification! Please click Install if you have installed it Mike Supporters / CoAuthors Show Your Support
|
Comments |
#62
|
|||
|
|||
Mystics,
This seems like a great hack but one question. To make it easier on everyone and since you already modified the code, would it not be easier to include the line numbers of the code that need to be replaced. showthread.php has 1924 lines of code and it can be a little taxing to say the least when looking for a single line of code, coupled with the fact that it would insure that the right code was modified which in turn would cut down on the amount of replies like,:smoke: "it does not work" or :smoke: "i can't find it" etc. etc. Keep up the excellent hacks. jackd showthread.php - line 1810 clientscript/vbulletin_textedit.js - lines 1730,1731,1732 includes/class_dm_threadpost.php - line 398 includes/functions_databuild.php - line 146 includes/functions_online.php - line 1624 |
#63
|
|||
|
|||
A liitle help lease before I screw something up.
In the editpost template step 3 it states find this code- <td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td> and add above, this code - <if condition="$show['threadprefix']"> <td>$threadprefixes </td> </if> Exactly where above does this code get added. The first thing above is the <tr> tag so I do not see it going there. Above that is another similar section of code... Is that to be replaced. tr> <if condition="$show['threadprefix']"> <td class="smallfont">$vbphrase[threadprefix]:</td> </if> <td class="smallfont" colspan="<if condition="$show['threadprefix']">2<else />3</if>">$vbphrase[title]:</td> </tr> <tr> <td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td> I hope this makes sense but exactly where would this new line of code be added. Any help would be appreciated. jackd |
#64
|
||||
|
||||
Quote:
|
#65
|
||||
|
||||
Quote:
Quote:
Quote:
|
#66
|
|||
|
|||
Quote:
<tr> and <td> tag... this is the reason for my question.... |
#67
|
||||
|
||||
Quote:
Code:
<if condition="$show['threadprefix']"> <td>$threadprefixes </td> </if> So in the end it's just: Code:
<tr> <td></td> <td></td> |
#68
|
|||
|
|||
I have a question about the "Show Prefix in 'Last Post' column" feature.
In order to see prefixes tagged to topic titles in index.php you need the above option on but with this option on it passes the prefix over to the next newly created thread title. (As described in the option field) So if userA makes a thread with a [Information] prefix and then userB comes along and makes a new thread without a prefix the [Information] prefix gets tagged to this new thread even though the new thread may not be information. I suppose this could be bypassed by forcing members to use prefixes but that is not suitable for my forum. Is there anyway to have the prefix shown in the last post column on index.php but not get tagged to the next new thread created if it as no prefix? P.S Good work, Easy to install and works great. |
#69
|
||||
|
||||
Quote:
|
#70
|
||||
|
||||
Excellent addition, just what I was looking for. I hope this is carried on to future versions of vB.
|
#71
|
|||
|
|||
Quote:
The Goodbye thread was created without the [Information] prefix, But because the last prefix used in the forum was [Information] its being attached to it. If you read the desciption of the "show prefix in last post column" option in the admincp it says: Quote:
The mods installed fine, Im 100% positive. EDIT: Just so you know, I can not replicate the problem on demand, Its appears to just start happening after a certain period of time. Turning the option on and off seems to fix it for a short while then it starts happening again. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|