vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Thread Promotion System (https://vborg.vbsupport.ru/showthread.php?t=213314)

IdanB 05-09-2009 10:00 PM

Thread Promotion System
 
1 Attachment(s)

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 :)

IdanB 05-10-2009 01:48 PM

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

isatice 05-10-2009 02:19 PM

first :D , thanks , great job , really needed this hack , but i think if it was based on thread view , it would be more useful , any idea ?

ZiG 05-10-2009 02:28 PM

yes thread view, or would be even better to see this working with post ranking:
https://vborg.vbsupport.ru/showthread.php?t=203801

IdanB 05-10-2009 03:07 PM

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.

ArnyVee 05-10-2009 09:53 PM

Sorry to have this silly question....but, what sort of instances would you use this type of mod?

IdanB 05-11-2009 02:57 AM

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."

OcR Envy 05-22-2009 12:33 PM

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

ishare 05-22-2009 06:45 PM

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

GhoHan 05-22-2009 11:12 PM

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


All times are GMT. The time now is 03:11 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.01010 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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