cotonti.com : Account plugin https://www.cotonti.com Последние сообщения в теме Cotonti en Tue, 16 Dec 2025 05:30:18 -0000 SunChase 2009-07-03 18:28 Fatal error : SQL error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5
:-(]]>
пт, 03 июл 2009 23:29:16 -0000
DemptD http://www.wddb.com/i_35_Account-Management.html]]> пт, 03 июл 2009 23:05:53 -0000 SunChase
You have to run the SQL with phpmyadmin
didnt help]]>
пт, 03 июл 2009 20:45:20 -0000
DemptD
You have to run the SQL with phpmyadmin]]>
пт, 03 июл 2009 10:07:06 -0000
SunChase How did you manage to launch it?Mine sais that there is something wrong in the SQL syntaxis]]> пт, 03 июл 2009 05:49:23 -0000 DemptD
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.'); }

?>
]]>
пн, 15 июн 2009 15:23:04 -0000
Kort if ($msg == '104') { header("Refresh: '1'; url=plug.php?e=account"); }work?
Or try reinstalling the plug.]]>
пн, 15 июн 2009 15:20:03 -0000
DemptD
<?php
/* ====================
Seditio - Website engine
Copyright (C) 2005 Neocrome
http://www.neocrome.net

[BEGIN_SED]
File=plugins/account/account.redirect.php
Version=100
Type=Plugin
Author=Dyllon
Description=Redirects back to plugin
[END_SED]

[BEGIN_SED_EXTPLUGIN]
Code=account
Part=account.redirect
File=account.redirect
Hooks=message.main
Tags=
Minlevel=0
Order=10
[END_SED_EXTPLUGIN]
==================== */

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

if ($msg == '104' && $cfg['plugin']['account']['redirect'] == '1')
	{ header("Refresh: '1'; url=plug.php?e=account"); }

?>
]]>
пн, 15 июн 2009 15:14:04 -0000
Kort if ($msg == '104' && $cfg['plugin']['account']['redirect'] == '1') { header("Refresh: '1'; url=plug.php?e=account"); }]]> пн, 15 июн 2009 14:01:24 -0000 DemptD Account Management plugin

All works except redirect after login ,when i login it doesnt send me to

http://www.site.in/plug.php?e=account

Fixable?]]>
пн, 15 июн 2009 10:22:03 -0000