vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - [AJAX] Who's Online (https://vborg.vbsupport.ru/showthread.php?t=205282)

dothanhtrung 02-14-2009 01:13 AM

Hey mad@Max,

I think you can use Yahoo's java package will better
Code:

<script type="text/javascript">
<!-- // Hack by Sinister -->
vBulletin.events.systemInit.subscribe(function()
{
        online.req();
});

online = {
        req:function()
        {
                YAHOO.util.Connect.asyncRequest("POST", "index.php?do=whoisonl", {
                        success: this.show,
                        failure: vBulletin_AJAX_Error_Handler,
                        timeout: vB_Default_Timeout
                });
        },
        show:function(a)
        {
                fetch_object("whoisonl").innerHTML = a.responseText;
                setTimeout("online.req()", 180000);
        }
};
//Hack by Sinister -->
</script>


mad@Max 02-14-2009 01:24 AM

dothanhtrung, why do you think that this is better?

WildFire.ca 02-14-2009 01:52 AM

Nice Thx

Alfa1 02-14-2009 02:24 AM

Awesome! Please add auto-refresh with user group permission. This way busy boards can use it.

Arcade Fire 02-14-2009 04:29 AM

Set to 0 the counter of most users ever online :(

dothanhtrung 02-14-2009 05:54 AM

Quote:

Originally Posted by mad@Max (Post 1743388)
dothanhtrung, why do you think that this is better?

I tried to put it into product! But it can still not work on that package! So, i made necessary changes on other packages and it works very well with Autofresh! If you need,PM me and i will send this prodcut to you in order to you can reference it! :)

redlabour 02-14-2009 07:43 AM

Quote:

Originally Posted by Gunshot (Post 1743363)
not compatible with this Hack
https://vborg.vbsupport.ru/showthrea...ight=usergroup

refresh results in the Legend disappearing

Same problem for me. :(

Mark.B 02-14-2009 08:12 AM

Quote:

Originally Posted by redlabour (Post 1743643)
Same problem for me. :(

Yes, you'll find things like that because the modified code isn't included in the AJAX. I've got the spiders hack for Who's Online, and they disappear on refresh too, that's the only reason I cannot use this.

Unfortunately there are so many hacks for Who's Online that I don't think the author could possibly support all of them in this. But for an unaltered who's online, it works great.

mad@Max 02-14-2009 08:22 AM

Yes, many hacks using variable $activeusers from index.php...

Rottimom 02-14-2009 10:08 AM

Quote:

Originally Posted by Arcade Fire (Post 1743520)
Set to 0 the counter of most users ever online :(

Yes, and "Most members were have this one written contributions on a day" and "Most guests online within 24 hours were" and "Most members online within 24 hour were", all started to 0 :(

After Refresh don?t show spider to "Currently Active Users" :(

Therefore uninstalled.


All times are GMT. The time now is 08:18 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.01650 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)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