SimplePortal

Support => International Support => French => Topic started by: Choochoate on January 22, 2010, 12:09:22 AM

Title: Installation du mod / Install of the mod
Post by: Choochoate on January 22, 2010, 12:09:22 AM
Bonjour, je suis nouveau sur SMF et j"essaye d"installer votre module sur mon forum.
Helas, je ne suis pas très doué pour cela. Voici ce que j"ai fait depuis le début :
1 : J"ai uploader le .zip depuis l'interface d'admin
2 : Avec le mode d'emploi, j"ai modifier tout les .php comme demandé
3 : J"ai placé les différents fichiers comme demandé
4 : j"ai placer le fichier install1-1.php à la racine
5 : je suis aller à l"adresse http://graphiix.net84.net/install1-1.php

Le problème, c"est que je ne sais pas ce qu"il faut faire d"autre :S j"ai les menus dans l'admin mais ils me redirigent vers l"accueil des forums. S"il vous plait, y a-t-il quelque chose de a fait ou oublié ?

J"essaye en anglais ^^'

Hi, I'm a newbie on SMF and I'm trying to install your mod on my forum.
But, I have some questions. This is that I did :
1 : I uploaded the .zip from the admin interface
2 : With help, I modified all the .php as it's want.
3 : I put the files where it's want
4 : I put the file install1-1.php at root
5 : And I went to http://graphiix.net84.net/install1-1.php

The problem is, after I don't know what I must to do.
Please help me, I have links in my admin interface, but they don't work. I finish in the home page. And apologize for my very bad english ^^'
Title: Re: Installation du mod / Install of the mod
Post by: belgium-gravure on January 24, 2010, 06:24:59 AM
bonjour

Je me permets d ete poser uen question , pourquoi avoir installé manuellement?

On ta pas expliqué l'utilisation de l'installa utomatique des paquets via ton panneau admin de ton forum smf?

sinon quand tu est dans ton panneau admin de ton forum , dans le menu gauche voit tu ceci?

SimplePortal
Config..
Blocs
Articles
Pages
Shoutbox
Title: Re: Installation du mod / Install of the mod
Post by: Choochoate on January 24, 2010, 02:39:11 PM
Oui je le vois, mais ces liens me redirigent vers l'index du forum.
Non je ne connais pas l'installation automatique :S`
Je ne maître pas encore bien smf.

Edit : je viens d'essayer dans le gestionnaire des paquets [appliquer ce mode]
Lorsque je rentre mes info j'obtient le message :
Quote
550 Can't change directory to /home/a9957272/public_html: No such file or directory

Serais-ce parce que j"ai uploader smf à la racine au lieu de le mettre dans un dossier forum ?
Title: Re: Installation du mod / Install of the mod
Post by: belgium-gravure on January 25, 2010, 08:48:09 AM
Le plus directe t corect pour moi

serait de revenir a ta config ftp sans tes modificatiuon manuelle

Puis tu up ton fichier zip(simpleportal) via le panel gestionnaire des paquets , puis install

ça sera pour moi la meilleur facon d epratiquer , car tu as surement louper quelque chose dans ton install manuelle
Title: Re: Installation du mod / Install of the mod
Post by: Choochoate on January 25, 2010, 09:59:17 PM
Affaire classée :D
C"était une erreur de chemin`

EDIT : par contre je n'ai pas de lien dans le menu vers le forum, ce qui est assez embêtant
Title: Re: Installation du mod / Install of the mod
Post by: belgium-gravure on January 26, 2010, 10:06:07 AM
tu travail avec le theme part defaut smf ou un theme perso (ajouter)

si c'ets un perso , il faut y apporter les modification manuelle  ;)
Title: Re: Installation du mod / Install of the mod
Post by: Choochoate on January 27, 2010, 12:59:05 AM
Je n'arrive pas ajouter le lien :/ je rajoute les lignes mais aucunes modifications visible sur le forum. Voici le code que je pense, est concerné :

Code: [Select]
// Show the start of the tab section.
echo '';

// Show the [home] button.
echo'
<a href="', $scripturl, '">' , $txt[103] , '</a>';


// Show the [help] button.
echo'
<a href="', $scripturl, '?action=help">' , $txt[119] , '</a>';

// How about the [search] button?
if ($context['allow_search'])
echo'
<a href="', $scripturl, '?action=search">' , $txt[182] , '</a>';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo'
<a href="', $scripturl, '?action=admin">' , $txt[2] , '</a>';

// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo'
<a href="', $scripturl, '?action=profile">' , $txt[79] , '</a>';

// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo'
<a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a>';

// The [calendar]!
if ($context['allow_calendar'])
echo'
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>';

// the [member] list button
if ($context['allow_memberlist'])
echo'
<a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>';


// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo'
<a href="', $scripturl, '?action=login">' , $txt[34] , '</a>';


// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo'
<a href="', $scripturl, '?action=register">' , $txt[97] , '</a>';


// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo'
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a>';

// The end of tab section.
echo '';
Title: Re: Installation du mod / Install of the mod
Post by: belgium-gravure on January 27, 2010, 02:42:29 PM
Bonsoir

Pour ce qui est la

voici
Code: [Select]
// Show the [home] button.
                 echo'
                                                                                 <a href="', $scripturl, '">' , $txt[103] , '</a>';
// Show the [forum] button.
echo'
<a href="', $scripturl, '?action=forum">' , $txt['sp-forum'] , '</a>';

// Show the [help] button.
echo'
<a href="', $scripturl, '?action=help">' , $txt[119] , '</a>';

Title: Re: Installation du mod / Install of the mod
Post by: belgium-gravure on January 27, 2010, 02:45:39 PM
et aussi

regarde si trouve pas cette ligne (entre la ligne 575-585)
Code: [Select]
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt


et

si c'est le cas

tu prend ça
Code: [Select]
$current_action = 'home';
if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
$current_action = 'admin';
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
$current_action = $context['current_action'];
if ($context['current_action'] == 'search2')
$current_action = 'search';
if ($context['current_action'] == 'theme')
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

Title: Re: Installation du mod / Install of the mod
Post by: belgium-gravure on January 27, 2010, 02:47:42 PM
et tu remplace part ça

Code: [Select]
global $modSettings;
$current_action = $modSettings['sp_portal_mode'] == 3 && empty($context['standalone']) && empty($context['disable_sp']) ? 'forum' : 'home';
if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers', 'manageportal')))
$current_action = 'admin';
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'forum')))
$current_action = $context['current_action'];
if ($context['current_action'] == 'search2')
$current_action = 'search';
if (empty($context['disable_sp']) && (isset($_GET['board']) || isset($_GET['topic']) || in_array($context['current_action'], array('unread', 'unreadreplies'))) && in_array($modSettings['sp_portal_mode'], array(1, 3)))
$current_action = 'forum';
if ($context['current_action'] == 'theme')
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';
Title: Re: Installation du mod / Install of the mod
Post by: Choochoate on January 27, 2010, 09:14:59 PM
J"ai effectuer tout les changements que tu m'a bien gentiment fournis, mais les changements ne s'opèrent pas sur le forum :/ J'ignore pourquoi
Title: Re: Installation du mod / Install of the mod
Post by: belgium-gravure on January 28, 2010, 08:40:45 AM
bonjour

peut tu me mettre en annex le fichier index-template.php svp

Ps: la touche frum est fonctionnelle mais n'apparait pas (mets ton curseur de la souris entre acceuil et aide)
Title: Re: Installation du mod / Install of the mod
Post by: Choochoate on January 29, 2010, 07:45:51 AM
Voila pour le fichier, par contre entre Accueil et Aide je n"arrive pas a trouver le forum.
Title: Re: Installation du mod / Install of the mod
Post by: belgium-gravure on January 29, 2010, 08:23:35 AM
voilas , ça devrait aller  :D

Au niveau du code

tu avait [sp-forum] au lieu de ['sp-forum']
Title: Re: Installation du mod / Install of the mod
Post by: Choochoate on January 30, 2010, 03:34:25 PM
Merci chef de m'avoir assister tout au long de mon problème  :angel:
Title: Re: Installation du mod / Install of the mod
Post by: belgium-gravure on January 31, 2010, 05:19:08 AM
lol mike suffit et ce fut un plaisir  ;P
SimplePortal 2.3.8 © 2008-2024, SimplePortal