Version: 1.0.2, by IdanB
Developer Last Online: May 2010
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).
I'm Mark as Installed.
I have release his/her product using just add " . TABLE_PREFIX . " for select or query when call SQL Database command if you are using tabel perfix
I just say this a good idea for promotion that thread
Fantastic idea :up:
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
Thanks for the headsup, totally forgot about that in this hack, only added it to install code but neglected to add it on hook as well.
it was fixed in version 1.0.1 - now available.
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
Is this "cinema date" field under the forum table ?
I could add support for promotion based on date. i'll add some support for it (custom field) on next version.
Doesnt work seemingly. It has moved ALL of the posts within one forum and promoted them to the one I set automatically when some of these threads have had 0 replies when I had it set to 500. Uninstalled until this is ironed out.
Doesnt work seemingly. It has moved ALL of the posts within one forum and promoted them to the one I set automatically when some of these threads have had 0 replies when I had it set to 500. Uninstalled until this is ironed out.
Thank you
o.O
Sounds weird, as i've tested it on my server & it seemed to be working.
To be on the safe side, i'll do complete code review & should any bug found i'll release quick update during next couple of hours.
EDIT:
You are right !!
I had mistake in the MYSQL query condition. I'm really sorry about this.
I've uploaded an updated version (1.0.2) - grab it - it will fix the issue.
Thank you, reinstalled I honestly thought all the threads from that forum had been wiped, glad it is fixed as this is a decent modication.
________ Expert Insurance
i'm adding a category option to threads, how hard would it be to modify this to move threads that haven't been posted in 7 days and uses the categories to determine where to move them?