vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Statistics Modifications - VSa - Visitors In Last X Hours (https://vborg.vbsupport.ru/showthread.php?t=233329)

foreigner_tr 10-09-2013 10:26 AM

i did exactly what you have said and now i get this error message:

Warning: preg_split() [function.preg-split]: No ending delimiter ',' found in ..../forum.php(791) : eval()'d code on line 1

ozzy47 10-09-2013 10:38 AM

I changed the above code, try that.

foreigner_tr 10-09-2013 10:46 AM

okey it worked :) thanks for your kind interest and help.

ozzy47 10-09-2013 10:54 AM

Not a problem, glad to help. :)

artcrimes 10-09-2013 02:05 PM

Upgrade to 4.2.1 to 4.2.2

Warning: Function split() is deprecated in ..../forum.php(791) : eval()'d code on line 4

Help me pls...

ozzy47 10-09-2013 02:26 PM

Read post #160

persianpros 10-09-2013 02:52 PM

Quote:

Originally Posted by ozzy47 (Post 2451207)
ACP --> Plugins & Products -->Plugin Manager find the one that is titled, VSa - VILXH - SA, in that plugin find
Code:

if (($_REQUEST['show']=='vilxh_users') AND $vbulletin->options['vsa_visitorslastx_enable'] AND ($vbulletin->options['vsa_visitorslastx_cutoff']>0) AND !is_member_of($vbulletin->userinfo, split(',', $vbulletin->options['vsa_visitorslastx_exclgroups'])))
        {

Change it to this:
Code:

if (($_REQUEST['show']=='vilxh_users') AND $vbulletin->options['vsa_visitorslastx_enable'] AND ($vbulletin->options['vsa_visitorslastx_cutoff']>0) AND !is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vsa_visitorslastx_exclgroups'])))
        {

Then in the plugin titled, VSa - VILXH - MN, find,
Code:

if ($vbulletin->options['vsa_visitorslastx_enable'] AND !is_member_of($vbulletin->userinfo, split(',', $vbulletin->options['vsa_visitorslastx_exclgroups'])))
Change it to this,
Code:

if ($vbulletin->options['vsa_visitorslastx_enable'] AND !is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vsa_visitorslastx_exclgroups'])))

please update the plugin xml and post it here if it's possible for you

ozzy47 10-09-2013 02:53 PM

I'll see what I can do when I get home.

ozzy47 10-09-2013 10:58 PM

1 Attachment(s)
Here is the xml for vB 4.2.2, should work on earlier versions also.

artcrimes 10-10-2013 07:30 AM

Quote:

Originally Posted by ozzy47 (Post 2451487)
Here is the xml for vB 4.2.2, should work on earlier versions also.

Thank you so much! Worked!


All times are GMT. The time now is 08:12 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.01291 seconds
  • Memory Usage 1,735KB
  • 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
  • (4)bbcode_code_printable
  • (2)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