vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   AJAX Who's Online (https://vborg.vbsupport.ru/showthread.php?t=105233)

Lea Verou 01-14-2006 06:34 PM

Lol you're funny. I don't have a man in my life, huh? Probably you need to find a girlfriend. I can assure you I am pretty satisfied with my boyfriend for more than a year now and he surely is much more a "real man" than you seem to be.
So stop talking about issues you don't know just "in case" cause you seem ridiculus. :rolleyes:

NuclioN 01-14-2006 09:25 PM

Quote:

Originally Posted by ChurchMedia
Great hack! Works perfectly. **installs**

I did add the code change for index.php as a plugin instead of hacking the file. It's the forumhome_complete hook.

Thanks!

That's strange. There's argue about the serverload and no one is asking for your method to avoid file editting. How did you code that? :)

TyleR 01-14-2006 09:30 PM

for a first hack, this is pretty dang good..Kudos, Sonikku :)

As for server load, people, vBulletin does it already..whats one more SMALL object going to hurt? Answer: nothing.

- Tyler

NuclioN 01-14-2006 10:14 PM

Strange thing happened. We have the spiders wol notition and when you refresh the page they're there but when this addon is refreshing...they are gone!

Red Blaze 01-14-2006 10:25 PM

NuclioN, It only calls "activeusers". I believe that they don't call out guests and spiders.

Borgs8472, The Who's Online page already refreshes on its own.

Moosa, I'll see what I can up with to put it on vBA.

o0oicebergo0o, I apologize, but you need to shut your trap. You're talking big saying that you don't want her talking to you, but here you are repling back to her. If you want her to stop talking to you, YOU have to stop talking to her. And you'd give back to the community by doing just that.

Tony G 01-15-2006 12:26 AM

Everyone who is flaming each other, please stop right now. This thread isn't intended for you to rip into each other like that. Got a problem? Use PM or contact each other outside the forums. That crap won't be tolerated here. Anymore further flaming posts will be deleted without warning.

Thank you.

Guest190829 01-15-2006 12:27 AM

Please do not start flame-wars in the middle of a hack thread, or any thread for that matter. If you feel like a hack may be too server intensive, then kindly notify the hack author and I'm sure he/she will notify users that the hack is not intended for larger boards...

Sonikku, this is just a official notification that this will increase server load dramatically for boards with a handful of active members...

o0oicebergo0o 01-15-2006 04:18 AM

Quote:

Originally Posted by Michelle
Lol you're funny. I don't have a man in my life, huh? Probably you need to find a girlfriend. I can assure you I am pretty satisfied with my boyfriend for more than a year now and he surely is much more a "real man" than you seem to be.
So stop talking about issues you don't know just "in case" cause you seem ridiculus. :rolleyes:

hey now, stick to the topic, the topic is this wonderful hack, please stay focused :nervous:

EasyTarget 01-15-2006 07:15 AM

don't be an idiot iceberg.. you're like the kid that has to do something one more time after they're told not to.

o0oicebergo0o 01-15-2006 11:55 AM

Quote:

Originally Posted by EasyTarget
don't be an idiot iceberg.. you're like the kid that has to do something one more time after they're told not to.

Being called an idiot dosen't really sit well with me. That's a very disrespectful thing to say and it trully just took a tool on my emotions. You need to grow up, fast. But I expect you to easily degrade someone within a shielded environment via binary. I'm sorry you feel this way about me without getting to know me, and i'm trully concerned for you eventhough this is a coding forum, in all honesty, mabey you should read this book

Anyway, how is your experences with the server load for this modification, especially people with 50 or more concurrent users.
For another idea, possibly a secondary modification since this idea is pretty neat, how about having the number of members currently online displayed at the very top of the page, or better yet, in the status bar of your internet browser which would update its self automatically every so many minutes. Just an idea.

Club3G 01-15-2006 03:41 PM

Guys:
Quote:

Originally Posted by Danny.VBT
Please do not start flame-wars in the middle of a hack thread, or any thread for that matter. If you feel like a hack may be too server intensive, then kindly notify the hack author and I'm sure he/she will notify users that the hack is not intended for larger boards...

Please stop.

Riku Yuizaki 02-12-2006 03:18 AM

I have the AJAX shoutbox and my own version of this hack on my site, except I have the shoutbox set to refresh every 10 sec, and the onlilne list set to refresh every 30 sec and I have not noticed any difference in load..

Only problem i have is my online user hack does not work with IE for some unknown reason...

hambil 03-07-2006 01:35 PM

Quote:

Originally Posted by 99SIVTEC
but I guarantee you will be back asking why your server load is spiked through the roof.

I doubt it. A single ajax call, with a single tiny indexed database query, even multipled by a hundred active users, probably only amounts to one typical full page load.

Quote:

Originally Posted by 99SIVTEC
Every time the WOL table is pulled from the database it queries the databse table which in turn places a load on the server.

A typical page refresh runs dozens of queries, and also passes much more data to the client than an ajax xml message. If you modify this hack to run only the WOL page (online.php), it would probably actually reduce server load.

Carnage 03-15-2006 12:25 AM

Quote:

Originally Posted by 99SIVTEC
I would just watch the server load. If you have even a semi active board this is going to bring it to the ground.

one thing you could do about server loads is make an admincp setting to determine how often its refreshed. Server loads wouldn't be that bad if it was every 10 or 30 secs since meny people ain't gunna hang arround on teh index for that long.

Alternativly you could make it a manual refresh in either an on mouse over of active users or on the click of a button.

Tralala 03-15-2006 05:48 AM

Small forum here. I've replaced names with avatars, using this hack.

My users love it.

Will "AJAX Who's Online" still work for me, updating the avatars displayed instead? That'd be hella cool.

MamboCube 04-11-2006 02:20 PM

have installed ajax whos online, was wondering if it is possible for the usernames to fade on, rather than pop on, anyone know how to do this?

cool mod, like it:)

MamboCube 04-11-2006 04:33 PM

also will u be adding to this mod?

maybe have it do the same thing but also on the viewthread and viewforum

desiforums 05-02-2006 07:42 PM

thanks for sharing man but it didn't worked for me...

Tralala 05-07-2006 03:30 PM

Just in case anyone's wondering, my forum's on the small side so I have less concern about server load.

That said...

As an update to this query:

Quote:

Originally Posted by Tralala
Small forum here. I've replaced names with avatars, using this hack.

My users love it.

Will "AJAX Who's Online" still work for me, updating the avatars displayed instead? That'd be hella cool.

I went ahead and tried it, and these hacks work GREAT together. The avatar display updates on it's own every 60 seconds, without refreshing the whole page! VERY cool indeed.

As far as server load goes, the Who's Online page (online.php) has a default auto-refresh setting (every 60 seconds) that many admins leave on... I don't see how this is much different. Compared to that, this is actually sending less data!

Not many folks leave their browser on the forum home anyway, I don't think... they'd be more likely to stay on UserCP, or inside one of the forums where new threads appear.

In any case, as I mentioned above, I have a small forum. And this is a great hack for me, I appreciate Red Blaze sharing it, and I'm happy that it works so well with the avatar hack I'd already installed!

Snake 07-21-2006 03:23 PM

Okay I have installed this and I don't even think it's working properly. Are you sure this works fine on v3.5.4?

http://www.finalfantasyforums.net

Snake 07-24-2006 09:26 AM

Bump!

Lalib 07-24-2006 09:43 AM

i dont see screenshot :(

talenak 07-14-2007 07:41 AM

I thought ajax reduced server load? Someone told me that, and I know nothing about anything to know better if they were wrong. Anyone mind clearing up my confusion?

ragtek 07-14-2007 08:08 AM

its diffucult to say
sometimes it reduces the serverload ( for things not everytime happening, like registration => username check=> so you know after you write your name in if the name is free or not, it it wouldnt be so, you have to write all information, send the whole form to the next site where it will be checked

on the other site in this example the part is reloaded all the time; its the same as you click f5 for reload the site

Lea Verou 07-14-2007 08:12 AM

Quote:

Originally Posted by ragtek (Post 1290647)
its the same as you click f5 for reload the site

Of course its not. If you reload the whole page, a lot more queries get executed than the one for the online users.

Perhaps you could add a refresh button so that it doesn't reload for those that don't need it as well?

ragtek 07-14-2007 08:16 AM

yes, but you reload something!

but how often do you realy make this?
and here this part is automaticaly called every 60000 milliseconds


and second thing for this hack:
theres no real fileedit needed!

at the position where the code is added into the index.php there is a hook ;)
Code:

($hook = vBulletinHook::fetch_hook('forumhome_complete')) ? eval($hook) : false;

talenak 07-14-2007 10:22 PM

Quote:

Originally Posted by ragtek (Post 1290647)
sometimes it reduces the serverload

Thanks! Between you and Michelle I finally "get" it.

Feckie (Roger) 10-31-2007 06:33 PM

This as stopped working on 3-6-8_Patch_Level_1

Feckie (Roger) 11-07-2007 01:49 PM

Bump.

Anyone know why this does not work on 3.68, when it worked on 3.67

Feckie (Roger) 11-11-2007 08:23 AM

Bump again

Alfa1 02-06-2009 06:17 PM

Does this work on vb 3.8.1?


All times are GMT. The time now is 04:46 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.01591 seconds
  • Memory Usage 1,808KB
  • 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
  • (10)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
  • (31)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