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)
-   -   vBulletin Forum Sideblocks - Block - Users Online (https://vborg.vbsupport.ru/showthread.php?t=233965)

Lynne 05-12-2010 10:34 PM

Post #36:
Quote:

Originally Posted by vexxy (Post 2021867)
works great for 4.0.3...thanks..my only problem is, when I have the block active, the memberlist link (www.site.com/members/list/) gives me an error:

Code:

Fatal error: Call to undefined function fetch_online_status() in  /home/bytesin/public_html/includes/block/html.php(95) : eval()'d code on  line 94
is there any way I can resolve that? If i disable the sidebar block, it's all good...wierd

Quote:

Originally Posted by elmstr (Post 2035869)
Sadly, I had to remove the block. Once the block is activated none of the community links on the navbar are working anymore.

They give the same error as describen in post #36.

Any fix for this? Thanks in advance!

i do not have a link to www.site.com/members/list/ on my site so I am unable to reproduce this error nor fix it. The function fetch_online_status is in includes/functions_bigthree.php. So, if you have done anything to remove the inclusion of that file in your forum.php page, then it won't be found and you will get an error like this.

elmstr 05-13-2010 01:43 PM

Thanks for looking into this, Lynne! :)

Code:

Fatal error: Call to undefined function fetch_online_status()
in /xxx/xxx/xxx/xxx/forum/includes/block/html.php(95) : eval()'d code on line 94

http://www.cross-stitch-academy.com/...memberlist.php
http://www.cross-stitch-academy.com/...p?do=buddylist
http://www.cross-stitch-academy.com/...do=editoptions

All the standard links in the dropdowns give the error.

I'm running this on a test board only, so I'll leave the 'Users Online' block active for some time.

Hope you can help.

Lynne 05-13-2010 01:52 PM

Quote:

Originally Posted by elmstr (Post 2036364)
Thanks for looking into this, Lynne! :)

Code:

Fatal error: Call to undefined function fetch_online_status()
in /xxx/xxx/xxx/xxx/forum/includes/block/html.php(95) : eval()'d code on line 94

http://www.cross-stitch-academy.com/...memberlist.php
http://www.cross-stitch-academy.com/...p?do=buddylist
http://www.cross-stitch-academy.com/...do=editoptions

All the standard links in the dropdowns give the error.

I'm running this on a test board only, so I'll leave the 'Users Online' block active for some time.

Hope you can help.

There must be something else going on because I am not getting this error on any of my three test sites. Do you have other mods? If you disable them, do you still get this error?

elmstr 05-13-2010 07:09 PM

Thanks, Lynne.

I'll disable the plugins and check if there's a conflict with another hack.
Let you know if I find out.

elmstr 05-13-2010 07:58 PM

Good news: I found the problem.

In my case it was the 'Everywhere Sidebar ESB' hack. After I disabled some options of where to show the sidebar, all links from the navbar are working correctly.

Thanks again!

THE__DRIFTER 06-11-2010 02:07 AM

Per the instructions this mod is unclear and inoperative on 4.0.3 I followed the .03 link and made the edit but not sure why it won't show.

Martin K. 06-23-2010 08:01 AM

nice hack!

but if i refresh forumhome within < 1 minute the block is empty :( .

version: 4.0.4

best regards from berlin
martin

Lynne 06-23-2010 03:04 PM

Quote:

Originally Posted by Martin K. (Post 2057979)
nice hack!

but if i refresh forumhome within < 1 minute the block is empty :( .

version: 4.0.4

best regards from berlin
martin

Boy is this getting old. Why, oh why, do mods have to be broken with every update?

I should have this fixed later today when I have a moment.

Filgga 06-24-2010 05:10 PM

Quote:

Originally Posted by Lynne (Post 2058228)
Boy is this getting old. Why, oh why, do mods have to be broken with every update?

I should have this fixed later today when I have a moment.

Anxiously waiting for your input buddy

Lynne 06-24-2010 07:11 PM

Quote:

Originally Posted by Filgga (Post 2058924)
Anxiously waiting for your input buddy

If you look at the first post you'll see the last update was yesterday to version 1.2 of this mod for 4.0.4.

SemperFideles 07-06-2010 09:29 PM

Installed 4.0.4 a couple of weeks ago and was working and now it's not displaying again.

SemperFideles 07-08-2010 10:59 AM

Lynne,

I figured out that the User's Online Block does, in fact, work. What troubled me is that I have the Everwhere Sidebars Mod installed. All my custom forum blocks display on other pages than FORUMHOME but the User's Online Block does not.

The Mod writer for Everywhere Sidebars noted this:
Quote:

Originally Posted by almannai (Post 2065968)
That is a nice mod from Lynne.

It will not work because Lynne is restricting the mod for forumhome only in second step

PHP Code:

if (THIS_SCRIPT == 'forum')
{
    
$cache[] = 'block_users_online';


I think if you disable the if condition it will work. Better to ask Lynne
Regards, Khalid

I tried removing the conditional but it did not work. Do you have any idea why the User's Online Block won't work on other areas of the board other than FORUMHOME?

Lynne 07-08-2010 02:39 PM

That is just for caching the template, it won't stop it from being displayed (it will just give you an uncached template). You can try removing the other conditions I have around the code, but it could just be that you don't have other necessary information available to you on the other pages and you need to include other php scripts. You'll have to look in your error_logs probably if it isn't one of the conditions.

Igel1 07-23-2010 12:14 PM

vbulletin 4.0.5
There is a problem with the block "users online" and the Mod Everywhere Sidebar 4 VB4 https://vborg.vbsupport.ru/showthrea...233871&page=30 . If both are active there is an error message when you eg goes into the profile or FAQ, Who is Online
Fatal error: Call to undefined function fetch_online_status() in ...\includes\block\html.php(95): eval()'d code on line 93

Lynne 07-23-2010 02:11 PM

Quote:

Originally Posted by Igel1 (Post 2073331)
vbulletin 4.0.5
There is a problem with the block "users online" and the Mod Everywhere Sidebar 4 VB4 https://vborg.vbsupport.ru/showthrea...233871&page=30 . If both are active there is an error message when you eg goes into the profile or FAQ, Who is Online
Fatal error: Call to undefined function fetch_online_status() in ...\includes\block\html.php(95): eval()'d code on line 93

It just needs you to require the file with that function since it isn't already included on those pages. Add this at the top of the code:

PHP Code:

require_once(DIR '/includes/functions_bigthree.php'); 


Igel1 07-23-2010 11:04 PM

Thanks Lynne

I have entered above in the block code and now it works on all pages without error. Even if the Sidebar is disabled or uninstalled everything works without problems.

neopets 08-23-2010 02:03 AM

@lynne

Any reason stats and usernames would not be showing up in 4.0.6?

https://vborg.vbsupport.ru/

Lynne 08-23-2010 02:17 AM

Quote:

Originally Posted by neopets (Post 2088084)
@lynne

Any reason stats and usernames would not be showing up in 4.0.6?

http://s3.amazonaws.com/awesome_scre...VGUWDZT%2BQ%3D

This works fine on my 4.0.6 test forum, so you might want to double-check that you installated it correctly.

neopets 08-23-2010 02:41 PM

Managed to fix that issue

But when using sidebar everywhere, it'll display on a page once. then if I reload the page the block disappears.

Edit: Displays on forum home all the time. but on other pages displays once.. then is gone. Odd

Marv 08-25-2010 04:56 PM

Quote:

Originally Posted by neopets (Post 2088360)
Managed to fix that issue

But when using sidebar everywhere, it'll display on a page once. then if I reload the page the block disappears.

Edit: Displays on forum home all the time. but on other pages displays once.. then is gone. Odd

Almost same here, Lynne. Updated to 4.06 and the display on forum.php is like a lottery. I cannot tell what triggers the display cause there is no pattern which I could identify. Sometimes it works but most of the time it doesn?t. Could you afford some time to have a look into that 4.06 issue ? Would be really appreciated.

Lynne 08-25-2010 09:00 PM

Quote:

Originally Posted by Marv (Post 2089414)
Almost same here, Lynne. Updated to 4.06 and the display on forum.php is like a lottery. I cannot tell what triggers the display cause there is no pattern which I could identify. Sometimes it works but most of the time it doesn?t. Could you afford some time to have a look into that 4.06 issue ? Would be really appreciated.

Are you talking about issues on forum.php or with the modification Everywhere Sidebar? This shows just fine on my test site. I don't have a live site running 4.0, so I can't comment on it then. I can't fix an issue that isn't happening for me.

Marv 08-26-2010 06:50 AM

Quote:

Originally Posted by Lynne (Post 2089533)
Are you talking about issues on forum.php or with the modification Everywhere Sidebar? This shows just fine on my test site. I don't have a live site running 4.0, so I can't comment on it then. I can't fix an issue that isn't happening for me.

Thx for your reply, Lynne. It?s about the forum.php and I don?t have the mod Everywhere Sidebar installed. May be you wanna have a look into it on my site ?

Lynne 08-26-2010 02:12 PM

Sure, post a link to your site so I can see this happening. Also, look in your error_logs and see if anything is in there. And, try disabling your other modifications to see if this is a problem between two modifications.

(I just spent a few minutes clicking on my test site between two users and could never get that block to disappear.)

thunder28 08-31-2010 04:56 AM

hi

Nice mod.

Can i delete the notice: most users ever online...

I need only the users currently online.

greetz
thunder28

Lynne 08-31-2010 01:48 PM

Of course. Feel free to modify it however you like.

vexxy 09-09-2010 05:30 PM

i have the same "lottery" problem with 4.0.6...when I first enter on forumhome, it all displays ok..if I refresh the page, no more user numbers, only the plain text....and ya, I have the everywhere sidebar installed :(

edit: and i found a temporary fix...if you put cache time to 0 in forum blocks manager, for this block...everything works ok

neopets 09-09-2010 07:14 PM

Quote:

Originally Posted by vexxy (Post 2095914)
i have the same "lottery" problem with 4.0.6...when I first enter on forumhome, it all displays ok..if I refresh the page, no more user numbers, only the plain text....and ya, I have the everywhere sidebar installed :(

edit: and i found a temporary fix...if you put cache time to 0 in forum blocks manager, for this block...everything works ok

can you post what code you're using? When I do this it works on other pages but not the forumhome.

COL NIL SATIS 09-22-2010 09:49 AM

tagged

AliceHoward 10-10-2010 11:17 AM

Wonderful, thank you Lynne. :)

m55629 10-13-2010 12:07 PM

Hi,

Can you explain about this:

Code:

  WHERE session.lastactivity > $datecut
            AND (user.usergroupid NOT IN (3,4) OR user.usergroupid IS NULL)
            $hook_query_where

in my forum dont show any user online.

Lynne 10-13-2010 01:49 PM

What do you mean "explain about" it? It's from the standard query from your forum.php file. (Actually, it was from the 4.0.4 version as they have since changed it again.) It just grabs all users except those in usergroups 3 or 4 (and anything additionally added by the hook).

m55629 10-13-2010 06:46 PM

Quote:

Originally Posted by Lynne (Post 2109743)
What do you mean "explain about" it? It's from the standard query from your forum.php file. (Actually, it was from the 4.0.4 version as they have since changed it again.) It just grabs all users except those in usergroups 3 or 4 (and anything additionally added by the hook).

thanks,

But in my forum not appear any user?

Can you help me?

COL NIL SATIS 10-13-2010 06:54 PM

Quote:

Originally Posted by m55629 (Post 2109842)
thanks,

But in my forum not appear any user?

Can you help me?

Are you using vbull 4.0.6??

m55629 10-13-2010 07:33 PM

Quote:

Originally Posted by COL NIL SATIS (Post 2109846)
Are you using vbull 4.0.6??

my version is 4.0.7

Lynne 10-13-2010 08:25 PM

Quote:

Originally Posted by m55629 (Post 2109842)
thanks,

But in my forum not appear any user?

Can you help me?

All I see are spiders on your site users list. This doesn't show spiders - that is a separate mod that you would need to incorporate into this one.

Marv 10-25-2010 04:05 PM

Been a while and my last problem vanished with the time. Still have no idea why and how..

But nuw I just updated to 4.0.8 and your mod is complety gone, Lynne. Anyy idea why ? Can“t see any code changges to 4.0.6. Weired..or am I just blind ?
Anyone else experiencing this problem ?

COL NIL SATIS 10-25-2010 06:00 PM

Quote:

Originally Posted by Marv (Post 2114034)
Been a while and my last problem vanished with the time. Still have no idea why and how..

But nuw I just updated to 4.0.8 and your mod is complety gone, Lynne. Anyy idea why ? Can?t see any code changges to 4.0.6. Weired..or am I just blind ?
Anyone else experiencing this problem ?

Yup...on 4.0.6....cant seem to get it to show in the blocks Gahh...was fine on 4.0.4 though

Lynne 10-25-2010 07:43 PM

Quote:

Originally Posted by Marv (Post 2114034)
Been a while and my last problem vanished with the time. Still have no idea why and how..

But nuw I just updated to 4.0.8 and your mod is complety gone, Lynne. Anyy idea why ? Can?t see any code changges to 4.0.6. Weired..or am I just blind ?
Anyone else experiencing this problem ?

Quote:

Originally Posted by COL NIL SATIS (Post 2114074)
Yup...on 4.0.6....cant seem to get it to show in the blocks Gahh...was fine on 4.0.4 though

Make sure the template didn't get removed during an upgrade.

COL NIL SATIS 10-26-2010 02:25 PM

Ok Lynne..i will check that out,thanks

COL NIL SATIS 10-26-2010 03:14 PM

Select Block Type - ~~vbblock.blocktype_html~~

i dont seem to have that option Lynne? any ideas? ive checked the template and thats still there (block users online..also the plugin is active etc ...still wont show ..Gah


All times are GMT. The time now is 03:01 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.01535 seconds
  • Memory Usage 1,844KB
  • 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_php_printable
  • (20)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
  • (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