vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - [DBTech] vBNominate v1 (vB4) [AJAX] (https://vborg.vbsupport.ru/showthread.php?t=279473)

DragonByte Tech 04-15-2012 06:59 AM

I just posted up a bugfix release of vBNominate 1.2.4

This release fixes a few bugs. I also changed the way the time is calculated for adding/ending nominations.
  • Blog nomination link showing up when no blog nominations available
  • Blog nomination dropdowns not working
  • Blog comment nomination link showing up when no blog comment nominations available
  • Blog comment nomination dropdowns not working
Also, If you are a clean freak then there are 3 files that are no longer used and can be deleted.
dbtech/vbnominate/cron/add_rotate.php
dbtech/vbnominate/cron/end_nomnom.php
dbtech/vbnominate/cron/end_nomnom_poll.php

Dylan

DannyITR 04-17-2012 07:03 PM

Hi Dylan,
I have a question. I have a thread nomination going but every post in the thread has a nominate dropdown. It says nominate>thread and it works but I'm just wondering if this is standard.

Also I noticed in the settings the thread nomination hook is set for postbit_start and the post nomination hook is set to postbit_userinfo_right_after_posts. The only nomination I have is under the avatar next to the infractions. Is that postbit_start? Is there any way to get it up near the thread rating dropdowns?

https://vborg.vbsupport.ru/external/2012/04/17.jpg

DragonByte Tech 04-23-2012 07:24 PM

Hi Danny, I haven't been able to find a way to tap into the top administrative toolbar, that's why I put it in the thread tools at the bottom.
Right now it displays in every post if you use combined. This is because you have the ability to nominate a particular post/user/avatar/sig and you can't do that with one main dropdown at the top of the thread.
If you only have thread nominations and don't plan on doing any other types, you can change it so it doesn't use the combined list and set the thread hook to use postbit_start. That should get it the closest to how you want.

Dylan

DannyITR 04-23-2012 07:46 PM

Quote:

Originally Posted by DragonByte Tech (Post 2322872)
Hi Danny, I haven't been able to find a way to tap into the top administrative toolbar, that's why I put it in the thread tools at the bottom.
Right now it displays in every post if you use combined. This is because you have the ability to nominate a particular post/user/avatar/sig and you can't do that with one main dropdown at the top of the thread.
If you only have thread nominations and don't plan on doing any other types, you can change it so it doesn't use the combined list and set the thread hook to use postbit_start. That should get it the closest to how you want.

Dylan

Thank you for the reply. The thread hook location is currently set at postbit_start. Are you saying there is another possible location for the nomination button or to have the nomination button only in the first post?

DragonByte Tech 04-23-2012 10:42 PM

Quote:

Originally Posted by DannyITR (Post 2322887)
Thank you for the reply. The thread hook location is currently set at postbit_start. Are you saying there is another possible location for the nomination button or to have the nomination button only in the first post?

If you look at the nominations settings there is a tab for Popup Options. On that tab is the setting called Combined Menu. If you set that to no and change the Thread Hook Location to be postbit_start then it should only show 1 dropdown option above the first post. That is only if you have the nomination set to a type Thread.

Dylan

DannyITR 04-23-2012 11:41 PM

Quote:

Originally Posted by DragonByte Tech (Post 2322941)
If you look at the nominations settings there is a tab for Popup Options. On that tab is the setting called Combined Menu. If you set that to no and change the Thread Hook Location to be postbit_start then it should only show 1 dropdown option above the first post. That is only if you have the nomination set to a type Thread.

Dylan

Ah I missed that option. It worked thank you although it caused a new issue. Even though I have only one rotating thread nomination created, all the nomination buttons are now visible. Is that supposed to be like that or should it only display active nominations? I f I choose no automatic deployment then they all disappear.

What would it take to get the combined list to appear at postbit_start instead of at the bottom of the postbit?

https://vborg.vbsupport.ru/external/2012/04/10.jpg

sacobra 04-25-2012 01:33 AM

1 Attachment(s)
Hi,

After I installed this mod, I have some junk in the new vBNominate tab in profile. See attached.

Regards

DragonByte Tech 04-25-2012 07:07 AM

Quote:

Originally Posted by DannyITR (Post 2322952)
Ah I missed that option. It worked thank you although it caused a new issue. Even though I have only one rotating thread nomination created, all the nomination buttons are now visible. Is that supposed to be like that or should it only display active nominations? I f I choose no automatic deployment then they all disappear.

What would it take to get the combined list to appear at postbit_start instead of at the bottom of the postbit?

https://vborg.vbsupport.ru/external/2012/04/10.jpg

I'm working on a bugfix release for it. I'll try and take care of it in that.

Dylan

DragonByte Tech 04-25-2012 07:14 AM

Quote:

Originally Posted by sacobra (Post 2323245)
Hi,

After I installed this mod, I have some junk in the new vBNominate tab in profile. See attached.

Regards

I'm sorry about that, I'll get it fixed up in the next release. If you want to disable the profile tab for now, go to
ACP->Plugins & Products->Plugin Manager
Find the section: Product : DragonByte Tech: vBNominate (Pro)
Find the plugin: Member Info Profile Block
And uncheck it to disable it

Dylan

DannyITR 04-25-2012 12:15 PM

No worries. It's a great mod and still very usable. I just wanted to be sure I wasn't missing anything. Thank you for your work, you are very talented.


All times are GMT. The time now is 01:18 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.01281 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete