|
Cookbook /
PresenceAwarenessSummary: User-based authentication, a list of online logged users, tools to register and manage users and send posts via Jabber
Version: 1.1
Prerequisites: Last tested on PmWiki version: 2.0.beta54
Status:
Maintainer: Alessandro Sisto
Categories: Administration, Security
NOTE: This script is based on UserAuth Questions answered by this recipeWhat does this script do? AnswerIt provides a User-based authentication like UserAuth, a list of online logged users, easy tools to register and to manage users, to send posts via Jabber. Notes
Downloadpresence provides: cookbook/presence.php
cookbook/presence-list.php
cookbook/presence-usertool.php
cookbook/presence-admintool.php
cookbook/presence-sendposts.php
cookbook/presence/HtPasswd.php
cookbook/presence/UserSessionVars.php
cookbook/presence/class.userslist.php
cookbook/presence/xajax.inc.php
cookbook/presence/presence.css
cookbook/jabberposts/class.jabber.php
cookbook/jabberposts/class.jabberposts.php
Description
Dependenciespresence.php | --- presence-usertool.php presence-sendposts.php Installation
require_once("cookbook/presence.php");
require_once("cookbook/presence-admintool.php");
require_once("cookbook/presence-usertool.php");
require_once("cookbook/presence-list.php");
require_once("cookbook/presence-sendposts.php");
Ensure that this directory is owned by the web server user, if no the files will not be automatically created, so you have to create these file manually and set the right permissions.
Instructions
ReleasesRelease v1.1: corrected javascript generation. Commentshi, alessandro, very nice work! Would be very nice if in the presence list would be links to the Profiles page. I will try to do that. Even more nice would be a link that opens the messenger noskule October 30, 2005, at 07:57 AM
hi alessandro, I came over a problem by trying to make links from the user and the page he is working on. The presence-list.php dont display the page where the user is working on, if hi, I love this plugin, and its been great for organising everything. However I had problems with the xajax inside brackets command. I finally traced this down to class.userslist.php starting with a < ? tag instead of a < ? php tag (spaces entered to stop accidental parse errors). This can cause all sorts of problems and was even locking up php or apache for me. TheFlyingPengwyn? January 17, 2007, at 09:31 PM After following the installation instructions I get this error (from FF) you forgot to mention that the first activation (tries to) creates .htpasswd in the local directory, so if that has not good rights the recipe will fail. (PKHG). The redirect from action=login only works for users with admin rights. When users don't have admin rights, it does not redirect to the page and says "Insufficient privileges to perform action." The login works, but the user has to click on another link before it activates. Any ideas would be great. (Steven) Is anyone still maintaining this file? There should be quite a few updates to it such as what Steven mentioned above, some English fixed and possibly a way to add more fields to the self registration form. -Chris See Also
|