Home arrow Forum Edit index.php of your template file and insert the following lines before the "
  Welcome, Guest. Please login or register.
Did you miss your activation email?
January 09, 2009, 02:20:56 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Addon Discussion
| |-+  Joomla Modules
| | |-+  Edit index.php of your template file and insert the following lines before the "
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Edit index.php of your template file and insert the following lines before the "  (Read 1502 times)
Remco A
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Edit index.php of your template file and insert the following lines before the "
« on: January 06, 2006, 03:28:15 PM »

The manual on the SMF config page is unclear to me.
They are talking about the ""  tag in the template index.php
I searched for a few index.php file but i can't find what they are trying to explain me.

Is there anyone that know what template index.php they mean (forums or website template). And where i have to put the code.
Hopefully this integrates the useraccount from joomla into the SMF account database cause thats not working at this time.

Thanks for your help...
Here is the manual from the config panel :

FULL INSTRUCTION:
Install SMF Forum on the same database as Mambo.
Install com_mambo_smf_integration.zip component (this component obviously). Do not configure this yet until you have installed everything first.
Install mod_mambo_smf_login module.
Install SMFMamboMod.zip using your SMF Package Manager.
Configure the component from this administration.
Edit index.php of your template file and insert the following lines before the "" tag:

<?php
global $sc, $context;
if (!defined('SMF')) {
   if (file_exists($mosConfig_absolute_path."/administrator/components/com_smf/config.smf.php")) {
      require ("administrator/components/com_smf/config.smf.php");
      require ($smf_path."/SSI.php");
   }
}
$sc = &$context['session_id'];
$_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];
Logged
Editor (cowboy)
Administrator
Joomla Guru
*****

Karma: +86/-23
Offline Offline

Posts: 1144



View Profile WWW
Re: Edit index.php of your template file and insert the following lines before t
« Reply #1 on: January 07, 2006, 03:53:54 PM »

are you trying to install a very old SMF version here? Please install the latest which is 1.0.2a for SMF 1.1RC1.
« Last Edit: January 08, 2006, 12:44:09 PM by Editor (cowboy) » Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login