In reference to this
http://visiolist.com/community/threads/category-assignment.1540/
But its mostly in german, so here again in english
You need a simple plugin to hide the stats, or a slightly more advanced to switch out html based on member type, i prefer the 2nd but will list both
1) PluginName
2) PluginName/languages/english.php ( can be empty )
3) PluginName/languages/index.htm ( empty )
4) PluginName/index.htm ( empty )
5) PluginName/info.php ( Look at a different plugin to see the contents, mostly plugin name, version and such )
6) PluginName/details_build_page.php
6.1) Now a simple hide if the member is not premium
Code:
if($TMPL['premium_flag'] == 0) {
$TMPL['p_hide_stats'] = ' style="display: none;"';
}
Then you would look this up in stats.html
Note: this is html from parabola, you stats container might look different, i dont know.
And you add the new template tag we created above so non premium gets a display none css style
Code:
<div id="stats-tabs2" {$p_hide_stats}>
6.2) This method is slightly different. ( we are still in the file of #6 )
Code:
if($TMPL['premium_flag'] == 1) {
$TMPL['p_show_stats'] = $this->do_plugin_skin('./plugins/PluginName','stats.html');
}
Now you would create a new html file in the plugin, PluginName/stats.html
In this file you would paste the block of html from the skin stats.html
So you skin now misses the stats. Now just place the following instead
Final Note:
Dont forget to rename all instances of "PluginName" by you actual desired plugin name