cotonti.com : Own Plugin Tag in BEGIN: USER https://www.cotonti.com Son konu mesajları Cotonti en Fri, 16 Jan 2026 09:26:22 -0000 GHengeveld
if($usr['id'] > 0)
{
$t->assign(array(-- YOUR TAGS --));
$t->parse('MAIN.USER');
}

Anything inside the USER block will be ignored if the user isn't logged. If the block will be nested inside another block, don't forget to update the parse to something like MAIN.PARENT.USER]]>
Pzt, 13 Eyl 2010 18:09:40 -0000
urlkiller
Maybe you make the check if the user is logged in also in your Plugin...

if($userid!=0) {my tags}

<!-- BEGIN: USER -->
{REGULAR_TAGS}
<!-- END: USER-->
<!-- BEGIN: YOUR_TAGS-->
{YOUR_TAGS}
<!-- END: YOUR_TAGS-->]]>
Çrş, 28 Tem 2010 01:42:24 -0000
scriptor <!-- BEGIN: USER -->
{MY_PLUGIN_TAG}
<!-- END: USER-->

The Tag is in my Plugin.header.php

[BEGIN_SED_EXTPLUGIN]
Code=sociallike
Part=main
File=sociallike.header
Hooks=header.tags
Tags=header.tpl:{SLHEADER_SOCIALLIKESTART}
Minlevel=0
Order=11
[END_SED_EXTPLUGIN]

...

$t->assign("SLHEADER_SOCIALLIKENEWS",$itsactive);
$t->assign("SLHEADER_SOCIALLIKESTART",$START);

Can anyone help me?]]>
Çrş, 28 Tem 2010 01:04:00 -0000