perfect thanks, i got it working:
{$p_show_stats} - make sure you are adding this to skins/yourskin/child/stats.hml
your plugin had a small mistake, you dont need .html on the template name
corrected code:
if($TMPL['premium_flag'] == 1) {
$TMPL['p_show_stats'] =...
your initial post indicates you did not make a stats.html template in your plugin folder... perhaps you should go over the tutorial on how to make a plugin.
http://visiolist.com/community/threads/how-to-create-a-plugin.20/
then if you still have questions, upload what you have so we can see.
you need to hack the code to do that
sources/user_cpl.php
remove this line:
$DB->query("INSERT INTO {$CONF['sql_prefix']}_ip_log (ip_address, timestamp) VALUES ('{$TMPL['ip']}','{$TMPL['timestamp']}')", __FILE__, __LINE__);
Never witnessed anything like this before.
If you have SSH on your hosting account you can run the following shell command to find out where this is coming from
grep -R "har blitt lagt" *
the title is never displayed on the login form.
the title is never displayed on the login form, I think you meant the join form... in that case you can simply add the maxlength HTML attribute in your title field in your join_form template...
Check your hosting control panel, you should see your error log there.
There is absolutely an error to be found, that is why you have a white screen; that happens with a suppressed PHP fatal error.
In this case I suspect a plugin is looking to a MySQL database change that is not up to...
index.php
add this
error_reporting(E_ALL);
you might want to also enable debug mode, also done in index.php:
change:
$CONF['debug'] = 0;
to:1
$CONF['debug'] = ;
Error output is disabled, if you look in your error log you should see what the fatal error is, if you can't find it you can enable error reporting in index.php
If you have upgraded from an old version, most likely you have an out of date plugin that is causing this