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=168320)

Cornie 01-25-2008 10:16 AM

In the zip file is missing vbF_Functions.php.

vbFreelancers 01-25-2008 10:22 AM

Quote:

Originally Posted by Cornie (Post 1428605)
In the zip file is missing vbF_Functions.php.

You don't need this file anymore. I wrote it in the 1st post. All code has been moved to product-siteteam.xml
I just added an admin file.

Marina

Hornstar 01-25-2008 10:27 AM

Thanks, looks like this has now improved alot.

Cornie 01-25-2008 10:28 AM

:D I had still the old code in index.php. Now is all ok

Cornie 01-25-2008 10:31 AM

I have still the user groups "donors" and "children", as also still get I into the list

vBVision 01-25-2008 11:16 AM

What must I do to show admins, moderators and supermoderator?

Cornie 01-25-2008 11:37 AM

Quote:

Originally Posted by Philosopher (Post 1428634)
What must I do to show admins, moderators and supermoderator?

All three user groups mark

vBVision 01-25-2008 11:53 AM

Oh, thanks! And how to change the place of the bar in my forumhome? Now it is shown on the bottom of my page, below the forum statistics. What must I do?

vbFreelancers 01-25-2008 01:46 PM

Quote:

Originally Posted by Philosopher (Post 1428651)
Oh, thanks! And how to change the place of the bar in my forumhome? Now it is shown on the bottom of my page, below the forum statistics. What must I do?

That's the only place that I was able to add it. That's the bad point of hook instead modifying the template. For some reason, I wasn't able to add it at the top, something that was possible with other of our mods.

vBVision 01-25-2008 04:40 PM

But can't I replace the place by means of template editing, as in the previews version?

lasto 01-25-2008 09:24 PM

i dont like hooks because they move stuff which looks out of place.Is there nothing we can edit to be able to call the box in where we would like it.

ALso this hack is even better now u allowed to select which usergroup we can use.Thanks

lasto 01-25-2008 09:31 PM

why do i get this error

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

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

belai123 01-26-2008 12:48 PM

This interferes with the Just Joined Mod

vbFreelancers 01-26-2008 01:52 PM

Quote:

Originally Posted by belai123 (Post 1429298)
This interferes with the Just Joined Mod

Fixed (Just Join). There was a variable confusion. You don't need to do anything. I changed the other mod.

lasto 01-26-2008 05:15 PM

still dont answer why i get the error above so i cant use the hack.If i turn it off the error goes so it is obviously interfering with something on my board and i have a bad suspicion it is cybs advanced Stats.

Is there no way to fix it ?

vbFreelancers 01-26-2008 06:05 PM

Quote:

Originally Posted by lasto (Post 1428947)
why do i get this error

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

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 don't think that it comes from my mod.

lasto 01-26-2008 06:12 PM

it deffo does.As stated above if i unactivate the plugin the error goes away.Also no errors before hack active and errors only appears once hack is hactive.

Also have u not noticed how many errors there is :
There is 7 because on the admin options page i told it to display 7 users.Now if i tell it to display 2 users then the errors appear only twice.

vbFreelancers 01-26-2008 06:34 PM

Quote:

Originally Posted by lasto (Post 1429488)
it deffo does.As stated above if i unactivate the plugin the error goes away.Also no errors before hack active and errors only appears once hack is hactive.

Also have u not noticed how many errors there is :
There is 7 because on the admin options page i told it to display 7 users.Now if i tell it to display 2 users then the errors appear only twice.

Most probably you misunderstood my meaning. By saying that it dosen't seems to come frome my mod, means that in conjuction with vB. Maybe it confuses with another mod, that's possible. Instead to deactivate it, have you tried to deactivated the other mods? Only and only in this case you can say for sure that it comes from my mod.
In second hand, as I don't know if you did new install or upgraded the old installation. If it's the 2nd, have you follown my instructions for removing the old code?

JAuthement 01-26-2008 07:52 PM

Nice mod for a small site but for a larger site with multiple Admins, Super Mods, Mods ... etc. not all can be shown on the FORUMHOME ... IMO ... it would be a better mod if it was it's own page .

lasto 01-26-2008 08:23 PM

i installed from fresh - no upgrade.Like i said i think this hack is interfering with another hack which i have running on my board.

Cornie 01-27-2008 05:47 AM

Quote:

Originally Posted by lasto (Post 1429578)
i installed from fresh - no upgrade.Like i said i think this hack is interfering with another hack which i have running on my board.

turn all Hacks on out and then single again and examine thereby which chop for the disturbance is responsible

lasto 01-27-2008 06:17 AM

I know for sure which hack it is - cybs advanced stats but id rather turn this hack off than that one as that has a lot more uses.

Brandon Sheley 01-28-2008 12:15 AM

Quote:

Originally Posted by vbFreelancers (Post 1428520)
Added on version 1.1.0


Can you please add the usergroup numbers instead of the setup you have now.

Say I want to show groups 2,6,15
With the current system, this isn't possible.

thanks

also the "image width" doesn't hold the images at "80" pix :(

ptwiggens 02-20-2008 01:59 AM

Okay... I installed this and it worked for a couple hours... and then I started getting these errors:

"Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /index.php(539) : eval()'d code on line 13"

"Unable to add cookies, header already sent."

Now... I know you've said you don't think it is from your mod... so I tested it out.

I disabled ALL mods except for yours... and the error remained. As soon as I disabled yours it went away.

So... its DEFINITELY your mod. Now the question is... how do we fix this?

Namaless 02-23-2008 03:54 PM

Into your loop $team get musername style with:
PHP Code:

$team['username'] = fetch_musername($team); 

Use this before to fetch template bits ;)

Another fix:
Template Cache
for use template cache create new plugin, select SiteTeam Product, set name of plugin example "SiteTeam - Cache Templates", select "cache_templates" hook and into codebox insert:
PHP Code:

$globaltemplates array_merge($globaltemplates, array('postbit_onlinestatus''siteteam_main''siteteam_teambits')); 

This use now 100% all features of vb 3.7 ^_^
Thanks :)

Brew 02-29-2008 03:51 AM

Quote:

Originally Posted by ptwiggens (Post 1447037)
"Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /index.php(539) : eval()'d code on line 13"

"Unable to add cookies, header already sent."

I'm having the same problem too.

I disabled the other mods and when I came to this one it fixed everything. So, it surely is this mod causing this problem.

I'll wait for a fix before re-enabling this mod.

It's too bad too because it's pretty cool, I just wish I had thought about logging out to test it sooner :(

Brandon Sheley 02-29-2008 03:56 AM

I guess this should say "Un" Supported :(
a real bummer, I'd like to use it.

SwollenCranium 03-05-2008 04:19 PM

Quote:

Originally Posted by Brew (Post 1453397)
I'm having the same problem too.

It's too bad too because it's pretty cool, I just wish I had thought about logging out to test it sooner :(



Agreed.

I get a near identical error.

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /index.php(539) : eval()'d code on line 245



Uninstalling NOW.

NeuroLancer 03-06-2008 03:41 AM

I had array_merge() errors in another mod by vbfreelancers, the just Join Us mod.

I found this thread about how to deal with the array merge errors. I was able to fix mine, but I cheated and removed the code: $vbphrase = array_merge($vbphrase, $tmp); from the plugin.

Haven't looked back since, might be worth a try for this mod also.

cypher1973 03-09-2008 05:35 PM

im using the vbulletin basic skin and i see in the screenshot that you have yours just above the whos online box can you please tell me how to do that >??

many thanks

andy

OrionsMom 03-10-2008 01:19 AM

Is there a way to use this with vbAdvanced CMPS? I would like this on my homepage instead of or along with the forum home.

powerful_rogue 03-12-2008 07:00 PM

Quote:

Originally Posted by cypher1973 (Post 1460883)
im using the vbulletin basic skin and i see in the screenshot that you have yours just above the whos online box can you please tell me how to do that >??

many thanks

andy

Ditto,

I think this would look so much better above the who's online box rather then stuck at the bottom of the forum. It currently looks out of place.

Tom_S 03-22-2008 06:41 PM

Did anyone get an answer on how to relocate this to where you want it instead of at the bottom of forumhome? I would like it to be under the stats.

dancue 03-28-2008 03:11 AM

Quote:

Originally Posted by SwollenCranium (Post 1457753)
Agreed.

I get a near identical error.

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /index.php(539) : eval()'d code on line 245



Uninstalling NOW.

Alright people. I've figured out what the issue is.

The Problem:
Unfortunately, the mod was made for php4, not php5. Those of you running php5 on your servers will receive this error.

Solution:
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 who helped me figure this out!!


All times are GMT. The time now is 10:31 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.01419 seconds
  • Memory Usage 1,819KB
  • 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
  • (2)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (34)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