PDA

View Full Version : Miscellaneous Hacks - Thread Prefixes


Pages : [1] 2 3

Mystics
08-03-2006, 10:00 PM
Thread Prefixes

Version: 1.6.2
vBulletin Version: 3.6.10
Developer: Michael (Mystics) Koenig (www.vbulletin-germany.com (http://www.vbulletin-germany.com/))
Modification-Language: English & German & French (thanks to ReadWrite (https://vborg.vbsupport.ru/member.php?u=45924) - 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.6.2 (2008-05-24 - 9:30 pm CET)
Fixed XSS security issue:
Import the updated xml file (product-threadprefix_*.xml) to fix the security issue!
Changes for vBulletin 3.6.10 (Updated Template modifications)
Bugfix: It's possible again to search for prefixes
Installation script prefixinstall.php now works with IE7 too.
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 Preferences1.5.2 (2005-11-03 - 07:30 pm CET)
Missing phrase: updateprefixes
Fixed small error in /threadprefix.php1.5.1 (2005-11-02 - 09:30 pm CET)
First version for vBulletin 3.5.11.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
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
Import the file "product-threadprefix_english.xml" with 'Manage Products':
Admin Control Panel -> Plugin System -> Manage Products ->
[Add/Import Product] -> Select file -> Import
Open this file with your browser:
http://www.yourdomain.com/forum/admincp/prefixinstall.php
Log in as administrator and follow the instructionsTime needed for installation: approx. 30 min.
Tested for version: 3.5.0 (and above).

Note: If you have used the Thread Category / Prefix Hack (https://vborg.vbsupport.ru/showthread.php?s=&threadid=61494) 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
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
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!
Open this file with your browser:
http://www.yourdomain.com/forum/admincp/prefixinstall.php
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.php3. Templates that need to be edited:
editpost
FORUMDISPLAY
newthread
search_forums
search_results
SUBSCRIBE
threadadmin_editthread
threadbit
threadbit_announcement
threadbit_deleted4. New templates:
threadprefix_listbit
threadprefix_modify5. New phrases:
Too many to list them all - they will be created automatically while importing the xml fileFinal 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 (https://vborg.vbsupport.ru/member.php?u=45924) for his french translation.

Special Thanks to Andreas (https://vborg.vbsupport.ru/member.php?u=47102) for his help with the hooks.

Have fun with the modification!

Please click Install if you have installed it :)

Mike

firstrebel
08-04-2006, 04:28 PM
Thanks for the vB 3.6 update version.

Bob

X Quiz
08-04-2006, 05:30 PM
Thanks alot!

*Install*

Benj
08-04-2006, 08:27 PM
couple of questions :D

has anyone tried using this with GARS? does it work ok ?
how hard would it be to make a "newest threads with prefix" block for vbadvanced?

Slave
08-04-2006, 08:42 PM
Any change of making it so you can use the colour tag when you enter a prefix?

Ascor
08-04-2006, 10:52 PM
Thanks for the update

*Install

snowlion
08-05-2006, 01:16 AM
thank Mystics for updated

HMBeaty
08-05-2006, 01:55 AM
Might have to test this out, could possibly use this in the future.

Wolf42
08-05-2006, 07:21 AM
Thx for the update Mike!!

/me clicks install!

GNDI
08-05-2006, 09:06 AM
Thanks, I'll be wathing this before installing

Snake
08-05-2006, 04:35 PM
Thanks for this! :)

BlueEyesOnly
08-05-2006, 06:42 PM
very great. many thanks. that was fast :D

JollyJack
08-10-2006, 08:10 PM
iam having a few problems with this, i am running two styles on my forum.

Enlighten
splashblue

ths is working great in splashblue, but in enlighten the stickys have moved themselves in the prefix box,

http://www.sharewithus.co.uk/forums/forumdisplay.php?f=47
this is the splashblue page

http://www.sharewithus.co.uk/forums/forumdisplay.php?f=47&styleid=2
this is the style its gone funny on

i have checked it over and i am sure i have done it right, and i know these hacks are done for none modded styles, but could you have a look at these 2 pages and tell me where in your template changes i need to look abit closely again.

Thanks great hack

bing11
08-15-2006, 11:54 AM
very nice thank you

nix
08-17-2006, 08:41 PM
Nice hack! Thanks!

ForumDog
08-18-2006, 03:41 PM
I see it's not currently possible :) but a suggestion for the future: For the automatic creation of Reported Posts and Infractions threads it would be quite cool to be able to have them created with a prefix.

Or come to that, allow other plugins that create threads to make use of the Thread Prefix plugin if it is installed.

Regardless, superb plugin as it is, thank you.

Kriminal
08-18-2006, 04:07 PM
I see it's not currently possible :) but a suggestion for the future: For the automatic creation of Reported Posts and Infractions threads it would be quite cool to be able to have them created with a prefix.

Or come to that, allow other plugins that create threads to make use of the Thread Prefix plugin if it is installed.

Regardless, superb plugin as it is, thank you.

That would be WONDERFUL!

Dennis Olson
08-19-2006, 05:20 PM
Just installed vB 3.6.0. In your installation instructions for file modifications, when I edit

showthread.php

looking for: thread.title

I cannot find that text, except in a comment line and as part of the SELECT. Any ideas?

Dennis Olson
08-19-2006, 08:50 PM
Okay, I figured that out (sorry about that). HOWEVER, when I have my individual forum set to require prefixes, and then I don't enter one, I don't get the error message. Where should I go to fix this, and what might be wrong? I edited the js file just as I was supposed to.

Dennis Olson
08-19-2006, 11:58 PM
*sigh*

I hate it when I'm an idiot. Issue resolved....

rnmcd
08-20-2006, 03:27 AM
*sigh*

I hate it when I'm an idiot. Issue resolved....

Dennis, what was your fix?

Dennis Olson
08-20-2006, 01:02 PM
There's an option in the AdminCP to "Require prefixes". I'd left that set to OFF, which is the default when the hack is installed. I set it to "By Forum" (or whatever it says) and then went into the Forum Manager for certain forums and set it to Required = Yes there.

I DO have a legitimate issue now though (and it MAY be my own fault, but I'd welcome a little input). For threads that currently have no profix, when I go to Quick Edit, then select Go Advanced, I naturally get the error notice to Select a prefix. I do that, then click SAVE. BUT - the prefix DOES NOT GET ADDED to the thread.

This only happens on EDIT, not on post a new thread, which works perfectly. Any ideas out there folks?

Mystics
08-20-2006, 01:12 PM
There's an option in the AdminCP to "Require prefixes". I'd left that set to OFF, which is the default when the hack is installed. I set it to "By Forum" (or whatever it says) and then went into the Forum Manager for certain forums and set it to Required = Yes there.

I DO have a legitimate issue now though (and it MAY be my own fault, but I'd welcome a little input). For threads that currently have no profix, when I go to Quick Edit, then select Go Advanced, I naturally get the error notice to Select a prefix. I do that, then click SAVE. BUT - the prefix DOES NOT GET ADDED to the thread.

This only happens on EDIT, not on post a new thread, which works perfectly. Any ideas out there folks?I noticed this too. It did work in vB 3.5. I will fix it in the next version.

Dennis Olson
08-20-2006, 02:18 PM
One feature you might also consider:

Copying the DEFAULT prefixes from a forum where they're already defined. For example, I'd defined all the prefixes for my "general" room, then had to copy/paste those into the defaults in AdminCP after-the-fact. (Redundant, yes I know, but I had my reasons.) It might be nice to have an option like:

SET DEFAULTS FROM THIS FORUM:

Which would do that automatically. This might be useful if you wanted to instantly and globally change your default prefixes.

Just a thought...

yellowbird
08-20-2006, 07:18 PM
I'm trying to install this and I *believe* I've made the correct edits. It doesn't appear to be the case though as when I click on 'Forum Tools' I don't have the 'Manage Thread Prefixes' option. Any idea where to look for the error?

Thanks!

antialiasis
08-20-2006, 10:45 PM
I have one quick question:

Have the template edits changed at all since the 3.5 version? I'm upgrading now, but not reverting all my templates (preferring to update them manually) and I'm just wondering if I have to check every one of the template edits to see if they're still the same as before or not...

marlita
08-21-2006, 12:29 AM
:ermm: *deep sigh* ok, so I thought I was paying attention when I installed this, but now I get this error when I try to read/edit/create posts:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /forum/showthread.php on line 2

Parse error: syntax error, unexpected T_STRING in /forum/showthread.php on line 2

:confused: I don't even know what parse means, let alone that whole message. Any help would be appreciated! Oh, and feel free to check out what i mean by clicking on any post at http://virginiareia.com/forum/index.php. I just hope that it didn't cause any other errors & that this one can be fixed.

Thanks!

nix
08-21-2006, 12:31 AM
open showthread.php and see whats wrong with line 2.

marlita
08-21-2006, 12:36 AM
=/ Yeah, I tried that, but I can't figure out what line 2 is... not only that, as far as i can tell, the only change i made to the showthread.php was way down low... i don't think it was line 2... any other suggestions? i'm open to them.

thanks.

nix
08-21-2006, 12:54 AM
google a program called editplus. Use that to open the file. Line 2 is just two lines down. maybe you hit a key and didn't realize it or something.

mine looks like this.

/*================================================= =====================*\

marlita
08-21-2006, 04:20 AM
:surprised: argh! so i got the original showthread, which prior to altering it for this mod, had, to my knowledge been the same. i replaced my showthread with that one, and even without making the necessary showthread changes, i was able to access my posts again... of course, i went back and made the changes and all was good... OR SO I THOUGHT! =(

Now I don't have control over my quick reply button, nor do i have access to change the font, size or color... who knows what else... within the post...

Please help!

Thank you!

PS - you may log into my forum at http://www.virginiareia.com with Username: test & password: test if you'd like. Thank you.

Mystics
08-21-2006, 02:02 PM
I have one quick question:

Have the template edits changed at all since the 3.5 version? I'm upgrading now, but not reverting all my templates (preferring to update them manually) and I'm just wondering if I have to check every one of the template edits to see if they're still the same as before or not...You should pay attention to newthread, editpost and SUBSCRIBE.
I'm trying to install this and I *believe* I've made the correct edits. It doesn't appear to be the case though as when I click on 'Forum Tools' I don't have the 'Manage Thread Prefixes' option. Any idea where to look for the error?Check your FORUMDISPLAY template.

marlita
08-21-2006, 02:08 PM
Mystics, do you have an idea as to what I may have done wrong that would have caused my quickedit & wysiwyg to stop working? my forum is located at http://www.virginiareia.com and the sign in and password are both set to 'test'. Any help is appreciated.

Thank you!

Mystics
08-21-2006, 02:08 PM
Now I don't have control over my quick reply button, nor do i have access to change the font, size or color... who knows what else... within the post..
Take a look at your file:
http://virginiareia.com/forum/clientscript/vbulletin_textedit.js

You never ever should edit php or *.js files with programs like Word - and if you have to, save it as plain text.

Take the original vbulletin_textedit.js, open it with Notepad and do the modifications again. Upload the file and be happy :)

(you might wanna check the other modified files as well...)

marlita
08-21-2006, 02:13 PM
Thank you, I will try those right now! I hope you're still online by the time I'm done lol. It's funny, I used to always use Notepad, but then I read in one of these forums that I should use Word. *sigh* live and learn.

Thanks again. I'll post soon.

marlita
08-21-2006, 02:25 PM
:D Oh, thank you so much! It worked! I'm nervous to check the others, but I know I should.

Sidenote: is it possible to have more than one prefix?

Thanks again!

PS - I've removed the test username & password.

PPS - In case this happens to anyone else: what happened to me was that somehow when I saved, it added /pars to the end of each line, probably because i was saving in rich text format. it created a mess, so nothing was working. Just make sure that this doesn't happen to you. It was a crazy pain to undo. :-)

yellowbird
08-21-2006, 03:16 PM
Check your FORUMDISPLAY template.

Any idea specifically where in this template?

Thanks... I'll take a look.

yellowbird
08-21-2006, 05:45 PM
Any idea specifically where in this template?

Thanks... I'll take a look.

Found it. Thanks mystics!

yellowbird
08-21-2006, 06:39 PM
Another question:

I see at the bottom under display options you can select to display only threads with a certain prefix. It's a great feature but I'd like to integrate it more. What code do I need to use to actually link the name of the prefix to that sort option?

So for example if the prefix was 'version 2', I want to make that 'version 2' prefix text a link so that when it's clicked on it does what the display option does and only shows threads with 'version 2' as the prefix. What code do I need to do this?

I found where the prefix is in the threadbit template and I looked that the code for the display option but I don't know how to write the code to bring pull and pass on the prefix dynamically.

Thanks in advance for your help.

Dennis Olson
08-22-2006, 03:48 PM
One more issue:

On the INDEX page (index.php), in the Last Post column, if the latest thread DOES NOT have a prefix, the prefix from whatever one HAS a prefix is used. In my screen-cap below, the thread specified does not have a prefix. However, the thread immediately under that (in the forumdisplay for that room) has the prefix "DOGS". So DOGS is shown as the prefix for the Last Post, even though it has no prefix at all.

rnmcd
08-22-2006, 04:22 PM
Mystics, can Admins force users to choose a prefix? So they don't leave it blank?

Ascor
08-22-2006, 11:50 PM
yes this is a option you can set, and different for each forum if you wish
look at the image in post one :)

Dennis Olson
08-25-2006, 05:47 PM
I really, REALLY need the EDIT to work on prefixes. Any ETA on that?

Milad
08-27-2006, 02:26 PM
I face a problem

I cann't change the prefix of any thread, when a user posts a thread I can never change the prefix, all of my attemts had failed.

Any help?

Thanks in advance.

thedvs
08-29-2006, 01:13 AM
I have the same problem, if i try to edit a thread to a different prefix, it wont change if you try via full edit

but it will change if you do thread tools > edit thread

id really prefer it if you can do it via full edit, as posters can get confused...

yellowbird
08-29-2006, 08:42 PM
Just saw the update. Is this version bug-free as far as we know then?

Mystics
08-29-2006, 08:44 PM
Just look at the version history ;)

yellowbird
08-29-2006, 08:50 PM
Great. Thanks mystics. Could you help me with my other problem? I'd like to click on the prefix name and have it show only those prefixes.

thedvs
08-29-2006, 09:55 PM
@Mystics yer brilliant dude.
all working now :) many thanks.

Mystics
08-29-2006, 11:02 PM
Great. Thanks mystics. Could you help me with my other problem? I'd like to click on the prefix name and have it show only those prefixes.Just edit the threadbit template and replace:$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]with:<a href="$sorturl&amp;threadprefix=$thread[threadprefix]">$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]</a>

bada_bing
08-30-2006, 03:25 AM
Couple questions..

Will this work on vb 3.5.3 ?
Can you choose to only display thread prefix option in certain forums only?

BlueEyesOnly
08-30-2006, 08:14 AM
danke f?rs update ;)
(thanks for update)

Mystics
08-30-2006, 09:04 AM
Will this work on vb 3.5.3 ?
Can you choose to only display thread prefix option in certain forums only?Look in my profile for a version for vB 3.5.X.

Dennis Olson
08-30-2006, 03:56 PM
Thanks for the fix!

Did you get this one too?

https://vborg.vbsupport.ru/showpost.php?p=1058016&postcount=40

Mystics
08-30-2006, 04:01 PM
I'm not able to reproduce this....are you sure you have made all modifications?

marlita
08-30-2006, 04:52 PM
I have the event-forum hack and I'm trying to get the prefix to show up when someone adds an event. Could someone please help with this?

Thanks.

Dennis Olson
08-30-2006, 06:16 PM
I'm not able to reproduce this....are you sure you have made all modifications?

Yes. I've also used previous incarnations of this mod, so I know pretty much what to expect. Note that this issue ONLY occurs in a forum that requires prefixes, and ONLY when people first start using prefixes (so many of the prefix values are still blank). Once there are several pages of threads with prefixes present, this issue no longer manifests itself.

wordup
08-31-2006, 02:23 AM
I finally got some time to install 3.6 and this hack was the first I installed. Awesome hack!!! I love it!!! But I'm still having the same problem when I had this hack installed on 3.5.4 (https://vborg.vbsupport.ru/showthread.php?t=99925&page=23)

http://img165.imageshack.us/img165/6348/untitled3kl1.png

Is there a way to center "Testing" Prefix?

There is another prefix that is longer than Testing, that's why there is space. thanks in advance!

Hades-1
08-31-2006, 02:44 PM
i hope you can tell me what i missed so i dont have to do this all over again but......

once i do the "new thread" template edit my title box goes away on all new posts, you cant insert a title at all, not to mentionthere is no prefix box either.

i can revert the template and get the title box back

whats going on?

yellowbird
08-31-2006, 05:45 PM
Just edit the threadbit template and replace:$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]with:<a href="$sorturl&amp;threadprefix=$thread[threadprefix]">$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]</a>

That's awesome, works like a charm! Thanks!

jack-d
08-31-2006, 05:50 PM
Mystics,

This seems like a great hack but one question.

To make it easier on everyone and since you already modified the code, would it not be easier to include the line numbers of the code that need to be replaced.

showthread.php has 1924 lines of code and it can be a little taxing to say the least when looking for a single line of code, coupled with the fact that it would insure that the right code was modified which in turn would cut down on the amount of replies like,:smoke: "it does not work" or :smoke: "i can't find it" etc. etc.

Keep up the excellent hacks.

jackd

showthread.php - line 1810
clientscript/vbulletin_textedit.js - lines 1730,1731,1732
includes/class_dm_threadpost.php - line 398
includes/functions_databuild.php - line 146
includes/functions_online.php - line 1624

jack-d
08-31-2006, 09:24 PM
A liitle help lease before I screw something up.

In the editpost template step 3 it states find this code-

<td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td>

and add above, this code -

<if condition="$show['threadprefix']">
<td>$threadprefixes&nbsp;</td>
</if>


Exactly where above does this code get added. The first thing above is the <tr> tag so I do not see it going there. Above that is another similar section of code... Is that to be replaced.

tr>
<if condition="$show['threadprefix']">
<td class="smallfont">$vbphrase[threadprefix]:</td>
</if>
<td class="smallfont" colspan="<if condition="$show['threadprefix']">2<else />3</if>">$vbphrase[title]:</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td>


I hope this makes sense but exactly where would this new line of code be added.

Any help would be appreciated.

jackd

Mystics
08-31-2006, 09:57 PM
Yes. I've also used previous incarnations of this mod, so I know pretty much what to expect. Note that this issue ONLY occurs in a forum that requires prefixes, and ONLY when people first start using prefixes (so many of the prefix values are still blank). Once there are several pages of threads with prefixes present, this issue no longer manifests itself.
Still can't reproduce it...have you already defined prefixes in these forums? How is it possible the latest thread has no prefix when prefixed are required for this forum?

Mystics
08-31-2006, 10:06 PM
Is there a way to center "Testing" Prefix?Hm, you can change the alignment of thread prefixes in your vBulletin settings.

i hope you can tell me what i missed so i dont have to do this all over again but......

once i do the "new thread" template edit my title box goes away on all new posts, you cant insert a title at all, not to mentionthere is no prefix box either.

i can revert the template and get the title box back

whats going on?Re-do the modifications properly.

Exactly where above does this code get added.
:confused: ??? Exactly above the line you have to find.

jack-d
09-01-2006, 12:01 AM
:confused: ??? Exactly above the line you have to find.

well i have built quite a few css pages and never inserted any code between a
<tr> and <td> tag...

this is the reason for my question....

Mystics
09-01-2006, 12:12 AM
well i have built quite a few css pages and never inserted any code between a
<tr> and <td> tag...Yeah? What about just another row!? <if condition="$show['threadprefix']">
<td>$threadprefixes&nbsp;</td>
</if>This is the code you have to insert..you don't see the <if> in the output...only the new row...

So in the end it's just:<tr>
<td></td>
<td></td>I don't see any reason why you couldn't do this...

Roverturbo
09-01-2006, 03:41 AM
I have a question about the "Show Prefix in 'Last Post' column" feature.

In order to see prefixes tagged to topic titles in index.php you need the above option on but with this option on it passes the prefix over to the next newly created thread title. (As described in the option field)

So if userA makes a thread with a [Information] prefix and then userB comes along and makes a new thread without a prefix the [Information] prefix gets tagged to this new thread even though the new thread may not be information.

I suppose this could be bypassed by forcing members to use prefixes but that is not suitable for my forum.

Is there anyway to have the prefix shown in the last post column on index.php but not get tagged to the next new thread created if it as no prefix?

P.S Good work, Easy to install and works great.

Mystics
09-01-2006, 12:27 PM
I have a question about the "Show Prefix in 'Last Post' column" feature.

In order to see prefixes tagged to topic titles in index.php you need the above option on but with this option on it passes the prefix over to the next newly created thread title. (As described in the option field)

So if userA makes a thread with a [Information] prefix and then userB comes along and makes a new thread without a prefix the [Information] prefix gets tagged to this new thread even though the new thread may not be information.

I suppose this could be bypassed by forcing members to use prefixes but that is not suitable for my forum.

Is there anyway to have the prefix shown in the last post column on index.php but not get tagged to the next new thread created if it as no prefix?I tried everything but I'm unable to reproduce this...the information in the last post column is always correct in my tests. Please post all details about this forum (prefixes in forum defined, prefixes globally defined, prefix required, userb made a new thread or just a reply to an old thread etc.) and a step-by-step instruction to reproduce this. And be sure to make all file modifications as well.

ogden2k
09-01-2006, 08:08 PM
Excellent addition, just what I was looking for. I hope this is carried on to future versions of vB.

Roverturbo
09-02-2006, 03:49 AM
I tried everything but I'm unable to reproduce this...the information in the last post column is always correct in my tests. Please post all details about this forum (prefixes in forum defined, prefixes globally defined, prefix required, userb made a new thread or just a reply to an old thread etc.) and a step-by-step instruction to reproduce this. And be sure to make all file modifications as well.

http://img240.imageshack.us/img240/3973/error11111du5dm3.jpg

The Goodbye thread was created without the [Information] prefix, But because the last prefix used in the forum was [Information] its being attached to it.

If you read the desciption of the "show prefix in last post column" option in the admincp it says:


If you enable this option the last used prefix will be shown in the Last Post column of each forum. This applies to Forum Home (index.php) and Forum Display (forumdisplay.php).


The bold part is exactly what its doing, It showing the last used prefix even if its not apart of the last thread made.

The mods installed fine, Im 100% positive.

EDIT:

Just so you know, I can not replicate the problem on demand, Its appears to just start happening after a certain period of time.

Turning the option on and off seems to fix it for a short while then it starts happening again.

orphan
09-02-2006, 09:16 AM
Hi
Great hack! Installed and works great

Its just one thing, it seems to temper with my stickys
Anyway of fixing that ?

Cheers

gavinzac
09-04-2006, 12:36 PM
I've released an Add-On for this modification:
Thread Prefixes Quick Filter (https://vborg.vbsupport.ru/showthread.php?t=125776) :)

Mystics
09-04-2006, 05:54 PM
Hi
Great hack! Installed and works great

Its just one thing, it seems to temper with my stickys
Anyway of fixing that ?

CheersCheck your template modifications again.

jack-d
09-05-2006, 04:07 PM
Hi
Great hack! Installed and works great

Its just one thing, it seems to temper with my stickys
Anyway of fixing that ?

Cheers


ihave the same problem with stickys showing up in the prefix box.
i am using the seperatre sticky hack, would this have something to do with the conflict.

i did check my template mods twice and they are exactly as specified.

jackd

Hornstar
09-14-2006, 09:17 AM
I got a question/request

Can you make some prefixes staff only applied.

As I want to make a prefix that only a staff member can apply once they have looked at the thread, so they will edit the thread and apply the staff only prefix.

Is this currently possible, if not could I request this?

Thanks.

ACIKillJoy
09-15-2006, 05:42 AM
I got a question/request

Can you make some prefixes staff only applied.

As I want to make a prefix that only a staff member can apply once they have looked at the thread, so they will edit the thread and apply the staff only prefix.

Is this currently possible, if not could I request this?

Thanks.


Having the ability for only the mods and admins to be able to apply these would be supurb. And is almost a necesity for my forums. This is a great mod... but would be a supurb one if it had an admin/mod only prefix setting.

redlabour
09-15-2006, 06:48 AM
Feature Request:

I have a Forum where we post Daily News with only 2 Prefixes (Politics and Theologics).

After a few Days we move them to their Standardcategorys where are other Prefixes more detailed are used.

Is it possible to add a Prefixselection in the "Move Thread" Dialog in future Versions of this Hack ?

Thx ....

tazB.ca
09-16-2006, 06:59 PM
/includes/class_dm_threadpost.php (Prefix within emails to moderators)

that file edit some how disabled my editor buttons

tazB.ca
09-16-2006, 07:05 PM
This Is However A Very Nyce Hack

SpankMe
09-17-2006, 12:16 AM
Anyone tried this mod with 3.6.1 yet? The search by prefix doesn't work after upgrading to 3.6.1. To test I replaced search.php with the 3.6.0 version and it worked again.

redlabour
09-18-2006, 03:38 PM
Watch this Suggestions :

English (http://www.vbulletin.com/forum/showthread.php?p=1214687#post1214687)

German (http://www.vbulletin-germany.com/forum/showthread.php?p=159491#post159491)

CypherSTL
09-18-2006, 06:05 PM
Very nice.

Is is possible to do this same thing only with Catagories, instead of threads?

Mr. Boo
09-19-2006, 05:17 PM
Is there any way of linking the prefixs so that once clicked itl reload the forum with just topics corresponding with that prefix?

Its a great hack btw, thanks alot :D

yellowbird
09-19-2006, 05:21 PM
Is there any way of linking the prefixs so that once clicked itl reload the forum with just topics corresponding with that prefix?

Its a great hack btw, thanks alot :D

I asked the same thing, see this post:

https://vborg.vbsupport.ru/showpost.php?p=1063727&postcount=50

Works well on my forum.

yellowbird
09-20-2006, 01:17 PM
I'm using version 3.6. I thought all everything was okay but now I've noticed that if I use the Advanced Thread Edit page to change the title of the thread, the title gets updated inside the thread view page itself but not on the forum index. Any idea where I can look?

Edit: is anyone else having the same problem as I am? Otherwise I'll try just re-editing the editthread template.

Nathan2006
09-20-2006, 01:24 PM
Thank you Mystics

Working great! :)

Install

yellowbird
09-20-2006, 05:24 PM
I'm using version 3.6. I thought all everything was okay but now I've noticed that if I use the Advanced Thread Edit page to change the title of the thread, the title gets updated inside the thread view page itself but not on the forum index. Any idea where I can look?

Edit: is anyone else having the same problem as I am? Otherwise I'll try just re-editing the editthread template.

Nevermind, apparently that's the default behaviour. Anyone know of a plug-in, mod, or hack for this?

GNDI
09-20-2006, 07:59 PM
Nevermind, apparently that's the default behaviour. Anyone know of a plug-in, mod, or hack for this?
wrong place to ask for this, however onless you choose the "edit thread" from the thread tool drop down menu, you want be able to edit the title beyound the post edit time specified in the "message posting and editingoptions" in you admincp

Masters
09-20-2006, 11:40 PM
Man, I installed this mod and it really messed up my forums.
I followed step by step the .php and template modifications.

Maybe an old mod was interfearing.,,

But now I cant use any links in the edit box. Meaning everything is ee for editing font, sizes, bold, italic, ect... cant click on it.

The mod also moved the descriptions (views, thread poster, replys) one column over. I reverted forumdisplay and fixed that. I still cant fix the edit option though.

gavinzac
09-21-2006, 07:37 AM
Is there any way of linking the prefixs so that once clicked itl reload the forum with just topics corresponding with that prefix?

Its a great hack btw, thanks alot :D
https://vborg.vbsupport.ru/showthread.php?t=125776

jack-d
09-21-2006, 02:02 PM
Hi
Great hack! Installed and works great

Its just one thing, it seems to temper with my stickys
Anyway of fixing that ?

Cheers
hey orphan,

any chance that you got the sticky problem fixed.i have the same problem and it is a pain....

Farcaster
09-22-2006, 02:00 PM
How does this hack integrate with a RSS bot poster? Can bots be setup to use prefixes? If a forum requires a prefix and the bot cannot be configured with one, does the post still get entered?

blankoboy
09-30-2006, 02:13 PM
Hey Mystics,

Great mod! Have you had any experience with GARS (thevbgeek.com (http://www.thevbgeek.com))? Any chance of getting this mod to play nice with GARS?

Would be more than happy to pay for a GARS license for you to get it working. ;)

dieselpowered
10-02-2006, 09:48 PM
Looks great...thanks!

Mevo
10-03-2006, 03:34 AM
Long time for install but realy good one ;)

firstrebel
10-04-2006, 02:23 PM
Won't install in 3.6.2

vbulletin_textedit.js

Code to replace not found

class_dm_threadpost.php

Code to replace not found.

Bob

paul41598
10-05-2006, 07:56 PM
n/m ;)

firstrebel
10-06-2006, 12:04 PM
Anyone got this working with 3.6.2?

Bob

PIKenPIK
10-06-2006, 06:52 PM
Anyone got this working with 3.6.2?

BobYes .... perfect :cool:

Only prob that i had was that all my prefixes of vBull 3.07 were gone after updating to 3.6.2 ...

Online today for a few hrs ... no user comments yet .. all seems 100% :laugh:

ImportPassion
10-06-2006, 07:41 PM
too bad this hack isn't supported. :(

I am trying to figure out how to add prefixes as an admin. anyone know?

LaCN
10-06-2006, 09:33 PM
I got a question/request

Can you make some prefixes staff only applied.

As I want to make a prefix that only a staff member can apply once they have looked at the thread, so they will edit the thread and apply the staff only prefix.

Is this currently possible, if not could I request this?

Thanks.Having the ability for only the mods and admins to be able to apply these would be supurb. And is almost a necesity for my forums. This is a great mod... but would be a supurb one if it had an admin/mod only prefix setting.

This is what we're looking for too :)


Also,
Colored prefixes
AND
Images as prefixes :cool:

firstrebel
10-07-2006, 06:35 AM
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!

Of these options only one file can be modified in vB 3.6.2 and that is /includes/functions_online.php. The file /showthread.php has two instances of the code to change but the installation instructions do not clarify if both need to be changed. None of the others have the code that needs modification. I hope this will be updated soon to take account of the changes from 3.6.1 to 3.6.2

Bob

AyeCapn
10-11-2006, 03:41 AM
I probably shouldn't have tried to install this so late at night...

Any thoughts on which template I screwed up to cause this to happen?

EDIT: it was the threadbit template... works like a charm now :cool:

Grazu
10-12-2006, 10:20 AM
Hi all,
does this hack works with latest vbb 3.6.2?
Thanks to Mystics! Great job that exactly fits my needs.

Janet Jackson
10-16-2006, 02:16 AM
does this hack works with latest vbb 3.6.2?
Yes, it does.

Thanks for this great add-on !

tako
10-16-2006, 08:36 AM
When I narrow search results with prefix on search.php, prefix drowdown has no effect on the results. Is it 3.6.2 issue? or just me? Or anyone has experienced same problem and have any solution?

Hexemer
10-16-2006, 08:45 AM
how hard would it be to make a "newest threads with prefix" block for vbadvanced?
Yes, that would be also interesting for me

thedvs
10-19-2006, 09:40 PM
i just have 1 question, if i upgrade to 3.6.2 from 3.6.0 will i lose all the prefixes in place from months of posts etc??

freevisio
10-22-2006, 12:57 AM
I have made step-by-step the installation, but I have this problem, please, look the attach image and helpme. I use the 3.6.2, clean installation.:cross-eyed:

Angry_Games
10-23-2006, 12:21 AM
thank you for the update!

hitmanuk2k
10-25-2006, 06:54 PM
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.

blankoboy
10-27-2006, 10:48 AM
Quick question:

Is it possible to have a different set of prefixes for each forum? For example:


Forum1 (prefix1, prefix2, prefix3, prefix4, prefix5)

Forum2 (prefix6, prefix7, prefix8, prefix9, prefix10)

etc......

Or is this the only option:



Forum1 (prefix1, prefix2, prefix3, prefix4, prefix5, prefix6, prefix7, prefix8, prefix9, prefix10)

Forum2 (prefix1, prefix2, prefix3, prefix4, prefix5, prefix6, prefix7, prefix8, prefix9, prefix10)

Is there anyone who has this installed that can confirm this?? Thanks.

Hexemer
10-28-2006, 01:35 PM
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.
Cam someone help us? :o

nix
10-30-2006, 06:13 PM
Quick question:

Is it possible to have a different set of prefixes for each forum? For example:


etc......

Or is this the only option:




Is there anyone who has this installed that can confirm this?? Thanks.

Yea you can do that.

LaCN
10-31-2006, 06:54 AM
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 :p which ain't the right way)

Also, it would be very nice to be able to use images instead of text.
:eek: 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 :o

Eq4bits
10-31-2006, 07:21 PM
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:
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

So after asking elsewhere in the vb.org forums I've tracked it down to the thread prefix modification to subscription.php particularly a 'double AS phrase',
mine looks like:
$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

and a 'clean' vb3.6.2 subscription.php looks like:
$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
so what can I do to 'fix' this so members can actually view their subscription list but we can also have the thread prefix?

MrD
11-02-2006, 12:15 PM
Hi,
When I narrow search results with prefix on search.php, prefix drowdown has no effect on the results. Is it 3.6.2 issue? or just me? Or anyone has experienced same problem and have any solution?

i think it?s a Problem of vb 3.6.2, i have the same Problem.

Eq4bits
11-02-2006, 01:28 PM
Fixed mine by changing
$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
to
$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

(just took out the 'AS title' before the 'AS threadtitle')

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.

LaCN
11-04-2006, 07:17 PM
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 :cool:

stabmyback
11-05-2006, 01:55 PM
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 >_<

rnmcd
11-06-2006, 02:06 PM
You folks do realize that Mystics doesn't support this hack and he hasn't posted here for a long time.

johnstires
11-06-2006, 04:17 PM
Can someone help me understand why my moderation column does not work for any forums unless they are using the thread prefix?

MrD
11-08-2006, 09:01 AM
Hi,
have anyone fixed the Bug with the search ?

firstrebel
11-10-2006, 03:45 PM
I have upgraded my 3.6.2 test site to 3.6.3 and have just tried to reinstall this. When I ran /prefixinstall.php and started with the file changes I got a strange result as you will see in the attachment. The replacement text is missing.

Has anyone else found this.

Or....is this an IE7 issue as I have recently upgraded that.

Bob

MrD
11-15-2006, 04:04 PM
Hi,
i think it´s a Problem of IE7

blankoboy
11-17-2006, 01:54 AM
I would really like to install this hack on my 3.6.3 board with GARS but after seeing how many issues people are having I am somewhat apprehensive.

Mystics, any chance you will come back into the fold and update/support this hack? Please atleast let us know either way. :)


* Also, does anyone know if the prefixes used in vbulletin.org are generated using this hack or perhaps some other?

4yBak
11-19-2006, 03:26 PM
Bug: If in forum ID, where turned on this hack, thread not have thread prefix so... when we browse main forum page (home page) we can see at column Last post this thread name + prefix from first thread in forum. Thread without prefix are sticky and for this thread on forum home page will add prefix from first thread in this forum that have prefix. So, on main page this hack add prefix, but currently this thread doesn't have prefix.


Future suggestions:
1) add AJAX prefix change when browse forumdisplay.php (like we can change thread title with mouse double click)
2) store all prefix names in DB. And if we rename one prefix this changes will automatically apply for all threads that have this prefix
3) ability to customize which prefixes can be used/displayed for which forums ID. It's need for faster page loading. For example: I have around 50 prefixes, but at some forum ID I will use just 2-3 prefixes and other prefixes not needed. At this moment, this hack display all prefixes and it's increase page size and page loading.

PS: I'll be happy if it be done in one of future versions of this hack :) If not, I'll must uninstall this hack and do this prefixes manually :(

chuanguyen2000
11-20-2006, 01:10 AM
problem when i install, there no step 4 and 5 below,

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

blankoboy
11-20-2006, 02:10 PM
Any of you hoping to see this mod officially to vbulletin, please come over here (http://www.vbulletin.com/forum/showthread.php?t=209389) and cast a vote!

I find this mod to be of such great use to vbulletin forums that I am saddened to see it is not being updated nor supported any longer. I wish the VB team would take it under their wing and integrate it into VB.

SwissPegasus
11-21-2006, 09:01 AM
A few days ago i update to VB 3.6.3. So i try to update also the prefix hack.
- Uploading the files is no problem.
- Install the Product.xml is also no problem.

But running the install script abort with the following error:



Warnung: main(): Unable to access /var/www/web0/html/vbTest/Admincp/prefixinstall_text.php in /admincp/prefixinstall.php (Zeile 21)

Warnung: main(/var/www/web0/html/vbTest/Admincp/prefixinstall_text.php): failed to open stream: No such file or directory in /admincp/prefixinstall.php (Zeile 21)

Fatal error: main(): Failed opening required '/var/www/web0/html/vbTest/Admincp/prefixinstall_text.php' (include_path='.') in /var/www/web0/html/vbTest/admincp/prefixinstall.php on line 21



I figure out the path is not correct.

Wrong: /var/www/web0/html/vbTest/Admincp/prefixinstall_text.php
Right: /var/www/web0/html/vbTest/admincp/prefixinstall_text.php

so what do i wrong?

in the config.php the admin cp Variable is setting to admincp in lower case, so where they get the uppercase?

cu
SwissPegasus

Edit: So, now i edit the prefixinstall.php, hardcode the path and now works.

lilfields10
11-21-2006, 02:54 PM
Can you set an image as a prefix? Similar to Something Awful?

Edit: nevermind, they just use the icons.

Genjuro-Sensei
11-21-2006, 08:34 PM
Hello,

This some kinda feature request:

- Prefixe groupe based: i mean only certain groupe may select certain prefixes.
- Per-prefixe HTML tag: i mean eatch prefixe with specific HTML tag for (ex: color) ex: red "Problem" green for "Solved"...etc

when i was in phpBB i have a mod installed with this features, so i'm wandering if u could do this

Thx a lot !!

DaNIEL MeNTED
11-22-2006, 12:48 PM
It there going to be any support for this mod?

thedvs
11-25-2006, 11:45 AM
Works great for v3.6.4, no problems at all.

Mystics
11-26-2006, 05:28 PM
2) store all prefix names in DB. And if we rename one prefix this changes will automatically apply for all threads that have this prefixAlready possible when changing prefixes via forumdispplay.php.
3) ability to customize which prefixes can be used/displayed for which forums ID. It's need for faster page loading. For example: I have around 50 prefixes, but at some forum ID I will use just 2-3 prefixes and other prefixes not needed. At this moment, this hack display all prefixes and it's increase page size and page loading.Then just define those 2-3 prefixes for those forums.

Mystics
11-26-2006, 05:45 PM
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 >_<The prefixes will be ordered and stored in the database. So it's normal that this form always shows the default options.

blankoboy
11-27-2006, 02:54 AM
Mystics, is the current version of this hack compatible with the 3.6.4 release of VB? I have been seeing posts from some saying it works with no problems on their board while others are saying the complete opposite. I realize of course there is quite a diversity of configurations and user skill level so it's hard to take anyone's word.

Can you say either way if it is fully compatible with 3.6.4 or if an update is pending? Also, any word on whether this hack may get integrated into the 'officially' VB product down the road? Thanks and keep up the great work! :)

SpankMe
11-27-2006, 06:04 AM
I did a clean install on vB 3.6.4 then installed this mod and the search by prefix still doesn't work.

blankoboy
11-27-2006, 06:40 AM
I did a clean install on vB 3.6.4 then installed this mod and the search by prefix still doesn't work.

This is the type of post I'm referring (is it not fully compatible or perhaps the installation was not fully correct, etc?). Unfortunately, not being able to implement this hack is the major roadblock for me launching my site. :cry:

*Is this very forum (vbulletin.org) using Mystics's prefix hack or their own version?

GNDI
11-27-2006, 07:12 AM
This is the type of post I'm referring (is it not fully compatible or perhaps the installation was not fully correct, etc?). Unfortunately, not being able to implement this hack is the major roadblock for me launching my site. :cry:

*Is this very forum (vbulletin.org) using Mystics's prefix hack or their own version?

the reason is, that some of the files/lines have been moved from vB you just have to do a little foot work yourself. it is working you have my promise on that. I'm using it on 3.6.4

blankoboy
11-27-2006, 07:41 AM
the reason is, that some of the files/lines have been moved from vB you just have to do a little foot work yourself. it is working you have my promise on that. I'm using it on 3.6.4

Thanks for the reply GNDI! Glad to hear that, any chance that someone might document the necessary changes so any of us having problems can hop aboard the prefix loving train too? :D

SpankMe
11-27-2006, 11:57 PM
Putting
'threadprefix' => TYPE_STR,
'prefixoverride' => TYPE_STR,

under
$globals = array(
'query' => TYPE_STR,
in search.php seems to fix the search by prefix problem.

picardtux
11-30-2006, 05:26 PM
many thx

Amenadiel
12-02-2006, 02:01 AM
Installed.

Hope to see a version that can auto edit templates... I was very afraid to break something when editing the templates and files lol.

blankoboy
12-06-2006, 02:32 AM
Putting
'threadprefix' => TYPE_STR,
'prefixoverride' => TYPE_STR,

under
$globals = array(
'query' => TYPE_STR,
in search.php seems to fix the search by prefix problem.

Is this the only change that needs to be done to make this hack fully compaitible with version 3.6.4? Can Mystics confirm on this by any chance? :classic:

Rabbitoh Warren
12-08-2006, 02:04 AM
Thanks for the mod, quite easy to install and easy to configure exactly to my liking. Would prefer to be able to set global prefixes instead of the forum-by-forum basis but I'll live with it. :)

It seems my only problem post-install of this mod is that the text/links for my similiar threads on the showthreads page are now blank. I don't need the prefixes to appear there, so any chance of getting the code I need to restore it to previous functionality?

Lyte
12-12-2006, 10:00 PM
NEVER mind... ;)

I figured it out. lol :alien:

Thanks!

Lyte

Limerick
12-16-2006, 12:31 PM
Hello All,

I'd like to know few points before installing :

- is it possible for Admin to change prefix if poster was wrong?
- or is it possible to let this hack used only by Admin (but seen by all users)?
- what happens if there is already a sticky prefix for sticky threads? Does Mystics prefix stand before or after the sticky one? (in case of no use of column, of course)

And finally, would it be hard to implement a default "Prefixed threads" button (or something about) in the navbar in order to display all these in one click while arriving on the board?

Thank you for your help.

itsid
12-19-2006, 10:26 PM
Hi Limerick,

1) Sure every Mod can change the prefix if necessary
2) That just doesn't make any sense ;) I'm afraid, you can deactivate the prefixes per forum, but not per usergroup
3) before

and finally:
in fact I don't think this is very easy, according to the changes you've made there will be differnet sets of prefixes for every forum.
You can filter searchresults by prefix, but you'll have to have a searchterm too.
To just find every thread just with a prefix would be a sql query with a huge result if not filtered by forum or searchterm or user or...

If you want to find threads with a prefix from admin control panel maybe my small add-on will help (see first-post)
but for users.... that one's useless

'sid

Limerick
12-20-2006, 06:17 PM
Hi Sid,

Thanks for your answer.

1) Ok, great.
2) That makes sense to me (or to my board, to be more accurate). In fact, it belongs to me to decide what prefix to set before thread title. It would be a way to define a thread "in course", "solved", "important", etc...
3) Humm... after would have been better...

4) (And finally... ;) ) I would need all these prefixed thread (or some of them, by type), to be pinned at the top of the forumhome (plus to their own forum). I thought I've seen a board somewhere which had such feature... but I don't remember where...

I'm going to see your add-on, :)

Thank you anyway.

cunder
12-21-2006, 02:29 PM
Its just I hef the same problem with my stickys!!
what is the solution this solve this problem please

cunder
12-22-2006, 09:06 AM
Its just I hef the same problem with my stickys!!
what is the solution this solve this problem please

Help Please:confused:

Terminatoronly
12-30-2006, 10:39 AM
Sorry for the error that i writed but i fixed it :D

Snake
01-13-2007, 05:19 PM
Is this going to work fine on 3.6.4?

KURTZ
01-13-2007, 06:25 PM
Is this going to work fine on 3.6.4?

unfortunately not :(

Terminatoronly
01-13-2007, 06:51 PM
nope i have tried and it worked 100% fine :D

blankoboy
01-15-2007, 02:55 AM
nope i have tried and it worked 100% fine :D

100% fine...are you able to use the 'search' function and select prefixes? Did you have to do anything special other than install the hack to get it to work?

dc pringle
01-15-2007, 03:44 AM
I already have this installed on my board and have added another skin to the board.

Should i 'update', reinstall or just do some template modifications to the new skin?

If just the template modifications.. what should i do? :)

PixelFx
01-18-2007, 05:40 PM
I'm slowly intergrating this with gars, having hell of a time trying to get "Post New Release" section to show prefix code, however got the rest of it working with rss so far. Taken me a few weeks on and off to get this far. For the sticky threads, its just a spacer missing, I haven't fixed it yet my self, but I'll post some code changes once I do have it working.

:D

Greggg
01-20-2007, 05:12 PM
Thanks Mystics

Snake
01-20-2007, 05:43 PM
Can anyone confirm this if it works fine on 3.6.4 please?

GNDI
01-21-2007, 07:39 AM
Take a look at my site *** Removed *** I'm running vb 3.6.4 with a lot of other modifications and it works like a charm

Snake
01-21-2007, 09:50 AM
Okay thanks, gotta install this then! :)

The Notorious
01-22-2007, 12:41 AM
Can we use this hack as a suffix also? (Adds a word after thread title)

Snake
01-23-2007, 09:08 AM
No, I'm not sure if you can do that with this hack I'm afraid.

The Notorious
01-23-2007, 05:20 PM
No, I'm not sure if you can do that with this hack I'm afraid.
Oh cuz I saw on other forums they have it, do you know if any other hack can do it?
Tnx

Spiffware
01-24-2007, 11:21 AM
i got it to work in 3.6.4 had a few errors i needed t fix but i got it working.

Spiffware
01-24-2007, 11:27 AM
ill give you a hint in the forumdisplay i had to add a <span> tag to get the tables to realign right.

Shazz
01-24-2007, 01:03 PM
Thanx
/me installs

mrkhm
01-24-2007, 01:15 PM
oh my days, works beautifully 3.6.4

ta!

TeamDevotion
01-27-2007, 02:44 PM
not sure if this has been covered already but on my forums, users use threads to "+++++" and chat and i make them put *chat* in the thread title, these usually get deleted after a while so their post count doesn't increase as a result of whoring. Can you set a certain prefix to not count posts?

Shazz
01-27-2007, 02:47 PM
Ever since this is the latest thing Ive put on the board I receive some mysql errors everyday
Only mod I have that does to it and I have over 35 Products installed mmmm..

Eq4bits
01-27-2007, 06:22 PM
not sure if this has been covered already but on my forums, users use threads to "+++++" and chat and i make them put *chat* in the thread title, these usually get deleted after a while so their post count doesn't increase as a result of whoring. Can you set a certain prefix to not count posts?
It would probably be easier to set up a sub-forum specifically for that and choose the 'no count' option for it.

bjhuang
02-02-2007, 05:01 AM
Putting
'threadprefix' => TYPE_STR,
'prefixoverride' => TYPE_STR,

under
$globals = array(
'query' => TYPE_STR,
in search.php seems to fix the search by prefix problem.

change the hook of plugin "Prefix: Get selected Prefix (Search Forums) " from "search_start" to "search_process_start" will fix it.

bjhuang
02-03-2007, 04:31 PM
any answers? the bot fails if prefixes were required.

How does this hack integrate with a RSS bot poster? Can bots be setup to use prefixes? If a forum requires a prefix and the bot cannot be configured with one, does the post still get entered?

banuchi2
02-03-2007, 10:36 PM
Can't hurt to ask....

I understand that we can set the number of prefixes to whatever number we want, i.e. 20
However, I would like to know if it is at all possible to have TWO prefix colums. i.e. 20 each or so.

I have a forum where I want members to post medical jobs. Having this THREAD PREFIX Mod allows me to put in an extra column such as STATE. However, I wanted another column such as "SPECIALTY"

So, my question is this...Can this be done?

Thanks.

banuchi2
02-04-2007, 02:53 PM
One more question....
When installing, is it normal for the "Replace it with code" box to be empty on Showtread.php and functions_online.php ??

maxicep
02-04-2007, 02:59 PM
nice reserved

Shazz
02-04-2007, 04:37 PM
nice reserved

Your reserving a post on page 12?

banuchi2
02-04-2007, 11:00 PM
Ok, figured out that it's NOT normal to empty fields. In one of my steps it shows a "find this" to be blank....and then it says, "add this above that" Above what? Anyone have any idea why this is happening?

JohnBee
02-05-2007, 12:59 PM
I installed and used this on many v3.5 forums and it worked well. However this version seems quirky. I am embarrassed to say that whenever I install it the entire post interface controls are rendered useless. (text formating, smilies, quote, code etc. ... not clickable)

Anyone seen this problem before?

*update, there was some confusion in the vbulletin_textedit.js file edits. I sorted it out - thx

JohnBee
02-05-2007, 01:43 PM
Everything seems to work as advertised(so far) :)

I was wondering... is it possible to preload a default prefix in the drop down selector upon thread creation? I set the default thread prefix but it did not include it as a default prefix.

MimeSong Erk
02-06-2007, 09:01 AM
Hello! I am enjoying your mod very much. I have a question, though, that with my limited understanding of vBulletin is pretty hard for me to figure out on my own. I would like to STOP the prefix from getting added to the browser title bar (ie. the top of the browser window). Everywhere else is fine, but up there causes some problems with the way I am using the prefixes. What do I have to take out to prevent the prefix being added there?

Thanks very much. Great mod, very handy! Bit of a beast to install >.< but worth it.

NOTE: an alternative solution that would be great would be to be able to specify images instead of text for the thread prefix. The reason I am having this problem is because my system to put images in the thread prefixes is rather complicated.

the coldfusion
02-06-2007, 06:48 PM
Thanks! It works, but i got this problem:

What's the problem?

Shazz
02-06-2007, 07:42 PM
looks like a template edit wasen't install right

JohnBee
02-07-2007, 05:15 PM
Great mode! - Is it possible to remove the prefix from the postbit title?

SCRIPT3R
02-09-2007, 04:53 PM
Mark as Uninstalled.

blankoboy
02-11-2007, 12:13 PM
Mystics, any word on this getting bundled into a future release of Vbulletin (and thus being officially supported)?? :o

flashfocus
02-11-2007, 09:59 PM
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.
Is it possible to make (as a change of the normal mod) the prefix choice required, but you can choose an empty prefix? I'dd like to make my users obligate to choose, but the may also choose an empty prefix.

Snake
02-20-2007, 08:43 AM
Mystics, first of all, great job on making this hack and I'm loving it. Though I'm having a problem here. My templates such as search_newposts are kinda messed up and that's prolly because of having the thread starter as it's own column. Here's the hack that I've installed on vB.com (http://www.vbulletin.com/forum/showthread.php?t=197265).

Could you help me out and fix this please? Would you like me to send you my templates or what?

Many thanks!

GNeRaL
02-21-2007, 05:18 PM
Great hack, thanks.

Snake
02-22-2007, 07:33 PM
Mystics, first of all, great job on making this hack and I'm loving it. Though I'm having a problem here. My templates such as search_newposts are kinda messed up and that's prolly because of having the thread starter as it's own column. Here's the hack that I've installed on vB.com (http://www.vbulletin.com/forum/showthread.php?t=197265).

Could you help me out and fix this please? Would you like me to send you my templates or what?

Many thanks!
Anyone please? :(

Snake
02-27-2007, 12:49 PM
Bump!

Sephirot
02-28-2007, 06:23 PM
In reported posts the prefix was not displayed, although I've modified class_dm_threadpost.php.

For those of you who have this problem too, here is a the plugin code that fixes this problem.

prodcut: Thread Prefixes
hook: report_send_process
title: Prefix: Display Prefix in Front of Title (reports)
if (!empty($threadinfo['threadprefix']) AND $foruminfo['allowprefix'])
{
$threadinfo['title'] = unhtmlspecialchars($vbulletin->options['prefixmarkup_start'] . $threadinfo['threadprefix']) . $vbulletin->options['prefixmarkup_end'] . $threadinfo['title'];
}

Amavisca
03-01-2007, 08:47 AM
I got this error all arround
Call to undefined function: fetch_thread_prefixes() in /home/vietshar/public_html/newthread.php(457) : eval()'d code on line 4
also this happens for search.php

PLEASE HELP!!!!

SpanishHarlem
03-14-2007, 06:10 PM
Great hack and in the process of installing it on a new forum . I have the default skin and in the editpost template when I look for this

<td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td>

It's not being found. Any idea what could be the problem?

Thank you.

mauro1947
03-15-2007, 03:50 AM
Nobody see this?:
https://vborg.vbsupport.ru/external/2011/01/24.gifNot Supported

:(
Bye!

Shazz
03-15-2007, 03:54 AM
Nobody see this?:
:(
Bye!

Yes, its on basically every mod :)

Bree
03-16-2007, 08:06 AM
*Installed* This took a while to install (I'm probably just slow) but it was definately worth the work!! I love it! Thanks so much! vB 3.6.5 Always, Bree

TheMilkCarton
03-16-2007, 08:36 AM
It took me a long time too. haha.

Any chance of somehow incorporating this with vB Event Forums mod??

The main reason I installed this was for my Events forum.. and now I can't use it. :(

I'll still enjoy this mod in other forums though. Good job!

BigJimTheLug
03-18-2007, 07:33 PM
I couldnt get it to work.

Uninstalled.

Lmao.

SpanishHarlem
03-18-2007, 10:50 PM
Yeah would have been a fantastic mod. Uninstalled!

Shazz
03-19-2007, 12:06 AM
uhh it does work :|

Brandon Sheley
03-19-2007, 03:05 AM
yup, it works fine.. I've installed it on a few 3.6.x sites ;)

BigJimTheLug
03-19-2007, 03:10 AM
I couldnt get it to work.

Uninstalled.

Lmao.

Well, it is uninstalled for now. I have midterms to take care of.
But I couldn't get it to work on the first try due to an error I received while trying to run the prefixinstall.php file.

Will try later and figure it out later too.

And of course, install later.

And of course, this is handy as I need to create "paid sticky" threads for advertising.

Cheers.

pollon
03-19-2007, 02:55 PM
I've installed it on 3.6.5 and it works great, but i have one problem on forumdisplay.
it shows all the icons of the forums (inside every category of my forum) like this:

http://immagini.p2pforum.it/out.php/i118745_errorethreadprefixes.png

while it should be like this:

http://immagini.p2pforum.it/out.php/i118747_errorethreadprefixes2.png

it's just a little problem but it bothers me. is there anybody that can help me?

SpanishHarlem
03-19-2007, 05:22 PM
uhh it does work :|

It doesn't work in 3.6.4 if you don't have the certain phrases in your template's

twgogo
03-21-2007, 06:41 AM
In vBulletin 3.6.5 Appears the mistake ~~~~~ :confused:

Shazz
03-21-2007, 01:14 PM
It doesn't work in 3.6.4 if you don't have the certain phrases in your template's

Yes it does :o , I originally installed this on 3.6.4

ggiersdorf
03-21-2007, 05:54 PM
Does this work on 3.65???

Shazz
03-21-2007, 07:43 PM
Does this work on 3.65???

* Shazz :up:

ggiersdorf
03-21-2007, 10:02 PM
anything special we need to know to get this working? Like any special or extra stuff to get it working on 3.65? or just install and play?

Defualt template

Shazz
03-21-2007, 10:20 PM
default is fine..

SpanishHarlem
03-22-2007, 05:06 AM
Yes it does :o , I originally installed this on 3.6.4

Then where do you put them if you don't have the phrases?

NoSyMe
03-27-2007, 11:12 PM
OMG! This install is some shit, sry but it is. If you copy the test in ne of your boxes for editing a template it just copying the first line of it. So you make automatically mistakes....

I got Firefix 2.0.5

cdexs
03-29-2007, 08:18 AM
very thanx, that 's staff i need !! :)

Ohiosweetheart
03-30-2007, 09:51 PM
May I ask, where are the template modification instructions?? I have the list of which templates need editing, but not the edits. They weren't in the text file in the download.

???

Ohiosweetheart
03-30-2007, 10:01 PM
Yes, its on basically every mod :)
oh it is not, lol.. There are many, many supported mods here. :)

Shazz
03-30-2007, 10:06 PM
oh it is not, lol.. There are many, many supported mods here. :)

Yes there are
Educated Guess..50% - 65% aren't since they ususally don't want to deal with the questions or suggestions :|

Ohiosweetheart
03-31-2007, 01:22 AM
I'm still looking for the template edit instructions............

Shazz
03-31-2007, 01:32 AM
Aren't they in the zip? When you run the prefixinstall.php :confused:

Ohiosweetheart
03-31-2007, 04:29 PM
not in the one I installed

Shazz
03-31-2007, 04:52 PM
not in the one I installed

I just barely installed this on a test site 10 min. ago to make sure I knew what I was talking about :)

If you have a IM Ill be happy to go over it with you

nix
04-01-2007, 01:03 AM
May I ask, where are the template modification instructions?? I have the list of which templates need editing, but not the edits. They weren't in the text file in the download.

???
They are not in the text file. You have to run

3. Open this file with your browser:

http://www.yourdomain.com/forum/admincp/prefixinstall.php

The template edits are there.

SpanishHarlem
04-06-2007, 04:31 AM
Does anyone know how I can do it in the templates when they don't have the phrases. I would really like to do this before my forum move.

TIA

Shazz
04-06-2007, 04:46 AM
When what dosen't have what phrases?

SpanishHarlem
04-06-2007, 05:07 PM
The templates that we have to edit doesn't have the templates you need to look for. I installed everything as is but when I went to edit templates certain phrases are not showing for me to even put them where they go.

rjmjr69
04-12-2007, 05:24 AM
The templates that we have to edit doesn't have the templates you need to look for. I installed everything as is but when I went to edit templates certain phrases are not showing for me to even put them where they go.

You mean to say that you can not find the search text? where its telling you to do the edits? What I usually do is just search a PIECE of the text and see if it comes up sometimes a LINE "enter" space will throw off the search to. I try making everything on one line or at least no huge amounts of empty spaces.
So basically take say half the line search for that see if it pops up where it should and match as much of the text as you can then do your edit there. Good luck


Does this use queries?

AzzidReign
04-12-2007, 10:12 PM
Ok, I've got this installed and working fine...somewhat.

When I delete a post from a "private" forum, I get a white page but the thread still gets deleted. So it's not forwarding me to the proper forum after deleting. I can delete threads in public forums with no problem.

I'm running vBSEO, so I'm thinking there may be some conflict with that and how things forward/rewrite, etc. Anyone know of a fix for this...since I know the author isn't supporting this anymore...sadly enough.

Fixed with the new version of vBSEO.

Red Spider
04-14-2007, 08:45 PM
Nice mod, but im not installing - cant be bothered and dont feel happy modding all the vB files

COBRAws
04-16-2007, 03:49 AM
Next version/release should include this "mod": https://vborg.vbsupport.ru/showthread.php?threadid=144982

redlabour
04-16-2007, 06:08 AM
Please include this at Update : Change Threads Prefix Inline (https://vborg.vbsupport.ru/showthread.php?threadid=144982)

pxd
04-16-2007, 09:38 AM
Fantastic hack. Cheers!

dbirosel
04-19-2007, 07:40 PM
how do i remove the Prefix Category from the New Posts?

Mecho
04-21-2007, 12:24 PM
Please include this at Update : Change Threads Prefix Inline (https://vborg.vbsupport.ru/showthread.php?threadid=144982)

That would be great .. Thanks for idea . hope he accept :)

IAWBody
04-21-2007, 05:07 PM
Man that was fun to install.... :erm:

I got-r-done though. Thanks for this! :D

blankoboy
04-23-2007, 05:23 AM
This ranks in my top 5 for all time best vBulletin mods but sadly Mystics no longer updates it. :( The current version requires quite a bit of tweaking to get it working correctly. It would be fantastic if he were to come back and update it to resolve this matter and add the few tweaks that others have introduced.

Even better, of course, would be if Jelsoft officially integrated it into vBulletin itself! :up: ;)

4x4 Mecca
04-28-2007, 10:29 PM
I don't know if this is related, but after installing this mod, if I click edit on any post, the quick edit opens fine, but if I "go advanced" i get an "Internet Explorer cannot display the webpage" error, then if I just click refresh on the error page, the advanced edit loads.
Edit
I found out its the class_dm_threadpost.php edit that does it

$threadinfo['threadprefix'] = unhtmlspecialchars($this->table == 'thread' ? $this->fetch_field('threadprefix') : $this->info['thread']['threadprefix']);
if (!empty($threadinfo['threadprefix']) AND $foruminfo['allowprefix'])
{
$threadinfo['title'] = $this->registry->options['prefixmarkup_start'] . $threadinfo['threadprefix'] . $this->registry->options['prefixmarkup_end'] . $threadinfo['title'];
}

I'll search this post for a solution.

DJLy5y
05-02-2007, 12:27 AM
Good idea will be add option that admins or mods can only change prefixes or they will have restricted ones only for them. So simple users will be not able to use them. Dunno if that allready exist.

Btw have a problem with the code it says:

Find:
<td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td>

Replace:
<if condition="$show['threadprefix']">
<td>$threadprefixes&nbsp;</td>
</if>

I have:
<td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="$vboptions[titlemaxchars]" tabindex="1" title="$vbphrase[optional]" /></td>

Next on is:

Find:
<td class="smallfont" colspan="3">$vbphrase[title]:</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td>

Change:
<if condition="$show['threadprefix']">
<td class="smallfont">$vbphrase[threadprefix]:</td>
</if>
<td class="smallfont" colspan="<if condition="$show['threadprefix']">2<else />3</if>">$vbphrase[title]:</td>
</tr>
<tr>
<if condition="$show['threadprefix']">
<td>$threadprefixes&nbsp;</td>
</if>
<td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td>

I have:
<td class="smallfont" colspan="3">$vbphrase[title]:</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="$vboptions[titlemaxchars]" tabindex="1" /></td>

In result i get this kind of weard stuff see picture all topics are above the borders this :down:

Razin
05-06-2007, 05:34 PM
Work it on 3.6.5???

4x4 Mecca
05-06-2007, 05:54 PM
I've made a template edit here (https://vborg.vbsupport.ru/showthread.php?t=146559) that allows the users on the forum to choose how they want to display them within the forum display. They can choose column, inline, or off.

redlabour
05-13-2007, 08:37 AM
Uninstalled since 3.6.6 - to much work after every Update. Waiting for a Product that takes the Templatechanges.

LeeCHeSSS
05-14-2007, 08:19 AM
Hmm, if Mystics does not update this to use automatic template changes, I can create it (it's relatively easy to do).

redlabour
05-14-2007, 08:54 AM
Hmm, if Mystics does not update this to use automatic template changes, I can create it (it's relatively easy to do).

Sounds nice - maybe you want to contact him via PM to discuss this?

Shazz
05-14-2007, 01:08 PM
Uninstalled since 3.6.6 - to much work after every Update. Waiting for a Product that takes the Templatechanges.

LOL
Yes indeed that is very true

redlabour
05-14-2007, 01:12 PM
LOL
Yes indeed that is very true

;)

Yepp - Filechanges are done in 2 Minutes every Update ... but now at 3.6.6 after i see the Templatechanges again ....... :eek:

And i have my Board full of Products - but Threadprefix is the only one with more than 2 small Changes. Hope for a Update that uses the Hooks.

proxx
05-16-2007, 08:21 AM
I have installed the 3.6.7
Then re-applied the template changes on the templates that were reverted.

Now the prefixes are not showing on FORUMDISPLAY

does anyone know how to fix it ?

Jelmertjee
05-16-2007, 06:31 PM
yeah... this is quite annoying, some other mods work far better with version changes.. anyway, a product would be greatly appreciated instead!

harley_m
05-17-2007, 10:47 AM
I have a question I could really use some help on, as I am about to launch an update to my site with a whole new forum/site and would love to be able to take full advantage of the thread prefix system I have installed

I am using thread prefixes to warn of content that could upset people (I run a support forum) and it would be exceedingly useful to be able to filter results in a forum knowing all the results were safe to read. Members could before prefixes just manually place the prefix in the thread title, but if this system could allow them to steer clear of threads that they do not want to see, then this brings a whole new aspect to things.

With thread prefixes you already get a filter box, but that searches for threads with a prefix, not threads without.

Would there be any way of modifying that filter box (or putting another next to it) that would allow my members to exclude all threads for displaying that had a certain prefix?

If it requires work I would be willing to pay for it, but we are non profit so it couldn't be masses

Thanks so much

Harley

redlabour
05-17-2007, 08:24 PM
yeah... this is quite annoying, some other mods work far better with version changes.. anyway, a product would be greatly appreciated instead!

So join and request it as Default :

vBulletin Suggestions and Feedback Poll of Thread Prefixes from Mystics (http://www.vbulletin.com/forum/showthread.php?t=162215)