Version: 2.0.2, by vbboarder
Developer Last Online: Apr 2012
Category: Show Thread Enhancements -
Version: 3.8.x
Rating:
Released: 09-18-2009
Last Update: 09-19-2009
Installs: 161
DB Changes Uses Plugins Auto-Templates
Additional Files
No support by the author.
Week / Month Topic Nominations
Acknowledgments:
This release would not have been possible without the existence of the former ?Topic Nominations? by J98680B2423E (Data) and "Post Thank You" by Abe1, which provided the mod?s core structure. A nice set of button and awards images have also been provided by princeedward. You can view screenshots at the original mod's thread:VB 3.7 Topic Nominations
What is Topic Of The Week/Fortnight/Month?
It adds a "Topic Of The Week/Month" nomination system for your community.
Topic of the Week/Month is a contest that select posts on which your community can nominate as the best and then discuss them during the course of the selected week/fortnight /month. Any listed topic (post, thread) is eligible for the Topic of the Week/Fortnight /Month selection. This mod should also work in VB 3.7.x, but it has only been tested in VB 3.8.
Features of New 2.0 Version:
50+ bugs fixed & 30+ phrases changed for clarification.
Fixed ajax functionality for adding & removing nominations.
16 settings to determine which users can nominate and which posts can be nominated.
Documented this mod?s limitations & changelog in the 2nd post.
Fixed Hall of Fame to to correctly display most awarded members and topic winners from the past 3 contests (3 awards per contest).
Added new setting, max # of nominations user can receive, to prevent a poll being dominated by a single user.
Added new function to recount # of current nominations received and past awards.
Added new function to manually finalize the current contest, close the old poll thread, and create a new poll thread.
An option to enable blog nominations is available and should work (coded by Data), but is not supported (I do not have VB Blog).
You must have 3 VB default hooks in the postbit template: see troubleshooting below for details. If you ask for help with a problem, you must state in your post if you have reverted ALL nomination templates and read the troubleshooting tips in the 2nd post. If you haven?t, do so otherwise you will be ignored & can debug it yourself.
Installation instructions:
Upload the content of the "upload" folder into your forum root directory
Import the "product_nominate_topic.xml" product via your ACP:
ACP -> Plugins & Products -> Manage Product -> Add/Import Product (Allow overwrite for updating)
For upgrades only, REVERT ALL nominate_topic templates in ACP -> ?Find Updated Templates? or top FYI section of Control Panel. This mod will work only if ALL templates are reverted since major changes were done to them. Reapply custom phrasing to changed phrases as needed.
Adjust & save the mod settings to your preference in ACP -> VB Options. It is strongly recommended that you use the default, preset options.
Specify the Forum ID that will receive nomination threads and the Forum ID's for which posts can be nominated. Also specify the User ID of the nomination thread owner.
For new installs only, start a new nomination poll at:
ACP side menu -> Nominate Topic -> Special Actions -> Create New Poll Thread
Read the 2nd post for Troubleshooting Tips & Mod Limitations and the 3rd post for specific features of this mod.
Version History:
2.0.0: Initial Release.
2.0.2: Fixed table column bug.
very nice work i installed it on 3.8.3 and when i click on withdraw all nominations i get this error
Warning: implode() [function.implode]: Bad arguments. in [path]/includes/functions_nominate_topic.php on line 1003
Invalid SQL:
DELETE FROM vb_reputation WHERE postid = '364050' AND whoadded IN ();
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
Error Number : 1064
but when i refresh the page it goes away but the image stays without the user who nominated the post.i have to refresh the page again in order to remove that,then after refreshing the page it comes back.any idea to resolve this,thanks
Your problem can occur if you didn't give reputation points for nominating when that user nominated, then you gave reputation points for nominating, then you withdrew the nominations. Since no reputation points were recorded initially, the error resulted. This is a relatively rare bug, but I'll fix it in a later update.
Note: The 2.0 mod has give reputation points for nominating by default; I think versions 1.x didn't so that can cause a problem.
So if I want it to the right of the username, where do I put $template_hook[postbit_userinfo_left]
The thing is I think the experience bars use the same hook. So how can I just move the "nominated" logo
Your problem can occur if you didn't give reputation points for nominating when that user nominated, then you gave reputation points for nominating, then you withdrew the nominations. Since no reputation points were recorded initially, the error resulted. This is a relatively rare bug, but I'll fix it in a later update.
Note: The 2.0 mod has give reputation points for nominating by default; I think versions 1.x didn't so that can cause a problem.
thnx for the reply,i tried that but still same.I will wait for the update :up:
[s]I'm still getting the following page "The Administrator(s) did not defined a receiving forum for hosting poll results of the TOTW/TOTM contest.".[/s]
Edit: Everything is working just fine now. Thank you for the support as well as for a nice mod.
Quote:
Originally Posted by AzzidReign
UPDATE!
It's working good so far! I'll let you know how everything goes here in a week and a half when the current poll ends and the new one starts! But no more errors thus far!
THANK YOU!
So if I want it to the right of the username, where do I put $template_hook[postbit_userinfo_left]
The thing is I think the experience bars use the same hook. So how can I just move the "nominated" logo
So if I want it to the right of the username, where do I put $template_hook[postbit_userinfo_left]
The thing is I think the experience bars use the same hook. So how can I just move the "nominated" logo
If you go to ACP -> Plugin Manager, find the Topic Nominations plugin HOOKED TO postbit_display_start:
FIND:
eval('$template_hook[postbit_userinfo_left]
AND REPLACE WITH:
eval('$template_hook[postbit_userinfo_right]
OR: whatever other $template_hook that you want and is available in postbit template so that the images don't conflict.