[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4363: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4367: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
RESOLU nombre image en fonction de critere de referencement

RESOLU nombre image en fonction de critere de referencement

Trouvez ici tout l'aide dont vous avez besoin concernant le script d'annuaire Arfooo.
Merci de reporter les éventuels bugs trouvés.

RESOLU nombre image en fonction de critere de referencement

Messagede patweb » Lun 30 Jan 2012 09:29

bonjour,
j aimerais pouvoir definir le nombre d images telechargeable en fonction du critere de referencement

exemple, gratuit = 1 image
payant 1 = 5 images
et payant 2 = 10 images

au meme titre que l on peut choisir le nombre de lettre.

si quelqu'un l a deja fait pourrais t il m expliquer la marche a suivre

merci
Dernière édition par patweb le Mar 14 Fév 2012 20:54, édité 1 fois.
et
patweb
 
Messages: 19
Inscription: Mer 25 Mar 2009 01:53


Re: nombre d image en fonction de critere de referencement

Messagede Sebouille » Lun 30 Jan 2012 11:57

Salut Patweb !

Certainement un début de réponse ici : post18463.html

;)
&
Avatar de l’utilisateur
Sebouille
 
Messages: 119
Inscription: Lun 21 Fév 2011 04:45
Localisation: Sèvres

Re: nombre d image en fonction de critere de referencement

Messagede patweb » Lun 30 Jan 2012 22:06

bonjour, et merci de ta reponse

j ai essayer de faire la modif que tu me dit , mais chez moi elle plante le programme javascript

et desactive la touche meta et upload de l image,

sur le meme principe j ai essayer

filesMaxCount: setting.packageId ,

mais comme le gratuit na pas de packageid il upload le nombre de photo defini dans la config de l annuaire.

est ce que l on ne pourrais pas le definir a la creation du critere au meme titre que

Nombre de caractères maximum
Nombre de caractères minimum
Nombre de mots clés

je vais essayer rajouter un champs dans la base de donnee qui me permettrait d utiliser ta metode
et
patweb
 
Messages: 19
Inscription: Mer 25 Mar 2009 01:53

Re: nombre d image en fonction de critere de referencement

Messagede Sebouille » Mer 1 Fév 2012 14:56

&
Avatar de l’utilisateur
Sebouille
 
Messages: 119
Inscription: Lun 21 Fév 2011 04:45
Localisation: Sèvres

Re: nombre d image en fonction de critere de referencement

Messagede patweb » Dim 5 Fév 2012 20:18

salut,
j ai rajouter un champs(itemGalleryImagesMaxCount) dans la table package pour definir le nombre d image,
j ai rajouter dans package tpl
<tr>
<td>{'settingIndex_number_images_package'|lang}:</td>
<td><input type="text" class="input_text_small" name="itemGalleryImagesMaxCount" value="" /></td>
</tr>

dans admin\controllers\SettingController.php

j ai rajouter ligne 271
$fields = array(
'name', 'amount', 'allopassId', 'allopassNumber', 'itemGalleryImagesMaxCount','priority',
'description', 'siteDescriptionMaxLength', 'maxKeywordsCountPerSite',
'backLinkMandatory', 'siteDescriptionHtmlEnabled',
'siteDescriptionHtmlAllowedTags', 'siteDescriptionHtmlAllowedCssProperties',
'siteDescriptionMinLength'
);
donc maintenant quant je cree un nouveau critere la valeur $itemGalleryImagesMaxCount est renseignee

maintenant j aimerai pouvoir modifier dans controllers\PhotoController.php

la partie ligne 39
public function saveAction()
{
$this->viewClass = "JsonView";

$photoType = "gallery";
$galleryPhotosMaxCount = Config::get("itemGalleryImagesMaxCount");
$itemId = !empty($this->request->itemId) ? $this->request->itemId : 0;
$tempId = !empty($this->request->tempId) ? $this->request->tempId : 0;

pour que quand $package.itemGalleryImagesMaxCount est renseignée $galleryPhotosMaxCount = $package.itemGalleryImagesMaxCount
mais la je bloque
est ce le bon endroit pour faire la modif ou faut t il le faire ailleure

si quelqu un a la solution ou une idee où chercher je suis preneur merci
Dernière édition par patweb le Ven 10 Fév 2012 08:27, édité 1 fois.
et
patweb
 
Messages: 19
Inscription: Mer 25 Mar 2009 01:53

Re: nombre d image en fonction de critere de referencement

Messagede patweb » Ven 10 Fév 2012 08:22

et
patweb
 
Messages: 19
Inscription: Mer 25 Mar 2009 01:53

Re: nombre d image en fonction de critere de referencement

Messagede patweb » Mar 14 Fév 2012 20:53

et
patweb
 
Messages: 19
Inscription: Mer 25 Mar 2009 01:53

Re: RESOLU nombre image en fonction de critere de reference

Messagede Sebouille » Jeu 16 Fév 2012 18:07

&
Avatar de l’utilisateur
Sebouille
 
Messages: 119
Inscription: Lun 21 Fév 2011 04:45
Localisation: Sèvres


Retourner vers Installation, aide et report de bugs

 


  • Articles en relation
    Réponses
    Vus
    Dernier message

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités

 
Copyright © arfooo.com  2007 - 2011  -  Tous droits réservés  -  Partenaires de confiance
Sites du groupe: petites annonces gratuites   voyance en direct - tirage tarot   Consultant en référencement
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | phpBB SEO Traduction par: phpBB-fr.com
cron