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 |
#562
|
|||
|
|||
Great mod!
I have one problem though. I've set it for a weekly thread, but the title of the thread is still Thread of the week - July - 2008. How do I get it to show the current week? |
#563
|
|||
|
|||
Quote:
|
#564
|
|||
|
|||
Quote:
Do you have the button displayed when using the default vbulletin style? Let me know. |
#565
|
|||
|
|||
On a default style it works normally
|
#566
|
|||
|
|||
I have noticed with another user that a "customized style" can have an effect on some functions calls, namely these ones:
$this->registry->userinfo defined('LOCATION_BYPASS') nominate_topic_off($thread['forumid'], $post, $thread['firstpostid'], THIS_SCRIPT) They all return false some how on some "customized styles", hence the non display of the nomination button and stamps since they are activated by successful completion of the test: Code:
if ($this->registry->userinfo['userid'] != 0 && !(defined('LOCATION_BYPASS')) && !(nominate_topic_off($thread['forumid'], $post, $thread['firstpostid'], THIS_SCRIPT))){...} |
#567
|
|||
|
|||
Quote:
If you are having trouble with the nominate button and stamp images not displaying, proceed as follow: 1. ACP -> Templates & Styles -> Search in Templates 2. Search for ?postbit? 3. Open the ?postbit? for customization (for edit) 4. Search for: Code:
<td valign="top" nowrap="nowrap"> <div class="smallfont"> <if condition="$post['joindate']"> Code:
$nominate_topic_stamps_box Code:
$template_hook[postbit_controls] Code:
$nominate_topic_button 9. Search for: Code:
<!-- / icon and title --> Code:
$nominate_topic_stamps_box 12. Search for the following text (there are 2 occurrences of it): // If you are having trouble with the nominate button? 13. Follow the instructions. We can take a look together if you wish. Send me a TeamViewer session invitation letting me know when you will be online.[/QUOTE] But I thought we did all this together on teamviewer already? |
#568
|
|||
|
|||
Quote:
We tried different options (changing template hooks, testing input/output parameters), but we didn't tried to place the "nominate button" and the "nominate stamp" templates manually in your postbit/postbit_legacy templates. Hence I added the text above in the readme file after having tested it on my test server. |
#569
|
|||
|
|||
when i installed it and tried to open an existing post an error come up....
can i do anything to correct it? |
#570
|
|||
|
|||
i hope this mod works correctly sometime soon
after half a dozen "fixes" a new thread is still not created - it keeps on using the same thread for each week - surely the last weeks should be closed and then a new thread started. its very confusing for members when its the same thread used each time. vb 3.7.2 TOTW v1.5.1 |
#571
|
||||
|
||||
Quote:
But i did notice that some of my buttons wasn't working mainly because it was missing some of the standard Hooks from default vbulletin installation example : $template_hook[postbit] and $template_hook[postbit_controls] without those two the buttons wouldn't show So if im right you wrote your code to search for this line then to add it which could explain why SOME style doesn't work cause some people remove it thinking it's not useful etc. Once i added it everything showed up. I could be wrong for the nominated ribbon but that was my case for the nomination button Hope that can help you. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|