Topic (incl. Blog) of the Week/Fortnight/Month Nomination v1.621 - vBulletin.org Forum
Version: 3.7.x
What this mod does
It adds a "Topic Of The Week/Month" nomination system to your community.
What is Topic Of The Week/Month?
Topic of the Week/Month is a contest that select posts on which your community can commit to as a group and then comment/discuss on them during the course of the selected week/month. Any listed topic (post, thread) is eligible for the Topic of the Week/Month selection.
What determines a Topic Of The Week/Month?
Topic Of The Week/Month is based on a simple nomination system. Throughout the selected forums, members with adequate permissions can nominate their favorite topic by clicking on the award nomination button below the post.
The five topics with the most votes during the course of the week/month are automatically displayed on a nomination thread including a poll feature. At the end of the week/month, the first three topics with the most votes are the award winners of the contest.
Features:
Version 1.50
Update in version 1.01
Nominated posts titles hot linked in the poll to actual thread/post of the forum
Update in version 1.1
Update in version 1.22
I noticed that some code instructions fail to work properly depending on the PhP version been used.
If you are running the v 1.35 and TOTW on a weekly basis and if for some reason, your cron file failed to work and create a new nomination thread on Sunday 13, July 2008, please use the attachment "updated-cron-14-07-2008.zip". The instructions are given in there.
Update in version 1.40
Topic of the Week-Month Nomination v1.51 Updated Prod and Cron
Topic of the Week-Month Nomination v1.51 Updated function
Update in version 1.60
Update in version 1.62
Version: 3.7.x
What this mod does
It adds a "Topic Of The Week/Month" nomination system to your community.
What is Topic Of The Week/Month?
Topic of the Week/Month is a contest that select posts on which your community can commit to as a group and then comment/discuss on them during the course of the selected week/month. Any listed topic (post, thread) is eligible for the Topic of the Week/Month selection.
What determines a Topic Of The Week/Month?
Topic Of The Week/Month is based on a simple nomination system. Throughout the selected forums, members with adequate permissions can nominate their favorite topic by clicking on the award nomination button below the post.
The five topics with the most votes during the course of the week/month are automatically displayed on a nomination thread including a poll feature. At the end of the week/month, the first three topics with the most votes are the award winners of the contest.
Features:
- Uses AJAX technology.
- Uses one query per show thread page
- Fully phrased to allow (language translation) (addition v 1.3)
- Places an easy to use "Nominate Post" button next to the edit button
- Automatically create a nomination thread for discussions on nominees
- Displays a varying nomination stamps on posts that have been nominated for the contest. The color of the nomination stamps varies depending on how many users have nominated the post. (addition v 1.2)
- Displays an award winner stamp op award winner posts at the end of the Topic Of The Week/Month contest. (addition v 1.2)
- Via postbit pop-up, displays link to find all nominations or nominees made by a user (addition v 1.35)
- Via postbit pop-up, allows selected usergroups (e.g. Moderators or SuperModerators) can withdraw all user’s nominees from all posts (addition v 1.2) or to remove all current nominations on a given user (addition v 1.35)
- Option to select the maximum number of topics that must be displayed in the poll (addition v 1.2)
- Option to take or not into account for nomination only posts made during the month preceding the nomination cycle time (addition v 1.2)
- Option to consider the maximum number of posts a user can nominate per cycle time (addition v 1.2)
- Nominated posts titles hot linked in the poll to actual thread/post of the forum. Links displaying on the same page (No. popups) (addition v 1.3)
- Automatically closes the nomination thread at end of the contest cycle time (weekly/monthly)
- Quick link to nomination thread via the "Quick Navigation" menu
- Quick link to award winners page via the "Quick Navigation" menu (addition v.1.1)
- Automatically update the nomination poll whenever a post is nominated or withdraw from the contest.
- Separate looks for postbit and postbit_legacy
- Places all post nominees in one small box
- Displays award winners in one small box
- Quick link to nomination thread via the "small box" on the thread page
- Option to allow award winners to re-enter the contest after X days
- Users cannot nominate the same post twice
- Option to not allow users to nominate their own post
- Counts nominees submitted by a user
- Counts how many times a nominee is submitted
- Shows how many nominees a user submitted in every post of his
- Shows info in member's profile
- Option to search for posts nominated by a user
- Option to search for all nominated posts
- Administrator can withdraw all nominees of a single post
- Selected usergroups (e.g. Moderators or SuperModerators) can withdraw all nominees of a single post (addition v 1.10)
- Users can withdraw their own nominee
- Option to disable the mod on selected forums
- Option to disable the mod on all but the first post of a thread
- Option to disable the mod on all but the first post of a thread in specific forums
- Option to enable/disable view of nomination date on specific or all forums
- Option to add to post count when someone nominate a post.
- Option to give reputation points to the user whose post is nominated.
- Option to ban selected usergroups from using the mod
- Option to ban selected users from using the mod
- Option to display user’s nomination statistics on postbit (addition v 1.10)
- Option not to display nomination statistics on postbit for selected users (addition v 1.10)
- Option not to display nomination statistics on postbit for selected usergroups (addition v 1.50)
- Option to display or not the hall of fame link in Quick-Links (addition v 1.3)
- Option to select forums on which nominations must be considered (addition v 1.35)
- Hall of fame re-designed to handle a Top 10 award winners, all time cumulated (addition v 1.3)
- Option to refresh the poll thread if for some reason a post referenced in the poll came to be deleted (addition v 1.3)
- Option to use the current week number or month, or the next week number or month, in the contest title (addition v 1.3)
- Option for archiving nominations in the "Nomination Thread" automatically whenever a user nominate a post. (addition v 1.35)
- Option to automatically send a PM to award winners at the end of the contest (addition v 1.4)
- Option to automatically add points to award winners’ reputation at the end of the contest (addition v 1.4)
- If the current “Nomination Thread†is deleted for whatever reason, a single manual run of the cron file will suffice to create a new thread, avoiding a clean install of the product.
- Option to nominate blog entries (addition v 1.6)
- Option to have award winners or nominated posts icons displayed on posts, so that nominated posts can be easily identified when listing posts.
- Option to close current nomination thread and create a new one directly from the ACP
Version 1.50
- Uncompress the archive
- 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 if you are upgrading) - Adjust the mod settings as you see fit.
Specify the Forum ID that will receive nomination threads. Also specify the User ID of the nomination thread owner.
ACP -> vBulletin Options -> vBulletin Options -> Nominate Topic Mod - Save the specified settings
- ACP -> Scheduled Tasks -> Scheduled Task Manager
Nominate Weekly Or Monthly Topic Mod -> Run Now
Update in version 1.01
Nominated posts titles hot linked in the poll to actual thread/post of the forum
Update in version 1.1
- Postbit_legacy fixed
- Quick link to award winners page via the "Quick Navigation" menu
- Selected usergroups (e.g. Moderators or SuperModerators) can withdraw all nominees of a single post
- Option to display user’s nomination statistics on postbit
- Option not to display nomination statistics on postbit for selected users
- Small bugs fixed
- Tested on vB 3.7.0 and vB 3.7.2
- Working on vB 3.6.8 and above
- Displays a varying nomination stamps on posts that have been nominated for the contest. The color of the nomination stamps varies depending on how many users have nominated the post. (addition v 1.2)
- Displays an award winner stamp op award winner posts at the end of the Topic Of The Week/Month contest. (addition v 1.2)
- Via postbit pop-up, displays link to find all nominations made by a user (addition v 1.2)
- Via postbit pop-up, allows selected usergroups (e.g. Moderators or SuperModerators) can withdraw all user’s nominees from all posts (addition v 1.2)
- Option to select the maximum number of topics that must be displayed in the poll (addition v 1.2)
- Option to take or not into account for nomination only posts made during the month preceding the nomination cycle time (addition v 1.2)
- Option to consider the maximum number of posts a user can nominate per cycle time (addition v 1.2)
- Fix for transition to Week 28 on cron file
- Fix Unknown column error when adding a nomination.
- Few bugs on withdraw nomination
Update in version 1.22
- Fix Duplicate entry issue.
- Clean cron file
- Full phrasing for those who wish to translate it.
- Nominated posts titles hot linked in the poll to actual thread/post of the forum. Links displaying on the same page (No. popups) (addition v 1.3)
- Option to display or not the hall of fame link in Quick-Links (addition v 1.3)
- Option to select only one forum on which nominations must be considered (addition v 1.3)
- Hall of fame re-designed to handle a Top 10 award winners, all time cumulated (addition v 1.3)
- Option to refresh the poll thread if for some reason a post referenced in the poll came to be deleted (addition v 1.3)
- Option to use the current week number or month, or the next week number or month, in the contest title (addition v 1.3)
- Fully phrased to allow language translation (addition v 1.3)
- Cron file up-to-date
- Option to select forums on which nominations must be considered
- Option for archiving nominations in the “Nomination Thread†automatically.
- Fortnightly cycle time added
- Fully phrased to allow language translation (addition v 1.35)
- Few reported bugs fixed
I noticed that some code instructions fail to work properly depending on the PhP version been used.
If you are running the v 1.35 and TOTW on a weekly basis and if for some reason, your cron file failed to work and create a new nomination thread on Sunday 13, July 2008, please use the attachment "updated-cron-14-07-2008.zip". The instructions are given in there.
Update in version 1.40
- Option to automatically send a PM to award winners at the end of the contest (addition v 1.4)
- Option to automatically add points to award winners’ reputation at the end of the contest (addition v 1.4)
- If the current “Nomination Thread†is deleted for whatever reason, a single manual run of the cron file will suffice to create a new thread, avoiding a clean install of the product.
- Option not to display nomination statistics on postbit for selected usergroups (addition v 1.50)
- Few display titles fixed
- Additions made for users who had problems displaying the nomination button and stamp on their styles. Checkout the "Readme and installation" file.
- Cron file completely rewritten. Why?
The previous cron file worked fine only when they were activated manually from the Run button in the Admin CP, but they were failing to run on their own as a scheduled task. I noticed that vbulletin global variables were no longer been passed to the cron file. Why??? I have actually getting the values of vbulletin global variables needed for the cron directly from the database.
If you noticed that the "Nomination Thread" of the past week did not closed properly, proceed as follow:
[*]Open the cron file (upload/included/cron/
[*]Search for "// $createNewThread = 1;"
[*]Replace it by: "$createNewThread = 1;"
[*]Upload the cron file and run it manually (only once), just to close the previous thread and open a new one.
[*]Upload the original cron file back (the one with "// $createNewThread = 1;")
- For weekly nominations, Cron file set to create a new "Nomination Thread" every MONDAY's (00:10AM) as the week numbering starts on Monday's and not on Sunday's (as set in v 1.50)
- Refresh your poll from the ACP -> Nominate Topic -> Refresh Poll (This will update the display title of both the poll and the nomination thread)
- Upload the content of the attachment v 1.51 to your root directory. (DO NOT MANUALLY RUN THE CRON FILE)
Topic of the Week-Month Nomination v1.51 Updated Prod and Cron
- Automatic PM subject phrase moved from "<phrasetype name="Email Subject Text" fieldname="emailsubject">" to "<phrasetype name="GLOBAL" fieldname="global">"
- For monthly nominations, Cron file set to create a new "Nomination Thread" every 1st day of the month (00:10AM) and not on the last day of the month.
Topic of the Week-Month Nomination v1.51 Updated function
- Function updated (see attachment) as a result of exchanges with Kevil via TeamViewer.
Update in version 1.60
- Option to nominate blog entries (addition v 1.6)
- Option to have award winners or nominated posts icons displayed on posts, so that nominated posts can be easily identified when listing posts.
- Option to close current nomination thread and create a new one directly from the ACP (NOT VIA THE CRON)
- Typing mistake fixed in the "nominate_topic_admin.php". nominate_topic_amount instead of nominated_topic_amount.
- Fix for "Could not find phrase 'This is an automatic message to inform you that your post ..." message.
Update in version 1.62
- Typing mistake fixed in the "nominate_topic_admin.php". nominate_topic_amount instead of nominated_topic_amount.
- Fix for http:"//... occurring in the poll while listing blog entries.
- Display of nomination stamps while listing blog entries from the blog.
- Fix for displaying of blog entries in poll when a post is nominated from the non blog board.
- Fixed "Parse error: syntax error, unexpected '}' in /includes/cron/nominate_topic_cron.php on line 584"
- Fixed ": syntax error, unexpected T_STRING in /home/nascartr/public_html/community/admincp/nominate_topic_admin.php on line 435"