Utilisateurs en ligne: 3
SimpleMachines-fr / Forum 24 Mai 2012 à 07:57:19 *
Bienvenue, Invité. Veuillez vous connecter ou vous inscrire.


Connexion avec identifiant et mot de passe
Nouvelles:
Une mise à jour est disponible !
Passez à la version 1.0.18 pour la branche 1.0 et à la version 1.1.10 pour la branche 1.1!
 
 
Accueil Aide Rechercher wiki
Pages: [1]   Bas de page
Imprimer
Auteur Fil de discussion: SMF 1.0.8 + Joomla 1.0.11 + un bridge = Ok ou Ko ?  (Lu 6856 fois)
0 Membres et 1 Invité sur ce fil de discussion.
LovePieds
Invité
« le: 30 Août 2006 à 15:21:54 »


 Bonjour,

 Je trouve SMF très sympa, je souhaite le mettre sur mon site qui lui même est réalisé autour de Joomla 1.0.11.

 J'ai lu je ne sais plus dans quels forums (mais dans plusieurs), qu'il n'existait pas de "brige" non buggé pour SMF/joomla... et que systématiquement il y avait des problèmes...

 Connaissez-vous un 'brige" qui tourne "très bien" avec mes version Joomla et SMF ?

 Merci à vous,

 DD
Journalisée
aide-joomla
Invité
« Répondre #1 le: 04 Septembre 2006 à 16:15:35 »

le bridge est au point mais pour certain hebergeur il ne fonctionne pas,si tu utilise CB ( community buider ) ca pose un probleme etc... plein de points ne sont pas encore résolu. Nous sommes en train d'effectuer des modifications mais ce n'est pas simple  Wink

Donc je suppose que tu as suprimer joomlaboard ?  Smiley
Journalisée
Teophile
Arrivant
*
Hors ligne Hors ligne

Messages: 15


Voir le profil
« Répondre #2 le: 22 Septembre 2006 à 15:22:49 »

Comment faire fonctionner le bridge Joomla-SMF 1.16 télécharger sur le site simplemachine Huh?
C'est difficile, par exemple pour la configuration suivante :
CMS     = Joomla 1.0.11
FORUM  = SMF 1.1 rc3
BRIDGE = smf_1-1-rc3_joomla_1-1-6_bridge.zip télécharger à partir du site SMF
TEMPLATES de RocketTheme soit :
- pour JOOMLA = rt_versatility_ii_sienna
- et pour SMF  = rt_smf_versatility2_sienna

Et bien voilà tout semble possible que ce soit "Unwrapped" ou "Wrapped" sauf que ça ne marche pas et qu'à mon avis, il faudrait :

1 - Traduire ce fichier d'installation readme.html pour tout comprendre en détail:

Citation
SMF-Mambo/Joomla bridge
Before you start
Make sure you have both Mambo (or Joomla) and Simple Machines Forum (SMF) installed. Realize that SMF is not a component, but a stand-alone forum. The bridge will only integrate your SMF-forum with your Mambo/Joomla site.
Please do not remove any of the copyrights of your SMF-forum.

Always back up your database and site prior to installations and test any additions you make to your site locally first and do NOT add anything to your live site unless tested thoroughly, extensively, securely and wisely!
Make sure the following folders are writable (chmod 777) before installing the component:
  /components
  /modules
  /mambots/system
  /administrator/components
Installing the SMF-Forum Component in Mambo/Joomla
Install com_smf.zip as a Mambo/Joomla component, and change the values in the configuration via the Mambo backend. Please use the absolute path. There is a lot of confusion surrounding relative paths. You are best to use the absolute path. If somehow your absolute path is not detected correctly, enter your SMF admin panel, click Edit Server Settings and copy the path you'll find under SMF Directory.

There are two formats to display your Mambo/Forum integration:
» Wrapped
You are using SMF through the Mambo/Joomla bridge. The Forum appears "wrapped" in the Mambo/Joomla tables. You might have to make some necessery changes in your forum files in order to show a fitting lay-out.
» Unwrapped
You are still using SMF through Mambo/Joomla, but it doesn't have the look of a wrapped forum. It looks stand-alone, but it is actually loading through Mambo. This is set in the Mambo/Joomla config for the component.

There are several options for the user registration form: Bridge, SMF, Mambo/Joomla default, Community Builder, and MamboCharge. The bridge registration form looks very much like the default Mambo/Joomla registration, but functions quite differently. If you choose to use this option, make sure to configure the registration component as well. All registration types will register new users into both Mambo/Joomla and SMF, but some users may not appear in SMF until after their first login.

Also make sure to configure your login module. Set the params to your liking, and make sure to click Save at the top of the page.
Mambo template changes
The changes to the Mambo template are still required for this version of the bridge. These changes are not required for Joomla. Copy the code below, and paste it into the header area (between the <head> and </head> tags) of your Mambo template.
<?php
global $sc, $context, $settings;

if (!defined('SMF')){
// Get the configuration. This will tell Mambo where SMF is, and some integration settings
$database->setQuery("
SELECT `variable`, `value1`
FROM #__smf_config
");
$variables = $database->loadAssocList();

foreach ($variables as $variable){
$variable_name = $variable['variable'];
$$variable_name = $variable['value1'];
}
require ($smf_path."/SSI.php");
}

$sc = &$context['session_id'];
$_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];

mysql_select_db($mosConfig_db);

echo '
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?beta4"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "', $settings['theme_url'], '";
var smf_images_url = "', $settings['images_url'], '";
var smf_scripturl = "', $scripturl, '";
var smf_session_id = "', $context['session_id'], '";
// ]]></script>';

echo '
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css?rc1" />
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?beta4" media="print" />
<link rel="help" href="', $scripturl, '?action=help" target="_blank" />
<link rel="search" href="' . $scripturl . '?action=search" />
<link rel="contents" href="', $scripturl, '" />';
?>


You will also need to make sure to add the next line just below the </body> (the closing body tag at the bottom) tag of the template.
<?php mysql_select_db($GLOBALS['db_name']); ?>
Separate Databases:
If you have installed Mambo/Joomla and SMF with Fantastico, or you installed them in separate databases intentionally, you will need to grant permission to the database users to access each others' databases. If you have your forum and CMS installed in separate databases, and you have not granted access properly, you will most likely run into the "_LOGIN_INCOMPLETE" error in Joomla.

Here's how to grant database permissions:

1) Go to your site's cPanel. Click on MySQL databases. (Do not Proceed to PhpMyAdmin!)

2) Near the bottom of the page, you will find two dropdown menus side-by-side. One is labelled "User:" and the other "Db:".

3) In the first dropdown, select your SMF database user, and in the second dropdown, select the Mambo/Joomla database. Click the button that is labelled "Add User to Db".

4) Now go back to the same page again, and do the same, adding your Mambo/Joomla User to your SMF database.

Now you are set up to run your forum and CMS in separate databases.

With some Joomla templates, you may end up with this error appearing at the bottom of the page:

Database Error: Table 'db_joomla.smf_sessions' doesn't exist
File: /home/user/public_html/joomla/forum/Sources/Load.php
Line: 1886
Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

If that happens, please add this to the bottom of your Joomla template:
<?php mysql_select_db($GLOBALS['db_name']); ?>
3rd Party Developer Tabs in Admin Panel
This bridge comes with the capability for 3rd party developers to add their own tabs to the bridge config panel. This can be done by adding a tab file to include by the bridge, and defining it in the bridge config table appropriately. For example, if you have a component called com_example, and you want to have a tab in the bridge define something in the com_example component, you can create the tab in a file called example_tab.php. You'll need to add that file to your com_example.xml installer, and also a query to let the bridge config know it's there:
INSERT INTO #__smf_config (`variable`, `value1`) VALUES ('3rdPartyTab', 'administrator/components/com_example/example_tab.php')
And that's all! It will be included in the SMF bridge component configuration.

2 - Voir comment s'affranchir de cette ligne à ajouter en bas du fichier index.php  du template Joomla avec RegisterGlobal=Off Huh??
Citation
<?php mysql_select_db($GLOBALS['db_name']); ?>
Ce qui est indispensable dans la version Joomla 1.0.11, et c'est ce que j'ai fait avec mon hébergeur celeonet.fr


3 - Voir sur les http://www.rockettheme.com/index.php?option=com_smf&Itemid=149&board=41.0forums de rockettheme les forums qui apparemment ont fait de superbe chose d'intégration avec cette configuration sauf que moi je suis en limite d'anglais et de PHP Huh?
Attention il faut s'enregistrer chez rockettheme et les templates sont payant.

Merci pour celles et ceux qui pourraient arranger ce point aussi bien en Wrapper qu'en Unwrapper.

D'après ce que j'ai déchiffré c'est posible mais comment Huh???

A l'adresse ci dessous j'ai créé un lien à partir du site vers le forum sans utiliser ce bridge car à mon avis ca bug à cause de RegisterGlobal = Off.
Pourtant une belle intégration wrapper de mon site avec mon forum avec le même haeder du template Joomla me plairait bien.

Merci d'avance de votre aide.

Téophile
http://www.prosysteme.fr
Journalisée
Teophile
Arrivant
*
Hors ligne Hors ligne

Messages: 15


Voir le profil
« Répondre #3 le: 22 Septembre 2006 à 22:27:10 »

Je confirme, il est Impossible de faire fonctionner le bridge1.16_ SMF_1.1.rc3_Joomla_1.0.11 que j'ai téléchargé sur le site de simplemachine pour la cause suivante :

  1 -Avec Joomla 1.0.11 on doit mettre register_global=off then ce que j'ai fait avec le concours efficace de celeonet et voici le résultat:

Citation
Warning: smf_header_include(../forum/SSI.php) [function.smf-header-include]: failed to open stream: No such file or directory in /home/www/prosysteme/www/methodes-industrialisation/mambots/system/SMF_header_include.php on line 67

Fatal error: smf_header_include() [function.require]: Failed opening required '../forum/SSI.php' (include_path='/home/www/prosysteme/www/methodes-industrialisation/administrator/components/com_sef:/home/www/prosysteme/www/methodes-industrialisation/administrator/components/com_sef/includes:.:/usr/local/lib/php') in /home/www/prosysteme/www/methodes-industrialisation/mambots/system/SMF_header_include.php on line 67

à la ligne 67 de SMF_Header_include.php on trouve ceçi
Citation
global $mainframe, $database, $scripturl, $db_connection, $db_passwd, $maintenance, $db_server, $options;

Quand aux problèmes de compatibilité avec open-sef .../... il faut bien s'en assurer.

Quel dommage d'avoir un enregistrement sur SMF et un autre sur Joomla. !!!

Téophile
http://www.prosysteme.fr
Journalisée
Teophile
Arrivant
*
Hors ligne Hors ligne

Messages: 15


Voir le profil
« Répondre #4 le: 23 Septembre 2006 à 17:29:32 »

Voir un mode opératoire d'installation à cette adresse :

http://forum.joomlafacile.com/showthread.php?p=83505#post83505

Augpin
http://www.prosysteme.fr
Journalisée
allstuff
Invité
« Répondre #5 le: 05 Octobre 2006 à 14:11:08 »

cela fonctione "bien" (avec qqs modif) avec "le "Joomla-SMF Forum 2.0RC1" de chez http://www.joomlahacks.com
Journalisée
aide-joomla
Invité
« Répondre #6 le: 26 Février 2007 à 00:08:35 »

En fait ca y est ca fonctionne impec, je tourne avec joomla 1.0.12 et SMF 1.1.2 par contre faire attention ensuite avec les installs de certaines extensions...( par exemple virtuemart )  Fou
Journalisée
Pages: [1]   Haut de page
Imprimer
SimpleMachines-fr / Forum  |  Support SMF  |  SMF 1.0  |  Installations/Mises à jour/Migrations  |  Fil de discussion: SMF 1.0.8 + Joomla 1.0.11 + un bridge = Ok ou Ko ?
 
Aller à:  

Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Tous les logos et les marques présentes sur ce site appartiennent à leurs propriétaires respectifs.
Des détails sur les copyrights et les modules installés peuvent être trouvés Ici.

Vous pouvez syndiquer le contenu de ce site : Flux-RSS/RDF.

Site propulsé par pragmaMx 0.1.11.3.

Valid HTML 4.01 Transitional CSS ist valide!
Design by © www.ndeezign.com