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)

betts02 06-05-2012 03:25 PM

Just updated this but when i view my profile i get at the very top of the page:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/dbtech/vbnominate/includes/class_profileblock.php on line 102

Any help please, many thanks

betts02 06-05-2012 04:31 PM

Just to add, I also tried the :

If you open
dbtech/vbnominate/includes/class_profileblock.php

Find
PHP Code:
if (in_array($data_data['nomnom_id'], $winner_ids))
and change it to
PHP Code:
if (in_array($data_data['nomnom_id'], (array)$winner_ids))
That should fix it

But it does nothing

qpurser 06-06-2012 10:16 AM

Nice mod. Considering the PRO version to het the widget and side block.
Works with 4.2.0

I had some issues figuring out why the "nominate" button wouldn't show up.
It seems me as an admin can't nominate and therefore the button didn't show up?
Once I logged in as a regular user the button was there.

Is there a way to move the "forum home" block at the bottom of the forum or even in another dedicated page?

Thanks for another great mod.

PS. You should change the options for the LITE version in the feature list. It says widget and side block are also available in the LITE version. :)

betts02 06-06-2012 04:16 PM

Quote:

Originally Posted by betts02 (Post 2336794)
Just updated this but when i view my profile i get at the very top of the page:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/dbtech/vbnominate/includes/class_profileblock.php on line 102

Any help please, many thanks

Any news on this ?

Many thanks

glen290 06-06-2012 04:49 PM

Suddenly started to work..great little mod

betts02 06-08-2012 02:26 PM

Quote:

Originally Posted by betts02 (Post 2337183)
Any news on this ?

Many thanks

BUMP

DragonByte Tech 06-09-2012 10:48 AM

Quote:

Originally Posted by betts02 (Post 2337183)
Just updated this but when i view my profile i get at the very top of the page:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/dbtech/vbnominate/includes/class_profileblock.php on line 102

Any help please, many thanks

Sorry about that, does it happen whether the user has nominations or not?

If a user has nominations will the error still happen?

I'm not sure what would be causing that error.

Dylan

betts02 06-09-2012 05:22 PM

I have had no nominations and its happening on my profile

When i view any profile it happens also

DragonByte Tech 06-12-2012 08:52 AM

Quote:

Originally Posted by betts02 (Post 2338169)
I have had no nominations and its happening on my profile

When i view any profile it happens also

That's weird. I'm not sure what's going on there. Would it be possible to get ftp access and a user account that can access user profiles?

Dylan

Glockie 06-22-2012 09:57 AM

Great mod and thanks for letting us have a 'lite' version as always...

Now, I can't see anything when you click on user profile; Vbnominate
Or does it ONLY show when a user has actually received / completed an award / the nomination process?

acast 08-02-2012 04:14 PM

Hi. Where is the page where i can see the nominates? I dont see it anywhere.

DannyITR 08-02-2012 04:28 PM

In the admincp you can see if if you click current rotations.

I'm having a problem that that the winner from last month is still showing up in the voting.

acast 08-02-2012 05:07 PM

Quote:

Originally Posted by DannyITR (Post 2353720)
In the admincp you can see if if you click current rotations.

I'm having a problem that that the winner from last month is still showing up in the voting.

Sure, but if you see the first and the second cap, is not in the panel.

DragonByte Tech 08-04-2012 10:04 AM

There is no real front end for the nominations. I'm going to build one the next version. If you have one of the blocks showing it will link to the completed nomination where you can view the results.

Dylan

apokphp 08-11-2012 04:48 AM

I'm needing a mod that "scores" points in a debate thread. I run an online community and some of my users have been wanting a way to tabulate arguments. I thought that some form of poll or nominate hack could be made to do this, but not sure. Could this hack do that? If not, do you have something that would be similar? If not, would you consider being hired to create something for our community?

DragonByte Tech 08-13-2012 04:19 PM

Quote:

Originally Posted by apokphp (Post 2356139)
I'm needing a mod that "scores" points in a debate thread. I run an online community and some of my users have been wanting a way to tabulate arguments. I thought that some form of poll or nominate hack could be made to do this, but not sure. Could this hack do that? If not, do you have something that would be similar? If not, would you consider being hired to create something for our community?

Not sure how well it would work for scoring a debate. If you are interested in custom work we have a thread about it here

https://www.dragonbyte-tech.com/f10/custom-work-4638/

Dylan

DragonByte Tech 08-20-2012 05:55 AM

I just added v1.2.6 which is a bugfix release.

Included fixes for v1.2.6 are:
Fixed - Blog nomination link missing
Fixed - ACP link to nominated items
Fixed - Nomination winners showing as 1 vote
Added - ACP Maintenance section to rescore incorrect nominations with previous problem

Dylan

hoof 08-21-2012 03:28 PM

Thanks for the updated version, trying it now :)

Woks great, love the profile fix and the fixed links from the admincp...great work.

Davey-UK 09-15-2012 06:40 AM

In adminCP, where there should be a thread id option, it shows this on 4.2
Code:

Enter the forum id to create a thread in when a new poll is created.
       
select:forums:eval = construct_forum_chooser_options(1);


DragonByte Tech 09-20-2012 03:55 AM

Quote:

Originally Posted by Davey-UK (Post 2365590)
In adminCP, where there should be a thread id option, it shows this on 4.2
Code:

Enter the forum id to create a thread in when a new poll is created.
   
select:forums:eval = construct_forum_chooser_options(1);


Hmm, my dev is 4.2 PL2 and I'm not seeing that. Could I get access to take a look? Or could you take a screenshot for me to see?

Dylan

Davey-UK 09-20-2012 05:42 PM

1 Attachment(s)
Here is a screeny.
4.2.0 PL2 is what i am using.

hoof 09-26-2012 10:44 AM

Hey Dylan,
Can you tell me the variable name for the vbnom stats? I am loving the addition but would like to move it to after forums.

R/
Hoof

DragonByte Tech 09-27-2012 02:36 AM

1 Attachment(s)
Quote:

Originally Posted by Davey-UK (Post 2367089)
Here is a screeny.
4.2.0 PL2 is what i am using.

Can you try this product xml? I fixed it on here for you.

Dylan

DragonByte Tech 09-27-2012 02:40 AM

Quote:

Originally Posted by hoof (Post 2368651)
Hey Dylan,
Can you tell me the variable name for the vbnom stats? I am loving the addition but would like to move it to after forums.

R/
Hoof

If you want to move it below the forums
Open dbtech/vbnominate/hooks/forumhome_complete.php

At the bottom find

PHP Code:

        $ad_location['global_below_navbar'] = $ad_location['global_below_navbar'] . $vbnomnom_info_panel

replace it with

PHP Code:

        $template_hook['forumhome_below_forums'] = '<br /><br />' $template_hook['forumhome_below_forums'] . $vbnomnom_info_panel


hoof 09-27-2012 09:50 AM

Quote:

Originally Posted by DragonByte Tech (Post 2368901)
If you want to move it below the forums
Open dbtech/vbnominate/hooks/forumhome_complete.php

At the bottom find

PHP Code:

        $ad_location['global_below_navbar'] = $ad_location['global_below_navbar'] . $vbnomnom_info_panel

replace it with

PHP Code:

        $template_hook['forumhome_below_forums'] = '<br /><br />' $template_hook['forumhome_below_forums'] . $vbnomnom_info_panel


Awesome, Thank you :) Works great!

RichieBoy67 09-27-2012 05:23 PM

Do you really need to fill the whole footer with 3 links and all that text? This is the only reason I will not have these mods on my sites or my clients sites. I don't mind a single link but 3 is a bit too much. Not to mention the Google Panda, Penguin updates frown on this.. Otherwise it looks like a decent mod..

DragonByte Tech 09-27-2012 05:41 PM

Quote:

Originally Posted by RichieBoy67 (Post 2369061)
Do you really need to fill me whole footer with 3 links and all that text? This is the only reason I will not have these mods on my sites or my clients sites. I don't mind a single link but 3 is a bit too much. Not to mention the Google Panda, Penguin updates frown on this.. Otherwise it looks like a decent mod..

One of the links is optional, you can disable it. Copyright footer links do not damage SEO in the google panda/penguin updates. They CAN damage the company who owns the links if they are placed on many undesirable sites. (This is what caused a lot of wordpress theme creators etc to be hurt by the updates). Fortunately our site is linked to by some of the largest communities on the web and has an extremely favourable SEO profile - there are no SEO issues with having links to our site.

The feedback is appreciated though, sorry that the two links vs 1 link is a dealbreaker for you, hopefully you'll re-examine the cost to benefit ratio again in future. The vast majority of people we've asked feel the extra features more than outweighs the few extra words at the very bottom of the page. Obviously I tend to agree with that position!

If you have any feedback on the SEO issues discussed etc feel free to PM me with further info and i'll look into it more, in case there is something i'm not aware of.

Iain

RichieBoy67 09-27-2012 07:51 PM

That is what I was talking about.. It damages you for posting the links so why do it? I guess before the more outgoing links you have may lower your link weight a bit but now the problem is really for those companies including the links on their products. This was my point. If it ticks off the buyer and also damages your seo then again, why do it?

It just gets to be too much. Say a client has 3 of your mods installed.. I understand you deserve something for having a lite version and the mods are great. I just really hate having all the links..a single for a mod is ok by me. This is just my opinion anyhow so no disrespect intended..

Trek 09-28-2012 09:50 PM

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. =)

Davey-UK 10-02-2012 04:12 AM

Quote:

Originally Posted by DragonByte Tech (Post 2368900)
Can you try this product xml? I fixed it on here for you.

Dylan

That did it. Thanks

qpurser 10-02-2012 06:43 AM

We all should consider there are some real excellent coders here who provide us with excellent FREE Mod's to make our forums better and more interesting for our users. One of them is DBT for sure.
They deserve a link in the footer to show their hard work but yes I agree it can get a lot overwhelming when using several different mod's.
Maybe one thing coders could consider when they offer several different mod's is to combine the links in one line instead of links for each product.
Example: product1, product2, product3 presented by company/coderX.

sticky 10-10-2012 07:17 AM

Is it possible to give bonus rep points for people that win nominations automatically?

sticky 10-10-2012 07:21 AM

Also, to encourage use of this system, would be nice to give rep to people that nominate things.

hsoen 10-10-2012 11:28 AM

It would be good if the system restricts the user to nominate once for the same thread/post while able to nominate many other threads/posts in a contest. Just like the vBulletin MOTM nomination system.

hsoen 10-11-2012 02:10 PM

Quote:

Originally Posted by sticky (Post 2371948)
Also, to encourage use of this system, would be nice to give rep to people that nominate things.

Better to give reputation points to people whose nomination is the winner, else people will anyhow nominate so as to gain more reputation points.

DragonByte Tech 10-11-2012 04:44 PM

Quote:

Originally Posted by sticky (Post 2371946)
Is it possible to give bonus rep points for people that win nominations automatically?

Quote:

Originally Posted by sticky (Post 2371948)
Also, to encourage use of this system, would be nice to give rep to people that nominate things.

Quote:

Originally Posted by hsoen (Post 2371987)
It would be good if the system restricts the user to nominate once for the same thread/post while able to nominate many other threads/posts in a contest. Just like the vBulletin MOTM nomination system.

We can look at putting these options in with a future release. Unfortunately it does not do them now.

Dylan

Davey-UK 10-22-2012 05:41 PM

This mod is great for what we want, BUT, how hard would it be to make a fortnightly (two weeks) option to give thread votes more of a chance?
14 days would be a happy medium between the monthly and weekly options.
Thankyou

Fongool 10-23-2012 03:14 PM

1 Attachment(s)
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

grey_goose 10-23-2012 06:50 PM

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.

DragonByte Tech 10-24-2012 05:50 AM

Quote:

Originally Posted by Davey-UK (Post 2375109)
This mod is great for what we want, BUT, how hard would it be to make a fortnightly (two weeks) option to give thread votes more of a chance?
14 days would be a happy medium between the monthly and weekly options.
Thankyou

I can look into it next time we work on a feature release.

Dylan


All times are GMT. The time now is 01:03 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.01564 seconds
  • Memory Usage 1,845KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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