Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Thread Prefixes Details »
Thread Prefixes
Mod Version: 1.5.5, by Mystics (Member) Mystics is offline
Developer Last Online: Jun 2015 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.4 Rating: (5 votes - 4.80 average) Installs: 175
Released: 02 Nov 2005 Last Update: 25 Apr 2006 Downloads: 290
Not Supported DB Changes Uses Plugins Template Edits Code Changes Additional Files  

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
  • Moderators are able to create own prefixes for each of their moderated forums.
    (Forum -> Forum Tools -> Manage Thread Prefixes -> threadprefix.php)
  • Display of the prefixes on forum display, search results, subscribed threads and within the thread itself.
  • It is possible to change the prefix with editing the first post of a thread or with the thread tools available for moderators at any time.
Settings in Admin CP
  • Maximum prefixes per forum
  • Thread Prefix required: Users have to select a thread prefix for their threads. You can select this globally for all forums or on a per forum basis.
  • Default Thread Prefixes: You may set default prefixes which will either be shown only in forums without own prefixes or be shown in addition to existing prefixes
  • Show Thread Prefixes in extra column or in front of the thread title in the same column
  • Alignment of the prefixes (if 'Show in extra column' is enabled): Align left, align right, center
  • Show Prefix in 'Last Post' column
  • Prefix HTML Markup: Specify an HTML tag with which to display the prefixes (bold, italic, red etc.)
  • Allow Thread Prefix search: If enabled, the prefixes of all forums the user has access to will be grouped in a list and displayed in the search engine.
  • Per Forum:
    • Allow Thread Prefixes in this Forum
    • Thread Prefix Required in this Forum.
Screenshots

See attachments.


Version-History

1.5.5 (2006-04-09 - 03:00 pm CET)
  • Fixed database error within the search engine.
    (if prefix was selected and results were shown as posts)
  • Just import the updated xml file.
1.5.4 (2006-03-20 - 01:30 am CET)
  • Fixed small error within the search engine.
  • Just import the updated xml file.
1.5.3 (2006-03-19 - 03:30 pm CET)
  • Changes in includes/class_dm_threadpost.php for vB 3.5.4
  • Changes in includes/functions_threadprefix.php for vB 3.5.4
  • New: Search for prefixes only is now possible (without keywords)
  • New: Prefixes are displayed in "Similar Threads"
  • New: Separator between prefix and thread title within threads/emails may now be defined in your Admin Control Panel (used to be always " - ").
  • New: Save Thread Prefix in Search Preferences
1.5.2 (2005-11-03 - 07:30 pm CET)
  • Missing phrase: updateprefixes
  • Fixed small error in /threadprefix.php
1.5.1 (2005-11-02 - 09:30 pm CET)
  • First version for vBulletin 3.5.1
1.5.0 (2005-11-02 - 09:30 pm CET)
  • First version for vBulletin 3.5.0 (only one file edit more because of a missing hook)
Installation
  1. Upload all files from the upload directory to your vBulletin directory on your server.

    Overview of the files and corresponding directories:
    • /threadprefix.php
    • /admincp/prefixinstall.php
    • /admincp/prefixinstall_text.php
    • /includes/functions_threadprefix.php

  2. Import the file "product-threadprefix_english.xml" with 'Manage Products':
    Admin Control Panel -> Plugin System -> Manage Products ->
    [Add/Import Product] -> Select file -> Import

  3. Open this file with your browser:
    http://www.yourdomain.com/forum/admincp/prefixinstall.php

  4. Log in as administrator and follow the instructions
Time needed for installation: approx. 30 min.
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. Upload all files from the upload directory to your vBulletin directory on your server.

    Overview of the files and corresponding directories:
    • /threadprefix.php
    • /admincp/prefixinstall.php
    • /admincp/prefixinstall_text.php
    • /includes/functions_threadprefix.php

  2. Import the file "product-threadprefix_english.xml" with 'Manage Products':
    Admin Control Panel -> Plugin System -> Manage Products ->
    [Add/Import Product] -> Select file -> Import

    You have to select 'Allow Overwrite' -> 'Yes' before clicking on Import!

  3. Open this file with your browser:
    http://www.yourdomain.com/forum/admincp/prefixinstall.php

  4. Log in, select the version you want to update from (at Step 2 -> 'Update Modification') and follow the instructions.
Short overview of the needed modifications

1. Files that need to be edited:
  • /showthread.php (Display prefix in 'Similar Threads')
  • /clientscript/vbulletin_textedit.js (JavaScript error message if no prefix was selected)
  • /includes/class_dm_threadpost.php (Prefix within emails to moderators)
  • /includes/functions_databuild.php (Update prefix in column 'Last Post' for mod functions)
  • /includes/functions_online.php (Display prefix in 'Who's online')

    It is your decision if you need the above functions or if you decide do use the product without file modifications!
    You don't have to do the file modifications as the product will work even though without them!
2. New files:
  • /threadprefix.php
  • /includes/functions_threadprefix.php
3. Templates that need to be edited:
  • editpost
  • FORUMDISPLAY
  • forumdisplay_announcement
  • newthread
  • search_forums
  • search_results
  • SUBSCRIBE
  • threadadmin_editthread
  • threadbit
  • threadbit_deleted
4. New templates:
  • threadprefix_listbit
  • threadprefix_modify
5. New phrases:
  • Too many to list them all - they will be created automatically while importing the xml file
Final words

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

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	eng_admincp_prefix_settings.gif
Views:	1328
Size:	62.6 KB
ID:	36893   Click image for larger version

Name:	eng_admincp_edit_forum.gif
Views:	1017
Size:	13.0 KB
ID:	36894   Click image for larger version

Name:	eng_forum_manage_prefixes.gif
Views:	1966
Size:	39.5 KB
ID:	36895   Click image for larger version

Name:	eng_forum_post_new_thread.gif
Views:	2366
Size:	17.4 KB
ID:	36896  

Click image for larger version

Name:	eng_forum_search_forums.gif
Views:	2037
Size:	24.6 KB
ID:	36897   Click image for larger version

Name:	eng_forum_threads_in_forum.gif
Views:	2698
Size:	21.4 KB
ID:	36898  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Thread Prefixes Mystics vBulletin 3.6 Add-ons 516 18 Jan 2016 11:24

Comments
  #2  
Old 02 Nov 2005, 20:34
DrewM DrewM is offline
 
Join Date: Oct 2005
Thank you clicked install
Reply With Quote
  #3  
Old 02 Nov 2005, 20:45
RMS-Chef RMS-Chef is offline
 
Join Date: Aug 2003
Great addon. I am currently staying away from file edits but I will definitely click install to keep an eye on this in the off chase you can eliminate the file edits in the future. Thanks again.
__________________
Hi.
Reply With Quote
  #4  
Old 02 Nov 2005, 20:49
Mystics's Avatar
Mystics Mystics is offline
 
Join Date: Oct 2001
Real name: Mike
Originally Posted by RMS-Chef
Great addon. I am currently staying away from file edits but I will definitely click install to keep an eye on this in the off chase you can eliminate the file edits in the future. Thanks again.
You will always have to edit the /clientscript/vbulletin_textedit.js file

But ok, that's just for the JS error message if you didn't select a prefix - so it's not really necessary.
Reply With Quote
  #5  
Old 02 Nov 2005, 20:49
gael11's Avatar
gael11 gael11 is offline
 
Join Date: Oct 2005
Real name: GaŽl
Very usefull mod !!! Thanks very much !
Reply With Quote
  #6  
Old 02 Nov 2005, 21:05
Cyricx Cyricx is offline
 
Join Date: Sep 2002
Awesome!!!! So happy to see this ported, thanks so much for your work!!
__________________
Cyricx (Chris)
Reply With Quote
  #7  
Old 02 Nov 2005, 21:22
gael11's Avatar
gael11 gael11 is offline
 
Join Date: Oct 2005
Real name: GaŽl
I think there is a problem while editing files at step 4.
I have to edit the file called editpost.
I have to search for:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

but impossible to find it
Reply With Quote
  #8  
Old 02 Nov 2005, 21:25
Mystics's Avatar
Mystics Mystics is offline
 
Join Date: Oct 2001
Real name: Mike
Originally Posted by gael11
I think there is a problem while editing files at step 4.
This code is in the template editpost. All modifications in step 4 are template modifications.
Reply With Quote
  #9  
Old 02 Nov 2005, 21:29
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Oh thanks for the hack!
Reply With Quote
  #10  
Old 02 Nov 2005, 21:36
gael11's Avatar
gael11 gael11 is offline
 
Join Date: Oct 2005
Real name: GaŽl
Originally Posted by Mystics
This code is in the template editpost. All modifications in step 4 are template modifications.
Ooops excuse me, I'm tired lol
Reply With Quote
  #11  
Old 02 Nov 2005, 21:37
michaelbenson's Avatar
michaelbenson michaelbenson is offline
 
Join Date: Feb 2005
Real name: Michael Benson
Excellent, been waiting so long for this
/me installs.
Reply With Quote
  #12  
Old 02 Nov 2005, 21:43
nexialys
Guest
 
/me think to remember to note to tag this thread and hug Mike for this update!
Reply With Quote
  #13  
Old 02 Nov 2005, 21:48
DrewM DrewM is offline
 
Join Date: Oct 2005
I have one problem the prefix isn't showing on the forum but it will in search results?

Is there any thing I should do?
Reply With Quote
  #14  
Old 02 Nov 2005, 22:04
Mystics's Avatar
Mystics Mystics is offline
 
Join Date: Oct 2001
Real name: Mike
Originally Posted by Larrysw
I have one problem the prefix isn't showing on the forum but it will in search results?
Hm, are all plugins active? Did you make all modifications correct? Did you select the correct style?
Reply With Quote
  #15  
Old 02 Nov 2005, 22:06
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Inporting product on 3.5.1 produces this error :-


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:58.

Layout Options | Width: Wide Color: