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 |
#1032
|
|||
|
|||
any solutions to this problem too? i'm getting it too.... argg!
|
#1033
|
|||
|
|||
ok my db got quite screwed up at the end of the week when my 1st nominations close. tried fixing the db but need some urgent help:
1. what happens to posts that have been nominated in previous week but didn't win? what shld their db entries be for the following fields under vb_post: nominate_topic_amount , nominate_topic_award & nominate_topic_award_rank 2. what happened at the end of the week, all these 3 fields above were set to 0 for all nominated posts. As a result, when members try to search for nominated posts of a member, it returns a nil result. Is that supposed to be the way? I would think that it shld list all past posts that have been nominated and not just the current week's nomination right? 3. does it cater for poll results with equal number of votes? What happens then? Really hope to get some support, even if you cannot solve it, hope you can at least help to clarify the structure so I can try to fix it myself. Tks!!! |
#1034
|
|||
|
|||
Quote:
|
#1035
|
||||
|
||||
Quote:
1. For non-awarded posts, nominate_topic_amount , nominate_topic_award & nominate_topic_award_rank should all be 0. For awarded posts, those values vary with when & what award they got. 2. It only shows nominated posts for the current contest or that have past awards. It does not show past nominations that did not win. 3. It will award a maximum of 3 awards per contest period - this is can not be changed, it's hard-coded. Less than 3 awards are given if there's < 3 posts nominated. |
#1036
|
||||
|
||||
Quote:
Code:
<if condition="$post[userid]"> <if condition="$post[nominate_topic_nominated_awards] == 0"> <div>$vbphrase[nominate_topic_has_not_won_TOTWFM_yet]</div> <else /> <div><phrase 1="$post[nominate_topic_nominated_awards_formatted]"><img src="$stylevar[imgdir_misc]/nominate/award_star_gold_3.png" alt="$vbphrase[nominated_topic_nominations]" style="vertical-align:middle" border="0" /> $vbphrase[nominate_topic_nominated_awards_TOTWFM]</phrase></div> </if> </if> If you know HTML, then you can convert the image to a link. |
#1037
|
||||
|
||||
This problem has been posted several times already. It has something to do with allowing users to withdraw their nominations. I suggest disabling nominations withdrawal until this bug has been fixed. I'm only running this mod on a test site so I have not been able to replicate this problem. On my test site, I have several users in different usergroups, and I tried 'withdraw your nominations' and 'withdraw all nominations', but still have not been able to reproduce this problem. So it probably involves some convoluted series of added nominations/ withdraw nominations actions. If people post more useful info (instead of obvious error/ bug complaints) about the series of nomination actions that happens on a specific post, then I may be able to debug this problem. |
#1038
|
|||
|
|||
Quote:
I will have a play around with the HTML regarding the image. At least i know where to look now! Thanks again. |
#1039
|
|||
|
|||
Quote:
For Q3, what I mean to ask is, what if the results of the poll are 5, 4, 3, 3, 3, which means that some of the polls share same number of votes. How does it award the top 3? For Q2, I understand how it works now. I observe that if i retain the values of the variable nominate_topic_amount, then when a search is done for a members' nominated posts, it will show all past nominations as well. I think that it is important, just like the 'thank you' mod for members to be able to see what posts of other members were previously nominated. However, the main problem is that it will then display that the post has 'won' the TOTW. Where do I go to change the check to exclude nominate_topic_amount to determine if the post has won? I believe that the variable nominate_topic_award_rank shld be sufficient to determine if the post has won previously and we can exclude the condition on nominate_topic_amount? |
#1040
|
||||
|
||||
Quote:
How would I chant it to "TOTW Award(s): 0" |
#1041
|
||||
|
||||
I'm not familiar w/ this Mod BNG however you could remove the phrase and type what you want just make sure any href tags etc stay in place or anything telling it the count
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|