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 |
#302
|
|||
|
|||
Quote:
If so you have to do a very easy template modification: in FORUMDISPLAY find: Code:
<if condition="$foruminfo['allowprefix']"> <div><label for="fa_cat"><input type="radio" name="do" id="fa_cat" value="manageprefix" />$vbphrase[manage_threadprefix]</label></div> </if> Code:
<if condition="is_member_of($bbuserinfo, X, Y, Z)"><if condition="$foruminfo['allowprefix']"> <div><label for="fa_cat"><input type="radio" name="do" id="fa_cat" value="manageprefix" />$vbphrase[manage_threadprefix]</label></div> </if></if> It worked on my forum |
#303
|
|||
|
|||
Quote:
|
#304
|
|||
|
|||
Thread Title - Prefix
This has been asked a few times and want to know if there is a solution. This is my last thing to do to get this MOD functioning on my board. Does it have something to do with the "Prefix Markup (within threads and emails)" option in the AdminCP? The following two examples are suggested: Examples: {1} - results to Prefix - Title. [{1}] results to [Prefix] Title</SPAN>. What would produce Title [Prefix]? I have played with different combinations and can not seem to figure this out. I would like to do away with the prefix from the thread title altogether, but Title [Prefix] looks better than the above two options. |
#305
|
|||
|
|||
Is it possible to add an option to the user's profile so that by default, the threads are automatically filtered?
I am trying to use this mod for a multi lingual site, and I would have each thread tagged per language. So whenever the user browses the site, he would see the threads that correspond to his language, if he chooses to. Is this possible? |
#306
|
|||
|
|||
Something I noticed while playing around with this MOD on this site is when you filter for a MOD by a prefix and end up on say page 2 of the filtered threads, and then select another thread prefix, it takes you to page 2 of that thread prefix's thread and not page 1. Is there a fix to this?
|
#307
|
|||
|
|||
Quote:
Generally speaking, you'd need to find this code: Code:
<if condition="$show['threadprefix'] == 1"> <if condition="$thread['threadprefix']">$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]</if> </if> Code:
$thread[movedprefix] $thread[typeprefix] <if condition="$show['threadprefix'] == 1"> <if condition="$thread['threadprefix']">$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]</if> </if> $thread[moderatedprefix] <a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a> Code:
$thread[movedprefix] $thread[typeprefix] $thread[moderatedprefix] <a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a> <if condition="$show['threadprefix'] == 1"> <if condition="$thread['threadprefix']">$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]</if> </if> |
#308
|
|||
|
|||
I would like to totally remove the prefix [Football] (while still having the thread prefix active for the forum the thread is in) and just have the title of the thread (within the thread itself). Also, would you know how I could change the size of the thread title so it stands out a little more? I really appreciate all of your coding help.
|
#309
|
|||
|
|||
Quote:
1. In your admincp, go down to Plugins & Products, and click on Plugin Manager. 2. When the plugin manager opens, look in the section called Product : Thread Prefixes and disable the following two options (by unchecking their checkboxes): Prefix: Display Prefix in Front of Title (Post) Prefix: Display Prefix in Front of Title (Thread) 3. Scroll down and click the Save Active Status button. Voila! Prefixes gone in the thread. Let me know if this works for you. Quote:
|
#310
|
||||
|
||||
Is it possible to make a product of this hack?
The reason that I ask is that since there are a lot of template edits, a lot can go wrong with both installing and uninstalling. I really like this hack and the possibilities it gives. vb versions like 3.6.6 that make you loose all template edits with upgrading will likely come more often, now that Jelsoft works on various official add-ons. |
#311
|
|||
|
|||
Kira, I never thought about shutting off the products. Thanks. As for your suggestion to consider Raiderlax'd MOD, I would really like to change the font size of the thread title of the first post with all other posts being their normal size. I don't even know if this is possible.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|