vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - Auto assign / Default thread prefix when posting a new thread (https://vborg.vbsupport.ru/showthread.php?t=233364)

JamesGunner 01-16-2010 10:00 PM

Auto assign / Default thread prefix when posting a new thread
 
1 Attachment(s)
What does this do?
--------------------------------------------------------------------
Automatically assign a Thread Prefix to a certain forum, so if a user posts a new thread this prefix will be displayed automatically.

For Example:
You have a forum where Software bugs can be posted. You want each new thread to have the prefix "Unconfirmed" when being posted. You can specify the prefix_id in your forum settings and this mod will automatically set the prefix you entered to each new thread that is being posted

This mod does not obey prefix user group permissions. Please make sure that you assigned the prefix set properly to that forum and check if you entered the correct name.

INSTALL
--------------------------------------------------------------------
1. Import the attached product
2. Click install in this thread!

USAGE
--------------------------------------------------------------------
1. Check the prefix_id by going to admincp -> Thread Prefix Manager
2. Click on your Prefix you want to use, copy the "Prefix ID"
3. Goto admincp -> Forums & Moderators -> Forum Manager
4. Find the Forum where you want to assign the Prefix on each new thread
5. Choose "Edit Forum" -> Go
6. Scroll to the bottom of the Page and locate "Default Forum Thread Prefix"
5. Insert your "Prefix ID" and hit SAVE
6. Done

DieselMinded 01-19-2010 06:24 AM

Need this for 3.8

JamesGunner 01-19-2010 03:56 PM

Quote:

Originally Posted by DieselMinded (Post 1959949)
Need this for 3.8

Did you try this on vb 3.8? I haven't tested it there...

Jman423 01-20-2010 10:42 PM

I just installed it on my 3.8.4 PL2 installation and it seems to work fine. I had to change the minimum version in the XML file so it would import it, but it seems to be working without any problems...

Alien 01-21-2010 02:58 AM

Nice.

Hmm. Can this modification automatically choose a default thread prefix if someone hasn't chosen one and ONLY if they haven't chosen one? I understand your example, but I want to allow people to choose one and if they don't then have it chosen for them.

JamesGunner 01-22-2010 09:26 AM

Quote:

Originally Posted by Alien (Post 1961946)
Nice.

Hmm. Can this modification automatically choose a default thread prefix if someone hasn't chosen one and ONLY if they haven't chosen one? I understand your example, but I want to allow people to choose one and if they don't then have it chosen for them.

hmm, I guess not. I will try to correct this behavior in the next few days. Thank you for getting my attention on this.


//EDIT: After further investigation I found out that this is not possible. There are only 2 hooks in the newthread.php for posting. newthread_post_start and newthread_post_complete. There is no way to check if the user input or chose any prefix. Im sorry that I cant add this but if you are still interested in another solution you would have to edit the core files.

Skyrider 01-27-2010 07:04 AM

Is there anyway possible this can be combined with reported posts? I'd like to have them automatic prefixed. Tried to do so with a selected report section and added the PrefixID, but it doesn't seem to work with reported posts/threads.

Alien 01-28-2010 10:09 PM

Quote:

Originally Posted by JamesGunner (Post 1963223)
After further investigation I found out that this is not possible. There are only 2 hooks in the newthread.php for posting. newthread_post_start and newthread_post_complete. There is no way to check if the user input or chose any prefix. Im sorry that I cant add this but if you are still interested in another solution you would have to edit the core files.

Hey,

I really appreciate you looking into that for me, Oh well, I was hoping!

JamesGunner 01-29-2010 04:52 PM

Quote:

Originally Posted by FF|Skyrider (Post 1967732)
Is there anyway possible this can be combined with reported posts? I'd like to have them automatic prefixed. Tried to do so with a selected report section and added the PrefixID, but it doesn't seem to work with reported posts/threads.

It probably could. Im really busy right now so I really don't have any free time to create a product for this right now. Just check back as long as their is no plugin for this I will try to create one.

vijayninel 02-10-2010 05:15 PM

Quote:

Originally Posted by Alien (Post 1961946)
Nice.

Hmm. Can this modification automatically choose a default thread prefix if someone hasn't chosen one and ONLY if they haven't chosen one? I understand your example, but I want to allow people to choose one and if they don't then have it chosen for them.

Ditto request.

Working fine on 3.8.4. Thanks so much for this. :)

rabidkevin 06-29-2010 04:16 PM

Edit: nvm working..

viper357 07-09-2010 07:41 AM

Has anybody got this working on 3.8.5?

It's installed and all the options are there but no pre-fixes are showing.

I am trying to make the Reported Posts Threads have a prefix, but now would this be a problem because the forum is for mods only?

viper357 07-09-2010 07:44 AM

Ok, it looks like a permissions problem, the prefixes are working fine in the normal public forum, but not for threads created in the mods and admin only forums, how can I get around this? Thanks. :)

JamesGunner 08-07-2010 07:25 PM

@viper357 If you still need any help just pm me your changed version and I will take a look at it. Please include a detailed description of what exactly is not working and maybe some screenshots.

@all If there are any requests/bugs you might need help with pleas post here or pm me. I will subscribe to this thread, now and I can finally do some more changes if needed.

Lee Roberts 09-19-2010 12:41 AM

Hi,

Just to confirm this is working fine on vB 4.0.6.

Thanks.

58D 01-26-2011 01:56 AM

I would like to see an addition to this modification. If you move a thread from a forum that does not have a prefix into a forum that has a forced prefix, that thread should automatically take on the prefix.

I would LOVE to see this. Reason being, when my mods move a thread into a trash forum I've created, I want it to be clearly labeled as trash automatically.

clubvr4 04-06-2011 01:38 PM

Quote:

Originally Posted by JamesGunner (Post 1969898)
It probably could. Im really busy right now so I really don't have any free time to create a product for this right now. Just check back as long as their is no plugin for this I will try to create one.

Was this ever fixed? - I'd love to have reported post using prefixes assigned to that forum.

Thanks

Bankfodder 11-06-2011 07:31 PM

Very useful - but I'm afraid that it doesn't work for us - www.consumeractiongroup.co.uk

Bankfodder 11-06-2011 07:38 PM

In fact I think that it clashes with the vB obligatory - require prefix function so I am afraid that there is a bug here

KrU$ty 12-07-2011 06:49 AM

This seems to work fine if a human creates the thread, however i wanted to use this on a forum that posts RSS feed threads via cron job. I was wondering if you would be so kind as to include RSS bots/automatically generated threads in the modification?

Luca_ITA 12-28-2011 09:08 AM

Just installed in 4.1.9
Working perfectly.
Thank you for this mod!!

JabirA 04-16-2012 01:10 AM

Does it work on 4.1.12?

FernandoFG 04-18-2012 12:30 AM

Quote:

Originally Posted by 58D (Post 2154682)
I would like to see an addition to this modification. If you move a thread from a forum that does not have a prefix into a forum that has a forced prefix, that thread should automatically take on the prefix.

I would LOVE to see this. Reason being, when my mods move a thread into a trash forum I've created, I want it to be clearly labeled as trash automatically.

BIG +1

FernandoFG 04-18-2012 12:34 AM

Quote:

Originally Posted by vbulletin.org
Developer Last Online: Aug 2010

Crap...

kamran_dotnet 05-25-2012 06:21 PM

anyone test "Auto assign / Default thread prefix when posting a new thread" on 4.2 ?

Wolver2 08-07-2013 11:39 AM

I just tested and I cant get it to work for 4.21

After setting everything, No Prefix is being shown once posted in that specific thread

Novs67 02-07-2014 06:09 AM

Quote:

Originally Posted by Wolver2 (Post 2437624)
I just tested and I cant get it to work for 4.21

After setting everything, No Prefix is being shown once posted in that specific thread

same on 4.2

rohirrim 01-23-2016 06:57 PM

unfortanetly this mod is incompatible with VSa - Advanced Forum Statistics.
Prefix doesn't show up on this mod... Is there any fix?

https://vborg.vbsupport.ru/showthrea...hreadid=235841


All times are GMT. The time now is 05:49 PM.

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.01210 seconds
  • Memory Usage 1,778KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete