The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Thread Prefixes Details »» | |||||||||||||||||||||||||
Thread Prefixes
Version: 1.5.5 vBulletin Version: 3.5.4 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.5.5 (2006-04-09 - 03:00 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 |
#262
|
|||
|
|||
yeah thats why I mean
i just have to do a template edit right? |
#263
|
||||
|
||||
Quote:
|
#264
|
|||
|
|||
I'm getting a problem now...
on the test board, everything works fine... on the main site when you try to post anything you get this error Quote:
|
#265
|
||||
|
||||
Do you have more than one plugin using the hook newpost_process? The prefix plugin should contain this code:
Code:
if ($type == 'thread') { $dataman->setr('threadprefix', htmlspecialchars_uni($post['threadprefix'])); } global $global_threadprefix; $global_threadprefix = $threadinfo['threadprefix']; Or try to replace the whole plugin code with this: Code:
if ($type == 'thread') { $postthreadprefix = htmlspecialchars_uni($post['threadprefix']); $dataman->setr('threadprefix', $postthreadprefix); } global $global_threadprefix; $global_threadprefix = $threadinfo['threadprefix']; |
#266
|
|||
|
|||
you sir are a genius... i could have your babies for that fix...
it worked perfectly.. (i replaced the whole plugin...) |
#267
|
|||
|
|||
Quote:
But finally, I realized I too have this problem. Lexzep, did you figure out the problem? Some one HELP me. |
#268
|
||||
|
||||
Question: I have some old prefixes showing in the search dropdown that are no longer prefixes in any forum, and are no longer associated with any threads. Is there a way to clean these off the list?
|
#269
|
||||
|
||||
Quote:
|
#270
|
|||
|
|||
hello, thx for your hack, but i have a big problem :
Code:
Database error in vBulletin 3.5.4: Invalid SQL: SELECT postid, post.title, pagetext, post.threadid, IF(thread.threadprefix <> '', CONCAT('[', thread.threadprefix, '] ', thread.title), thread.title) AS title AS threadtitle FROM post AS post INNER JOIN thread AS thread USING(threadid) WHERE postid = 6; 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 FROM post AS post INNER JOIN thread AS thread USING(threa' at line 1 Error Number : 1064 Date : Thursday, April 13th 2006 @ 07:17:11 PM Script : http://***.***.***.***/newthread.php Referrer : http://***.***.***.***/newthread.php?do=newthread&f=8 can anyone help me to remove this bug plz ? |
#271
|
||||
|
||||
Quote:
Code:
SELECT postid, post.title, pagetext, post.threadid, IF(thread.threadprefix <> '', CONCAT(thread.threadprefix, ' - ', thread.title), thread.title) AS title AS threadtitle Code:
SELECT postid, post.title, pagetext, post.threadid, thread.title AS threadtitle |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|