MyBB.support, le portail francophone de MyBB
[Réglé] Nom de domaine - Version imprimable

+- MyBB.support, le portail francophone de MyBB (http://mybb.fr)
+-- Forum : MyBB.fr (http://mybb.fr/forum-1.html)
+--- Forum : Support (http://mybb.fr/forum-5.html)
+--- Sujet : [Réglé] Nom de domaine (/thread-6187.html)



Nom de domaine - Azik - 20-12-2012


Bonjour,

Je vais faire le changement de mon nom de domaine.
Si le nom de domaine change juste, mais pas le SQL ni l'hébergement.
J'ai juste à modifier :
Code :
$settings['bburl'] = "http://votre_url";
$settings['homeurl'] = "http://votre_url/";
$settings['cookiedomain'] = ".votre_url";
$settings['cookiepath'] = "/";

Merci ?


RE: Nom de domaine - Cyberium - 20-12-2012

Si la base de données est toujours sur le même serveur que le forum, tu n'as que ça à modifier.


RE: Nom de domaine - Azik - 20-12-2012

Salut,

J'ai fait les modifications nécessaires, mais j'ai comme même des erreurs:
[Image: erreur10.png]

Mon fichier settings.php :
Code :
<?php
/*********************************\
  DO NOT EDIT THIS FILE, PLEASE USE
  THE SETTINGS EDITOR
\*********************************/

$settings['enablecalendar'] = "1";
$settings['enablememberlist'] = "1";
$settings['enablepms'] = "1";
$settings['enablereputation'] = "0";
$settings['enablepruning'] = "0";
$settings['enableforumjump'] = "1";
$settings['seourls'] = "auto";
$settings['seourls_archive'] = "0";
$settings['enablewarningsystem'] = "1";
$settings['use_xmlhttprequest'] = "1";
$settings['mailingaddress'] = "";
$settings['hottopicviews'] = "150";
$settings['portal_showwelcome'] = "1";
$settings['portal_showsearch'] = "1";
$settings['quickreply'] = "1";
$settings['showeditedby'] = "1";
$settings['showeditedbyadmin'] = "1";
$settings['showindexstats'] = "1";
$settings['showlanguageselect'] = "1";
$settings['failedlogintext'] = "1";
$settings['portal_showpms'] = "1";
$settings['showsimilarthreads'] = "0";
$settings['showbirthdays'] = "1";
$settings['multiquote'] = "1";
$settings['portal_showdiscussions'] = "1";
$settings['showdescriptions'] = "1";
$settings['subforumsstatusicons'] = "1";
$settings['attachthumbnails'] = "no";
$settings['showvernum'] = "0";
$settings['portal_showstats'] = "1";
$settings['showforumpagesbreadcrumb'] = "1";
$settings['portal_showwol'] = "1";
$settings['showwol'] = "1";
$settings['threadreview'] = "1";
$settings['hiddencaptchaimage'] = "0";
$settings['showforumviewing'] = "0";
$settings['tplhtmlcomments'] = "1";
$settings['mail_message_id'] = "1";
$settings['allowbuddyonly'] = "0";
$settings['pmsallowimgcode'] = "1";
$settings['sigimgcode'] = "1";
$settings['pmsallowvideocode'] = "1";
$settings['pmsallowhtml'] = "0";
$settings['sightml'] = "1";
$settings['allowaway'] = "0";
$settings['allowmultipleemails'] = "0";
$settings['pmsallowsmilies'] = "1";
$settings['sigsmilies'] = "1";
$settings['allowcustomwarnings'] = "1";
$settings['pmsallowmycode'] = "1";
$settings['sigmycode'] = "1";
$settings['hideprivateforums'] = "1";
$settings['hiddencaptchaimagefield'] = "email3";
$settings['default_memberlist_sortby'] = "regdate";
$settings['avataruploadpath'] = "./uploads/avatars";
$settings['cookiepath'] = "/forum/";
$settings['uploadspath'] = "./uploads";
$settings['userpppoptions'] = "5,10,20,25,30,40,50";
$settings['captchaprivatekey'] = "6LfoKNoSAAAAAIPlQVajJlfdxYXjSemtSFNLmG1t";
$settings['captchapublickey'] = "6LfoKNoSAAAAAFE6UGG2ojH6d9lQbS4cudgNkxI0";
$settings['repsperpage'] = "15";
$settings['coppa'] = "disabled";
$settings['wolcutoffmins'] = "15";
$settings['searchfloodtime'] = "30";
$settings['pmfloodsecs'] = "60";
$settings['loginattemptstimeout'] = "15";
$settings['postfloodsecs'] = "60";
$settings['edittimelimit'] = "0";
$settings['disableregs'] = "0";
$settings['no_plugins'] = "0";
$settings['memberlistmaxavatarsize'] = "70x70";
$settings['maxavatardims'] = "900x900";
$settings['postmaxavatarsize'] = "70x70";
$settings['postlayout'] = "classic";
$settings['cookiedomain'] = ".fox-clan.eu";
$settings['avatardir'] = "images/avatars";
$settings['bbcodeinserter'] = "1";
$settings['adminemail'] = "max.blackghost@gmail.com";
$settings['returnemail'] = "";
$settings['errorloglocation'] = "./error.log";
$settings['standardheaders'] = "0";
$settings['readparentforums'] = "0";
$settings['ip_forwarded_check'] = "0";
$settings['requirecomplexpasswords'] = "0";
$settings['timeformat'] = "h:i A";
$settings['dateformat'] = "m-d-Y";
$settings['regdateformat'] = "M Y";
$settings['boardclosed'] = "0";
$settings['arepforid'] = "3";
$settings['postmergefignore'] = "";
$settings['timezoneoffset'] = "+1";
$settings['mail_handler'] = "mail";
$settings['postmergeuignore'] = "4";
$settings['attachthumbh'] = "96";
$settings['dstcorrection'] = "0";
$settings['portal_announcementsfid'] = "2";
$settings['captchaimage'] = "2";
$settings['maxpostimages'] = "50";
$settings['smilieinserter'] = "1";
$settings['failedlogintime'] = "15";
$settings['betweenregstime'] = "24";
$settings['dayspruneregistered'] = "90";
$settings['cplanguage'] = "french";
$settings['bblanguage'] = "french";
$settings['attachthumbw'] = "96";
$settings['emailkeep'] = "0";
$settings['canviewownwarning'] = "1";
$settings['contactlink'] = "mailto:max.blackghost@gmail.com";
$settings['load'] = "0";
$settings['announcementlimit'] = "2";
$settings['siglength'] = "255";
$settings['similarlimit'] = "10";
$settings['statslimit'] = "15";
$settings['searchhardlimit'] = "0";
$settings['threadreadcut'] = "7";
$settings['modlist'] = "1";
$settings['maxreplength'] = "300";
$settings['maxmessagelength'] = "0";
$settings['polloptionlimit'] = "250";
$settings['maxpasswordlength'] = "30";
$settings['maxnamelength'] = "30";
$settings['customtitlemaxlength'] = "40";
$settings['minmessagelength'] = "5";
$settings['minpasswordlength'] = "1";
$settings['minsearchword'] = "0";
$settings['minnamelength'] = "3";
$settings['maxregsbetweentime'] = "2";
$settings['maxquotedepth'] = "5";
$settings['maxattachments'] = "5";
$settings['maxwarningpoints'] = "10";
$settings['errorlogmedium'] = "none";
$settings['reportmethod'] = "db";
$settings['errortypemedium'] = "both";
$settings['membersperpage'] = "20";
$settings['arepmessage'] = "[align=center]
[img]http://i11.servimg.com/u/f11/16/42/51/53/f8da8a10.jpg[/img]
Salut [b]{username}[/b],

Je te souhaite, une bonne chance pour ta [i]demande de recrutement[/i].

Si tu es [i]VIP[/i], tu commences avec un vote [b]positif[/b].

Pour être accepté, tu dois avoir plus de [b]votes positif[/b] que [b]négatif[/b], par rapport aux membres de la team.
[/align]

*** CECI EST UN MESSAGE AUTOMATIQUE ***";
$settings['maxposts'] = "0";
$settings['postsperpage'] = "10";
$settings['regtype'] = "verify";
$settings['username_method'] = "2";
$settings['delayedthreadviews'] = "0";
$settings['secure_smtp'] = "0";
$settings['avatarresizing'] = "auto";
$settings['smtp_pass'] = "";
$settings['sigcountmycode'] = "1";
$settings['showbirthdayspostlimit'] = "0";
$settings['smilieinsertercols'] = "4";
$settings['smilieinsertertot'] = "20";
$settings['maxmultipagelinks'] = "5";
$settings['gziplevel'] = "4";
$settings['smtp_host'] = "";
$settings['smtp_user'] = "";
$settings['homename'] = "";
$settings['bbname'] = "Fox-Clan.eu - Forum";
$settings['portal_numannouncements'] = "10";
$settings['failedlogincount'] = "10";
$settings['failedcaptchalogincount'] = "3";
$settings['wordwrap'] = "80";
$settings['subscribeexcerpt'] = "100";
$settings['portal_showdiscussionsnum'] = "10";
$settings['dayspruneunactivated'] = "90";
$settings['prunepostcount'] = "0";
$settings['usertppoptions'] = "10,20,25,30,40,50";
$settings['maxloginattempts'] = "5";
$settings['maxsigimages'] = "2";
$settings['maxpolloptions'] = "10";
$settings['faxno'] = "";
$settings['default_memberlist_order'] = "ASC";
$settings['mail_parameters'] = "";
$settings['multirep'] = "0";
$settings['postrep'] = "0";
$settings['negrep'] = "0";
$settings['neurep'] = "0";
$settings['posrep'] = "0";
$settings['similarityrating'] = "1";
$settings['smtp_port'] = "";
$settings['cookieprefix'] = "";
$settings['prunethreads'] = "0";
$settings['pruneunactived'] = "0";
$settings['enableprunebyposts'] = "0";
$settings['refreshwol'] = "1";
$settings['boardclosed_reason'] = "Ces forums sont actuellement fermés pour maintenance. Veuillez revenir plus tard.";
$settings['redirects'] = "1";
$settings['hottopic'] = "20";
$settings['postmergesep'] = "[hr]";
$settings['thousandssep'] = ",";
$settings['subforumsindex'] = "6";
$settings['extraadmininfo'] = "1";
$settings['cpstyle'] = "";
$settings['mail_logging'] = "2";
$settings['logip'] = "hide";
$settings['threadsperpage'] = "20";
$settings['decpoint'] = ".";
$settings['avatarsize'] = "150";
$settings['postmergemins'] = "5";
$settings['searchtype'] = "standard";
$settings['homeurl'] = "http://fox-clan.eu/forum";
$settings['bburl'] = "http://fox-clan.eu/forum";
$settings['arepuser'] = "2";
$settings['vipmembership_uids'] = "8";
$settings['browsingthisforum'] = "1";
$settings['browsingthisthread'] = "1";
$settings['useerrorhandling'] = "1";
$settings['gzipoutput'] = "0";
$settings['allowthreadratings'] = "1";
$settings['usereferrals'] = "0";
$settings['dotfolders'] = "1";
$settings['postfloodcheck'] = "0";
$settings['maxpostvideos'] = "50";
$settings['threadusenetstyle'] = "0";

?>

Les trois lignes concerné :
Code :
$settings['homeurl'] = "http://fox-clan.eu/forum";
$settings['bburl'] = "http://fox-clan.eu/forum";
$settings['cookiepath'] = "/forum/";



RE: Nom de domaine - Cyberium - 20-12-2012

Pourquoi modifier les variables ? Modifie directement dans le panneau d'administration....


RE: Nom de domaine - Azik - 20-12-2012

Bah je sais plus comment faire maintenant ! NEED ADMIN MAGIC


RE: Nom de domaine - exdiogene - 20-12-2012

Encore une fois, il ne faut JAMAIS utiliser le "Bloc Note" de Windows pour éditer les fichiers PHP.

Cyberium avait raison, lorsqu'il a mentionné d'aller directement dans la Configuration du panneau d'administration.


RE: Nom de domaine - Azik - 20-12-2012

Et donc, je fais comment ?


RE: Nom de domaine - Azik - 21-12-2012

UP s'ilvousplait, j'ai mis du temps à le faire Sad


RE: Nom de domaine - Saphir - 21-12-2012

Ouvrez le fichier avec un éditeur prévu à cet effet tel que notepad++ ou hapedit, vérifiez que le fichier est bien encodé en UTF-8 sans BOM, et retirez tous les BOM du fichier.

Le commentaire du fichier était pourtant clair :
Citation :/*********************************\
DO NOT EDIT THIS FILE, PLEASE USE
THE SETTINGS EDITOR
\*********************************/

"NE PAS MODIFIER CE FICHIER, VEUILLEZ UTILISER
L'ÉDITEUR DE PARAMÈTRES"


RE: Nom de domaine - Azik - 21-12-2012

Saphir que dire à part, i love you?
J'avais pourtant édité avec notepad++ et pas blocnote, pour la première fois, mais c'était l'encodage qui était mauvais.

Merci.


RE: Nom de domaine - Saphir - 21-12-2012

Content d'avoir pu vous aider.

Souvenez-vous : il ne faut modifier ce fichier que s'il n'est pas possible de modifier les paramètres depuis le panneau de configuration. Wink

Je marque la discussion comme étant résolue.


RE: Nom de domaine - Cyberium - 21-12-2012

Tu vas dans ton panneau d'administration, dans l'onglet Configuration (en haut dans la barre bleue) puis dans la section Configuration générale.
Modifie la rubrique URL de votre forum.

En espérant t'avoir aidé.


 Utilitaire de traduction fourni par Regentronique