Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Auto assign / Default thread prefix when posting a new thread Details »»
Auto assign / Default thread prefix when posting a new thread
Version: 0.20, by JamesGunner JamesGunner is offline
Developer Last Online: Aug 2010 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.0.x Rating:
Released: 01-16-2010 Last Update: 01-16-2010 Installs: 79
DB Changes Uses Plugins
Code Changes Translations  
No support by the author.

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

Download Now

File Type: xml product-default_thread_prefixes.xml (2.8 KB, 456 views)

Screenshots

File Type: jpg preview.jpg (16.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
TAIFUN_T

Comments
  #2  
Old 01-19-2010, 06:24 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Need this for 3.8
Reply With Quote
  #3  
Old 01-19-2010, 03:56 PM
JamesGunner JamesGunner is offline
 
Join Date: Sep 2008
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DieselMinded View Post
Need this for 3.8
Did you try this on vb 3.8? I haven't tested it there...
Reply With Quote
  #4  
Old 01-20-2010, 10:42 PM
Jman423's Avatar
Jman423 Jman423 is offline
 
Join Date: Jan 2008
Location: Tampa, FL
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #5  
Old 01-21-2010, 02:58 AM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 01-22-2010, 09:26 AM
JamesGunner JamesGunner is offline
 
Join Date: Sep 2008
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alien View Post
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.
Reply With Quote
  #7  
Old 01-27-2010, 07:04 AM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 01-28-2010, 10:09 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JamesGunner View Post
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!
Reply With Quote
  #9  
Old 01-29-2010, 04:52 PM
JamesGunner JamesGunner is offline
 
Join Date: Sep 2008
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FF|Skyrider View Post
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.
Reply With Quote
  #10  
Old 02-10-2010, 05:15 PM
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alien View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05429 seconds
  • Memory Usage 2,323KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete