This is for SMF 1.1 RC2, how can I fix SMF 1.1.2 ?
Fixing SMF
1. In your SMF install, edit lines 1782 to 1787 of Sources/load.php to be:
// Attempt to change a few PHP settings. if (session_id() == '') { @ini_set('session.use_cookies', true); @ini_set('session.use_only_cookies', false); @ini_set('url_rewriter.tags', ''); @ini_set('session.use_trans_sid', false); @ini_set('arg_separator.output', '&'); }

// Attempt to change a few PHP settings.
@ini_set(’session.use_cookies’, true);
@ini_set(’session.use_only_cookies’, false);
@ini_set(’url_rewriter.tags’, ’’);
@ini_set(’session.use_trans_sid’, false);
@ini_set(’arg_separator.output’, ’&’);
if (!empty($modSettings[’globalCookies’]))

if (session_id() == ’’) {
@ini_set(’session.use_cookies’, true);
@ini_set(’session.use_only_cookies’, false);
@ini_set(’url_rewriter.tags’, ’’);
@ini_set(’session.use_trans_sid’, false);
@ini_set(’arg_separator.output’, ’&’);
}

Ok, use this:
if (session_id() == ’’) {
@ini_set(’session.use_cookies’, true);
@ini_set(’session.use_only_cookies’, false);
@ini_set(’url_rewriter.tags’, ’’);
@ini_set(’session.use_trans_sid’, false);
@ini_set(’arg_separator.output’, ’&’);
}
...
Setting up the template
1. Create a TV (name of your choice) and assign it to the template that will form the blog/repository pages.
2. Use the snippet call in the TV to add the commenting to the pages.
3. To display the forum user name instead of the logged-in user (which in most cases will be ‘anonymous’), look for the [+user+] in the default output for the snippet and change to [+forumuser+].
4. The path back to the forum login is also hardcoded, so if you have the forum install in a sub-directory or under a different folder name then this will need editing in the snippet code as well.
Hope that helps,
Garry
4. The path back to the forum login is also hardcoded, so if you have the forum install in a sub-directory or under a different folder name then this will need editing in the snippet code as well.