Too many plugins on user site ...

Hello,

If you need more plugins, you'd need to modify the skins to support them.

example, in the user level to get more plugins, you need to add more to these 2 bits of code:
PHP:
|$/usr/local/bin/php
<?php
$data = <<<END
|PLUGIN_2_TXT|
END;
if (strlen($data) > 1)
{
echo <<<END
|PLUGIN_2_TXT|<br>
|PLUGIN_3_TXT|<br>
|PLUGIN_4_TXT|
END;
}
?>
DONE|
and
PHP:
|$/usr/local/bin/php
<?php
$data = <<<END
|PLUGIN_0_TXT|
END;
if (strlen($data) > 1)
{
echo <<<END
|PLUGIN_0_TXT|<br>
|PLUGIN_1_TXT|<br>
|PLUGIN_5_TXT|
END;
}
?>
DONE|
Just add more |PLUGIN_#_TXT|<br> tokens for as many plugins as you need.


this is in:
/usr/local/directadmin/data/skins/enhanced/user/show_domain.html

John
 
When an admin install a new plugin, he doesen't know about this restricyion, just see that plugin is not working.
In a way this need to be avoid and make iy dynamic the plugin rows??
 
Back
Top