Extension talk:AjaxWhosOnline

Hi,

do I have to install an other extension to use this?

I installed this files, but I don't know how to use the extension. Please help! --Mind 14:27, 9 June 2008 (UTC)

Hi Mind, yes its in the middle of a major revision - if you send me the link of your wiki I might be able to help. First - is the an online table now in your db?

Hi, my wiki is protected by a password on my webspace. Please use test as user and password on my wiki

No, I didn't create the online table. Is there a mysql synthax I can use with my phpMyAdmin?

--Mind 17:46, 9 June 2008 (UTC)

the table should of been created automatically tried user: test password: test - failed to login --Supertick 18:11, 9 June 2008 (UTC)

I noticed from your url that you do not have wiki in your root - that is probably the problem - i'm working on an update which will allow you to configure where your wiki is located. --Supertick 19:10, 9 June 2008 (UTC)

Cool Idea
Any chance it would work between multiple wikis? Possibly entering multiple databases to check? --Jeff.worldwide 03:07, 1 August 2008 (UTC)

Hi Jeff, interesting idea. Currently, there are no plans to add this functionality. The current objective is to integrate with a chat program, and collect more user statistics. Hopefully, in the near future we will be able to display usage, edits, time reading, and time usage all dynamically. Regards, --Supertick 19:26, 1 August 2008 (UTC)

Implementation Instructions
It would be nice for some instructions regarding how to implement this extention. Once the installation is done, how does one get this to display on their site?

There are implemenation instructions - did you fill in the URLs correctly?--Supertick 16:31, 16 August 2008 (UTC) these 2 have to be correct for your site.

print "URL|http://mywikisite.com/wiki/extensions/WhosOnlineAjax/|| "; print "BaseURL|http://mywikisite.com/wiki/|| ";

error opening fn
I Just installed the extension. I get the "whose online" list that I see on other demo sites, but I also get this annoying pop-up error saying that WhosOnlineAjax.php can't find this timestamp file (cache, it sounds like) of summary information. I tried creating the file for it, but of course by the time I'd done that the time stamp had changed, so that did no good.

And it's quite correct; those files are not being created, which sounds like a permissions error. But the extension has the same permissions as the other extensions, so I'm not sure what to do about that.

Anybody got any suggestions?

--Blackhawke 03:25, 30 August 2008 (UTC)


 * Finally managed to discover that I needed to add a "www" in front of the URL and the problem went away. That's interesting because I host three sites on the same server and with all of them the "www" version of the site is optional. Anyway, that fixed the issue.

Implementations
I see a couple of sites that are running this extension that have embedded it in different locations on the page. How is this done?

I also notice that on my site when a user logs in the extension "loses" the person's location, so the location flag becomes a "missing image." When it's just the IP, it knows where they're at. It's only after login that this happens.

--Blackhawke 14:17, 2 September 2008 (UTC)

Bug or Backdoor?
Today the left navigation in our wiki didnt worked any more? I found out that the extension "Ajax Whos Online" tried to connect to gizmogarden.com. The domain was not reachable.

Know I wonder why the extension will connect to this domain. Is it a bug or backdoor?

Im not happy that data will be transfered to this domain by using this extension.

--Pemmler 11:18, 23 December 2008 (UTC)

It sounds like its not configured correctly. It does do a ajax call but it should be to your box, and hostinfo domain - which is the geo-locator site

--Supertick 03:39, 17 March 2009 (UTC)

Extension Folder
I don't know what to do after downloading the .zip. Where is the extension folder? --83.255.131.72 18:49, 18 February 2009 (UTC) (Staffan15 on wikis)
 * the extension folder is on your server. almaghi 14:13, 12 June 2009 (UTC)

pages displaying online status

 * 1) How can we configure on which pages are the status displayed ?

Hooks: BeforePageDisplay ---> before Main Page display
$wgHooks['BeforePageDisplay'][] = 'renderWhosOnlineAjax';

I would like to display only on main page. How can I get this ? (it is for this extension)—almaghi 13:43, 12 June 2009 (UTC)
 * The system message MediaWiki:Mainpage contains the name of the main page; you can do a comparison between this and the page title and only run the body of your hook when they match. Happy ‑ melon 14:07, 12 June 2009 (UTC)

Chat
--almaghi 14:13, 12 June 2009 (UTC)
 * 1) how is the Chat feature working ?
 * 2) The Chat feature does not appear, what's wrong with my wiki ?