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 01-27-2008 02:19 PM

Quote:

Originally Posted by Droptop (Post 1429944)
I found if you click and drag, you can choose more than one usergroup, and save. I now have Admin, Supermod, and Mod enabled and it works fine. :)

Thank you for your post:D I now have all 3 added to the mod. Thanks Again Dave

petacat 01-27-2008 10:28 PM

I hope the attached SS helps

There does not appear to be any dialog box to choose usergroups. therefore no team members show

Mum 01-27-2008 10:32 PM

I asked the same thing and got this response.
Quote:

Originally Posted by vbFreelancers (Post 1428702)
As many users asked to be able to choose the usergroups manually, I added at admincp a seperate menu option so you can choose which usergroup(s) to use.


petacat 01-28-2008 05:32 AM

OK. Now I found the option menu on the Left sidebar ... I had only found the Site Team options in the vBulletin Options dropdown list :P

however, I got these error messages showing after the Team came up correctly:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1259) : eval()'d code on line 5

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

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

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

hyppa 01-28-2008 08:21 AM

Quote:

Originally Posted by petacat (Post 1430410)
I hope the attached SS helps

There does not appear to be any dialog box to choose usergroups. therefore no team members show

Find the meny in left side in admin cp, meet our teem, under vbulletin options, it is there.

Mother_Dee 01-28-2008 12:50 PM

Fixed. Trying install now.

I now have uncached templates. Boo. :(

Uncached templates: postbit_onlinestatus (6)
Uncached templates: siteteam_main (1)
Uncached templates: siteteam_teambits (6)

Shazz 01-28-2008 02:25 PM

Saw a few nice forums that had them, so this is where it came from :)
Well done.

wizardan 01-28-2008 06:34 PM

Some of my admins are listed as banned under their usernames.
I like the mod, though, and will wait and see.

SherryG 01-28-2008 06:39 PM

Installed and getting the following error code:

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

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

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

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

irinap 01-29-2008 05:17 AM

Works great for me!

How do I get it so that the table is above the What's Going On box?

REVHEAD 01-29-2008 05:52 AM

Quote:

Originally Posted by SherryG (Post 1431064)
Installed and getting the following error code:

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

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

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

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

I got that porblem with this mod and the other other one they make "come join us mod" It alls messed my login box up , did it do the same for you?

SherryG 01-29-2008 10:16 AM

Quote:

Originally Posted by REVHEAD (Post 1431420)
I got that porblem with this mod and the other other one they make "come join us mod" It alls messed my login box up , did it do the same for you?

I haven't installed the 'Come Join Us' mod yet. I'm waiting for information on how to solve this problem first :)

vbFreelancers 01-29-2008 10:35 AM

I don't believe that these errors are coming from my mod, but I also believe that "Forumhome" must be used just for Forumhome. Especially by adding lots of mods there, for sure some day you'll have problems.
I coded this minimod, just for my own use and later on I decided to share it.
If you want something really intepended, and much more powerful look at my othe mod:
MemberIndex

hyppa 01-29-2008 03:44 PM

Quote:

Originally Posted by hyppa (Post 1429972)
Is it possible to get this to show on the portal too?


Asking again.

Meghwar 01-29-2008 04:14 PM

I think this is a Php error :)

php5 will do that :)

php4 fine I guess.

Just an opinion

Ultimate Killer 02-02-2008 01:39 AM

It shows up on my page but none of the members show up though? Do they need to be in a certain usergroup? I don't have an option to added a usergroup..

Mod Active?
Do you want to show your Team?

Yes No
Error:
1
How Many?
How many members of your team to show?

Error:
1
Display what
Do you prefer to show user's Avatar or Image?

Error:
1
Image width
If image, how many pixels should be the width?

Error:
1
Interface
What interface do you prefer?

Error:
1
Border
If interface is table, do you want border around it?

Yes No
Error:
1
Header
Do you want to include a header in the block?

Yes No
Error:
1
Title
Give a title of the block

Error:
1
Online
Show Online/Offline status?

Yes No
Error:
1
Last Visit Details
Show user's last visit Date & Time?

Yes No
Error:
1
Last Visit Text
What phrase do you want to appear as last visit?

Sofia 02-02-2008 08:57 AM

Quote:

Originally Posted by Ultimate Killer (Post 1434321)
It shows up on my page but none of the members show up though? Do they need to be in a certain usergroup? I don't have an option to added a usergroup..

Mod Active?
Do you want to show your Team?

Yes No
Error:
1
How Many?
How many members of your team to show?

Error:
1
Display what
Do you prefer to show user's Avatar or Image?

Error:
1
Image width
If image, how many pixels should be the width?

Error:
1
Interface
What interface do you prefer?

Error:
1
Border
If interface is table, do you want border around it?

Yes No
Error:
1
Header
Do you want to include a header in the block?

Yes No
Error:
1
Title
Give a title of the block

Error:
1
Online
Show Online/Offline status?

Yes No
Error:
1
Last Visit Details
Show user's last visit Date & Time?

Yes No
Error:
1
Last Visit Text
What phrase do you want to appear as last visit?

To show them, you must select usergroups. You must go on your admincp and click on "Usergroups" link, in the block "Meet our Team", in the menu on the left on your admincp.

Sofia 02-02-2008 09:00 AM

Marina, I can't use this option :

Quote:

Image width
If image, how many pixels should be the width?
When I look in the XML, the vboptions siteteam_width isn't used in the code.

Ultimate Killer 02-02-2008 04:30 PM

Thanks Sofia.

I don't have a meet our team tab in the admin control panel, so that is why I can't get this to work right?

vbFreelancers 02-02-2008 04:43 PM

Quote:

Originally Posted by Sofia (Post 1434463)
Marina, I can't use this option :



When I look in the XML, the vboptions siteteam_width isn't used in the code.

I'll correct the file and I'll post it here.

vbFreelancers 02-02-2008 04:45 PM

Quote:

Originally Posted by Ultimate Killer (Post 1434683)
Thanks Sofia.

I don't have a meet our team tab in the admin control panel, so that is why I can't get this to work right?

Be sure that at the directory: vb_installation/includes/xml/ there is a file: cpnav_siteteam.xml

Ultimate Killer 02-02-2008 04:50 PM

OK, I'll check that out thanks.

dave9720 02-03-2008 02:14 PM

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

Majava 02-03-2008 05:12 PM

I uninstalled this, not because it didnt work. It does work, but doesnt show custom titles. It either left the title blank or showed your secondary group title. Maybe that could be a future fix for an otherwise excellent idea.

dave9720 02-09-2008 12:00 PM

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

I uninstalled this due to current errors.

kiwivc 02-13-2008 06:34 PM

Cool mod thanks.
If you hold the Ctrl key when you select the usergroups you will find that you can select them all if you want. Don't do what I did though: I wanted to view all of the usergroups(ranks) ... all 12 of them. We have 100+ clan members and so I selected ''How many members to show/200'' ... the results are hilarious. My forum home page shot off sideways for about a mile.
I crossed my fingers and hoped that I ''might'' be able to use this to show all of my clan members from all of their respective usergroups but definately not on the forum homepage. I would prefer it if a separate page could be called by using a link. It does what it is reported to do though. Works okay:) thanks

Shelly 02-17-2008 05:19 AM

i just installed it and i like it alot. however, i would like to have it display the member team in a specific order, right now it seems to put the team up in a random order. is this possible?

KuJoe 02-17-2008 08:01 AM

I installed this hoping I could modify it to fit on a vbAdvanced page. But then I noticed it's using hooks now and I have no idea how to edit that. Still an awesome mod though. :)

ams3521 02-21-2008 12:23 AM

installed easy and does the job great. Dont know if its just me but i have to have all the mods in one row and for the avatar to show it is too wide for the forum. Any way to make it two rows? thanks

OnyxChase 02-25-2008 06:07 PM

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

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:

}

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 03:49 AM.

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.01476 seconds
  • Memory Usage 1,841KB
  • 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
  • (8)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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