vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Thread Prefixes (https://vborg.vbsupport.ru/showthread.php?t=99925)

Markco 11-03-2005 10:00 PM

Quote:

Originally Posted by Mystics
@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

Quote:

Originally Posted by Markco
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

Quote:

Originally Posted by Wolf42
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

Quote:

Originally Posted by Markco
Excuse me but I use version 3.50
I cannot use the plugin 1.5.2

Import v1.5.0 again. It has been updated as well.
Quote:

Originally Posted by xYarub
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

Quote:

Originally Posted by Mystics
Import v1.5.0 again. It has been updated as well

Ok thank you ;)

jokerz 11-05-2005 05:10 AM

Hi Mike,
Quote:

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

Quote:

Originally Posted by jokerz
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

Quote:

Originally Posted by jokerz
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.
Quote:

Originally Posted by jokerz
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

Quote:

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:

Code:

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:

Code:

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

Quote:

Originally Posted by Trovador
This error appear when deleted, edit, move pots.

Works fine for me. Check the hook forumdata_start. It should be enabled and contain:
Code:

$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

Quote:

Originally Posted by john1744
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

Quote:

Originally Posted by FleaBag
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.


All times are GMT. The time now is 04:20 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01669 seconds
  • Memory Usage 1,824KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete