Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[AJAX] Who's Online Details »»
[AJAX] Who's Online
Version: 1.4, by mad@Max mad@Max is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.x Rating:
Released: 02-12-2009 Last Update: 03-04-2009 Installs: 162
Uses Plugins Template Edits Auto-Templates
 
No support by the author.

Continue of this mod https://vborg.vbsupport.ru/showthread.php?t=105233

Modification allows to you refresh list of active users without reload main page.

Features:
  • button "refresh" for manual refresh (optional)
  • autorefresh (set in second), disable if set by "0"
  • permission user groups (excluding now) to use
  • compatible with legends and splitters of user groups
  • refresh string "Currently Active Users: ..."

Video on it (because it's ajax): http://www.youtube.com/watch?v=A3rsK8Th1ms

Spanish translate: https://vborg.vbsupport.ru/attachmen...2&d=1234675167
French translate (v1.3): https://vborg.vbsupport.ru/attachmen...9&d=1236427472

Download Now

File Type: xml product-awio Eng.xml (6.5 KB, 797 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
CheS06, TTayfun

Comments
  #72  
Old 02-19-2009, 04:29 AM
Playa82 Playa82 is offline
 
Join Date: Mar 2006
Location: Germany
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mad@Max View Post
Playa82, Please show me your template awio_js. If you use vbadvanced and it placed in root folder then you was changed index.php on some like forum.php.
yes, it's forum.php now. my index.php is from vbadvanced
Reply With Quote
  #73  
Old 02-19-2009, 04:32 AM
Playa82 Playa82 is offline
 
Join Date: Mar 2006
Location: Germany
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mad@Max View Post
Playa82, Please show me your template awio_js
here it is:

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

online = {
	req:function()
	{
		fetch_object('whoisonline').innerHTML = '<img src="images/misc/progress.gif" />';
		YAHOO.util.Connect.asyncRequest("POST", "$vboptions[forumhome].php?do=rqawio", {
			success: this.show,
			failure: vBulletin_AJAX_Error_Handler,
			timeout: vB_Default_Timeout
		});
	},
	show:function(a)
	{
		fetch_object("whoisonline").innerHTML = a.responseText;
	}
};
<if condition="$vboptions[awio_timeout] > 0">
cautoref=setInterval("online.req()", 1000*$vboptions[awio_timeout]);
</if>
// -->
</script>
Maybe you should add a fix for that. because some more people like me did this kind of installation of vbadvanced...
Reply With Quote
  #74  
Old 02-19-2009, 06:32 AM
mad@Max's Avatar
mad@Max mad@Max is offline
 
Join Date: Jul 2007
Location: Russia
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wanted to look at this line $vboptions[forumhome].php?do=rqawio, but it is normal.
Reply With Quote
  #75  
Old 02-19-2009, 12:56 PM
Playa82 Playa82 is offline
 
Join Date: Mar 2006
Location: Germany
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mad@Max View Post
I wanted to look at this line $vboptions[forumhome].php?do=rqawio, but it is normal.
i got the error.

in awio_js find this:

Code:
$vboptions[forumhome].php?do=rqawio
and change it to:

Code:
forum.php?do=rqawio
now it works.

This only works if vbadvanced is installed on Forumhome !!!
Reply With Quote
  #76  
Old 02-19-2009, 01:27 PM
mad@Max's Avatar
mad@Max mad@Max is offline
 
Join Date: Jul 2007
Location: Russia
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, $vboptions[forumhome] it's variable name of your forum index file. For you it $vboptions[forumhome] = forum. I do not know why for you it not working.
Reply With Quote
  #77  
Old 02-19-2009, 01:54 PM
Playa82 Playa82 is offline
 
Join Date: Mar 2006
Location: Germany
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mad@Max View Post
So, $vboptions[forumhome] it's variable name of your forum index file. For you it $vboptions[forumhome] = forum. I do not know why for you it not working.
my template looks like this now:

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

online = {
	req:function()
	{
		fetch_object('whoisonline').innerHTML = '<img src="images/misc/progress.gif" />';
		YAHOO.util.Connect.asyncRequest("POST", "forum.php?do=rqawio", {
			success: this.show,
			failure: vBulletin_AJAX_Error_Handler,
			timeout: vB_Default_Timeout
		});
	},
	show:function(a)
	{
		fetch_object("whoisonline").innerHTML = a.responseText;
	}
};
<if condition="$vboptions[awio_timeout] > 0">
cautoref=setInterval("online.req()", 1000*$vboptions[awio_timeout]);
</if>
// -->
</script>
and it works fine...
Reply With Quote
  #78  
Old 02-22-2009, 12:29 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works Fine on vB373. :up:

Thank You Very Much For Sharing It. :up:

My Best Regards.

Reply With Quote
  #79  
Old 03-05-2009, 11:52 AM
-=Leb=-'s Avatar
-=Leb=- -=Leb=- is offline
 
Join Date: Jan 2008
Location: Sweden
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi mad@max, is it possible for you to add the refresh button inside Currently Active Users too ? Its also very useful to track our members what they are viewing/doing without need to refresh our website
Anyway Its Great Hack and i wanna thank you for it.
Reply With Quote
  #80  
Old 03-05-2009, 12:55 PM
mad@Max's Avatar
mad@Max mad@Max is offline
 
Join Date: Jul 2007
Location: Russia
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't no, probably
Reply With Quote
  #81  
Old 03-05-2009, 01:57 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Mod mad@Max. :up:

Idea For Future Update: It'd be Nice that when Clicking the Button to Ajax Refresh the Members it'd also Refresh the Number of Members/Guests/Bots Browsing the Board, so they Both Get Refreshed Simultaneously.



My Best Regards.

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:55 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.04753 seconds
  • Memory Usage 2,340KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete