vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Home Enhancements - User's Social Groups on Forum Home (like forumlist, fully templated) (https://vborg.vbsupport.ru/showthread.php?t=203721)

hoopsta 03-15-2009 07:18 PM

Quote:

Originally Posted by hoopsta (Post 1767650)
good idea, but what is this eror message all about?

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [path]/index.php(67) : eval()'d code on line 246

anyone?

silly rabbit 03-18-2009 10:46 AM

Quote:

Originally Posted by hoopsta (Post 1767650)
good idea, but what is this eror message all about?

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [path]/index.php(67) : eval()'d code on line 246


Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [path]/index.php(67) : eval()'d code on line 378

hoopsta, getting same and have seen it before . . . pretty sure it has to do with running mysqli (5.0.67) - see here, will investigate further. Edit "Plugin Manager-> forumhome code -> forumhome_start" and the one reference is around line 97!
Rabbit

hoopsta, I upgraded to patch release 3.8.1 and still no avail! I did the following, simply comment "// " the function out and added "TRUE" ? ? ? It seems to be working ok (shows *last message*) but ? ? ? (hardly ideal!) "google" returned no satisfactory solution & vBulletin com was no help at all 'cause all they could suggest is "disable the plugin"!

I am also running PHP 5.2.6

PHP Code:

// if (mysql_num_rows($result) > 0)  
if (TRUE

I also changed standard phrasing "New messages in my social groups" to " Latest messages in Your Social Groups" (function the same as original? :confused:)

hoopsta 03-18-2009 11:36 PM

yea this is to bad because I could really use this hack on my forum

qbn720 03-19-2009 04:22 AM

Installed and Nominated. Excellent add-on, I love it. Displaying them as forums is an exceptionally brilliant idea.

+ For the future versions of this hack, see if you can limit the description area for the social groups. It's only a minor disruption but it's absolutely worth it.

imedic 03-23-2009 02:34 PM

Great product. Unfortunately I get on 3.8.1 the following error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [path]/index.php(67) : eval()'d code on line 186

It does show the table but keeps saying "You are currently not a member of a social group." even if I am member / creator of usergroups.

I will keep a close eye for this one and install it when it will work for me.

smnet 03-23-2009 03:52 PM

Quote:

Originally Posted by imedic (Post 1775049)
Great product. Unfortunately I get on 3.8.1 the following error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [path]/index.php(67) : eval()'d code on line 186

It does show the table but keeps saying "You are currently not a member of a social group." even if I am member / creator of usergroups.

I will keep a close eye for this one and install it when it will work for me.

I am having the exact same issue almost.

Database read marking is on, i am a member of several groups and creator of several.

Nothing shows on forum home except a message which reads:-

You are currently not a member of a social group.
See what you are missing

Does anyone know why this mod doesnt work properly for me?

Edit: I've also subscribed to some new groups and still nothing shows.

Saidinou 03-23-2009 04:22 PM

Hello,

can anyone tell me if links (last post) work with vBseo?

PrincessFiona 03-24-2009 09:04 PM

perfect, thanks!

I don't suppose you could code something like this for the blogs that a member is subscribed to???? =)

Kris

Revan 03-30-2009 11:38 AM

For those with the "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [path]/index.php(67) : eval()'d code on line 186" error, open the forumhome code plugin and change
Code:

mysql_num_rows
to
Code:

$db->num_rows
Bit silly mistake, and there's some sessionurl variable mess-ups (using $session[sessionurl] when there's no parameter after "?" instead of just using $session[sessionurl_q] and no "?"), but overall it's a good mod and I'm glad I found it :)

imedic 04-08-2009 08:12 AM

Thanks Revan. All is working now. Great mode!


All times are GMT. The time now is 10:43 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.01224 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)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