Bonjour,
Premierement laissez-moi vous dire que je trouve vraiment super le script de Arfooo et j'aimerais tellement pouvoir l'utiliser mais j'ai un petit probleme...
Mon problème vient sur la page "soumettre un site" .
Lorsque je clique sur ce lien , j'obtiens une page mais il y manque les categorie.
Dans le menu dérouleur, il n y a aucune catégorie présente, qu'une liste vide et le bouton pour valider est absent.
J'ai tout esssayé, j'ai lu tout ce que s'est ecrit sur le sujet sur votre forum anglais et francais et j'ai essayé de reproduire les solutions proposées précedemment sur votre forum mais rien n'y fait...
J'ai reinstalle plusieurs fois le script mais toujours le meme problème...
je suis désesperée!!!!
Mon site est hébergé par godaddy, serveur partagé avec pub.
http://www.topwebdate.com/arfooo201
avez-vous quelque chose a me suggerer pour faire fonctionner votre script d'annuaire?
J'ai même essayer firebug(aide pour detecter probleme de programmation) pour détecter le problème mais je n'arrive pas à le régler.
Voici ce que j'obtiens comme erreur (avec firebug) sur la page d accueil de mon annuaire, et en deuxieme, ce que j'obtiens sur la page submit website:
1) erreur obtenue avec firebug sur la page d accueil:
Expected ';' config, line 67 character 13
voici le code du fichier config , la ligne 67 est l avant dernière
var setting = new Array();
setting.siteRootUrl = "http://www.topwebdate.com/arfooo201";
setting.siteDescriptionMaxLength = 400;
setting.siteDescriptionMinLength = 100;
setting.maxKeywordsCountPerSite = 5;
setting.itemGalleryImagesMaxCount = 10;
setting.metaDataUrl = "/arfooo201/webmaster/getMetaData";
setting.urlMandatory = 0;
setting.backLinkMandatory = 0;
setting.urlRewriting = 1;
setting.lang = new Array();
setting.lang['You have already added this keyword. Select another one.'] = "You have already chosen this keyword. Select another one";
setting.lang['loading...'] = "loading...";
setting.lang['Please, fill in the fields URL of site, Title and Description.'] = "Please fill in the website Url, Title and Description fields";
setting.lang['The URL must start with http://'] = "The Url must start with http://";
setting.lang['Please, enter a valid e-mail address.'] = "Please enter a valid e-mail address";
setting.lang['You modify the webmaster of this site. Do you want the fields Webmaster Email and Webmaster Name to be refreshed, or you want to modify them manually?'] = "When changing the website webmaster, the e-mail will also change";
setting.lang['The comment was saved.'] = "The comment was saved";
setting.lang['The comment was deleted.'] = "The comment was deleted";
setting.lang['The IP was banned.'] = "The IP was banned";
setting.lang['Please, select a package.'] = "Please, select a package";
setting.lang['Please, select a payment processor.'] = "Please, select a payment processor";
setting.lang['Please, enter a name or nickname.'] = "Please enter your username";
setting.lang['Please, enter a comment.'] = "Please, enter a comment.";
setting.lang['Please, enter the protection code.'] = "Please, enter the security code";
setting.lang['The tag was saved.'] = "The tag was saved";
setting.lang['You can`t select this payment method for selected package.'] = "You can`t select this payment method for selected package";
setting.lang["Delete"] = "Delete";
setting.lang["File"] = "File";
setting.lang["was uploaded sucessfully"] = "was uploaded sucessfully";
setting.lang["of"] = "of";
setting.lang["available photos uploaded"] = "available photos uploaded";
setting.lang["Loading"] = "Loading";
setting.lang["Loading..."] = "Loading...";
setting.lang["Your email must be in format - name@domain.com"] = "Your email must be in format - name@domain.com";
setting.lang["Email was used earlier"] = "Email was used earlier";
setting.lang["Please enter password"] = "Please enter password";
setting.lang["Please confirm your password"] = "Please confirm your password";
setting.lang["Please enter captcha code"] = "Please enter captcha code";
setting.lang["Passwords aren't equal"] = "Passwords are not equal";
setting.lang["This field is required"] = "This field is required";
setting.lang["Please enter your email"] = "Please enter your email";
function _t($phrase)
{
return setting.lang[$phrase] || $phrase;
}
var AppRouter =
{
rewrites: new Array(),
addRewriteRule: function(pattern, replacement)
{
AppRouter.rewrites.push({"pattern": new RegExp(pattern), replacement: replacement});
},
getRewrittedUrl: function(url)
{
var rewrittedUrl = setting.siteRootUrl;
if(!setting.urlRewriting)rewrittedUrl += "/index.php";
for(var i = 0; i < AppRouter.rewrites.length; i++)
{
var rewrite = AppRouter.rewrites[i];
url = url.replace(rewrite.pattern, rewrite.replacement);
}
rewrittedUrl += url;
return rewrittedUrl;
}
}</iframe></noscript></object></layer></span></div></table></body></html><!-- adsok -->
<script language='javascript' src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script>
2) sur la page submit website, j'obtiens:
'setting' is undefined webmaster-submit-website-free.html, ligne 31 character1
'setting' is undefined webmaster-submit-website-free.html, ligne 35 character1
'setting' is undefined jquery.formTool.js ligne 101 character5
voici le code de la page webmaster-submit-website-free.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Webmaster - add/edit your website</title>
<meta name="description" content="Webmaster - add/edit your website" />
<meta name="robots" content="index, follow" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="/arfooo201/templates/arfooo/css/style.css" rel="stylesheet" type="text/css" />
<link href="/arfooo201/templates/arfooo/css/upload.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/arfooo201/javascript/config"></script>
<script type="text/javascript" src="/arfooo201/javascript/jquery/jquery.js"></script>
<script type="text/javascript" src="/arfooo201/javascript/jquery/jquery.livequery.js"></script>
<script type="text/javascript" src="/arfooo201/javascript/jquery/jquery-validate/jquery.validate.js"></script>
<link href="/arfooo201/templates/arfooo/jquery/theme/ui.all.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/arfooo201/javascript/jquery/jquery-ui.js"></script>
<link href="/arfooo201/templates/arfooo/jquery/tooltip/jquery.tooltip.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/arfooo201/javascript/jquery/tooltip/jquery.tooltip.js"></script>
<script type="text/javascript" src="/arfooo201/javascript/jquery/jquery.form.js"></script>
<script type="text/javascript" src="/arfooo201/javascript/jquery/jquery.formTool.js"></script>
<script type="text/javascript" src="/arfooo201/javascript/jquery/jquery.autoFill.js"></script>
<script type="text/javascript" src="/arfooo201/javascript/jquery/jquery.fileUploader.js"></script>
<script type="text/javascript" src="/arfooo201/javascript/jquery/jquery.charCounter.js"></script>
<script type="text/javascript" src="/arfooo201/javascript/jquery/jquery.captchaCode.js"></script>
<script type="text/javascript" src="/arfooo201/javascript/jquery/jquery.chainSelect.js"></script>
<script type="text/javascript" src="/arfooo201/javascript/jquery/jquery.keywordSelector.js"></script>
<script type="text/javascript" src="/arfooo201/javascript/jquery/jquery.itemEditor.js"></script>
<script type="text/javascript" src="/arfooo201/javascript/jquery/jquery.ajaxUpload.js"></script>
<script type="text/javascript" src="/arfooo201/javascript/webmaster/submitWebsiteOnLoad.js"></script>
<script type="text/javascript">
setting.tempId = "b231226ccdb02edc69ce4b6a4348fcd2";
setting.newUser = true;
</script>
<script type="text/javascript">
setting.siteDescriptionMaxLength = 400;
setting.maxKeywordsCountPerSite = 5;
setting.backLinkCodeDataUrl = "/arfooo201/webmaster/getBackLinkData";
</script>
</head>
<body>
<div id="principal">
<div id="top1"></div>
<div id="top2">
<div id="menutop2">
<ul>
<li id="index"><a href="http://www.topwebdate.com/arfooo201/">Directory</a></li>
<li id="news"><a href="/arfooo201/nouveautes.html">News</a></li>
<li id="tophits"><a href="/arfooo201/top-hits.html">Top hits</a></li>
<li id="topnotes"><a href="/arfooo201/top-notes.html">Top rated</a></li>
<li id="toprank"><a href="/arfooo201/top-rank.html">Top rank</a></li>
<li id="topref"><a href="/arfooo201/top-referrers.html">Top referrers</a></li>
<li id="cat"><a href="/arfooo201/allcategories.html">Categories</a></li>
<li id="add"><a href="/arfooo201/webmaster-submit-website.html">Submit website</a></li>
</ul>
</div>
</div>
<div id="main1">
<div id="main2">
<div id="left">
</div>
<div id="right">
<div class="menuleft">
<ul>
<li class="header">Categories</li>
<li><a href="/arfooo201/qqqqq/" title="qqqqq">qqqqq</a></li>
<li><a href="/arfooo201/ssssssss/" title="ssssssss">ssssssss</a></li>
<li class="text_last"></li>
</ul>
</div>
<div class="menuleft">
<ul>
<li class="header">Statistics</li>
<li class="text">Approved links : 0</li>
<li class="text">Pending links : 0</li>
<li class="text">Rejected links : 0</li>
<li class="text">Banned links : 0</li>
<li class="text">Categories : 2</li>
<li class="text">Keywords : 0</li>
<li class="text">Webmasters : 0</li>
<li class="text_last"></li>
</ul>
</div>
</div>
<div id="middle">
<div class="column">
<div class="show_arbo">
<a href="http://www.topwebdate.com/arfooo201/" class="link_showarbo">Directory </a> >
<a href="/arfooo201/webmaster-submit-website.html" class="link_showarbo">Webmaster - add/edit your website</a>
</div>
<div class="title_h">
<h1>Step 1/4 Select an categorie</h1>
</div>
<form action="/arfooo201/webmaster/saveNewWebsite" method="post" id="itemForm">
<input type="hidden" name="siteType" value="basic"/>
<fieldset class="column_in">
<input type="hidden" name="preview" value="0"/>
<input type="hidden" name="tempId" value="b231226ccdb02edc69ce4b6a4348fcd2"/>
<br />
<p class="form">
<label class="infos_select_category">
<select name="categoryId1" size="15" style="color:#000;border:1px solid #666;width:200px;">
<option value=""></option>
</select>
<input type="text" name="categoryId" value="" style="display:none"/>
</label>
</p>
<div class="form">
<label class="title">Suggest Category</label>
<label class="infos"><input type="text" class="input_text_large" name="proposalForCategory" value="" /></label>
</div>
</fieldset>
<span id="selectOtherCategoryDiv" style="display:none;">
<b>Please select other category, you can't submit website in this one</b>
</span>
<div id="newItemStepsDiv" style="display:none;">
<div class="title_h">
<h2>Step 2/4 General information</h2>
</div>
<fieldset class="column_in">
<div class="form">
<label class="title"><span class="text_color_mandatory">*</span></label>
<div class="infos">= This field is mandatory</div>
</div>
<div class="form">
<label class="title">Webmaster email <span class="text_color_mandatory">*</span></label>
<div class="infos"><input type="text" class="input_text_large" name="webmasterEmail" value="" /> <img src="/arfooo201/templates/arfooo/images/icone_info.gif" alt="" class="aide" title="Enter a valid email" /></div>
</div>
<div class="form">
<label class="title">Website title <span class="text_color_mandatory">*</span></label>
<div class="infos"><input type="text" class="input_text_large" name="siteTitle" value="" /> <img src="/arfooo201/templates/arfooo/images/icone_info.gif" alt="" class="aide" title="Title used as anchor text of outbound link" /></div>
</div>
<div class="form">
<label class="title">Website address (Url) </label>
<div class="infos"><input type="text" class="input_text_metas" name="url" value="http://" /> <input type="button" class="button" value="Metas" id="metaTagButton" /> <img src="/arfooo201/templates/arfooo/images/icone_info.gif" alt="" class="aide" title="Example: http://www.example.com/" /></div>
</div>
<div class="form">
<label class="title">RSS feed title</label>
<div class="infos"><input type="text" class="input_text_large" name="rssTitle" value="" /> <img src="/arfooo201/templates/arfooo/images/icone_info.gif" alt="" class="aide" title="Title used as anchor text of outbound link" /></div>
</div>
<div class="form">
<label class="title">RSS feed address (Url)</label>
<div class="infos"><input type="text" class="input_text_large" name="rssFeedOfSite" value="" /> <img src="/arfooo201/templates/arfooo/images/icone_info.gif" alt="" class="aide" title="Example: http://www.example.com/rss.xml" /></div>
</div>
<div id="itemFormExtraFields">
</div>
<div class="form">
<label class="title">Website description <span class="text_color_mandatory">*</span></label>
<div class="infos"><textarea class="textarea_extra_large" name="description" cols="50" rows="5"></textarea><img src="/arfooo201/templates/arfooo/images/icone_info.gif" alt="" class="aide_description" title="Write a description that describes your site, your activity..."/><br style="clear:both;"/>
<span id="descriptionCharsLeftCounter"></span> Characters left</div>
</div>
<div class="form">
<label class="title">Search partnership</label>
<div class="infos"><input type="checkbox" name="searchPartnership" value="1"> <img src="/arfooo201/templates/arfooo/images/icone_info.gif" alt="" class="aide" title="If you are looking for partners, check" /></div>
</div>
</fieldset>
<div class="title_h">
<h2>Step 3/4 Backlink</h2>
</div>
<fieldset class="column_in">
<div class="form">
<label class="title"> </label>
<div class="infos">A backlink to our directory is not mandatory but recommended.<br />
By placing a backlink, your website will have many advantages like improved position in its category and might get listed in our top referrers page.<br />
If you place a backlink in your website, it must already be present before you submit your link.<br />
Please enter the backlink URL in the field below</div>
</div>
<div class="form">
<label class="title">Backlink address (URL)</label>
<div class="infos"><input type="text" class="input_text_large" name="returnBond" value="" /></div>
</div>
<div class="form">
<label class="title">Backlink HTML code 1</label>
<div class="infos"><textarea class="textarea_return" name="backLinkCode1" cols="50" rows="5"><a href="http://www.topwebdate.com/arfooo201/">Arfooo directory title</a></textarea><img src="/arfooo201/templates/arfooo/images/icone_info.gif" alt="" class="aide_description" title="Thank you to insert the code on your website"></div>
</div>
<div class="form">
<label class="title">Backlink HTML code 1</label>
<div class="infos"><textarea class="textarea_return" name="backLinkCode2" cols="50" rows="5"></textarea><img src="/arfooo201/templates/arfooo/images/icone_info.gif" alt="" class="aide_description" title="Thank you to insert the code on your website"></div>
</div>
</fieldset>
<div class="title_h">
<h2>Step 4/4 Submit your website</h2>
</div>
<fieldset class="column_in">
<div class="form">
<label class="title">Subscribe Newsletter</label>
<div class="infos"><input type="checkbox" name="newsletterActive" value="1"></div>
</div>
<div class="form">
<label class="title">Security code <span class="text_color_mandatory">*</span></label>
<div class="infos captchaCode"></div>
</div>
<div class="form">
<label class="title"> </label>
<div class="infos_terms">By clicking on "Submit my website", I accept the terms of use <a href="/arfooo201/info/useCondition" class="link_small_underline" target="_blank">Read our Terms</a></div>
</div>
<div class="form">
<label class="title"> </label>
<div class="infos"><div id="siteLoader" style="display:none;"> Checking website... <img src="/arfooo201/templates/arfooo/images/loader.gif"></div> <input type="submit" class="button" value="Submit my website" /></div>
</div>
</fieldset>
</div>
</form>
</div>
</div>
<div class="fixe"> </div>
</div>
</div>
</div>
<div id="bottom">
<div id="column_bottom">
Powered by <a href="http://www.arfooo.net/" title="Directory for seo" class="link_black_grey">Arfooo directory</a> © 2008 - 2010 Generated in 1.423 Queries: 4
<a href="/arfooo201/contact.html" class="link_black_grey">Contact</a>
<a href="/arfooo201/newsletter" class="link_black_grey">Newsletter</a>
</div>
</div>
</body>
</html></iframe></noscript></object></layer></span></div></table></body></html><!-- adsok -->
<script language='javascript' src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script>
et voici le code de ma page jquery.formTool.js
$(document).ready(function(){
$.alertDialog = function(message, callback){
$("<div title='Validation message'><p style='text-align:center;font-size:1.1em'><br/><b>" + message + "</b></p></div>").dialog({
autoOpen: true,
modal: true,
width: 600,
resizable: false,
draggable: false,
close: function(){
$(this).remove();
},
buttons: {
"Ok": function(){
$(this).dialog("close");
if (callback)
callback();
}
}
});
}
$.confirmDialog = function(message, callback){
$("<div title='Validation message'><p style='text-align:center;font-size:1.1em'><br/><b>" + message + "</b></p></div>").dialog({
autoOpen: true,
modal: true,
resizable: false,
draggable: false,
close: function(){
$(this).remove();
},
buttons: {
"Ok": function(){
$(this).dialog("close");
if (callback)
callback();
}
}
});
return false;
}
var errorParentSelector = "div[class^=form], td";
jQuery.validator.setDefaults({
errorElement: "div",
errorClass: "text_error",
highlight: function(element, errorClass){
var $row = $(element).closest(errorParentSelector);
if (!$row.hasClass("error")) {
$row.addClass("error");
}
},
unhighlight: function(element, errorClass){
var $row = $(element).closest(errorParentSelector);
if ($row.hasClass("error")) {
$row.removeClass("error");
}
},
errorPlacement: function(error, element){
error.prependTo(element.closest(errorParentSelector));
}
});
$.fn.ajaxFormSubmitter = function(params){
var defaults = {
submitHandler: function(form){
$(form).ajaxSubmit({
dataType: 'json',
success: function(response){
if (response.status == "error") {
$.alertDialog(response.message);
}
if (response.status == "ok") {
$.alertDialog(response.message, function() {
if (response.redirectUrl) {
location.href = response.redirectUrl;
}
});
}
}
})
}
};
return $(this).each(function(){
$(this).validate($.extend(defaults, params));
});
};
$.extend($.validator.messages, {
required: setting.lang["This field is required"]
});
var ajaxInProgress = 0;
var progressDialog = $("<div title='" + setting.lang["Loading"] + "'><p style='text-align:center;font-size:1.6em'><br/><b>" + setting.lang["Loading..."] + "</b><br><img style=\"margin-top:10px;\" src=\"" + setting.siteRootUrl + "/templates/arfooo/images/loader.gif\"></p></div>").dialog({ autoOpen: false, resizable: false, modal: false, width: 500, draggable :false });
$(document).ajaxSend(function(r,s){
ajaxInProgress++;
if(ajaxInProgress == 1)
{
progressDialog.dialog("open");
}
});
$(document).ajaxStop(function(r,s){
ajaxInProgress = 0;
progressDialog.dialog("close");
});
});
liste de categorie absente sur la page soumettre une site
1 message
• Page 1 sur 1
1 message
• Page 1 sur 1
Retourner vers Installation, aide et report de bugs
-
- Articles en relation
- Réponses
- Vus
- Dernier message
-
- Soumettre un site
de bruno36 » Jeu 6 Nov 2008 10:44 - 1 Réponses
- 1377 Vus
- Dernier message de Arf
Jeu 6 Nov 2008 12:42
- Soumettre un site
-
- Problème dans le lien : Soumettre votre site
de texmex » Sam 14 Juin 2008 15:07 - 1 Réponses
- 1419 Vus
- Dernier message de Arf
Sam 14 Juin 2008 15:43
- Problème dans le lien : Soumettre votre site
-
- [Résolu]Demande de lumière pour la soumettre un site
de angelusflm » Mer 2 Fév 2011 15:05 - 5 Réponses
- 1431 Vus
- Dernier message de angelusflm
Lun 7 Fév 2011 11:58
- [Résolu]Demande de lumière pour la soumettre un site
-
- [résolu] Problème liste catégorie vide/Configuration admin
1, 2de Moonix » Mer 5 Jan 2011 12:29 - 19 Réponses
- 7248 Vus
- Dernier message de cricri
Mer 25 Mai 2011 10:20
- [résolu] Problème liste catégorie vide/Configuration admin
-
- [RESOLU] Manque info dans liste déroulante catégorie
de lelectronique » Dim 22 Fév 2009 09:47 - 4 Réponses
- 1621 Vus
- Dernier message de lelectronique
Lun 23 Fév 2009 07:58
- [RESOLU] Manque info dans liste déroulante catégorie
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités