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 10-24-2012 05:55 AM

Quote:

Originally Posted by Fongool (Post 2375336)
I'm hoping this will work to do what I want it to do...I have a forum with about 40 sub-forums that belong to different Vendors...I want to be able to have members nominate their favorite Vendor...Here is a screenshot of what I am talking about,,,
You can also view the live forum here

Will each of these Vendors have the "nominate" text on the thread your looking at?
Also, does this Mod have the ability to let a user from a specific IP vote only once on a specific thread?...for example, the same user can't vote on the same thread multiple times...

Thanks
F

Do the vendors have user accounts? If they do and are tied to a specific vendor type usergroup, you could make a user nomination with only that usergroup and any post they make will have the option to nominate them.

You can make it so each user can only nominate once per nomination. It doesn't have the ability to restrict to the IP.

Dylan

DragonByte Tech 10-24-2012 05:56 AM

Quote:

Originally Posted by grey_goose (Post 2375440)
Seems like a cool idea, but I can't get the links to show up. I've got heavily modified templates, and tried to deploy them manually with {vb:raw vbnominate.user}, but... nothing.

Do you have a nomination that's current and active? If you want you can pm me a link and a temp admin account, I'll take a look.

Dylan

Fongool 10-24-2012 10:38 AM

Thank you for your response...

F

Makaveli007 11-20-2012 12:44 PM

I tried this mod out. It seems decent, but there are a few things that I couldn't get to work or find, and the mod seems to be lacking some features.

1. In the AdminCP there is a welcome message that "displays on the vbnominate front page" Where is this front page? Earlier in this thread you said there is no "front end" at the moment. Does that mean this AdminCP settings does nothing currently?

2. On vb 4.2.0 PL3 the polls do not seem to work. I can get the nominations to work, and I can choose between Auto Score or Polls. When selecting polls, no poll is created after making a nomination. I have selected a forum with which to make the poll in the AdminCP options.

3. Can we move the forumhome block to its own dedicated page? I saw where you explained how to put it below the forums, instead of under the navbar, but it's own dedicated page would be MUCH better.

4. If the forumhome block is turned off, where do users see nominations?

Davey-UK 11-24-2012 10:04 AM

What would be the conditional to add, so that a user could not nominate their own entry.
Possibly not show the image on a users own post.
EDIT:
I have sorted it now.
If anyone is interested in the code, here is what i did, so users cannot vote for their own posts.
I opted to not automatically insert code in the options/settings.
Then in my postbit_Legacy template, i added the following code where i wanted the nominate button to show
Code:

<vb:if condition="$bbuserinfo[userid] != $post[userid]">
{vb:raw vbnominate.combined}
</vb:if>

Hopefully this is of some use to someone, and maybe be implemented in the next release.

SpikedRocker 11-29-2012 05:41 AM

I am having issues trying to get this to display. I had this installed before and it worked fine, but I had to roll back my board a few days ago to before I installed this.

I've tried placing it manually and it won't display anywhere. Anyone have ideas?

Davey-UK 11-29-2012 06:16 PM

Quote:

Originally Posted by SpikedRocker (Post 2386312)
I am having issues trying to get this to display. I had this installed before and it worked fine, but I had to roll back my board a few days ago to before I installed this.

I've tried placing it manually and it won't display anywhere. Anyone have ideas?

Just download it again, overwrite all the files, and re install the xml file?

maria bartolome 11-30-2012 10:15 AM

perfect ! :)

SpikedRocker 11-30-2012 05:28 PM

Quote:

Originally Posted by Davey-UK (Post 2386534)
Just download it again, overwrite all the files, and re install the xml file?

Nope did not help. I did a clean install after I did my backup thinking that something could have errored in the first place.

The mod is working cause we were able to generate a poll post but nothing was in it because no one has been able to nominate.

booble 12-07-2012 02:47 AM

I canĀ“t see button nominate :__(

Ski-Whiz 01-07-2013 09:05 PM

Is this hack hard to get it to do "Yearly" vice monthly?

I'm ready to buy if it's a simple change.

Ski-Whiz 01-09-2013 12:40 AM

Never mind about the yearly post above. I didn't realize how it worked and see that would be really tough.

I do have one issue though. I created a nomination. I can see it being an Admin, but no one else can see it.

I checked the permissions on the current nominate, and the rotation areas, and they are set accordingly. I've selected just one usergroup, all of them etc..

I can't get the regular members to see the Vote button..

Is there something else I'm missing?

justicechick 01-09-2013 07:06 PM

<i>I was doing so well until I went to install the XML file and I get the error code: /home/theflir1/public_html/dbtech/vbnominate/includes/class_install.php appears to be missing!

Ive checked and double checked and the file is in there.

File Manager File Manager
Settings

Current Directory:

/
public_html/
dbtech/
vnominate/
includes/

application/x-httpd-php class_core.php 48.42 KB 0644
application/x-httpd-php class_install.php 5.47 KB 0644
application/x-httpd-php class_profileblock.php 3.4 KB 0644
application/x-httpd-php class_template.php 1.54 KB 0644
application/x-httpd-php common_functions.php 2.77 KB 0644
text/html index.html 0 bytes 0644
</i>

justicechick 01-11-2013 04:09 AM

Still no help for this is suppose!

justicechick 01-12-2013 11:23 PM

OK!!! I finally messed around and got it deployed. the only problems not is the combined button covers my post thant. Where and how. We hardly ever use our blod so I wanted this area that would be if we took at the blog are. so I would be happy to remove that blog lick in the post-bit and replace it with vnominate

DragonByte Tech 01-13-2013 06:20 AM

Quote:

Originally Posted by SpikedRocker (Post 2386929)
Nope did not help. I did a clean install after I did my backup thinking that something could have errored in the first place.

The mod is working cause we were able to generate a poll post but nothing was in it because no one has been able to nominate.

Quote:

Originally Posted by booble (Post 2389030)
I can?t see button nominate :__(

Quote:

Originally Posted by Ski-Whiz (Post 2395666)
Never mind about the yearly post above. I didn't realize how it worked and see that would be really tough.

I do have one issue though. I created a nomination. I can see it being an Admin, but no one else can see it.

I checked the permissions on the current nominate, and the rotation areas, and they are set accordingly. I've selected just one usergroup, all of them etc..

I can't get the regular members to see the Vote button..

Is there something else I'm missing?

Sorry I've been really busy and haven't been able to check here for a bit.

This could be the same problem, did you set the usergroup permission so the usergroup would be allowed to nominate? There's just one option for nominate when you edit the usergroup settings, it's called Can nominate

Dylan

DragonByte Tech 01-13-2013 06:21 AM

Quote:

Originally Posted by justicechick (Post 2396539)
OK!!! I finally messed around and got it deployed. the only problems not is the combined button covers my post thant. Where and how. We hardly ever use our blod so I wanted this area that would be if we took at the blog are. so I would be happy to remove that blog lick in the post-bit and replace it with vnominate

I'm not sure what you mean here?

Dylan

Ski-Whiz 01-17-2013 01:50 AM

Is there a way to change your vote? Are there any in the plans?

It should be added, especially if you use the nominate method to determine the winner.

DragonByte Tech 02-13-2013 07:26 AM

Quote:

Originally Posted by Ski-Whiz (Post 2397407)
Is there a way to change your vote? Are there any in the plans?

It should be added, especially if you use the nominate method to determine the winner.

Currently you can't change your vote. I will put in a feature request on our site to make it admin selectable to allow users to vote for something new and replace their old vote.

Dylan

Cael 02-14-2013 05:41 PM

Hello,

I seem to be experiencing the same issue as others aswell.
There are NO nominate buttons. I made sure that my usergroup can nominate though.
Any suggestions?

~ Cael

P.s - Good work on all the mods Dragonbyte made!

DragonByte Tech 02-15-2013 07:54 AM

Quote:

Originally Posted by Cael (Post 2404280)
Hello,

I seem to be experiencing the same issue as others aswell.
There are NO nominate buttons. I made sure that my usergroup can nominate though.
Any suggestions?

~ Cael

P.s - Good work on all the mods Dragonbyte made!

If you are sure there is at least 1 current nomination running and you have access to nominate then it should work. If it's not I'd have to get a temp admin account to check out what's going on. Sorry about the problems.

Dylan

Cael 02-15-2013 10:49 AM

Quote:

Originally Posted by DragonByte Tech (Post 2404397)
If you are sure there is at least 1 current nomination running and you have access to nominate then it should work. If it's not I'd have to get a temp admin account to check out what's going on. Sorry about the problems.

Dylan

Apologies for my late response,

The issue seems to have resolved itself. I checked it today and it seems to be working fine :-).
No clue what has happened.

Thanks!

DragonByte Tech 04-02-2013 09:26 AM

Updated to v1.2.7

Feature: Missing rotating nomination phrases
Feature: Ability to disable poll post creation

Bounce 04-07-2013 08:51 PM

Hi Dylan,

Finding that when this is enabled i get a

The connection was reset
The connection to the server was reset while the page was loading.


error on firefox

Cheers

DragonByte Tech 04-08-2013 04:54 PM

Quote:

Originally Posted by Bounce (Post 2414984)
Hi Dylan,

Finding that when this is enabled i get a

The connection was reset
The connection to the server was reset while the page was loading.


error on firefox

Cheers

Could you PM me a temp admin account to check it out? I haven't seen it do something like that before.

Dylan

RichieBoy67 05-20-2013 03:47 PM

Quote:

Originally Posted by Trek (Post 2369355)
I think you should consider how awesome DBT mods must be if you're using so many that it affects your footer. ;) I guess they could only make 1 mod and then only have 1 footer entry... But yeah, then you'd be missing out on everything else they make.

I wouldn't think of it any more than if you installed 10 mods from 10 different authors that drop something in the footer. That many of them are DBT mods tells people that you use and trust them enough to use that many of their mods.

I'm not arguing the footer entries can get out of hand, not at all. =) Just that you can't blame DBT for writing so many excellent mods that you want to use them all. =)

All I said was 2 or 3 links for one mod gets out of hand.. I don't mind one but these are just lite versions or trial versions. Give me a full version with the features and I would not mind exchanging free advertising. In a way we are paying for the lite versions. as I said, I dont mind doing so with a single link but all the added text and everything plus the links just really is a turn off especially on a site that is not related to development.

I still like the mods but for this purpose I wont use the "lite" ones and I doubt any client would be willing to pay for the mod plus a branding removal fee. Just my opinion though and as I said, great work.

DragonByte Tech 05-20-2013 05:15 PM

Quote:

Originally Posted by RichieBoy67 (Post 2423174)
All I said was 2 or 3 links for one mod gets out of hand.. I don't mind one but these are just lite versions or trial versions. Give me a full version with the features and I would not mind exchanging free advertising. In a way we are paying for the lite versions. as I said, I dont mind doing so with a single link but all the added text and everything plus the links just really is a turn off especially on a site that is not related to development.

I still like the mods but for this purpose I wont use the "lite" ones and I doubt any client would be willing to pay for the mod plus a branding removal fee. Just my opinion though and as I said, great work.

We actually have a large number of clients who choose to do just that, but we recognize that not everyone has the resources for that.

To that end we have a mod designed to help minimize the copyright footer for those people running several of our addons: https://vborg.vbsupport.ru/showthread.php?t=277322

Regards,

Iain

RichieBoy67 05-21-2013 12:17 PM

That's great. I will have to check that out. Please do not misunderstand though what I meant. I really love the work and I really don't mind having a link. I do not expect you guys to do work for no credit, etc.

Anyhow, thanks so much for letting us know about that. Some of my clients may be interested.

Take care,
Richie

MasturB 08-11-2013 05:51 AM

1 Attachment(s)
I have this installed, but atm, I don't have any post nomination button anywhere...

Ba'al 08-11-2013 06:21 AM

Quote:

Originally Posted by MasturB (Post 2438279)
I have this installed, but atm, I don't have any post nomination button anywhere...

http://www.dragonbyte-tech.com/f177/

M.C. 09-06-2013 11:58 AM

1 Attachment(s)
installed, great hack but why it appear ABOVE notices on forumhome? I have not default skin tho...

also would like to disable it for guests?

UPD: managed to do it myself.... thanks! this is need for code editing so I don't know is it allowed to post here or not...

DragonByte Tech 09-08-2013 06:16 AM

Quote:

Originally Posted by M.C. (Post 2443695)
installed, great hack but why it appear ABOVE notices on forumhome? I have not default skin tho...

also would like to disable it for guests?

UPD: managed to do it myself.... thanks! this is need for code editing so I don't know is it allowed to post here or not...

You can post it, what did you have to modify?

Guests shouldn't be able to nominate unless you set it in their usergroup settings. I don't know how well that would work though as it's coded around nominations being done by users with id's.

Dylan

M.C. 04-30-2014 08:11 PM

in file "forum/dbtech/vbnominate/hooks/forumhome_complete.php"

find:
Code:

if ($vbulletin->options['dbtech_vbnomnom_fh_enabled'])
replace:
Code:

if ($vbulletin->options['dbtech_vbnomnom_fh_enabled'] AND $vbulletin->userinfo['usergroupid'] != '1')
if you want to change location on forumhome in file "forum/dbtech/vbnominate/hooks/forumhome_complete.php"
at the bottom find:
Code:

                // Ensure we're always first in line
                $ad_location['ad_navbar_below'] = $ad_location['ad_navbar_below'] . $vbnomnom_info_panel;
        }
        else
        {
                // Ensure we're always first in line
                $ad_location['global_below_navbar'] = $ad_location['global_below_navbar'] . $vbnomnom_info_panel;
        }

I used one of template hooks... you can use own or create one or add new template location:
Code:

// Ensure we're always first in line
                $template_hook['forumhome_below_navbar'] = $template_hook['forumhome_below_navbar'] . $vbnomnom_info_panel;
        }
        else
        {
                // Ensure we're always first in line
                $template_hook['forumhome_below_navbar'] = $template_hook['forumhome_below_navbar'] . $vbnomnom_info_panel;

Well, I want to disable nomination for guests posts as there no use as I can't reward winning guests.. Some are deleted users and may have been nominated before deletion, so at result when poll created there is NO username!

I think this is need to be done here: "forum/dbtech/vbnominate/hooks/showthread_query.php" but I have not enough skills to do it myself :(

grey_goose 11-19-2014 04:38 PM

This is one of my favorite mods, but I can't seem to get it to work. Installation seems to go OK, but any attempts to use it spawns all sorts of db errors that show that my tables aren't being altered during the install process.

Thoughts?

addamroy 12-04-2014 07:24 PM

What happens when a nomination ends or is won?

Does the user get a notification? Is a thread created? Etc. What happens when it finishes, besides being listed on the nominations page? Using Autoscore for example.

MasturB 01-07-2016 05:32 PM

Hey, can someone tell me I have everything set up correctly in Rotation and Nominations.

But when my users try to nominate for Post of the WEek (I don't have threads, avatars etc set up, only Posts) a popup opens and says "Page Not Found"

Am I doing something wrong?

DragonByte Tech 01-07-2016 05:43 PM

Quote:

Originally Posted by grey_goose (Post 2523421)
This is one of my favorite mods, but I can't seem to get it to work. Installation seems to go OK, but any attempts to use it spawns all sorts of db errors that show that my tables aren't being altered during the install process.

Thoughts?

Could you please post the error messages?

Quote:

Originally Posted by addamroy (Post 2525657)
What happens when a nomination ends or is won?

Does the user get a notification? Is a thread created? Etc. What happens when it finishes, besides being listed on the nominations page? Using Autoscore for example.

At this time, I believe it only lists the winners on the nominations page.

Quote:

Originally Posted by MasturB (Post 2562213)
Hey, can someone tell me I have everything set up correctly in Rotation and Nominations.

But when my users try to nominate for Post of the WEek (I don't have threads, avatars etc set up, only Posts) a popup opens and says "Page Not Found"

Am I doing something wrong?

Can you show me the URL of the page in question?


Fillip

MasturB 01-07-2016 06:01 PM

Quote:

Originally Posted by DragonByte Tech (Post 2562215)
Could you please post the error messages?

At this time, I believe it only lists the winners on the nominations page.

Can you show me the URL of the page in question?


Fillip

Do you mean my website?

I can take a screen shot of the error message when I try it. Hang on.

MasturB 01-07-2016 06:05 PM

Here is screenshot I took.

The post I'm trying to nominate is an old post, I'm just testing it in my staff forum.

https://vborg.vbsupport.ru/external/2016/01/17.png

MasturB 01-08-2016 06:39 AM

So a few hours after I made a "TESTING" rotation, a nomination poll came up in the designated nomination forum.

I did this around 4pm yesterday afternoon and it's 330am (for me) and it's now showing a poll.

But still when I try to nominate something (I only allowed nominations from Staff Forum), it says Page Not Found.


All times are GMT. The time now is 10:09 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.01675 seconds
  • Memory Usage 1,857KB
  • 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_code_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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