Forums / Cotonti / Extensions / Account plugin

DemptD
#13230 2009-06-15 15:23
Nope :P

But i did a search at neocrome and found a plugin for it:

http://neocrome.net/forums.php?m=posts&p=109921#109921

<?php
/* ====================
Seditio - Website engine
Copyright Neocrome
http://www.neocrome.net

[BEGIN_SED]
File=plugins/redirector/redirector.php
Version=103
Type=Plugin
Author=
Description=login-redirect
[END_SED]

[BEGIN_SED_EXTPLUGIN]
Code=redirector
Part=redirector
File=redirector
Hooks=users.auth.check.done
Tags=
Minlevel=0
Order=10
[END_SED_EXTPLUGIN]
==================== */

if (!defined('SED_CODE')) { die('Wrong URL.'); }
if(strlen($cfg['plugin']['redirector']['url']) > 0 || $cfg['plugin']['redirector']['url'] != NULL)
{
$sql = sed_sql_query("DELETE FROM $db_online WHERE online_userid='-1' AND online_ip='".$usr['ip']."' LIMIT 1");
sed_redirect($cfg['plugin']['redirector']['url']);
exit;
}

?>

<?PHP
/* ====================
Seditio - Website engine
Copyright Neocrome
http://www.neocrome.net

[BEGIN_SED]
File=plugins/redirector/redirector.setup.php
Version=110
Updated=2006-jun-27
Type=Plugin
Author=Neocrome
Description=
[END_SED]

[BEGIN_SED_EXTPLUGIN]
Code=redirector
Name=Re-Director
Description=Redirector
Version=100
Date=006-mar-09
Author=Neocrome
Copyright=
Notes=
SQL=
Auth_guests=R
Lock_guests=W12345A
Auth_members=R
Lock_members=W12345A
[END_SED_EXTPLUGIN]

[BEGIN_SED_EXTPLUGIN_CONFIG]
url=01:string::forums.php:Redirect Url(Keep Empty for Default)
[END_SED_EXTPLUGIN_CONFIG]

==================== */

if (!defined('SED_CODE')) { die('Wrong URL.'); }

?>