Facebook Twitter Pinterest Share

vBulletin 3.X Add-ons & Template Modifications All the latest vBulletin 3.X Add-ons & Template Modifications.


New Thread  Post Reply
Daz's Avatar
Daz : To right I fecking bite
Daz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond reputeDaz has a reputation beyond repute
offline Joined: Sep 2007 Posts: 455 Thanked: 166
  #1  
Thread Starter Unread 10-07-07
Thread Prefixes

Thread Prefixes

Version: 1.6.1
vBulletin Version: 3.6.0
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 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:
o Allow Thread Prefixes in this Forum
o Thread Prefix Required in this Forum.

Screenshots




Version-History

1.6.1 (2006-08-29 - 11:30 pm CET)

* Bugfix: It's possible again to change the prefix by editing the first post of a thread.
* Bugfix: The prefix will be forwarded correctly and without an error to the advanced editor while editing the first post via AJAX.
* New: Thread Prefixes for discussion threads for user infractions and reported posts.
You can enter those thread prefixes within your vBulletin settings.
* New: Ability to sort the thread prefixes in descending order.
(Forum Tools -> Manage Thread Prefixes)
* New: Version check for the Thread Prefix Product within the AdminCP.
* Import the updated xml file (product-threadprefix_*.xml) and upload the updated file /upload/threadprefix.php to your server.

1.6.0 (2006-08-04 - 07:00 pm CET)

* Changes for vBulletin 3.6.0
* Because you have to upload all files of vBulletin 3.6, there are no instructions for the update. Just follow the standard instructions for the file and template changes.
* Fixed error within the search engine.
* New: Prefixes are displayed within Content Syndication (external.php)
* Do not forget to import the updated xml file (product-threadprefix_*.xml)!

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/admi...fixinstall.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/admi...fixinstall.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
* newthread
* search_forums
* search_results
* SUBSCRIBE
* threadadmin_editthread
* threadbit
* threadbit_announcement
* 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
Attached Files Click the thanks button to view this attachment.
Quote
The Following User Says Thank You to Daz For This Useful Post:
Galeras's Avatar
Galeras : 50+
Galeras is a glorious beacon of lightGaleras is a glorious beacon of lightGaleras is a glorious beacon of lightGaleras is a glorious beacon of lightGaleras is a glorious beacon of lightGaleras is a glorious beacon of light
offline Joined: Sep 2007 Location: Promyshlennyi Vorkuta Posts: 164 Thanked: 47
  #2  
Unread 10-09-07
Does this works on vb 3.6.8 ? It uses one or more query per thread? Hooks?
This mod would be very nice on my board, but i have lots of threads.
mykkal's Avatar
mykkal : Newbie
mykkal is on a distinguished road
offline Joined: Nov 2007 Posts: 1 Thanked: 0
  #3  
Unread 11-26-07
I can't finish the installation

Just wondering if anyone else is having this problem. With i try to run the preinstall.php file from the browser i cannot.

I'm prompted to login and I do. Then I get a blank page. All other *.php files seem to work find. When i view the source of the "blank" page generated I see nothing there.

However, if I view the file contents i can see the installation script is there. Can someone help me here? I have no idea what to do...
xXEsEtUlOnXx's Avatar
xXEsEtUlOnXx : 50+
xXEsEtUlOnXx is on a distinguished road
offline Joined: Nov 2007 Posts: 56 Thanked: 2
  #4  
Unread 02-12-08
thanks a lot, i was looking for it, thank u very much.
MetalGear's Avatar
MetalGear : Banned
MetalGear is on a distinguished road
offline Joined: Oct 2007 Posts: 121 Thanked: 3
  #5  
Unread 03-27-08
when i install i get this when i go to forum

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/metalgea/public_html/forum/forumdisplay.php(989) : eval()'d code on line 537


does anyone know what is problem
Nanana's Avatar
Nanana : 50+
Nanana is on a distinguished road
offline Joined: Jan 2008 Posts: 83 Thanked: 0
  #6  
Unread 07-16-08
I love this, however seeing as I don't want to upgrade to 3.7 is there any way to make each prefix have a unique colour?
hacker666's Avatar
hacker666 : Member
hacker666 is on a distinguished road
offline Joined: Oct 2007 Posts: 27 Thanked: 1
  #7  
Unread 12-11-08
Originally Posted by Nanana View Post
Hover to view full quote
I love this, however seeing as I don't want to upgrade to 3.7 is there any way to make each prefix have a unique colour?
I think you can use color bbcodes (of html tags) when you define prefix
not sure tho
Mr.Invincible's Avatar
Mr.Invincible : Newbie +
Mr.Invincible is on a distinguished road
offline Joined: Mar 2009 Posts: 18 Thanked: 0
  #8  
Unread 03-16-09
não é compativel ¬¬
Zv00n's Avatar
Zv00n : Newbie
Zv00n is on a distinguished road
offline Joined: Apr 2009 Posts: 3 Thanked: 0
  #9  
Unread 06-20-09
Is this working on 3.8.2 version?
New Thread  Post Reply

Thread Tools

Bookmarks
  • Submit Thread to Facebook
  • Submit Thread to Twitter
  • Submit Thread to Pinterest
  • Submit Thread to LinkedIn
  • Submit Thread to Reddit
Tags
prefixes, thread
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
Powered by GYSN Underground 2021