Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Week / Month Topic Nominations Details »»
Week / Month Topic Nominations
Version: 2.0.2, by vbboarder vbboarder is offline
Developer Last Online: Apr 2012 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 09-18-2009 Last Update: 09-19-2009 Installs: 161
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

Week / Month Topic Nominations

Acknowledgments:
This release would not have been possible without the existence of the former ?Topic Nominations? by J98680B2423E (Data) and "Post Thank You" by Abe1, which provided the mod?s core structure. A nice set of button and awards images have also been provided by princeedward. You can view screenshots at the original mod's thread: VB 3.7 Topic Nominations

What is Topic Of The Week/Fortnight/Month?
It adds a "Topic Of The Week/Month" nomination system for your community.
Topic of the Week/Month is a contest that select posts on which your community can nominate as the best and then discuss them during the course of the selected week/fortnight /month. Any listed topic (post, thread) is eligible for the Topic of the Week/Fortnight /Month selection. This mod should also work in VB 3.7.x, but it has only been tested in VB 3.8.

Features of New 2.0 Version:
  • 50+ bugs fixed & 30+ phrases changed for clarification.
  • Fixed ajax functionality for adding & removing nominations.
  • 16 settings to determine which users can nominate and which posts can be nominated.
  • Documented this mod?s limitations & changelog in the 2nd post.
  • Fixed Hall of Fame to to correctly display most awarded members and topic winners from the past 3 contests (3 awards per contest).
  • Added new setting, max # of nominations user can receive, to prevent a poll being dominated by a single user.
  • Added new function to recount # of current nominations received and past awards.
  • Added new function to manually finalize the current contest, close the old poll thread, and create a new poll thread.
  • An option to enable blog nominations is available and should work (coded by Data), but is not supported (I do not have VB Blog).
  • You must have 3 VB default hooks in the postbit template: see troubleshooting below for details. If you ask for help with a problem, you must state in your post if you have reverted ALL nomination templates and read the troubleshooting tips in the 2nd post. If you haven?t, do so otherwise you will be ignored & can debug it yourself.
Installation instructions:
  1. Upload the content of the "upload" folder into your forum root directory
  2. Import the "product_nominate_topic.xml" product via your ACP:
    ACP -> Plugins & Products -> Manage Product -> Add/Import Product (Allow overwrite for updating)
  3. For upgrades only, REVERT ALL nominate_topic templates in ACP -> ?Find Updated Templates? or top FYI section of Control Panel. This mod will work only if ALL templates are reverted since major changes were done to them. Reapply custom phrasing to changed phrases as needed.
  4. Adjust & save the mod settings to your preference in ACP -> VB Options. It is strongly recommended that you use the default, preset options.
    Specify the Forum ID that will receive nomination threads and the Forum ID's for which posts can be nominated. Also specify the User ID of the nomination thread owner.
  5. For new installs only, start a new nomination poll at:
    ACP side menu -> Nominate Topic -> Special Actions -> Create New Poll Thread
  6. Read the 2nd post for Troubleshooting Tips & Mod Limitations and the 3rd post for specific features of this mod.
Version History:
2.0.0: Initial Release.
2.0.2: Fixed table column bug.

MAKE SURE TO CLICK INSTALL

Thanks to everyone who nominated this mod for October, 2009 You can vote for this mod at: this thread.

Download Now

File Type: zip nominate_topic2.zip (325.8 KB, 1253 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #222  
Old 10-18-2009, 12:03 PM
MarceloS MarceloS is offline
 
Join Date: Aug 2008
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi! I accidentally uninstalled previous version of this mod, and lost all other nominations from before. Is there any way to reload them? Are they still on the database?
Reply With Quote
  #223  
Old 10-18-2009, 05:21 PM
crkgb crkgb is offline
 
Join Date: Oct 2007
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbboarder View Post
A username may not show if that user is allowed to make his online status invisible.
Not the case in my case, sorry. Nobody is allowed to be invisible.
Reply With Quote
  #224  
Old 10-19-2009, 12:45 PM
simon157 simon157 is offline
 
Join Date: Jul 2009
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please help. Just installed this mod. Everything went fine, but when I click on the icons to view the poll it says I have insufficient priviledges. Can you help?

Simon
Reply With Quote
  #225  
Old 10-19-2009, 06:26 PM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cableguy69 View Post
OK now were getting somewhere, the <img> url hasn't been inserted into the showthread so were should it be placed?

and how should it appear?

Should it go after this to get it to appear on the right of the quick reply button?

Code:
		<tr>
			<td class="tcat" colspan="2">
				<if condition="$show['quickreply_collapse']"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
				$vbphrase[quick_reply]
			</td>
		</tr>
Well, it seems like you're missing a template_hook. Insert either before or after the quick reply and within the same td cell: $template_hook[postbit_controls]
Reply With Quote
  #226  
Old 10-19-2009, 06:28 PM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarceloS View Post
Hi! I accidentally uninstalled previous version of this mod, and lost all other nominations from before. Is there any way to reload them? Are they still on the database?
If you have a 'post' sql table backup before you uninstalled the old mod, then you can restore your old awards - otherwise, no.
Reply With Quote
  #227  
Old 10-19-2009, 06:31 PM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by simon157 View Post
Please help. Just installed this mod. Everything went fine, but when I click on the icons to view the poll it says I have insufficient priviledges. Can you help?

Simon
The usergroup you're using to view the nominations probably don't have the permissions to view nominations and/or nominate - check VB Options > Nominate Topic settings.
Reply With Quote
  #228  
Old 10-19-2009, 09:32 PM
Cedric_FP Cedric_FP is offline
 
Join Date: May 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cedric_FP View Post

1: Set the number of official winners to just 1 per contest.

Can this be done?
Reply With Quote
  #229  
Old 10-20-2009, 12:54 PM
tiengnhat tiengnhat is offline
 
Join Date: Feb 2008
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Error:
"Nominated 4,294,967,295 Times in 4,294,967,295 Posts
TOTW/F/M Award(s): 0"

Please tell me about fix it?
Reply With Quote
  #230  
Old 10-20-2009, 05:33 PM
Cableguy69 Cableguy69 is offline
 
Join Date: Apr 2008
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Vbboarder I've added the hook like you said, but the nominate button still doesn't show.

What I noticed before I added the hook, I have a private forum set up just for me, to keep certain details in ect. On posts 9 there was the nominate button. I pressed it and sure enough the post was flagged as nominated and the nomination poll was created.

I have no idea what is going on with.

Also is this how the template should look?

Code:
		<tr>
			<td class="tcat" colspan="2">
                                $template_hook[postbit_controls]
				      <if condition="$show['quickreply_collapse']"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
				$vbphrase[quick_reply]
			</td>
		</tr>
or

Code:
		<tr>
			<td class="tcat" colspan="2">
			     <if condition="$show['quickreply_collapse']"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
				$vbphrase[quick_reply]
                                $template_hook[postbit_controls]
			</td>
		</tr>
Reply With Quote
  #231  
Old 10-20-2009, 06:42 PM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Cedric_FP: no, it's hard coded to 3 winners.

@ tiengnhat: are you sure you upgraded correctly? This was an error that occurred in the pre-2.0 release. Can't help you wo. an sql error report or actual sequence of actions that caused it.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05026 seconds
  • Memory Usage 2,347KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete