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 |
#112
|
|||
|
|||
I'd also like to see a Recent Threads prefix hack for vBadvaced so that they show the prefix. Surely someone can do this? I have tried but couldn't get it to work.
|
#113
|
|||
|
|||
Quick question:
Is it possible to have a different set of prefixes for each forum? For example: Quote:
Or is this the only option: Quote:
|
#114
|
||||
|
||||
Quote:
|
#115
|
||||
|
||||
Quote:
|
#116
|
|||
|
|||
I would like to see the option that threadprefixes are only usuable by moderators or specific member-groups.
Say for example there's a request-forum. Somoene posts a request. And then teh mod can set/update a prefix to it saying something like "accepted". (instead of the current situation: a member can set that prefix already by himself which ain't the right way) Also, it would be very nice to be able to use images instead of text. it just hit me: Can I set those prefix-HTML-markup to: <img src="images/prefixes/{1}.gif" border=0 title="{1}" /> ? But IF that would work, u couldnt' use text prefixes (in other forums) next to it |
#117
|
|||
|
|||
Installed this a couple of weeks or so ago, no probs with forum until then.
Started getting this error message anytime any member tries to access their subscription list from their usercp: Code:
Database error in vBulletin 3.6.2: Invalid SQL: SELECT IF(votenum >= 1, votenum, 0) AS votenum, IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg, post.pagetext AS preview, thread.threadid, IF(thread.threadprefix <> '', CONCAT('', thread.threadprefix, ' - ', thread.title), thread.title) AS title AS threadtitle, forumid, pollid, open, replycount, postusername, thread.lastpost, thread.lastposter, thread.lastpostid, postuserid, thread.dateline, views, thread.iconid AS threadiconid, notes, thread.visible, thread.attach , threadread.readtime AS threadread , thread.threadprefix FROM *****_thread AS thread LEFT JOIN *****_post AS post ON(post.postid = thread.firstpostid) LEFT JOIN *****_threadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = 5) WHERE thread.threadid IN (2937,2834,2913,3003,2977,3000,2828,2986,3005,2983,2955,2992,2954,2969,2935,3002,2909,2854,2994,2974) ORDER BY thread.lastpost DESC; MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AS threadtitle, forumid, pollid, open, replycount, postusername, thread.last' at line 4 Error Number : 1064 Date : Tuesday, October 31st 2006 @ 07:48:27 AM Script : http://www.*********.net/forums/subscription.php?do=viewsubscription Referrer : http://www.*********.net/forums/usercp.php IP Address : ***************** Username : ***************** Classname : vb_database mine looks like: Code:
$previewfield thread.threadid, IF(thread.threadprefix <> '', CONCAT('" . $vbulletin->options['prefixmarkup_start'] . "', thread.threadprefix, '" . $vbulletin->options['prefixmarkup_end'] . "', thread.title), thread.title) AS title AS threadtitle, forumid, pollid, open, replycount, postusername, $lastpost_info, postuserid, thread.dateline, views, thread.iconid AS threadiconid, notes, thread.visible, thread.attach " . ($vbulletin->options['threadmarking'] ? ", threadread.readtime AS threadread" : '') . " $hook_query_fields Code:
$previewfield thread.threadid, thread.title AS threadtitle, forumid, pollid, open, replycount, postusername, $lastpost_info, postuserid, thread.dateline, views, thread.iconid AS threadiconid, notes, thread.visible, thread.attach " . ($vbulletin->options['threadmarking'] ? ", threadread.readtime AS threadread" : '') . " $hook_query_fields |
#118
|
||||
|
||||
Hi,
Quote:
|
#119
|
|||
|
|||
Fixed mine by changing
Code:
$previewfield thread.threadid, IF(thread.threadprefix <> '', CONCAT('" . $vbulletin->options['prefixmarkup_start'] . "', thread.threadprefix, '" . $vbulletin->options['prefixmarkup_end'] . "', thread.title), thread.title) AS title AS threadtitle, forumid, pollid, open, replycount, postusername, $lastpost_info, postuserid, thread.dateline, views, thread.iconid AS threadiconid, notes, thread.visible, thread.attach " . ($vbulletin->options['threadmarking'] ? ", threadread.readtime AS threadread" : '') . " $hook_query_fields Code:
$previewfield thread.threadid, IF(thread.threadprefix <> '', CONCAT('" . $vbulletin->options['prefixmarkup_start'] . "', thread.threadprefix, '" . $vbulletin->options['prefixmarkup_end'] . "', thread.title), thread.title) AS threadtitle, forumid, pollid, open, replycount, postusername, $lastpost_info, postuserid, thread.dateline, views, thread.iconid AS threadiconid, notes, thread.visible, thread.attach " . ($vbulletin->options['threadmarking'] ? ", threadread.readtime AS threadread" : '') . " $hook_query_fields not sure it that was all that was affecting subscriptions or not, there was also a problem with instant email notifications not being received but was only tackling one problem at a time. waiting to hear back from members as to whether that also cleared up with the above fix. |
#120
|
|||
|
|||
For peeps, who don't want the prefixes to be set by members, but only by moderators:
revert or not edit the template newthread, so u won't find the dropdownlist there For those who only want images as prefixes, go to: vBulletin Options / Help Thread Prefixes v1.6.1 And edit the Prefix HTML Markup (within forums) to: <img src="images/prefixes/{1}.gif" title="" /> Unfortunately I tried to use {1} two times (as title="{1}") with no luck But with images as prefixes, u can make ur prefix any color u want. (type a word in a image-program, give it a color, save it as gif, and u're done or just make a cute pic for it |
#121
|
|||
|
|||
HMM, is it just me or does the display options dont work??
[_] Have Prefixes in alphabetical order (Prefix Number will be ignored) [o]Ascending [o]Descending when i submit the form it resets >_< |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|