News:

Welcome to SMF Ads Support Forum

Main Menu
Coinbase

SMF 2.0 RC2 Incorrect information for manual installation

Started by Tomboss, November 16, 2009, 08:34:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tomboss

Hello,

I try to manually install the mod in the last version of SMF (2.0 RC2) by following the instructions on this page (Manual install instructions ==> 2.0 RC2).

Unfortunately I encounter some problems :( .

In the / Themes / default / index.template.php, the following lines are missing:


Find:
<div class="windowbg2 clearfix">';

Replace With:
<div class="windowbg2 clearfix floatleft">';

Find:

<form class="windowbg" id="guest_form" action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" ', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>


Replace With:

<form class="windowbg2" id="guest_form" action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" ', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>



In the /Themes/default/MessageIndex.template.php, the following lines are missing:

Find:
echo '
</table>
</div>';


Add After:
//Display Ads on the Message index
if (function_exists("show_underchildren"))
{
$ads = show_underchildren();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}


   
Everything else is correct.

Does someone could help me?

Thank you ;)