The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Topic (incl. Blog) of the Week/Fortnight/Month Nomination v1.636 Details »» | |||||||||||||||||||||||||||
Topic (incl. Blog) of the Week/Fortnight/Month Nomination v1.636
Developer Last Online: Oct 2011
On my board (USS Enterprise, NCC-1701-D), we get many comments daily or weekly on many different topics and there are so many topics in the community that to be honest, we had a tough time remembering the topic being reviewed to offer a timely comment or response. Obviously, we needed a weekly/monthly topic nomination system with which we could get our community to commit to one topic as a group and then comment on it during the course of the week/month.
Cruising vB.org at warp speed, I failed to find a nomination system readily available. Hence, I quickly wrote this mod (on my way to the bridge). Acknowledgement: This release would not have been quickly possible without the existence of most hacks released at vB.org, especially the "Thank You" hack by Abe1, which provided this mod basis structure. Our thanks and all the merit goes to Abe1. A nice set of button and awards images have also been kindly provided by PrinceEdward to whom we also extend our thanks. Many constructive feedbacks have been given by those members at the vB.org community who downloaded the first releases of this Mod, the implementation of which has led to an improved version of the Mod. We extend our thanks to those members. 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:
Installation instructions Version 1.63
Enjoy 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.2
Update in version 1.21
Update in version 1.22
Update in version 1.3
Update in version 1.35
Update 14/07/2008 in cron file 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
Update in version 1.50
Update in version 1.51
If you are running v 1.50 with weekly cycle time and noticed that a new nomination thread has been created but the display title is still that of the previous thread (week 30), then this is for you. Do not delete the newly created nomination thread (with title week 30). On Monday 21st July, 2008, after 00:10AM, proceed as follow:
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.61
Update in version 1.62
Update in version 1.621
Update in version 1.63
Update in version 1.635
Update in version 1.636
Feedback are welcome and implementation of constructive suggestions will likely be carried out during weekends only, as I am kept busy with other matters during working days. Also, feel free to add improvements in those files and post them. To other coders: feel free to add improvements to the Mod (files) and post them. I will directly use your updated files for the next version of the mod. Supporters / CoAuthors Show Your Support
|
Comments |
#282
|
|||
|
|||
The error is still there!
Quote:
Quote:
|
#283
|
|||
|
|||
Quote:
|
#284
|
|||
|
|||
Uninstalled
When the version be improved I will install it, But right now there are too many errors... : ( |
#285
|
|||
|
|||
This was working well but now that my team / users are starting to use the Mod we are gettign errors like:
PHP Code:
Any ideas? |
#286
|
|||||||
|
|||||||
Quote:
Good suggestion TimberFloorAu. Will proceed as suggested with the cron hourly test later today. The previous week entries were damaged during the transition Sunday/Monday. Quote:
Quote:
Quote:
Quote:
Don't know how it's done on the CMPS side. Keep us posted Please describe the steps that you are following so that I can replicate them on my side. (All steps of the installation done? Cron file manually run at the first installation?) Quote:
1. Scroll down until you reach the plugins section 2. In the "global_setup_complete" plugin, add this line just after the "<![CDATA[": $vbulletin->templatecache['yourtemplatehook'] = str_replace("prevHTMLLocationCode", "prevHTMLLocationCode".$vbulletin->templatecache['nominate_topic_button'], $vbulletin->templatecache['yourtemplatehook']); 3. In the "postbit_display_complete" plugin, change this line: eval('$template_hook[postbit_controls] .= " ' . fetch_template('nominate_topic_button') . '";'); with: eval('$template_hook[yourtemplatehook] .= " ' . fetch_template('nominate_topic_button') . '";'); -- That should do it. Quote:
Open the v 1.22 attachment and upload the file located in "upload/includes/functions_nominate_topic.php" to the corresponding location on your site. |
#287
|
|||
|
|||
Weird I had thought I was already running 1.22......
Have also imported the product again. Do I need to uplaod the rest of the files again as well? |
#288
|
|||
|
|||
Still getting:
PHP Code:
|
#289
|
|||
|
|||
Quote:
The following edit was made in "functions_nominate_topic.php" on v 1.22 to prevent that error: Code:
if ($vote_option > 0){ $get_pollvote = $vbulletin->db->query_read("SELECT * FROM ". TABLE_PREFIX ."pollvote WHERE userid = '$user_id' AND pollid = '$poll_id' AND voteoption = '$vote_option' AND votetype ='$vote_option'"); $nb_pollvote = $vbulletin->db->num_rows($get_pollvote); if ($nb_pollvote == 0){ $vbulletin->db->query_write("INSERT INTO " . TABLE_PREFIX . "pollvote (pollid,userid,votedate,voteoption,votetype) VALUES ('$poll_id','$user_id','$now','$vote_option','$vote_option')"); } } From your report: Quote:
$vote_option = 6, the same value is assigned to 'votetype' in the "functions_nominate_topic.php" up-to-date file, see code above, and not '0' as shown on your feedback above, hence this error will not occur if you have the file "functions_nominate_topic.php" not up-to-date. Redownload the attachment and upload the "functions_nominate_topic.php". |
#290
|
||||
|
||||
Bro...need help too...on this...
after update got also this error when i click nominate button at my postbit_legacy setting note: Tried also Clean Install (delete thread and upload all new files same as product...) but still no luck! new functions_nominate_topic.php 3X test to upload Database error in vBulletin 3.6.8: Code:
Invalid SQL: SELECT * FROM pollvote WHERE userid = '1' AND pollid = '30' AND voteoption = '1' AND votetype ='1'; MySQL Error : Unknown column 'votetype' in 'where clause' Error Number : 1054 Date : Tuesday, July 8th 2008 @ 12:44:13 PM Script : http://mysite.com/nominate_topic.php...securitytoken= Referrer : http://mysite.com/showthread.php?p=6782 IP Address : XX.XXX.XXX Username : princeedward Classname : vB_Database +++++++++++++++++++++ got (3) of this also: Withdraw All Nominations < not working to poll Withdraw All Nominations < not working to poll Withdraw Your Nomination < working good thanks and best regards... |
#291
|
|||
|
|||
i keep getting this database error when trying to withdraw nominations as wee as trying to view all nominations:
Code:
Database error in vBulletin 3.7.2: Invalid SQL: SELECT userid, username, usertitle, nominate_topic_user_amount, nominate_topic_nominated_posts, nominate_topic_nominated_times, nominate_topic_nominated_awards FROM user WHERE nominate_topic_nominated_awards > 0 ORDER BY nominate_topic_nominated_awards DESC LIMIT 0,2; MySQL Error : Unknown column 'nominate_topic_nominated_awards' in 'field list' Error Number : 1054 Request Date : Tuesday, July 8th 2008 @ 09:15:18 AM Error Date : Tuesday, July 8th 2008 @ 09:15:18 AM Script : http://mydomain.net/forums/nominate_topic.php?do=shownominationawardswinners Referrer : http://mydomain.net/forums/passwords/491-biggest-list-more-than-10000-passes.html IP Address : removed Username : admin Classname : vB_Database MySQL Version : 4.1.22-standard |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|