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

Reply
 
Thread Tools
Thread Promotion System Details »»
Thread Promotion System
Version: 1.0.2, by IdanB IdanB is offline
Developer Last Online: May 2010 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.2 Rating:
Released: 05-09-2009 Last Update: 05-25-2009 Installs: 19
DB Changes Uses Plugins
 
No support by the author.


Thread Promotion System
By: Idan B.

1. Description & Usage:
Thread Promotion Sytem hack will allow the forum admin to set auto promotion system that will move thread from Forum A to Forum B once passed certain replycount.
Usage Example: "promote" popular threads to a subforum, so that new threads do not get drowned out by popular ones.

2. Installation:
Please click Mark as Installed.
Installation is pretty easy - just download & install:
  • Goto: AdminCP->Plugin System->Manage Products : Choose "Add/Import Product" and import this product xml (product-thread_promotion.xml)
3. Upgrade From Older Version:
1. uninstall previous version.
2. install new version as described in previous section.

4. Configuration:
Once installed, the "Forum Manger" under admincp will have extra section for each forum:
Section name: "Thread Promotion System"
  • Enabled ? - Yes/No
  • Reply Count - Text (INT)
  • Forum Target - Selection box
5. Known Bugs:
  • [S]All threads are moved to target forum in certain condition[/S] - fixed in v1.0.2
6. TO-DO's LIST (Next Versions):
  • Allow to add redirect thread on original forum.
  • Allow to set redirect on forum category instead of configuring this per each forum.
  • Allow to promote vs. matching of cutom field (such as date).
7. Extras (How-To Tutorials):
I've written a complete "walk-through" of this modifcation development.
Read it here: https://vborg.vbsupport.ru/showthread.php?t=213316

Enjoy hack & dont forget to click Mark as installed

Download Now

File Type: xml product-thread_promotion.xml (12.2 KB, 108 views)

Screenshots

File Type: jpg plugin_options_admincp.jpg (23.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-10-2009, 01:48 PM
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Location: Israel
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

26 May 2009 - Version 1.0.2 released :
  • CRITICAL BUG FIX: certain condition caused all threads being moved to target forum (instead just the one that should be moved). This is marked as critical bug, should any1 have previous version(s) installed, please upgrade now.

23 May 2009 - Version 1.0.1 released :
  • BUG FIX: TABLE_PREFIX was missing on hook queries. Special thanks goes to i-comers.com - thanks for the headsup, i've neglected to add it
Reply With Quote
  #3  
Old 05-10-2009, 02:19 PM
isatice's Avatar
isatice isatice is offline
 
Join Date: Mar 2008
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

first , thanks , great job , really needed this hack , but i think if it was based on thread view , it would be more useful , any idea ?
Reply With Quote
  #4  
Old 05-10-2009, 02:28 PM
ZiG ZiG is offline
 
Join Date: Oct 2002
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes thread view, or would be even better to see this working with post ranking:
https://vborg.vbsupport.ru/showthread.php?t=203801
Reply With Quote
  #5  
Old 05-10-2009, 03:07 PM
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Location: Israel
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any ideas & requests to further enhance this modification are all welcome & will surely be coded into next version(s).
I simply awaiting on community feedback, so i can know what needs improving / fix

EDIT: Edited mod post to add link of the How-To guide i've written - there i'm showing how this modification was developed step-by-step.
Reply With Quote
  #6  
Old 05-10-2009, 09:53 PM
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry to have this silly question....but, what sort of instances would you use this type of mod?
Reply With Quote
  #7  
Old 05-11-2009, 02:57 AM
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Location: Israel
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

one of main uses of this hack, as the original requester described it:
"Just for more insight, I will be using this modification to "promote" popular threads to a subforum, so that new threads do not get drowned out by popular ones."
Reply With Quote
  #8  
Old 05-22-2009, 12:33 PM
OcR Envy's Avatar
OcR Envy OcR Envy is offline
 
Join Date: May 2008
Location: Boston
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd love too see an option for polling.

IE:
If Poll Results 1 > Poll Results 2 Move To Forum A
If Poll Results 1 < Poll Results 2 Move To Forum B
Reply With Quote
  #9  
Old 05-22-2009, 06:45 PM
ishare ishare is offline
 
Join Date: Jun 2006
Location: Stockholm
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod would be very useful for me if it was with "time period" instead of reply count. I would love to use this great hack on my movie review website.

I have a category such as "Coming soon Movies". When we post a new thread in this category, we do enter the showing on cinemas date also. so instead of moving all threads manually, with this mod i could be able to move the threads to the "Movies in Cinemas" category.

Do you think its possible ?
Regards
Reply With Quote
  #10  
Old 05-22-2009, 11:12 PM
GhoHan's Avatar
GhoHan GhoHan is offline
 
Join Date: Oct 2007
Location: Jakarta - Indonesia
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Coder forget about TABLE_PREFIX when call SQL Database
this modification just working if you don't have TABLE_PREFIX or you can modification that manualy.

I hope coder release the product using " . TABLE_PREFIX . " for query or select sql database.

Best Regards
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:40 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.05359 seconds
  • Memory Usage 2,316KB
  • 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
  • (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
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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