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?


All times are GMT. The time now is 06:45 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.01206 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)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
  • (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