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 |
#532
|
|||
|
|||
Quote:
|
#533
|
|||
|
|||
Quote:
If any problem, send me a TeamViewer session invitation. Quote:
What do you want to place in a location in postbit? The statistics? I probably missed your original request. For the statistics, open the "product-nominate_topic.xml" file and look for the "postbit_display_complete" plugin. Search for: Code:
if ($this->registry->options['nominate_topic_donot_display_postbitstats_ug']){ Code:
eval('$template_hook[postbit_userinfo_right_after_posts] .= " ' . fetch_template('nominate_topic_postbit_info') . '";'); |
#534
|
|||
|
|||
Ok, I'm at the read me file and I'm looking at the instructions for those that are having display problems. However, it doesn't tell you where to edit the code. I tried the postedit and the legacy one but neither of those contain that information. Am I looking in the wrong place?
|
#535
|
|||
|
|||
Ok, I think I understand now, I have to edit the actual xml file correct? If so then I should be ok, now. Also, if I'm not going to use the postbit stuff do I need to change that line of code that you just put up as well?
|
#536
|
|||
|
|||
I have an emergency! I did what you said and my entire site is blank now. www.tacticalopsunit.com
* I disabled it and we're back up but I can't have it enabled even after trying to re-install it* This is what I changed to code to read in the xml file: //if ($vbulletin->options['legacypostbit']) { $vbulletin->templatecache['postbit_legacy'] = str_replace("<!-- / icon and title -->", $vbulletin- And then the second one: eval('$nominate_topic_button = " ' . fetch_template('nominate_topic_button') . '";'); //eval('$template_hook[postbit_controls] .= " ' . fetch_template('nominate_topic_button') . '";'); } |
#537
|
|||
|
|||
Quote:
Activate your TeamViewer and lets take a look together. You have my ID and the PW. |
#538
|
||||
|
||||
Odd.
I am still on 1.4 ( see no need at present to upgrade to 1.5 ) I noticed yesterday and this morning: Whilst looking on forumhome, at our TOTW forum icon, the latest reply yesterday was from ( example ) User B This morning I noticed it was ( user C ) However on both occasions, it is diplaying last post ( nomination ) is USER A Am i right in thinking that the thread had closed, but because the cron, didnt run at the simultaneous time of the TOTW closing, then a new week 30 wasnt created, and propogating with USER B and USER C results... So in essence, USER A was the very last person to have nominated vote ACCEPTED on week 29 poll.. That subsequently closed, cron did not update to week 30 immediately... And user B and user C voites albeit are showing on forumhome as being last voters, their vote has disappeared into cyberspace. Does this make any sense to you at all lol Any suggestions? I have just run the cron manually, and week 30 has initiated and is displaying, but no overspill votes from user b or c have propgated the voting. suggestions please Ozzy |
#539
|
|||
|
|||
Quote:
|
#540
|
||||
|
||||
Quote:
"nominate this post..." and "awards: ....." (paraphrased) What is the code for this so I can place it in a custom spot of my choice in postbit? Thanks again |
#541
|
|||
|
|||
Quote:
The template for those is <template name="nominate_topic_postbit_info" templatetype="template" date="0" username="Data" version="1.0"> The phrases are: $vbphrase[nominate_topic_times_post] $vbphrase[nominate_topic_nominated_awards_TOTWFM] Those phrases are defined in the "phrase" section Can you post a screenshot of what you are referring to? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|