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
  #52  
Old 09-21-2009, 04:47 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 apiasto View Post
very nice work i installed it on 3.8.3 and when i click on withdraw all nominations i get this error
Warning: implode() [function.implode]: Bad arguments. in [path]/includes/functions_nominate_topic.php on line 1003
Invalid SQL:
DELETE FROM vb_reputation WHERE postid = '364050' AND whoadded IN ();

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
Error Number : 1064
but when i refresh the page it goes away but the image stays without the user who nominated the post.i have to refresh the page again in order to remove that,then after refreshing the page it comes back.any idea to resolve this,thanks
Your problem can occur if you didn't give reputation points for nominating when that user nominated, then you gave reputation points for nominating, then you withdrew the nominations. Since no reputation points were recorded initially, the error resulted. This is a relatively rare bug, but I'll fix it in a later update.

Note: The 2.0 mod has give reputation points for nominating by default; I think versions 1.x didn't so that can cause a problem.
Reply With Quote
  #53  
Old 09-21-2009, 04:54 PM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So if I want it to the right of the username, where do I put $template_hook[postbit_userinfo_left]
The thing is I think the experience bars use the same hook. So how can I just move the "nominated" logo
Reply With Quote
  #54  
Old 09-21-2009, 07:10 PM
apiasto's Avatar
apiasto apiasto is offline
 
Join Date: Oct 2006
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbboarder View Post
Your problem can occur if you didn't give reputation points for nominating when that user nominated, then you gave reputation points for nominating, then you withdrew the nominations. Since no reputation points were recorded initially, the error resulted. This is a relatively rare bug, but I'll fix it in a later update.

Note: The 2.0 mod has give reputation points for nominating by default; I think versions 1.x didn't so that can cause a problem.
thnx for the reply,i tried that but still same.I will wait for the update :up:
Reply With Quote
  #55  
Old 09-21-2009, 09:23 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 psychobike View Post
[s]I'm still getting the following page "The Administrator(s) did not defined a receiving forum for hosting poll results of the TOTW/TOTM contest.".[/s]

Edit: Everything is working just fine now. Thank you for the support as well as for a nice mod.
Quote:
Originally Posted by AzzidReign View Post
UPDATE!
It's working good so far! I'll let you know how everything goes here in a week and a half when the current poll ends and the new one starts! But no more errors thus far!
THANK YOU!
Thanks for testing guys!
Reply With Quote
  #56  
Old 09-21-2009, 09:27 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 apiasto View Post
thnx for the reply,i tried that but still same.I will wait for the update :up:
Actually the scenario I wrote in the previous post is what could potentially cause the error.... you shouldn't have tried it.
Reply With Quote
  #57  
Old 09-21-2009, 09:28 PM
Stifmeister2 Stifmeister2 is offline
 
Join Date: Feb 2006
Location: Finland
Posts: 755
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any screenshots?
Reply With Quote
  #58  
Old 09-21-2009, 09:31 PM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So if I want it to the right of the username, where do I put $template_hook[postbit_userinfo_left]
The thing is I think the experience bars use the same hook. So how can I just move the "nominated" logo

Please help
Reply With Quote
  #59  
Old 09-21-2009, 09:33 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm https://vborg.vbsupport.ru/showpost....2&postcount=35
Reply With Quote
  #60  
Old 09-21-2009, 09:35 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 matthewhotdude View Post
So if I want it to the right of the username, where do I put $template_hook[postbit_userinfo_left]
The thing is I think the experience bars use the same hook. So how can I just move the "nominated" logo
If you go to ACP -> Plugin Manager, find the Topic Nominations plugin HOOKED TO postbit_display_start:
FIND:
eval('$template_hook[postbit_userinfo_left]
AND REPLACE WITH:
eval('$template_hook[postbit_userinfo_right]
OR: whatever other $template_hook that you want and is available in postbit template so that the images don't conflict.
Reply With Quote
  #61  
Old 09-21-2009, 09:37 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 Stifmeister2 View Post
Any screenshots?
Read the 1st paragraph of the 1st post....
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 08:51 AM.


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.05900 seconds
  • Memory Usage 2,349KB
  • Queries Executed 29 (?)
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
  • (7)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
  • (1)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_postinfo_query
  • fetch_postinfo
  • 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