Welcome to the Unofficial Help Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Illori

Pages: 1 ... 13 14 [15]
FAQ / Post Count Groups and their Permissions
« on: April 17, 2012, 03:49:59 PM »
In both 2.0 and 1.1.1* you can have permissions for each of the post count based groups. They can be enabled by Admin -> Permissions -> Settings -> Enable permissions for post count based groups

Once you have done this you need to remember the post count groups also inherit permissions from their main group, which for many users would be the regular members group even if you dont see that the user is in a primary membergroup. 

FAQ / Errors in the error log ending with EVAL
« on: April 17, 2012, 03:47:43 PM »
For error messages that end in EVAL you need to disable template evaluation. In 2.0 this is a default feature

Admin -> Server Settings -> Disable evaluation of templates
Then post any new error messages without eval in them

In 1.1.1* you need to install a mod first then you can disable the evaluation

You would need this mod installed then to disable the template evaluation, admin -> server settings -> feature configuration -> Disable evaluation of templates?

Once you have disabled the template evaluation you will be able to view the exact file and line number that is causing the error the next time you do the action that was causing the issue. Once you get the new error message without eval in it, you can post that and we can try to help you resolve the problem.

If you can not access your forum due to the eval error, you can run this query in phpmyadmin to disable template eval and get the full error message

Code: [Select]
REPLACE INTO smf_settings VALUES ('disableTemplateEval', 1);
Or you can use the following script, or the attachment, to disable template eval, put the script in the same folder as your settings.php file, this script works for both 1.1.1* and 2.0.*

Code: [Select]
 * Disable Template Evaluation
 * @file ./disable_eval.php
 * @author Matthew Kerle <>
 * @copyright Matthew Kerle, 2012
 * @license
 * @version 1.1.0
$disable_eval = new DisableTemplateEval;
protected $db$settings;
public function __construct()
protected function smfSettings()
global $db_type$db_server$db_user;
global $db_passwd$db_prefix;
if (!file_exists('Settings.php')) {
if (file_exists('../Settings.php'))
$path '../Settings.php';
exit('Sorry, you must place this file in the same directory as SMF\'s Setting.php file.');
$path 'Settings.php';
if (isset($db_type) && $db_type != 'mysql')
exit('Sorry, this script currently only supports MySQL.');
$this->settings = array(
'db_server' => $db_server,
'db_name' => $db_name,
'db_user' => $db_user,
'db_pass' => $db_passwd,
'db_prefix' => $db_prefix
return true;
protected function connectDatabase()
$this->db mysql_connect($this->settings['db_server'], $this->settings['db_user'], $this->settings['db_pass']);
if (!$this->db)
exit('Sorry, we were unable to connect to your database via the SMF Configuration Settings.');
mysql_select_db($this->settings['db_name'], $this->db);
protected function setEval()
mysql_query('REPLACE INTO ' $this->settings['db_prefix'] . 'settings (variable, value) VALUES("disableTemplateEval", 1)'$this->db);
exit ('Template Eval Successfully Disabled!');
protected function closeDatabase()

FAQ / How do I set default options for my users?
« on: April 17, 2012, 03:45:01 PM »
In 2.0 and similar in 1.1.1* you can set some default options for users based on the options in their profile -> look and layout (preferences)

You can set these in the admin panel under
Admin -> Current Theme -> Member Options -> Change current options for all members using this theme
Admin -> Current Theme -> Member Options -> Configure guest and new user options for this theme

And for 1.1.1* it is under

Admin -> Current Theme -> Reset Options -> Reset default (guest) options for this theme
Admin -> Current Theme -> Reset Options -> Reset all members' current options for this theme

Keep in mind if you use more then one theme on your forum, you will need to set these options for each theme.

FAQ / a table is marked as crashed and should be repaired
« on: April 17, 2012, 03:42:34 PM »
You would need to repair said table. This can be done using phpmyadmin or similar database management application.

this shows you how to repair the table using phpmyadmin.

Pages: 1 ... 13 14 [15]