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)

cad2go 07-14-2009 03:50 PM

cool - cheers for all the help

redlabour 07-14-2009 08:04 PM

Quote:

Originally Posted by cellarius (Post 1796314)
Uh - I don't get that error... on neither of my boards. Since there's no line 458 in the plugin, I do not know exactly which of the two foreach statements in the plugin might be responsible. Since this only happens after upgrade, probably the newly added ;) Can't see what might be causing it at the moment.

Please try the following: in the plugin add
Code:

$array_discussionread = array();
before
Code:

while ($array = $db->fetch_array($result_discussionread))

Are you using PHP 4 or PHP 5?

If the above does not fix it, please try to replace
Code:

foreach ($array_discussionread[$cel_groups['groupid']] as $discussions)
with
Code:

foreach ((array) $array_discussionread[$cel_groups['groupid']] as $discussions)

Quote:

Originally Posted by redlabour (Post 1796788)
PHP5 - the second Hint works now! :)

Quote:

Originally Posted by cellarius (Post 1796796)
Good to know. Will include this into the package and then send an upgrade notification ;)

It is still not included in the new Update!!! ;)

webgroup 07-14-2009 08:49 PM

Nice, the icons are showing correctly now.
But Im gettin this error and I had to disable the hack:

Warning: Invalid argument supplied for foreach() in [path]/index.php(67) : eval()'d code on line 212

redlabour 07-14-2009 09:05 PM

Ehhmmm....look one Posting behind yours and relax and reinstall! :rolleyes:

webgroup 07-14-2009 09:12 PM

Oh ok, I edited the code as stated above and now its working!
im using php5

Breakpoint 07-14-2009 09:41 PM

Thanks I will need to insstall this!

yotsume 07-14-2009 09:55 PM

Does this mod work with vb3.7x. I get a database error after installing this mod and doing the template edit:

Code:

Database error in vBulletin 3.7.4:

Invalid SQL:

                SELECT
                        socialgroup.groupid,
                        socialgroup.name,
                        socialgroup.description,
                        socialgroup.picturecount,
                        socialgroup.lastpost,
                        socialgroup.lastposter,
                        socialgroup.lastposterid,
                        socialgroup.lastgmid,
                        socialgroup.visible,
                        socialgroup.lastdiscussion,
                        socialgroup.discussions,
                        socialgroup.members,
                        socialgroupicon.dateline
                FROM vb_socialgroup as socialgroup
                INNER JOIN vb_socialgroupmember as socialgroupmember
                        ON socialgroup.groupid = socialgroupmember.groupid
                  LEFT JOIN vb_socialgroupicon as socialgroupicon
                        ON socialgroupicon.groupid = socialgroup.groupid
                WHERE socialgroupmember.userid = 1
                GROUP BY name
                ORDER BY lastpost DESC;

MySQL Error  : Table 'xxxxxxxxx.vb_socialgroupicon' doesn't exist
Error Number  : 1146
Request Date  : Tuesday, July 14th 2009 @ 06:45:29 PM
Error Date    : Tuesday, July 14th 2009 @ 06:45:29 PM
Script        : http://www.xxxxxxxx.com/forum.php
Referrer      : http://www.xxxxxxxx.com/admincp/index.php?do=head
IP Address    : xx.xxx.xx.xxx
Username      : xxxxxx
Classname    : vB_Database
MySQL Version : 5.0.67-log

Did I miss something???

BigDog56 07-15-2009 05:38 AM

Updated and thank you!

sensimilla 07-15-2009 02:20 PM

The new version messed my forumhome display.
Back to 1.5.0

cellarius 07-15-2009 02:35 PM

Quote:

Originally Posted by yotsume (Post 1848822)
Does this mod work with vb3.7x. I get a database error after installing this mod and doing the template edit:
Did I miss something???

Yes. User group dsicussions were only introduced in 3.8, so there's no way this mod can work on 3.7.


All times are GMT. The time now is 11:55 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.01249 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)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