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

Reply
 
Thread Tools
[DBTech] vBNominate v1 (vB4) [AJAX] Details »»
[DBTech] vBNominate v1 (vB4) [AJAX]
Version: 1.2.8, by DragonByte Tech DragonByte Tech is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 03-02-2012 Last Update: 08-16-2017 Installs: 68
DB Changes Uses Plugins
Additional Files Translations  
No support by the author.

vBNominate is an advanced nomination system. Several different types of nominations are available and it is fully automated to keep your users engaged and interested in your communities activity while keeping maintenance down.

Uses
As admin you will be able to create several different types of nominations. The nominations can either end with the top nominated items winning or a separate poll will automatically be created with the top items.

Once the poll is completed the nomination is updated automatically with the results. No manual intervention is needed on your part! You can specify the type of nomination to be run or you can let it run on several different types of items like threads, polls, blogs, etc.

The nominations system will make it easy for users to have competitions for the best post, thread and more while browsing the forum. No need to go to a special page to vote, all voting can be done for any post from any thread via AJAX.

Instructions
Here are some basics on how to get the nominations started.
1) Make sure you modify the usergroups that will be allowed to nominate.
ACP->Usergroups->UserGroup Manager
2) Create a rotating nomination
ACP->DBTech - vBNominate-> Create Rotating
An example, if you want a weekly Thread nomination, set Type to Thread, Cycle to Weekly, End Date way far in the future, like Dec 31 2058. After you submit new Nomination go to step 3.
3) Edit new Inactive Nomination
ACP->DBTech - vBNominate-> Current Nominations
You should now have an inactive nomination. Edit it if you need to make any changes then set it to active.

You should now have a Nomination link in your postbit. At the end of the week it will automatically end and start a new one on the day you specified.

-------------------------------------------------------------------------------------------

If you like this mod please hit the button to the right ---->

Please remember to click the, button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified by us whenever new updates are available.

*
For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps us know how many people are using our work, giving us extra incentive to provide more features and new modifications.

We appreciate the support!
-------------------------------------------------------------------------------------------

Priority support & Product Demos available at: http://www.dragonbyte-tech.com

-------------------------------------------------------------------------------------------

Translations available @ our forum
Support for translations handled by the translator in its respective threads only.

-------------------------------------------------------------------------------------------

Complete Feature List

Lite
  • Forumhome block to display latest completed nominations and current running nominations
  • Ajax Nominations for seamless use
  • Nomination Types
    • Thread
    • Post
    • Signature
    • Blog
    • Blog Comment
    • Avatar
    • All Previous
  • Delete individual Nomination votes
  • View/Edit/Delete Nominations
  • Nomination Administration
    • Create Rotating Nominations (Automatically created on schedule)
      • Daily
      • Weekly
      • Monthly
      • Auto Score - Most nominated will win
      • Poll Results - Most nominated will be added to a timed poll
      • Start Date
      • End Date
      • Number of Finalists
      • Number of Winners
      • Winning postbit image
      • Nomination Type
  • Per Usergroup
    • Can Nominate
Pro
  • CMS Widget scrolls display of latest completed nominations
  • Forum sidebar block scrolls display of latest completed nominations
  • Ability to display winner postbit images
  • Create One Time Nomination
    • Auto Score - Most nominated will win
    • Poll Results - Most nominated will be added to a timed poll
    • Start Date
    • End Date
    • Number of Finalists
    • Number of Winners
    • Winning postbit image
    • Nomination Type
-------------------------------------------------------------------------------------------
This mod displays a copyright notification in the footer of pages generated by this mod which includes:
  • 1 Link to DragonByte Technologies homepage
  • 1 Link to Product Description page of this modification

Download Now

File Type: zip [DBTech] vBNominate v1.2.8 [Lite].zip (103.8 KB, 14 views)

Screenshots

File Type: jpg 1 - forum_home.jpg (29.9 KB, 0 views)
File Type: png 2 - nomination_closed.png (29.2 KB, 0 views)
File Type: jpg 3 - acp_create.jpg (61.1 KB, 0 views)
File Type: jpg 4 - acp_current.jpg (80.4 KB, 0 views)
File Type: jpg 5 - acp_results.jpg (78.2 KB, 0 views)
File Type: jpg 6 - acp_results_delete.jpg (40.8 KB, 0 views)
File Type: png 7 - nominate_thread.png (30.3 KB, 0 views)
File Type: png 8 - nominate_blog.png (53.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
CuteC@t, ITDarasgah

Comments
  #72  
Old 05-08-2012, 03:31 PM
DannyITR DannyITR is offline
 
Join Date: Jan 2002
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the new version, if you don't use the combined menu, the thread nomination doesn't give you a successful completion message. You click on it and nothing happens. If you refresh it's gone meaning the vote was registered.
Reply With Quote
  #73  
Old 05-08-2012, 04:17 PM
DannyITR DannyITR is offline
 
Join Date: Jan 2002
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How does the poll work? If I select poll, how does it know which forum to create the poll thread? Can I still add photos and data to this poll thread?
Reply With Quote
  #74  
Old 05-08-2012, 07:18 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Akyeame Kwame View Post
I'm getting this error now. Any idea how to correct it?

Code:
Database error in vBulletin 4.1.11:

Invalid SQL:

                               SELECT

                               FROM
                               WHERE
                                        = 0;

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 'FROM
                               WHERE
                                        = 0' at line 3
Error Number  : 1064
Request Date  : Sunday, May 6th 2012 @ 07:26:44 AM
Error Date    : Sunday, May 6th 2012 @ 07:26:44 AM
Script        : http://www.*********.com/forums/vbnominate.php?id=10
Referrer      :
IP Address    : 173.193.219.168
Username      : Unregistered
Classname     : vB_Database
MySQL Version :
Can you tell me what you are doing when you get that error? Nominating a thread, post, user, etc?
Also, are you using combined or separate menu


Dylan
Reply With Quote
  #75  
Old 05-08-2012, 07:20 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DannyITR View Post
In the new version, if you don't use the combined menu, the thread nomination doesn't give you a successful completion message. You click on it and nothing happens. If you refresh it's gone meaning the vote was registered.
Does it happen on any type of separated nomination or a specific type? It's working on my dev so not sure which part isn't giving the notification.

Quote:
Originally Posted by DannyITR View Post
How does the poll work? If I select poll, how does it know which forum to create the poll thread? Can I still add photos and data to this poll thread?
On the Nominate General Settings you tell it what forum to create the poll thread in. It should work like any other poll thread.

Dylan
Reply With Quote
  #76  
Old 05-14-2012, 05:48 AM
Akyeame Kwame Akyeame Kwame is offline
 
Join Date: May 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DragonByte Tech View Post
Can you tell me what you are doing when you get that error? Nominating a thread, post, user, etc?
Also, are you using combined or separate menu


Dylan
It happens when an unregistered member goes to http://www.************.com/forums/vbnominate.php?id=10

I don't know what the id=10 is used for in the vbnominate system or if unregistered is some type of spider or bot indexing pages because no member with any regular activity has triggered it off. It's combined menu.
Reply With Quote
  #77  
Old 05-23-2012, 09:55 AM
hoof hoof is offline
 
Join Date: May 2006
Location: Texas, USA
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey there,
Thanks for this great mod I am trying to do a couple things and could use a hand.

1. Is there a way to only display the nomination button on the first post of assigned forums?
2. In the admincp how do you correct the links in the current nominations so it will take you to the threads? They are adding the admincp before the showthread.php which results in the 404 error page.
Reply With Quote
  #78  
Old 06-01-2012, 03:51 PM
glen290's Avatar
glen290 glen290 is offline
 
Join Date: Apr 2008
Location: Haydock UK
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed this today on both my test and live forum, not seeing any nomination button etc...
Followed the instructions but still no joy..
Reply With Quote
  #79  
Old 06-03-2012, 10:27 AM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hoof View Post
Hey there,
Thanks for this great mod I am trying to do a couple things and could use a hand.

1. Is there a way to only display the nomination button on the first post of assigned forums?
2. In the admincp how do you correct the links in the current nominations so it will take you to the threads? They are adding the admincp before the showthread.php which results in the 404 error page.
I'll fix the links and come out with a new version.
If you want it to only show on the first post try this
Open the file dbtech/vbnominate/hooks/postbit_display_complete.php

Find the line
PHP Code:
    if ((int)$vbulletin->userinfo['permissions']['dbtech_vbnomnom_perms'] & $vbulletin->bf_ugp_dbtech_vbnomnom_perms['dbtech_vbnomnom_canvotenomnom'])
    { 
and replace it with

PHP Code:
    if (((int)$vbulletin->userinfo['permissions']['dbtech_vbnomnom_perms'] & $vbulletin->bf_ugp_dbtech_vbnomnom_perms['dbtech_vbnomnom_canvotenomnom']) && (($post['isfirstshown'] == $post['postid']) || ($toppostid == $post['postid'])))
    { 
That should do it.

Dylan
Reply With Quote
  #80  
Old 06-04-2012, 10:21 PM
hoof hoof is offline
 
Join Date: May 2006
Location: Texas, USA
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DragonByte Tech View Post
I'll fix the links and come out with a new version.
If you want it to only show on the first post try this
Open the file dbtech/vbnominate/hooks/postbit_display_complete.php

Find the line
PHP Code:
    if ((int)$vbulletin->userinfo['permissions']['dbtech_vbnomnom_perms'] & $vbulletin->bf_ugp_dbtech_vbnomnom_perms['dbtech_vbnomnom_canvotenomnom'])
    { 
and replace it with

PHP Code:
    if (((int)$vbulletin->userinfo['permissions']['dbtech_vbnomnom_perms'] & $vbulletin->bf_ugp_dbtech_vbnomnom_perms['dbtech_vbnomnom_canvotenomnom']) && (($post['isfirstshown'] == $post['postid']) || ($toppostid == $post['postid'])))
    { 
That should do it.

Dylan
Dylan,
Thank you! That did the trick
Reply With Quote
  #81  
Old 06-04-2012, 10:26 PM
hoof hoof is offline
 
Join Date: May 2006
Location: Texas, USA
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by glen290 View Post
Installed this today on both my test and live forum, not seeing any nomination button etc...
Followed the instructions but still no joy..
glen,
Check to make sure your current nominations is set to active. Ran into that one myself
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 07:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09861 seconds
  • Memory Usage 2,383KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_code
  • (4)bbcode_php
  • (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
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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