vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - "Meet our Team" in Forumhome (https://vborg.vbsupport.ru/showthread.php?t=168319)

dave9720 03-08-2008 11:21 AM

Quote:

Originally Posted by OnyxChase (Post 1450862)
I had the same problem, to fix it I disabled viewing Meet the Team for guests.

EDIT PLUGIN "Show Meet our team at forum home page"

ADD TO FIRST LINE
Code:

if ($vbulletin->userinfo['userid'] > 0) {
ADD TO LAST LINE
Code:

}

Downloaded file, EDIT PLUGIN "Show Meet our team at forum home page" Fixed error on page but I don't have a meet our team tab in the admin control panel. Checked directory: vb_installation/includes/xml/ there is a file: cpnav_siteteam.xml in there. Any help would be much appreciated.

dancue 03-09-2008 03:44 PM

Just a quick question. If I have several people on there, will it allow you to scroll through them?

also, a suggestion for a future release. Can the Avatar be clickable, not just the name.

dancue 03-17-2008 04:09 AM

Quote:

Originally Posted by dave9720 (Post 1435349)
I have a problem with this on guest page it shows this error Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /index.php(537) : eval()'d code on line 39 When I select no on Do you want to show your Team? The Warning goes away. Any suggestions on how to fix this? I like the mod on the forum. Thanks Dave

This issue will effect anyone who is using php5. I just installed php5 on my server and got this error. Took me a while to determine which plug in it is, but I found that it was indeed the plug-in's from this mod.

There is a fix for this, hopefully the author can correct it and update the mod for people to download again.

Here it is: https://vborg.vbsupport.ru/showthread.php?t=125302

dave9720 03-17-2008 11:10 PM

Thank you dancue I will give this a try.:)

RKI 03-17-2008 11:22 PM

Hi, I installed this to my forum, but everything was messed up if you were logged out, other than the meet the team.

I´m wondering if there is something wrong with my forum, or if it´s incompatible with this hack, or if I did something wrong. The welcome message text on the forum index dissapeared, and all text around who´s online now, and statistics text.

dancue 03-17-2008 11:48 PM

Quote:

Originally Posted by dave9720 (Post 1467450)
Thank you dancue I will give this a try.:)

Let me know if it works for you. I still haven't figured it out.

dancue 03-19-2008 12:19 AM

Alright, I got it figured out.

Big thanks to Abe1!

Go into Plug-in Manager and edit the Show Meet our team at forum home page plug-in.

Change this:
Code:

$tmp = unserialize($user["phrasegroup_siteteam"]);
to this:
Code:

$tmp[] = unserialize($user["phrasegroup_siteteam"]);
No more errors for those of you running php5. Worked for me.

Thanks again to Abe1!!

mmmender 03-19-2008 07:36 AM

Very nice, installed and working fine on 3.6.8.

I would, however prefer to select based on user ID rather than usergroup, as I have some testing accounts that I prefer not to appear in the box.

EDIT: I'm also running php5 but I just manually edited & renamed the files myself before I uploaded them.

dave9720 03-20-2008 07:44 AM

Quote:

Originally Posted by dancue (Post 1468300)
Alright, I got it figured out.

Big thanks to Abe1!

Go into Plug-in Manager and edit the Show Meet our team at forum home page plug-in.

Change this:
Code:

$tmp = unserialize($user["phrasegroup_siteteam"]);
to this:
Code:

$tmp[] = unserialize($user["phrasegroup_siteteam"]);
No more errors for those of you running php5. Worked for me.

Thanks again to Abe1!!

This is what I have on forum page; Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1259) : eval()'d code on line 5

I have 5 members listed in site team, showing 4 Warning: array_merge, If I remove the other 4 members the Warning: array_merge is gone. Very confused:confused:

RKI 03-20-2008 03:35 PM

Thanks alot dancue & abe1 !
This works now just fine :)


All times are GMT. The time now is 11:57 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.01135 seconds
  • Memory Usage 1,741KB
  • 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
  • (6)bbcode_code_printable
  • (4)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
  • (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