PDA

View Full Version : Thread Prefixes


Pages : [1] 2

Mystics
11-01-2005, 10:00 PM
Thread Prefixes

Version: 1.5.5
vBulletin Version: 3.5.4
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.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

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 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 (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.php
3. Templates that need to be edited:

editpost
FORUMDISPLAY
forumdisplay_announcement
newthread
search_forums
search_results
SUBSCRIBE
threadadmin_editthread
threadbit
threadbit_deleted
4. New templates:

threadprefix_listbit
threadprefix_modify
5. New phrases:

Too many to list them all - they will be created automatically while importing the xml 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

DrewM
11-02-2005, 07:34 PM
Thank you clicked install

RMS-Chef
11-02-2005, 07:45 PM
Great addon. I am currently staying away from file edits but I will definitely click install to keep an eye on this in the off chase you can eliminate the file edits in the future. Thanks again.

Mystics
11-02-2005, 07:49 PM
Great addon. I am currently staying away from file edits but I will definitely click install to keep an eye on this in the off chase you can eliminate the file edits in the future. Thanks again.
You will always have to edit the /clientscript/vbulletin_textedit.js file :)

But ok, that's just for the JS error message if you didn't select a prefix - so it's not really necessary.

gael11
11-02-2005, 07:49 PM
Very usefull mod !!! Thanks very much !

Cyricx
11-02-2005, 08:05 PM
Awesome!!!! So happy to see this ported, thanks so much for your work!! :)

gael11
11-02-2005, 08:22 PM
I think there is a problem while editing files at step 4.
I have to edit the file called editpost.
I have to search for:

<form name="vbform" action="editpost.php" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>

but impossible to find it :(

Mystics
11-02-2005, 08:25 PM
I think there is a problem while editing files at step 4. This code is in the template editpost. All modifications in step 4 are template modifications.

Snake
11-02-2005, 08:29 PM
Oh thanks for the hack!

gael11
11-02-2005, 08:36 PM
This code is in the template editpost. All modifications in step 4 are template modifications.

Ooops excuse me, I'm tired lol

michaelbenson
11-02-2005, 08:37 PM
Excellent, been waiting so long for this
/me installs.

nexialys
11-02-2005, 08:43 PM
/me think to remember to note to tag this thread and hug Mike for this update!

DrewM
11-02-2005, 08:48 PM
I have one problem the prefix isn't showing on the forum but it will in search results?

Is there any thing I should do?

Mystics
11-02-2005, 09:04 PM
I have one problem the prefix isn't showing on the forum but it will in search results?Hm, are all plugins active? Did you make all modifications correct? Did you select the correct style?

TTG
11-02-2005, 09:06 PM
Inporting product on 3.5.1 produces this error :-

Fatal error: Call to undefined function: fetchtableinfo() in /usr/home/techguys/public_html/forum/admincp/apm_product.php on line 1467

Mystics
11-02-2005, 09:08 PM
Inporting product on 3.5.1 produces this errorTry disabling the "APM Product". You can re-enable it after importing the threadprefix file.

DrewM
11-02-2005, 09:19 PM
Hm, are all plugins active? Did you make all modifications correct? Did you select the correct style?
I have the right style,plugins active, and i did ever thing in the install.

Mystics
11-02-2005, 09:24 PM
I have the right style,plugins active, and i did ever thing in the install.Send me an admin account via pm and I will take a look tomorrow.

marc_t
11-02-2005, 09:41 PM
Hi,

nice to see that you are thaaaaat damn fast and already have this for 3.5.0. I just want to know before installing:

Do I have to uninstall the hack I installed at 3.0.7? Or can I just install this over the old installation (as my database with already made prefixes shouldbe kept for the new plugin)

Thanks alot,
marc

PS: Its always better to first read and than ask - already got my answer that it is possible to upgrade. Any problems known?

TTG
11-02-2005, 10:03 PM
Try disabling the "APM Product". You can re-enable it after importing the threadprefix file.


All edits done .. re-enabled product.

Additional blank check box in forum tools dropdown .. using it produces sql error.
No options in admincp .. no additional options for editing forums.

marc_t
11-02-2005, 10:06 PM
Another question:

Log in as administrator and select the version you want to update from (at Step 2 -> 'Update Product') and follow the instructions.

I dont have this point. Anything I made wrong? Followed the steps until this.

ThePimp
11-02-2005, 10:41 PM
I'll install when it doesn't have any edits.

FleaBag
11-02-2005, 10:48 PM
Try reading previous posts pimp. ;)

Great hack, I never installed this on 3.0.x because of all the edits, this is a fantastic port - thanks! :)

ThePimp
11-02-2005, 11:46 PM
Try reading previous posts pimp. ;)

Great hack, I never installed this on 3.0.x because of all the edits, this is a fantastic port - thanks! :)

I'm too lazy. :) lol

It does look like a good addition though. I tried install, but the instructions didn't work for me, as I have some modified templates and didn't feel like spending a couple hours reworking my templates to get it to work.

Daniel
11-03-2005, 12:29 AM
I can't find

<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]">

in my threadbit ...

Omega Prime
11-03-2005, 01:55 AM
Yes!! I've been waiting for this hack to be ported over since I upgraded to 3.5!! Now I feel more complete at my forum (and I was able to keep my previously prefix'd threads, too) :D

* Omega Prime clicks install

Markco
11-03-2005, 06:49 AM
I have an error by creating the prefixes

Warning: main(/includes/adminfunctions.php) [function.main]: failed to open stream: No such file or directory in /threadprefix.php on line 200

Fatal error: main() [function.require]: Failed opening required '/includes/adminfunctions.php' (include_path='.:/usr/local/lib/php5') in /threadprefix.php on line 200

Dadoo
11-03-2005, 06:52 AM
Hello !!

great hack i think..

but i found an error on threadprefix.php file, line 200

(so, in reality i'd this error in vbulletin when i attempt to add prefixes, and once time "." behind /includes is deleted, all works !)

require_once(DIR . './includes/adminfunctions.php');


ANd second error, when i validate news prefixes, i have this error message :

Could not find phrase 'updateprefixes'.


Can you help me..?

Thanks you !

gael11
11-03-2005, 07:16 AM
I don't know if I do a mistake but look this:
Under Firefox
http://www.image-dream.com/up/mini/1131009909-ff_screen.jpg (http://www.image-dream.com/image.php?image=1131009909-ff_screen.jpg)

And under Internet Explorer:
http://www.image-dream.com/up/mini/1131009988-ie_screen.jpg (http://www.image-dream.com/image.php?image=1131009988-ie_screen.jpg)

I will try to check my templates :ermm:

EDIT: oops, finally I have deleted ">

Odysseus
11-03-2005, 12:48 PM
Ah, finally. :)
Mystics, thanks for sharing!

thalamus
11-03-2005, 01:09 PM
Brilliant modification, had it on 3.0.x now got it for 3.5.0 and about to install...

Just a few questions if I may...

a) Is it very involved to be able to add a colour scheme to the <td> for each category/prefix that's set up (for instance, 'Problem' is black font on green, 'Urgent' is white font on red etc.)?
b) How difficult would it be for subsequent posters to be able to change the prefix with their new posts rather than having a mod or admin to go in and keep editing the first post of the thread?

Mystics
11-03-2005, 04:29 PM
I dont have this point. Anything I made wrong? Followed the steps until this.That's only for future updates (more template edits etc.). 1.5.0/1.5.1 are the first versions for vBulletin 3.5, so there is nothing to update yet. vB 3.0.x Thread Prefixes will be imported automatically...just follow the install instructions.I can't find in my threadbit ...Revert to Original...it's there.but i found an error on threadprefix.php file, line 200

ANd second error, when i validate news prefixes, i have this error message : @Markco & @finereader

Update to 1.5.2 :)

@thalamus

Sorry, both is not possible in this version.All edits done .. re-enabled product.

Additional blank check box in forum tools dropdown .. using it produces sql error.
No options in admincp .. no additional options for editing forums.Works fine for me. It seems you even can't import the product successfully, I don't know why.

marc_t
11-03-2005, 06:19 PM
Thanks. Will check this.

jluerken
11-03-2005, 06:39 PM
Hi Mystics,

I've installed version 1.52 and as far as I could test it everything works fine.
Thanks for this great hack.

One additional question.
I installed this hack in english but I also want to have the german phrases.

How can I install the english AND german phrases to have both?

Mystics
11-03-2005, 07:28 PM
How can I install the english AND german phrases to have both?I don't think this can be done automatically. The product system doesn't support this.

jluerken
11-03-2005, 07:36 PM
I don't think this can be done automatically. The product system doesn't support this.

Can you then provide me with a list of phrases belonging to the prefix hack so that I can translate them one by one manually? :-(

Mystics
11-03-2005, 07:45 PM
Can you then provide me with a list of phrases belonging to the prefix hack so that I can translate them one by one manually? :-(Just open the XML-file (product-threadprefix_deutsch.xml) with a text editor and scroll down to <phrases>.

havefun
11-03-2005, 08:18 PM
/me clicked install

everything worked fine. THX!

Mijae
11-03-2005, 09:23 PM
Excellent.

Anyway to have images instead of text?

Mystics
11-03-2005, 09:57 PM
Anyway to have images instead of text?Hm, no. Why don't you use post icons?

Markco
11-03-2005, 10:00 PM
@Markco
Update to 1.5.2 :)
Excuse me but I use version 3.50
I cannot use the plugin 1.5.2

akanevsky
11-03-2005, 10:58 PM
Great hack, installed.

Wolf42
11-03-2005, 11:15 PM
Thank you Mike! You did it again. Couldnt go to sleep before finish install that hack.

I love this hack couse I'm using it since vB 2.2.x! :D

I would vote this hack for a Hack of the month!

Wolf42
11-03-2005, 11:16 PM
Excuse me but I use version 3.50
I cannot use the plugin 1.5.2
1.5.2 is the version of the hack and not of the vB-version!!

evenmonkeys
11-04-2005, 01:56 AM
Very nice! Thank you! Is it possible to do this with plugins? I'll install either way.

Markco
11-04-2005, 04:23 AM
1.5.2 is the version of the hack and not of the vB-version!!Excuse me I see well that : Version: 1.5.2 (vB 3.5.1) / 1.5.0 (vB 3.5.0)

Mystics
11-04-2005, 06:01 AM
Excuse me but I use version 3.50
I cannot use the plugin 1.5.2Import v1.5.0 again. It has been updated as well.Very nice! Thank you! Is it possible to do this with plugins?What do you mean? I have used all possible hooks. All other file and template modifications have to be done because there are no hooks for it.

Wasim
11-04-2005, 08:21 AM
Any way we could have different colors for different Prefixes? Such as RED for NSFW?

Wired1
11-04-2005, 12:53 PM
FYI you can make your own hook locations. Still requires file edits of course, but only one liners.

Markco
11-04-2005, 01:34 PM
Import v1.5.0 again. It has been updated as well
Ok thank you ;)

jokerz
11-05-2005, 05:10 AM
Hi Mike,
Note: If you have used the Thread Category / Prefix Hack in vBulletin 3.0.x, don't worry: all existing prefixes will be imported. You just have to re-do your threadprefix settings in your vBulletin Options.
I'd like to ask you first before I download this hack. I have used Thread Category Hack in vBulletin 3.0x so should I follow the 'UPDATE PRODUCT' instead of 'INSTALLATION' (in your description first post)?

Cheers.

MaTraX
11-05-2005, 08:30 AM
Great modification. I`ve been waiting for it since the 3.5 rc1 :D
Installed of course :)

Mystics
11-05-2005, 10:54 AM
should I follow the 'UPDATE PRODUCT' instead of 'INSTALLATION'?No, you have to do a normal installation.

jluerken
11-05-2005, 02:05 PM
Mystics it would be nice to have the following AJAX Change for your Hacks.

If a thread has a prefix a double click should open a drop down list with all prefixes available in this forum so that you can change it on the fly.

Actually I have to edit
- open thread
- edit thread
- change category

Doing this with ajax would be much faster or? :-)

jokerz
11-06-2005, 03:57 AM
Do you have uninstall instruction from the old 3.0x? You can PM me or post here.
I upgraded 3.0.7 to 3.5.1 - I used this hack in 3.0.7 and you had variable [threadcategories] and now the new one is [threadprefix]. I may have still [threadcategories] in some templates.

This is very less to modify files/templates than the old version. Good job

jokerz
11-06-2005, 07:45 AM
You know sticky thread like rules. I edited my post and kept asking me to select the threadprefix.

"Please select an appropriate thread prefix from the drop down list beside the subject field."

I tried to change the setting and still not work. So I clicked 'no' in prefix required and turned it back on. Can you please tell me which setting that I can leave prefix in blank instead select prefix for me as adminstrator.

Mystics
11-06-2005, 03:21 PM
Do you have uninstall instruction from the old 3.0x? You can PM me or post here.All new phrases/settings/templates of the old hack will be automatically deleted during the installation of the new version. If you still have templates from 3.0.x you have to search for "threadcat" to see if you still have the old modifications in there. You also can take a look in the file categoryinstall_text.php from the old hack.Can you please tell me which setting that I can leave prefix in blank instead select prefix for me as adminstrator.There is no setting for this.

Hm, should I exclude admins always from this? Maybe I will change it in 1.5.3.

AxEsLoCkEd
11-06-2005, 04:33 PM
is it possible to convert this for a language system (like there will be English German French) and a user field on profile options page and at registration pages that will allow the member to choose which language he/she wants to view lets say if someone does only know german end french than they will be able to filter english posts, if someone only knows english than they will be able to filter german and french ?

Alien
11-06-2005, 06:49 PM
I'd love to use this WITH images instead as previously mentioned by another member...

I'd like to maintain the existing post icon layout and functionality, and just add this as an ability inside our news forum to display an icon showing the category of news it is and display that on forumdisplay in ADDITION to the post icons. Any tips? I can't insert html for the image inside the admincp field for naming your prefix?

The Wise One
11-07-2005, 09:49 AM
just what i was looking for. very nice. installed.

jokerz
11-10-2005, 05:17 AM
Hm, should I exclude admins always from this? Maybe I will change it in 1.5.3.

Yeah that would be great. I'll take a look in old modifications to search for threadcat. Cheers.

Mastar
11-15-2005, 04:39 PM
Nuff work but good hack. THanks!

Trovador
11-16-2005, 01:08 PM
Hello, I have a problem in my boards:


Fatal error: Field lastthreadprefix is not defined in $validfields in class vb_datamanager_forum in /includes/class_dm.php on line 485


The line is class_dm.php is:


trigger_error("Field <em>$fieldname</em> is not defined in <em>\$validfields</em> in class <strong>" . get_class($this) . "</strong>", E_USER_ERROR);


This error appear when deleted, edit, move pots.

What error is this?

Anyone can help me? Thanks

Mystics
11-16-2005, 03:06 PM
This error appear when deleted, edit, move pots.Works fine for me. Check the hook forumdata_start. It should be enabled and contain:$this->validfields['allowprefix'] = array(TYPE_BOOL, REQ_NO);
$this->validfields['prefixrequired'] = array(TYPE_BOOL, REQ_NO);
$this->validfields['lastthreadprefix'] = array(TYPE_STR, REQ_NO);

Trovador
11-16-2005, 05:21 PM
Thanks, I already fixed the error.

cbr929rrerion
11-18-2005, 01:46 AM
This may sound wierd but since I installed this hack, which it works great.. now my smilies and editor stuff like bold, center, etc dont work and I get an error if I have debug on and click to send a pm to a new user..

any ideas?

Can you take a look? I can provide you with full access to my site if you can..

cbr929rrerion
11-18-2005, 03:07 AM
I found out what is causing my smilies to not work, I un-installed the hack and deleted the mods to the vbulletin_textedit.js file and its all fixed.. Not sure if I edited it wrong to start with or if there are issues...

FleaBag
11-18-2005, 01:16 PM
OK! A few points and a question...

With regard to the AJAX forumdisplay editing of threads, this would really be appreciated, I'm in the process of editing all existing threads in certain forums to add a prefix for a more uniform outlook - but it's getting very tiresome. ;)

The ability for admins not to have to choose a prefix would be nice also... For instance I have a 'For Sale or Wanted' forum, where the prefix for a post would be either, you guessed it, 'For Sale' or 'Wanted'... But my rules thread for this forum are neither For Sale nor Wanted. ;)

Admin only prefixes would also be nice... For example, as mentioned above I have a trading forum, but I would like to be able to change threads to 'Sold', but not allow users to be able to select this prefix themselves.

I've just upgraded from vB 3.5.0 to 3.5.1. Obviously my file edits are now missing. Do I just go ahead and use the install process? If this is the case wouldn't running the install file wipe my exiting prefixes - and this is the only way I can view the nexessary file edits?

Thanks for the hard work guys. :)

john1744
11-19-2005, 06:32 AM
Something I'd like before I installed would be the ability to change the html markup of certain prefixes. Say a NSFW one could be red, while an announcement could be Yellow. Something like that. :)

Great hack, and I look forward to installing soon.

john1744
11-21-2005, 05:06 AM
One more feature that would be awesome, would be the ability for mods and admins to have certain prefixes that only they could use. So you could label a thread a crap post or something.

john1744
11-21-2005, 06:25 AM
Any idea what could be causing the following when trying to make its own column?

Exernon
11-23-2005, 04:16 AM
vBulletin should add this to their default product!

Most useful hack yet...

Thanks!

sensimilla
11-23-2005, 12:28 PM
its a pity it requires file edits.... I will wait until any other solution..

great hack anyway! thanks for it

tommykjensen
11-23-2005, 12:47 PM
I hope this someday will be possible without code edits to the original files.

tommykjensen
11-23-2005, 02:10 PM
Question.

How many phrases do I need to change if I want the word "Prefix" on the public pages to say "Version" instead? (Installed this in a forum that deal with software and I use the prefix to indicate software version number).

tommykjensen
11-23-2005, 03:04 PM
Suggestion:

How about adding a second prefix with an option to let those prefixes be dependant on the first prefix?

In the screenshot sample provided You have a couple prefixes for different versions of vBulletin. With an extra prefix You could create one primary prefix "vBulletin" and a couple secondary prefixes designating the version numbers.

john1744
11-24-2005, 05:23 AM
Any idea what could be causing the following when trying to make its own column?

Anyone have any idea why putting the prefixes in their own columns affects the stickies?

FleaBag
11-27-2005, 02:04 PM
OK I didn't realise that the install file lets you view file/template changes. ;)

Nice work! I seem to have 2 prefix dropdown boxes when editing a thread though. Gonna look into that now...

EDIT: OK I've rooted through the templates and can't find the problem... When creating a new thread only 1 drop down is shown, but when editing 2 are shown [as shown below]. The first one has no effect, while the second works correctly.

Mystics
11-27-2005, 02:38 PM
Nice work! I seem to have 2 prefix dropdown boxes when editing a thread though. Gonna look into that now...Your threadadmin_editthread template is correct?

FleaBag
11-27-2005, 02:40 PM
Hey, thanks for the heads up. I was combing through edithread over and over. Didn't even think to go there. I had duplicated the edits for the template, must have been itchy trigger finger! Everything's working 100% now, thanks for the support Mystics. :)

Here's a demo of it in action. (http://www.dragonninja.co.uk/forum.php?f=59)

akanevsky
12-10-2005, 08:25 PM
Very nice hack.
How about multiple prefixes in a forum?

DrewM
12-10-2005, 08:58 PM
Very nice hack.
How about multiple prefixes in a forum?
Mystics could you make multiple selection?

akanevsky
12-10-2005, 09:00 PM
No,... I meant multiple choosers - each with different types of categories. :)
This could be easy if you made a table where those categories would be stored. And if those categories would be saved each on separate line. That way they would be unlimited amount of choices and categories in every forum..

shadow187
12-19-2005, 10:31 PM
Brilliant modification, had it on 3.0.x now got it for 3.5.0 and about to install...

Just a few questions if I may...

a) Is it very involved to be able to add a colour scheme to the <td> for each category/prefix that's set up (for instance, 'Problem' is black font on green, 'Urgent' is white font on red etc.)?
b) How difficult would it be for subsequent posters to be able to change the prefix with their new posts rather than having a mod or admin to go in and keep editing the first post of the thread?

Great Hack man , INSTALLED IT and LOVED IT..

Just one questian? is their coming an update out soon with the above giving points, cause that would be very usewell...

Regards

Shadow

Mr Chad
12-20-2005, 02:07 PM
Any way to just remove the collum and put it infront of the title. Like this site.

konabiker47
12-21-2005, 08:59 PM
When i go to select a prefix when making a new thread it says, "Please select an appropriate thread prefix from the drop down list beside the subject field." The thing is that i did do what it said. I must have made an error, where could it be?

jokerz
12-24-2005, 10:36 AM
When i go to select a prefix when making a new thread it says, "Please select an appropriate thread prefix from the drop down list beside the subject field." The thing is that i did do what it said. I must have made an error, where could it be?

That's odd. Did you select a prefix or you leave them as blank? If you want users to select a prefix rather than leave as blank, turn 'required' on in admincp thread prefix.

akanevsky
12-24-2005, 06:26 PM
Well are you going to implement my suggestion or not? Because if not I'll have to make and release my own prefixes hack... :(

john1744
12-27-2005, 07:29 AM
In my ACP it is now saying that the templates I edited are now out of date?

Odd.

I've installed this before with no issue like that.

Lamby1973
12-27-2005, 08:39 AM
Hiya i installed this, but now when i go to moderate threads etc i get this error message


Fatal error: Existing data passed is not an array
Called set_existing in /usr/local/psa/home/vhosts/napuk.co.uk/httpdocs/forum/includes/class_dm_threadpost.php(1234) : eval()'d code on line 25
Called eval in /usr/local/psa/home/vhosts/napuk.co.uk/httpdocs/forum/includes/class_dm_threadpost.php on line 1234
Called delete in /usr/local/psa/home/vhosts/napuk.co.uk/httpdocs/forum/postings.php on line 392
in /includes/class_dm.php on line 235


Cheers

Lamby

jarod1981?
12-28-2005, 12:16 PM
Great Hack!

It's work also on Vbulletin 3.5.2?

Thanks!

klaush
12-28-2005, 02:04 PM
Great Hack!

It's work also on Vbulletin 3.5.2?

Thanks!

Yes! I installed this night without any problems on 3.5.2.

There are some templates to edit, so you only have to be careful to do the neccessary changes in there.

jarod1981?
12-28-2005, 03:01 PM
Hi Klaush!

Very thanks :rolleyes:

bing11
12-29-2005, 04:15 AM
so nice thank you

Lamby1973
12-29-2005, 09:04 AM
No ones answered my problem yet, and with threads to moderate, its getting kinda hard!

Mystics
12-31-2005, 01:28 PM
Hiya i installed this, but now when i go to moderate threads etc i get this error messageWorks fine for me. Please tell me exactly what you are doing, step-by-step.

Lamby1973
01-01-2006, 09:29 AM
what it says in the instructions to do....i followed them step by step....will go abck over and check now, see if there was anything i missed out!

Mystics
01-01-2006, 10:40 AM
what it says in the instructions to do....i followed them step by step....will go abck over and check now, see if there was anything i missed out!I meant how you moderate threads etc. and when exactly you get the error.

shadow187
01-03-2006, 08:12 PM
Great hack man, like i said it before,

just some questians ?

How difficult would it be to have different colors for every specific prefix you define it a forum ??
And would it be possible to change the thread prefix in forumdisplay page than rather editing every thread seperate ?
Or change the prefix in the quick reply box ??

Would that be hard to do ??

Any help would be awsome

Thanks in advandce

Shadow

firstrebel
01-03-2006, 10:11 PM
Worked first time on my 3.5.2 dev site. Will get around to installing on the live site tomorrow. Great hack

Bob

websiteicons.co
01-03-2006, 11:20 PM
Greatest hack ever, but i have a small problem:

I have installed everything exactly as described in the install file and everything is actually working correct. But for some reasen the prefix doesn't show up on the forumdisplay page.

- Board version: 3.5.2

What is wrong?

shadow187
01-08-2006, 04:02 PM
Great hack man, like i said it before,

just some questians ?

How difficult would it be to have different colors for every specific prefix you define it a forum ??
And would it be possible to change the thread prefix in forumdisplay page than rather editing every thread seperate ?
Or change the prefix in the quick reply box ??

Would that be hard to do ??

Any help would be awsome

Thanks in advandce

Shadow

ANy News please ????

PIKenPIK
01-09-2006, 01:42 PM
Couldn't live without this hack ... Just now I can update my forum vB 3.07 to 3.5.3 :rolleyes:

All installed and works linke a charm!

2 minor questions:

The title in threadview is now:
Prefix - NameOfTheTitle
I want to change that into:
(Prefix) NameOfTheTitle

I changed in class_dm_threadpost.php:$threadinfo['title'] = $threadinfo['threadprefix'] . ' - ' . $threadinfo['title']; into$threadinfo['title'] = ($threadinfo['threadprefix']) . $threadinfo['title'];or$threadinfo['title'] = '(' . $threadinfo['threadprefix'] . ')' . $threadinfo['title']; but both ways didn't work :disappointed: Do you know a (other) way?

2nd) On the forumindex (home) the latest post is shown as an URL with the Prefix in it:
Like: Prefix - This Is The Latest Post (http://www.grmbl.com)
I would like to show there the Prefix with the link next to it:
Like: (Prefix) This Is The Latest Post (http://www.grmbl.com)

Hopefully you can give two nice answers ;)


XXX
PnP

marc_t
01-09-2006, 01:48 PM
As far as I know you can change this at the admin cp. You've got a field where you can define how this looks like. I think <strong>{1}</strong> was standard. The {1} is for the prefix itself and the rest is changeable...

PIKenPIK
01-09-2006, 02:12 PM
As far as I know you can change this at the admin cp. You've got a field where you can define how this looks like. I think <strong>{1}</strong> was standard. The {1} is for the prefix itself and the rest is changeable...Thanks I know :)

The title in the threadview can then me made as:
(Prefix) - NameOfTheTitle
But still with the '-' in it. More worse: The Prefix will be shown the same way in the colomn of forumview.
So that's not he answer!

marc_t
01-09-2006, 02:36 PM
Ah ok.. got you wrong then... sorry ;)

YLP1
01-10-2006, 01:19 AM
Being new to php, will this work for version 3.5.3?

SwissPegasus
01-10-2006, 09:27 AM
I installed this Mod without any Problems...Thanks a lot

jj
01-10-2006, 05:34 PM
Being new to php, will this work for version 3.5.3?

running it with 3.5.3 (after update)

IrPr
01-11-2006, 12:01 AM
installed on 3.5.3 and workin

how to set prefixes in vBAdvanced Recent Threads?

bashy
01-14-2006, 03:52 PM
Hi

Since installing this my bb codes nor smilies are clickable/working

What have i broken, Please can advise?

You can have access to what ever you need :)

Mystics
01-14-2006, 05:42 PM
You can have access to what ever you need :)A testuser would be good :)

Developer
01-14-2006, 06:00 PM
i need a simple version that is admin controlled and for each forum i add the prefix that i want with out moderator control or other things

Mystics
01-14-2006, 06:04 PM
i need a simple version that is admin controlled and for each forum i add the prefix that i want with out moderator control or other thingsEdit threadprefix.php, change:if (!can_moderate($foruminfo['forumid']) OR $foruminfo['forumid'] == 0 OR !$foruminfo['allowprefix'])
{
print_no_permission();
}to:if ($vbulletin->userinfo['usergroupid'] != 6 OR $foruminfo['forumid'] == 0 OR !$foruminfo['allowprefix'])
{
print_no_permission();
}And edit the forumdisplay template to show the manage prefixes link only for admins.

bashy
01-14-2006, 06:06 PM
A testuser would be good :)

Hi

I have just reverted all the templates and it still is the same...
I have even upgraded VB to 3.5.3 and still the same...

Since removing the codes i now get this problem see image

Gonna PM you login deets for admin and FTP..
Thanks in advance..

Thanatos
01-15-2006, 08:07 PM
This was working in 3.5.1 for me, but I tried reinstalling this in 3.5.3 and it wouldn't work.

I got

Call to undefined function: fetch_thread_prefixes() {forum link to my forurms}/forumdisplay.php(105) : eval()'d code on line 16

I uninstalled the product, even uninstall edit was exactly where it was supposed to be.

I reinstalled, double checked and found everything in the exact place it was supposed to be. When I did the final uninstall, everything was exactly in place.

I tried a default (untouched) set of templates and still got the error.
I tried to replace all the physically edited files and left the edited templates intact, still got the error.

So I couldn't narrow it down to one are or the other. If I turned the plugin off, everything worked fine.

Anyway, any suggestions or ideas on what it could be?

IrPr
01-15-2006, 09:34 PM
works for me on 3.5. fine !

Thanatos
01-15-2006, 09:56 PM
works for me on 3.5. fine !

Well, count yourself lucky.

snowlion
01-16-2006, 05:30 AM
This was working in 3.5.1 for me, but I tried reinstalling this in 3.5.3 and it wouldn't work.

same for me, i can't visit to threadprefix.php page
can anyone upgrade to 3.5.3 version for this mod

shadow187
01-16-2006, 10:30 PM
Is there any news on a update yet please ??

s

monkeywarplane
01-25-2006, 06:44 PM
Hey this hack is something I am very interested in, if I can request a mod - would love to have multiple "prefixes" that are mandatory for the thread to be submitted. Looking to create a forum where the columns are sortable by date, problem, category... etc. Is this possible?

I haven't installed this, so I apologize for any question that may seem obvious, but are the prefix columns sortable or they must be searched upon?

Cheers

Stuart

PIKenPIK
01-26-2006, 07:15 AM
Couldn't live without this hack ... Just now I can update my forum vB 3.07 to 3.5.3 :rolleyes:

All installed and works linke a charm!

2 minor questions:

The title in threadview is now:
Prefix - NameOfTheTitle
I want to change that into:
(Prefix) NameOfTheTitle

I changed in class_dm_threadpost.php:$threadinfo['title'] = $threadinfo['threadprefix'] . ' - ' . $threadinfo['title']; into$threadinfo['title'] = ($threadinfo['threadprefix']) . $threadinfo['title'];or$threadinfo['title'] = '(' . $threadinfo['threadprefix'] . ')' . $threadinfo['title']; but both ways didn't work :disappointed: Do you know a (other) way?

2nd) On the forumindex (home) the latest post is shown as an URL with the Prefix in it:
Like: Prefix - This Is The Latest Post (http://www.grmbl.com)
I would like to show there the Prefix with the link next to it:
Like: (Prefix) This Is The Latest Post (http://www.grmbl.com)

Hopefully you can give two nice answers ;)


XXX
PnP
**bump** Please :o

PIKenPIK
01-26-2006, 07:18 AM
Hey this hack is something I am very interested in, if I can request a mod - would love to have multiple "prefixes" that are mandatory for the thread to be submitted. Looking to create a forum where the columns are sortable by date, problem, category... etc. Is this possible?

I haven't installed this, so I apologize for any question that may seem obvious, but are the prefix columns sortable or they must be searched upon?

Cheers

Stuart
You can make as much prefixes per forum if you need .... user can sort the (sub)forum by category (prefix). Even the search on prefix is there ...

And for all the other 3.5.3 owners .... if you really do this mod correctly step by step .... It works like a charm on my 3.5.3 :squareeyed:

Mystics
01-27-2006, 03:14 PM
**bump** Please :oTake a look at the Prefix plugins...you don't need to edit the files.

(and only the last method is correct: '(' . $threadinfo['threadprefix'] . ') ' . )

UBRF
01-27-2006, 05:17 PM
installed and working great on 3.5.3

PIKenPIK
01-29-2006, 08:38 AM
Take a look at the Prefix plugins...you don't need to edit the files.

(and only the last method is correct: '(' . $threadinfo['threadprefix'] . ') ' . )

Thanks ..... i made my wanted changes :squareeyed:

Still ... dunno how to get the prefix in front of the url in the last post on forumhome ....

Maybe a little help from you?
if ($vbulletin->options['prefixinlastpost'])
{
if ($vbulletin->userinfo['userid'] AND in_coventry($vbulletin->userinfo['userid'], true))
{
$counter_select = str_replace('forum.lastthread, tachyforumpost.lastthread', 'IF(forum.lastthreadprefix <> \'\' AND forum.allowprefix != 0, CONCAT(\'(\', forum.lastthreadprefix, \') \', forum.lastthread), forum.lastthread) AS lastthread, IF(tachyforumpost.lastthreadprefix <> \'\' AND forum.allowprefix != 0, CONCAT(\'(\', tachyforumpost.lastthreadprefix, \') \', tachyforumpost.lastthread) AS lastthread, tachyforumpost.lastthread)', $counter_select);
}
else
{
$counter_select = str_replace('lastthread,', 'IF(lastthreadprefix <> \'\' AND allowprefix != 0, CONCAT(\'(\', lastthreadprefix, \') \', lastthread), lastthread) AS lastthread,', $counter_select);
}
}

Mystics
01-29-2006, 08:47 AM
Still ... dunno how to get the prefix in front of the url in the last post on forumhome ....The code looks ok...doesn't it work?

PIKenPIK
01-29-2006, 09:06 AM
The code looks ok...doesn't it work?
It sure works:

On the forumindex (home) the latest post is shown as an URL with the Prefix in it:
Like: Prefix - This Is The Latest Post (http://)
I would like to show there the Prefix with the link next to it:
Like: (Prefix) This Is The Latest Post (http://)

Mystics
01-29-2006, 09:08 AM
It sure works:

On the forumindex (home) the latest post is shown as an URL with the Prefix in it:
Like: Prefix - This Is The Latest Post (http://)
I would like to show there the Prefix with the link next to it:
Like: (Prefix) This Is The Latest Post (http://)You already have modified the plugin cache_ordered_forums....and with this code you should get (prefix)this is the last post. (prefix) is a link too, you can not change this without rewriting many vBulletin code.

PIKenPIK
01-29-2006, 10:28 AM
You already have modified the plugin cache_ordered_forums....and with this code you should get (prefix)this is the last post. (prefix) is a link too, you can not change this without rewriting many vBulletin code.OK .... no more Q from me :rolleyes: Sure appreciate your given answers ... thank you!!!

XXX
PNP

proxx
01-31-2006, 02:39 AM
I installed, it seems like everything works.

I just have question.

When I click on 'new thread' button, I would like to change the word 'Prefix:' to some other word.

How can I do this?

PIKenPIK
01-31-2006, 07:24 AM
I installed, it seems like everything works.

I just have question.

When I click on 'new thread' button, I would like to change the word 'Prefix:' to some other word.

How can I do this?
Change it in your phrases through ACP ...

Killahbyte
01-31-2006, 06:13 PM
I have a bug. The install went fine. But it seems when there is a sticky in the forum the whole sticky thread is shifted over...

KB

Mystics
01-31-2006, 06:14 PM
I have a bug. The install went fine. But it seems when there is a sticky in the forum the whole sticky thread is shifted over...Re-do the threadbit / SHOWTHREAD template modifications.

Killahbyte
01-31-2006, 06:21 PM
1) Find this code: <td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]">


1) Add above: <if condition="$show['threadprefix'] == 2">
<td class="alt1" align="$prefixalign" nowrap="nowrap"><if condition="$thread['threadprefix']">$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]</if></td>
</if>

Should be:

1) Find This code: <if condition="$show['sticky']">
<td class="stuck" id="td_title_$thread[realthreadid]" title="$thread[preview]">
<else />

1) Add Above: <if condition="$show['threadprefix'] == 2">
<td class="alt1" align="$prefixalign" nowrap="nowrap"><if condition="$thread['threadprefix']">$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]</if></td>
</if>

That fixed it for me...

KB

Killahbyte
01-31-2006, 06:23 PM
/me now clicks install

Thank you

KB

Andreas
01-31-2006, 06:24 PM
There are a few minor issues with this Hack, as it does not get fully disabled when you disable the product:


includes/functions_databuild.php

$forumdm->set('lastthreadprefix', $lastthread['threadprefix'], true, false);


This causes an error when the product is disabled, as the DM won't accept the prefix then.
On WOL Threads do show up with their prefix
Moderators do get eMails with thread prefixes

proxx
01-31-2006, 10:12 PM
Change it in your phrases through ACP ...



Quote:
Originally Posted by proxx
I installed, it seems like everything works.

I just have question.

When I click on 'new thread' button, I would like to change the word 'Prefix:' to some other word.

How can I do this?

Change it in your phrases through ACP ...



I tried to search for Prefix: ..but i cannot find it. Could you please tell me which phrase contains the 'Prefix:' ?

UBRF
02-01-2006, 02:21 PM
Quick question,

I would like the prefix to show in the forumdisplay...when I click the option in the settings it adds an unwanted prefix to display for older threads (non-prefix) when they are bumped. (ex. if the old thread w/o prefix is WTB: Car...when I click the option it is displayed, depending on last used prefix, on forumdisplay as FS: WTB: Car)

This is for my classifieds section...

Strat
02-02-2006, 02:18 AM
Problem : installed it, followed instructions, install went 100% perfectly fine (no errors), but unfortunately, I can't see the prefix column to the left of the title bar. It's just not there.

I don't get any errors afterwards either, plug-in is active, I even reinstalled, but still no go. This is what I get. Ideas?

Here's a pic :

http://img.photobucket.com/albums/v132/Strats991/prefix.jpg

EDIT ; when I try to create a thread, it asks me to pick a prefix, but the column isn't there. Thought it could possibly be in black, so I reverted to the default skin. No change.

2nd EDIT : nevermind. Fixed it myself.

SCRIPT3R
02-02-2006, 08:24 PM
does this have any effect on pre-existing threads where the search is involved? also, are there any potential errors when merging an old non-prefixed thread with a new thread that has been pre-fixed? i wouldn't think so, but just wanted to verify.

Kmaster
02-04-2006, 09:24 AM
is it possible have itself difference colour for prefix?
for example: in forum 6, has 5 prefixs for selection. I want prefix-1 in red colour, prefix-2 in blue, and so on.

hope can add above features. very nice hack.

VaaKo
02-04-2006, 07:15 PM
can't you make this hack to be product integrated instead of editing the php files?

Mystics
02-04-2006, 11:19 PM
can't you make this hack to be product integrated instead of editing the php files?Feel free to try it....but let me guess, you have never actually looked at the file modifications and existing hooks in vBulletin?

VaaKo
02-05-2006, 09:40 AM
Feel free to try it....but let me guess, you have never actually looked at the file modifications and existing hooks in vBulletin?

feel free to try what?

and I didn't really understood your question

Mystics
02-05-2006, 09:44 AM
feel free to try what?To do what your are asking me....it it just not possible to remove the few file modifications because there are no plugin hooks to use! Don't you think I would have tried!?

Kmaster
02-05-2006, 02:48 PM
is it possible have itself difference colour for prefix?
for example: in forum 6, has 5 prefixs for selection. I want prefix-1 in red colour, prefix-2 in blue, and so on.

hope can add above features. very nice hack.

an idea how can add this feature?

Thanks in advance.

pipin
02-06-2006, 01:45 PM
When i use it with the Prevent Doublepost Hack from Xenon (https://vborg.vbsupport.ru/showthread.php?t=96602) i get the following error:

Field lastthreadprefix is not defined in $validfields in class vb_datamanager_forum in /includes/class_dm.php (Zeile 485)

It works, but the Error Message above is shown.

diades
02-07-2006, 12:57 PM
Has anyone tried this with v3.5.3 as yet? Are there any problems associated?

Mystics
02-07-2006, 02:08 PM
Has anyone tried this with v3.5.3 as yet? Are there any problems associated?Works fine.

Smiry Kin's
02-07-2006, 02:52 PM
does this owrk in 3.5.3? also is there away to only allow admins/mods to use this?

thanks

dsotmoon
02-07-2006, 04:52 PM
installed this last night, works great, something i'd like to see in the future is the prefix that you add in the adminCP that can be added to the top or bottom of forum prefixes would be to make those mod/admin viewable/usable only and also make it an option for mod/admin to be able not to use prefixes even for forums that require them

having said that, this ads a whole new funtionality to my automotive forums, thank you

diades
02-07-2006, 08:17 PM
Works fine.

Hi Mike

Thanks for the reply, I was just checking avenues of false hope as I have 'just' installed this and, whilst it is operational, it has caused me headaches with the quick editor (not functional) especially and the editors in general (formatting buttons not operational). Plus, showthread has three error messages that now come up (on Exlporer) and one on new reply (vb_text edotor is not defined).
I have been right through several times looking for the culprit to no avail so far.

Revpolar
02-07-2006, 08:36 PM
Hi Mike

Thanks for the reply, I was just checking avenues of false hope as I have 'just' installed this and, whilst it is operational, it has caused me headaches with the quick editor (not functional) especially and the editors in general (formatting buttons not operational). Plus, showthread has three error messages that now come up (on Exlporer) and one on new reply (vb_text edotor is not defined).
I have been right through several times looking for the culprit to no avail so far.

The thing I like about it is no more need for subforums.

DrewM
02-08-2006, 09:05 PM
I'm getting the fowling error:
Fatal error: Call to undefined function: verify_thread_prefix() in /home/rdsx667/public_html/forum/includes/class_dm_threadpost.php(1494) : eval()'d code on line 1

DrewM
02-08-2006, 10:31 PM
please help!

Lucas
02-09-2006, 06:43 PM
So the mode is working without problems on vB 3.5.3?

Mystics
02-09-2006, 06:49 PM
I'm getting the fowling error:
Fatal error: Call to undefined function: verify_thread_prefix() in /home/rdsx667/public_html/forum/includes/class_dm_threadpost.php(1494) : eval()'d code on line 1And what are you doing when you get this error???

@diades
Maybe you have other modifications installed which create a conflict with the prefix plugin. The plugin itself works fine on many sites without such errors.

You should re-do your modifications in the *.js files and your templates.

DrewM
02-09-2006, 06:50 PM
After you hit post new thread.

pipin
02-10-2006, 08:59 AM
When i use it with the Prevent Doublepost Hack from Xenon (https://vborg.vbsupport.ru/showthread.php?t=96602) i get the following error:

Field lastthreadprefix is not defined in $validfields in class vb_datamanager_forum in /includes/class_dm.php (Zeile 485)

It works, but the Error Message above is shown.

any hint about this, Mystics?

machtzu
02-10-2006, 08:53 PM
Mystics
Is it possible search just for Prefixs? I have a forum where rather then create hundreds of sub-forums I have used your prefix mod but I need to be able to select groups of messages by specific prefix. Is that possible?

Mystics
02-12-2006, 07:47 PM
any hint about this, Mystics?I don't know this hack...maybe you have to insert this code in one of the plugins/hooks added by the other hack:$this->validfields['lastthreadprefix'] = array(TYPE_STR, REQ_NO);
Mystics
Is it possible search just for Prefixs? I have a forum where rather then create hundreds of sub-forums I have used your prefix mod but I need to be able to select groups of messages by specific prefix. Is that possible?No, maybe in a next version.
I'm getting the fowling error:
Fatal error: Call to undefined function: verify_thread_prefix() in /home/rdsx667/public_html/forum/includes/class_dm_threadpost.php(1494) : eval()'d code on line 1Re-upload includes/functions_threadprefix.php and check your global_start hook:require_once(DIR . '/includes/functions_threadprefix.php');
if (THIS_SCRIPT == 'moderator' AND $_REQUEST['do'] == 'manageprefix')
{
manage_thread_prefixes($foruminfo);
}You can also try moving this code to the hook init_startup.

DrewM
02-13-2006, 09:32 AM
I don't know this hack...maybe you have to insert this code in one of the plugins/hooks added by the other hack:$this->validfields['lastthreadprefix'] = array(TYPE_STR, REQ_NO);
No, maybe in a next version.
Re-upload includes/functions_threadprefix.php and check your global_start hook:require_once(DIR . '/includes/functions_threadprefix.php');
if (THIS_SCRIPT == 'moderator' AND $_REQUEST['do'] == 'manageprefix')
{
manage_thread_prefixes($foruminfo);
}You can also try moving this code to the hook init_startup.

It's working with the extra plugin.

Mystics
02-13-2006, 02:36 PM
It's working with the extra plugin.init_startup? Did you move or copy the code?

pipin
02-13-2006, 04:18 PM
I don't know this hack...maybe you have to insert this code in one of the plugins/hooks added by the other hack:$this->validfields['lastthreadprefix'] = array(TYPE_STR, REQ_NO);

not necessary it works flawlessly with the prevent doublepost, i had a part of the your product set to inaktive. :rolleyes:

kopfnick
02-17-2006, 11:04 PM
Hi

Since installing this my bb codes nor smilies are clickable/working

What have i broken, Please can advise?

You can have access to what ever you need :)

I don?t know if you already solved this, but i had the same problem when installing today.

The solution was simple: Since the whole Smilies, Quick Reply, etc. are done by Javascript, i just redid Step 1 of the file-modifications and now it works...

Just for the info :squareeyed:
Greets,
kopfnick

bashy
02-18-2006, 06:36 PM
Hi

Sadly i am going to have to uninstall this hack...
The reason being is because i have installed the GARS system and your prefixes
do not work ( i cant see the drop down box anymore)

If you can fix this then that will be brillian, if not please can you supply
full uninstall instructions as they are not in the zip file :(

Hopefully you can resolve this without uninstalling...
Yours hopefully :)

Mystics
02-18-2006, 06:46 PM
The reason being is because i have installed the GARS systemSorry, but it's really not my problem if my hack doesn't work after installing an other hack :) Please ask the author of the other hack or analyse and compare my and his plugins yourself.

Uninstall:
/admincp/prefixinstall.php?productlanguage=english&step=2

Scroll to the bottom of that page.

bashy
02-18-2006, 07:19 PM
Fair enough!

jluerken
02-19-2006, 07:53 AM
Fair enough!

bashy, I've also GARS installed and thread prefixes are still working fine.
Whats exactly your problem?

shadow187
02-19-2006, 10:38 AM
HOw can i built this into the new reply and quick reply, and NOT just newthread ???

Shadow

Mystics
02-19-2006, 10:42 AM
HOw can i built this into the new reply and quick reply, and NOT just newthread ???It makes no sense to select a thread prefix with a new reply. A thread prefix is for a thread, not for a single post.

shadow187
02-19-2006, 10:49 AM
Yeah but i wanna change the prefix with a new post

Now you first have to edit the prefix and then reply to it, it would be very great if i could do this together..

Thanks in advandce

Shadow

SCRIPT3R
02-20-2006, 06:02 AM
is it possible to jump to the (3. Templates that need to be edited:) portion of the installation so that i may go through the needed template edits again? i installed another style onto my forum after this was done, and i need a few the required edits for this hack.

SCRIPT3R
02-20-2006, 09:42 PM
if a prefixed-thread get's moved into another forum where prefixes aren't allowed... does the additional data associated with that threads get removed, or does it linger in the database. if database size is a factor, is it possible to remove the additonal tag data that goes along with the prefix?

DrewM
02-21-2006, 05:11 PM
In 3.5.4 they cahnged class_dm_threadpost.php in it instaed of looking for:
$mods = explode(' ', $newpostemail);
loke for:
$this->registry->userinfo['username'] = unhtmlspecialchars($this->info['user']['username'] ? $this->info['user']['username'] : $this->registry->userinfo['username']);
then under add the prefix code.

Timan
02-23-2006, 10:52 AM
I installed this hack on vb 3.5.3 would I be safe to upgrade to 3.5.4?

DrewM
02-23-2006, 10:57 AM
yes just do the change I made above.

Eikinskjaldi
02-27-2006, 10:32 PM
I am getting an error when a user is in coventry and trying to view the forum home or forumdisplay. When I checked the output for the error, it seems to be resulting from code added by a plugin of this hack.
if ($vbulletin->options['prefixinlastpost'])
{
if ($vbulletin->userinfo['userid'] AND in_coventry($vbulletin->userinfo['userid'], true))
{
$counter_select = str_replace('forum.lastthread, tachyforumpost.lastthread', 'IF(forum.lastthreadprefix <> \'\' AND forum.allowprefix != 0, CONCAT(forum.lastthreadprefix, \' - \', forum.lastthread), forum.lastthread) AS lastthread, IF(tachyforumpost.lastthreadprefix <> \'\' AND forum.allowprefix != 0, CONCAT(tachyforumpost.lastthreadprefix, \' - \', tachyforumpost.lastthread) AS lastthread, tachyforumpost.lastthread)', $counter_select);
}
else
{
$counter_select = str_replace('lastthread,', 'IF(lastthreadprefix <> \'\' AND allowprefix != 0, CONCAT(lastthreadprefix, \' - \', lastthread), lastthread) AS lastthread,', $counter_select);
}
}
It's reading a MySQL 1064 (invalid SQL syntax) error here
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 lastthread, IF(tachyforumpost.lastthreadprefix &lt;&gt; '' AND forum.allowprefix !=' at line 5
Error Number : 1064

I'm running vBulletin 3.5.4 and the lastest release of this hack, with the change given by Larrysw for 3.5.4 compatability. Any assistance is greatly appreciated, thank you :)

Mystics
03-03-2006, 05:33 PM
I am getting an error when a user is in coventry and trying to view the forum home or forumdisplay. When I checked the output for the error, it seems to be resulting from code added by a plugin of this hack.)
Hm, it seems that <> is replaced with &lt;&gt; - don't know why

dsotmoon
03-08-2006, 01:56 AM
is there a way or could you tell me where I could add a list of prefixes per forum instead of one at a time?

ie: I want to add the US states as a prefix to multiple forums, this would take forever one at a time, is there a way to set the amount at 50 and then add a text list of all states at once ?

thanks

Mystics
03-08-2006, 02:40 PM
is there a way or could you tell me where I could add a list of prefixes per forum instead of one at a time?

ie: I want to add the US states as a prefix to multiple forums, this would take forever one at a time, is there a way to set the amount at 50 and then add a text list of all states at once ?Copy the text list to this text field:

Admin Control Panel -> vBulletin Options -> Thread Prefix -> Default Thread Prefixes

Set "Show Default Thread Prefixes" to "Yes - Show Always".

Then edit the thread prefixes in the forums where you want to add the US states and save. You can remove the default thread prefixes afterwards.

rnmcd
03-08-2006, 10:47 PM
I just came across this very neat hack! Wow.

Anyone have it running on 3.5.4?

dsotmoon
03-09-2006, 01:12 AM
yes it works great on 3.5.4, just be sure to use the threadprefix 152 vB351.zip and make sure you do the change Larrysw posted above

rnmcd
03-09-2006, 01:29 AM
Thanks for the reply. I feel like an idiot that I didn't see Larrsw's post...but this is one looooooooooooooooong thread.

hornos
03-10-2006, 11:31 AM
Hi there,

Definitely a must-have hack for a support forum :cool:

One question: is there a way to display prefixes in the "similar threads" view?

rnmcd
03-10-2006, 03:09 PM
How many prefixes can be defined in the Admin CP?

Is it possible to sort a forum by prefixes, alphabetically.

Anyone have a site that uses this hack--I'd liketo take a look at it in action.

Thanks.

pirotess
03-10-2006, 03:58 PM
Installed great. For those of you who reported having problems while the product was active. Check your permissions and file ownership on the hacks files. I found mine unzipped with 700 permissions which caused my forums to whitescreen till I figured it out.

Nathan2006
03-13-2006, 08:24 PM
Thank you working great! :D

Install

rnmcd
03-14-2006, 02:25 AM
Excellent, been waiting so long for this
* michaelbenson installs.
Was this installed on Staff-lounge.com?

Paul M
03-14-2006, 02:28 AM
Anyone have a site that uses this hack--I'd liketo take a look at it in action.It's installed here (at vb.org) ....

rnmcd
03-14-2006, 02:29 AM
Does anyone that claims they installed this still having it running on their board? I've check about 15 of the websites for users that said they installed and I don't see it running on any of their sites.

rnmcd
03-14-2006, 02:32 AM
Does anyone that claims they installed this still having it running on their board? I've check about 15 of the websites for users that said they installed and I don't see it running on any of their sites.
Is it only for Admins to use?

Can you point me to a thread where it was used on this site?

Xenon
03-14-2006, 12:42 PM
you are already in such a thread

every hack release forum uses threadprefixes, it's just looking like it has subforums, but it actually uses the threadprefixes hack

rnmcd
03-14-2006, 01:17 PM
you are already in such a thread

every hack release forum uses threadprefixes, it's just looking like it has subforums, but it actually uses the threadprefixes hack

There must be some modifications to the threadprefixes hack on this board because I don't see the "Prefixes" column like is displayed in this pic:

https://vborg.vbsupport.ru/attachment.php?attachmentid=36898&d=1130967910

Xenon
03-14-2006, 02:28 PM
well, yep as i said i did some modifications so it fits in better into vb.org purposes

Nutz
03-14-2006, 11:02 PM
I've been runing the hack fine till today when I got this when I try to reply to a post

Database error in vBulletin 3.5.4:

Invalid SQL:

SELECT postid, post.title, pagetext, post.threadid, IF(thread.threadprefix <> '', CONCAT(thread.threadprefix, ' - ', thread.title), thread.title) AS title AS threadtitle
FROM post AS post
INNER JOIN thread AS thread USING(threadid)
WHERE postid = 45;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AS threadtitle
FROM post AS post
INNER JOIN thread AS thread USING(threa' at line 1
Error Number : 1064
Date : Tuesday, March 14th 2006 @ 05:01:09 PM
Script : http://www.xxxxxx.com/forum/newreply.php
Referrer : http://www.xxxxxx.com/forum/vbulletin/11-hello-there.html
IP Address : xxx.xxx.xx.xx
Username : Mat
Classname : vb_database

Any help please :)

Thanks,
Mat

Mystics
03-15-2006, 06:11 AM
I've been runing the hack fine till today when I got this when I try to reply to a post Edit your includes/functions_online.php and remove the bold code:CONCAT(thread.threadprefix, ' - ', thread.title), thread.title) AS title AS threadtitle

rnmcd
03-15-2006, 12:23 PM
Edit your includes/functions_online.php and remove the bold code:CONCAT(thread.threadprefix, ' - ', thread.title), thread.title) AS title AS threadtitle
Should everyone make this edit?

Mystics
03-15-2006, 02:15 PM
Should everyone make this edit?No. He must have an other hack installed which altered the file.

rnmcd
03-15-2006, 02:15 PM
How many prefixes can be defined in the Admin CP?

Is it possible to sort a forum by prefixes, alphabetically.

Anyone have a site that uses this hack--I'd liketo take a look at it in action.

Thanks.
I'll paypal anyone $5 that has this hack fully-installed and working on a 3.5.4 board and will let me try it out.

Xenon
03-15-2006, 03:22 PM
i suggest a testboard ;)

rnmcd
03-15-2006, 03:51 PM
i suggest a testboard ;)
I thought about that but it would take someone like me :cross-eyed: hours upon hours to install this hack.

Mystics
03-15-2006, 04:04 PM
I thought about that but it would take someone like me :cross-eyed: hours upon hours to install this hack.Upload of some files, import of a product XML file and a few file / template edits? You should be able to do this in not more than 30 min. Even without any experience :)

rnmcd
03-15-2006, 04:47 PM
Upload of some files, import of a product XML file and a few file / template edits? You should be able to do this in not more than 30 min. Even without any experience :)
I'll give it a try....

By the way, anyone else see this misalignment in Firefox?

https://vborg.vbsupport.ru/attachment.php?attachmentid=44139&d=1142116425

Mystics
03-15-2006, 05:31 PM
By the way, anyone else see this misalignment in FirefoxYes, here. But works fine in my test forum.

Mystics
03-15-2006, 05:42 PM
i want this for vb3.5.4 plz give meYou can use the version attached here...you just have to search for a different line in includes/class_dm_threadpost.php: foreach ($mod_emails AS $toemail)But I will release a new version with this fix and a few other things the next days.

rnmcd
03-15-2006, 06:09 PM
You can use the version attached here...you just have to search for a different line in includes/class_dm_threadpost.php: foreach ($mod_emails AS $toemail)But I will release a new version with this fix and a few other things the next days.

Mystics, is your above noted fix required along with the one larrysw posted:
https://vborg.vbsupport.ru/showpost.php?p=906602&postcount=176 ?

Mystics
03-15-2006, 06:11 PM
Mystics, is your above noted fix required along with the one larrysw posted:
https://vborg.vbsupport.ru/showpost.php?p=906602&postcount=176 ?No, it's the same - just a different line.

rnmcd
03-15-2006, 08:11 PM
Is it possible to sort a forum by prefixes, alphabetically.

Mystics
03-15-2006, 08:16 PM
Is it possible to sort a forum by prefixes, alphabetically.Just click on the prefix table header.

rnmcd
03-15-2006, 08:18 PM
Just click on the prefix table header.

That's what it looked like from your image but I just wanted to make sure.

I look forward to your update to this hack.

alex905
03-17-2006, 05:53 AM
i got a prob im on the code edits number 2

2. Edit the file: includes/class_dm_threadpost.php

and

$mods = explode(' ', $newpostemail);

isent anywere to be seen im useing vb 3.5.4 if that makes a difrence

will o have to wait for the next update or do i just edit another line

LaCN
03-17-2006, 12:52 PM
I love this ;)

But I want to have colored prefixes.
Or be able to use images instead.

As a temporal sollution, I added it into the templates.
(dunno where to make it in php, since it all got very confusing now lol)

find in threadbit template

<if condition="$show['threadprefix'] == 2">
<td class="alt1" align="$prefixalign" nowrap="nowrap">
<if condition="$thread['threadprefix']">
$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]
</if>
</td>
</if>

:bunny: If you want an image, do something like this:

<if condition="$show['threadprefix'] == 2">
<td class="alt1" align="$prefixalign" nowrap="nowrap">
<if condition="$thread['threadprefix']">
<if condition="$thread['threadprefix'] == '[GAME]'">
<img src="images/Casino_icon.gif" title="Win Win !! The game is open !" border=0 />
<else />
$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]
</if>
</if>
</td>
</if>

:bunny: If you want colored prefixes:

<if condition="$show['threadprefix'] == 2">
<td class="alt1" align="$prefixalign" nowrap="nowrap">
<if condition="$thread['threadprefix']">
$prefixmarkup[0]
<span style="color:
<if condition="in_array($thread['threadprefix'], array('[GREEN]', '[GREEN2]', '[GREEN3]'))">green</if>
<if condition="$thread['threadprefix'] == '[SCHEDULED]'">orange</if>
<if condition="$thread['threadprefix'] == '[PACK]'">purple</if>
<if condition="$thread['threadprefix'] == '[PACI]'">blue</if>
<if condition="$thread['threadprefix'] == '[PROGRESS]'">gray</if>
<if condition="$thread['threadprefix'] == '[STOPPED]'">red</if>
">
$thread[threadprefix]
</span>
$prefixmarkup[1]
</if>
</td>
</if>

:bunny: Or if you want it all...

<if condition="$show['threadprefix'] == 2">
<td class="alt1" align="$prefixalign" nowrap="nowrap">
<if condition="$thread['threadprefix']">
<if condition="$thread['threadprefix'] == '[GAME]'">
<img src="images/Casino_icon.gif" title="Win Win !! The game is open !" border=0 />
<else />
$prefixmarkup[0]
<span style="color:
<if condition="in_array($thread['threadprefix'], array('[GREEN]', '[GREEN2]', '[GREEN3]'))">green</if>
<if condition="$thread['threadprefix'] == '[SCHEDULED]'">orange</if>
<if condition="$thread['threadprefix'] == '[PACK]'">purple</if>
<if condition="$thread['threadprefix'] == '[PACI]'">blue</if>
<if condition="$thread['threadprefix'] == '[PROGRESS]'">gray</if>
<if condition="$thread['threadprefix'] == '[STOPPED]'">red</if>
">
<else />
$thread[threadprefix]
</if>
</span>
</if>
$prefixmarkup[1]
</if>
</td>
</if>

Anyway, it would be nice if mods could select a color from a list, in the same form they create/edit the prefixes.
And optional select an image from a images/prefixes/ folder or soemthing.

I found out that once a prefix is in the database in the thread-table and it's wrapped with <span color... It shows it in color on the forum.

Xenon
03-17-2006, 06:52 PM
search for a post by larrysw he psted the fix in this trhread already...

rnmcd
03-17-2006, 07:01 PM
Here is larrsw's fix:
https://vborg.vbsupport.ru/showpost.php?p=906602&postcount=176

Mystics, what new things might be in your new version?

Mystics
03-19-2006, 01:12 PM
v1.5.3 is now available. See the first post for details.

Remember: You don't have to do the file modifications as the product will work even though without them! Take a look at the thread to see what the file edits are used for.

rnmcd
03-19-2006, 01:59 PM
Incredible! Thanks!

I am setting up a test board this week and this will be my first ever installed hack...wish me luck.

Thanks, Mystics!

rnmcd
03-19-2006, 04:40 PM
Any idea what happens if I set up 100 prefixes? Will they display in one long column or is there a break after a certain number of prefixes and another column starts?

Mystics
03-19-2006, 04:46 PM
Any idea what happens if I set up 100 prefixes? Will they display in one long column or is there a break after a certain number of prefixes and another column starts?What do you mean with "column"? All prefixes will be displayed in the drop down list (in one column).

rnmcd
03-19-2006, 05:24 PM
That is what I was referring to regarding columns, the drop-down list. I was just wondering if the prefix list continued in an additional column/list if the list extended beyond the height of the page.

Mystics
03-19-2006, 05:48 PM
That is what I was referring to regarding columns, the drop-down list. I was just wondering if the prefix list continued in an additional column/list if the list extended beyond the height of the page.The drop down list is not as high as the page...just take a look at the standard "Forum Jump" menu....it's a simple drop down list you have to scroll yourself.

Xenon
03-19-2006, 08:37 PM
thx, will upgrade my modifications soon :)

hydrostatic
03-19-2006, 09:14 PM
When the product is enabled, there is no way to "Search all threads by this member". When one searches threads by a member, the results are all the recent threads posted.

Mystics
03-19-2006, 10:54 PM
When the product is enabled, there is no way to "Search all threads by this member". When one searches threads by a member, the results are all the recent threads posted.Fixed in 1.5.4. Just import the updated xml file.

dsotmoon
03-19-2006, 11:27 PM
just to be sure, to update from 1.5.2 all i need to do is reupload the files and overwrite the XML ? I shouldnt have to make any new file edits?

thanks for the great work!

Mystics
03-20-2006, 06:17 AM
just to be sure, to update from 1.5.2 all i need to do is reupload the files and overwrite the XML ?No, there are some new file edits. Please take a look at the readme or the first post. You will find update instructions there.

rnmcd
03-20-2006, 12:39 PM
Would it take much of a change in this hack to allow users to manually INPUT the prefix?

Mystics
03-20-2006, 05:00 PM
Would it take much of a change in this hack to allow users to manually INPUT the prefix?Yes.

slamdog
03-20-2006, 06:21 PM
installed ok but have a problem..

the prefix column is wider than the post title column!

i must have made a mistake somewhere, but i cant figure it out...

http://www.slamdog.f2s.com/forums/forumdisplay.php?f=2

I have enabled the template id so it looks like something in threadbits that is wrong but I can't see it myself... probably looking too hard.

slamdog
03-20-2006, 07:24 PM
all fixed now...

my error....

working fine on v3.54.

now going to add the gars bits...

slamdog
03-21-2006, 08:22 AM
there is a conflict with gars install release add in. I have fixed the display problem when used with gars but have yet to figure out the template to change to add the prefix pull down into the gars release add in. They will work when both are installed but not if the same forum is gars and prefix modded at the same time... YET! I will crack this problem, but any pointers would help me from losing all my hair. The only issue I have is getting the prefix pull down menu to show in a gars install new post form.

slamdog
03-23-2006, 09:06 AM
ok everyone..

figured it out!

repeat the instructions in the template changes but add the code in the newthread section to the gars_newthread template.

the first step is straight forward. the second step is as follows...

find this code

<fieldset class="fieldset">
<legend>$vbphrase[title]:</legend>
<div style="padding:$stylevar[formspacer]px">
<input type="text" class="bginput" name="subject" value="$subject" size="50" maxlength="85" tabindex="1" /></div></fieldset>

replace it with this

<fieldset class="fieldset">
<legend>$vbphrase[title]:</legend>
<div style="padding:$stylevar[formspacer]px"><table>
<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></table></div></fieldset>

I couldn't understand why things were not working and by sheer fluke I figured out that all I needed was to add the table statemnet to the GARS_newpost template.

rnmcd
03-23-2006, 01:13 PM
What is gars bits?

slamdog
03-23-2006, 02:46 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=108515&highlight=installs+release" target="_blank">https://vborg.vbsupport.ru/showt...stalls+release</a>

SwissPegasus
03-23-2006, 06:33 PM
I update right now an d getting the following problem.

Update from 1.5.2 to 1.5.4
VB Version 3.5.4

The Modification of the showthread.php giving me a sql syntax error.

The searched code piece is in the middle of a sql statement. Add below was dificult to understand, also in german is it right to put behind this code?


find:
thread.title

add below:
IF(thread.threadprefix <> '', CONCAT('" . $vbulletin->options['prefixmarkup_start'] . "', thread.threadprefix, '" . $vbulletin->options['prefixmarkup_end'] . "', thread.title), thread.title) AS title


Anybody any idea? :confused:


cu
SwissPegasus

Mystics
03-23-2006, 06:40 PM
The searched code piece is in the middle of a sql statement. Add below was dificult to understand, also in german is it right to put behind this code?Sorry, should be replace instead of add below. I will update the zip file soon.

SwissPegasus
03-23-2006, 07:10 PM
Sorry, should be replace instead of add below. I will update the zip file soon.

Thanks a lot, works fine :banana:

ffevo
04-02-2006, 03:07 PM
This was working in 3.5.1 for me, but I tried reinstalling this in 3.5.3 and it wouldn't work.

I got

Call to undefined function: fetch_thread_prefixes() {forum link to my forurms}/forumdisplay.php(105) : eval()'d code on line 16

I uninstalled the product, even uninstall edit was exactly where it was supposed to be.

I reinstalled, double checked and found everything in the exact place it was supposed to be. When I did the final uninstall, everything was exactly in place.

I tried a default (untouched) set of templates and still got the error.
I tried to replace all the physically edited files and left the edited templates intact, still got the error.

So I couldn't narrow it down to one are or the other. If I turned the plugin off, everything worked fine.

Anyway, any suggestions or ideas on what it could be?


I have the same issue. The onl ything abou mine is that it happened ALL THE SUDDEN. it was working perfectly for like 2 weeks.

rnmcd
04-02-2006, 03:15 PM
Is there a way to have a default prefix for each user? So when a user makes a post, a default prefix will display--they can, if needed, change the prefix via the dropdown.

Thanks.

Mystics
04-02-2006, 06:04 PM
I have the same issue. The onl ything abou mine is that it happened ALL THE SUDDEN. it was working perfectly for like 2 weeks.Try to add this code to your forumdisplay_start hook:if (!function_exists('fetch_thread_prefixes'))
{
require_once(DIR . '/includes/functions_threadprefix.php');
}

rnmcd
04-03-2006, 02:07 PM
Try to add this code to your forumdisplay_start hook:if (!function_exists('fetch_thread_prefixes'))
{
require_once(DIR . '/includes/functions_threadprefix.php');
}

Should everyone that has this hack installed, make the above change?

Thanks.

Mystics
04-03-2006, 02:12 PM
Should everyone that has this hack installed, make the above change?Of course only if you get the above error. There is no need to do this if you don't have any errors.

rnmcd
04-03-2006, 02:15 PM
Of course only if you get the above error. There is no need to do this if you don't have any errors.
do you think the error is due to other installed hacks?

Mystics
04-03-2006, 02:56 PM
do you think the error is due to other installed hacks?I have no idea :)

rnmcd
04-03-2006, 03:13 PM
Is there a way to have a default prefix for each user? So when a user makes a post, a default prefix will display--they can, if needed, change the prefix via the dropdown.

Thanks.
(bump)

Mystics
04-03-2006, 03:22 PM
Is there a way to have a default prefix for each user? So when a user makes a post, a default prefix will display--they can, if needed, change the prefix via the dropdown.No, not by default. You can modificate the hack as you like. You just need a new profile field where each user can enter his own default prefix. Then you have to edit the plugins so that this default prefix will show up as default (and no, I don't have the time to do this ;)).

rnmcd
04-03-2006, 03:49 PM
How is this unistalled?

Mystics
04-03-2006, 03:54 PM
How is this unistalled?Follow the instructions in /admincp/threadprefix.php.

lexzep
04-03-2006, 07:03 PM
Hello everybody.
I' ve just finish to install the mod on my board but i' ve got a problem.
When I click on "Forum Tools" the window doesn' t want to appear and I can' t edit prefixs.
Thanks in advance for any idea (and excuse me for my english but I' m french Switzerland !).