cotonti.com : TOS (terms of service) https://www.cotonti.com Последние сообщения в теме Cotonti en Sun, 14 Dec 2025 11:57:51 -0000 young mone
$cfg['plugin']['myplugin']['myvar1']
$cfg['plugin']['myplugin']['myvar2']
$cfg['plugin']['myplugin']['myvar3']
$cfg['plugin']['myplugin']['myvar4']
and
[BEGIN_SED_EXTPLUGIN_CONFIG]
myvar1=01:string::50:This is my first variable
myvar2=02:select:1,2,3,4,5,6,7,8,9,10:7:This is my second variable
myvar3=03:radio:Yes,No:Yes:This is my third variable
myvar4=04:text::Default text goes here:This is my fourth variable 
[END_SED_EXTPLUGIN_CONFIG]


Added 1 minute later:

hers what i have
<?PHP
/* ====================
[BEGIN_SED]
File=plugins/tos/tos.setup.php
Version=0.0.2
Updated=feb
Type=Plugin
Author=Neocrome & Cotonti Team
Description=Cotonti - Website engine http://www.cotonti.com Copyright (c) Cotonti Team 2009 BSD License
[END_SED]

[BEGIN_SED_EXTPLUGIN]
Code=tos
Name=Tos
Description=Helps keep the rules in one place
Version=1.0
Date=feb
Author=Mone http://pspw.co.cc/ 
Copyright=Partial copyright (c) 2008 Cotonti Team
Notes=BSD License
SQL=
Auth_guests=R
Lock_guests=W12345A
Auth_members=R
Lock_members=W12345A
[END_SED_EXTPLUGIN]

[BEGIN_SED_EXTPLUGIN_CONFIG]
$plugin_title=:string::put yours here:Title
$plugin_body=:text::Put your info here:Body 
[END_SED_EXTPLUGIN_CONFIG]
==================== */

?>
]]>
пн, 01 мар 2010 03:47:29 -0000
Trustmaster пн, 01 мар 2010 03:41:50 -0000 young mone
Added 2 minutes later:

i seem to get this error
--> Parse error: syntax error, unexpected '.' in /home3/mediaeli/public_html/plugins/tos/tos.php on line 31]]>
пн, 01 мар 2010 02:32:51 -0000
Trustmaster Plugin configuration guide
Other Koradhil's plugin development guides are useful too.]]>
вс, 28 фев 2010 21:15:38 -0000
young mone вс, 28 фев 2010 16:06:49 -0000