Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: 1 2 [3] 4 5 6 7 ... 10   Go Down

Author Topic: [PLUGIN] CAPTCHA (anti-spam sur commentaires)  (Read 120832 times)

0 Members and 1 Guest are viewing this topic.

baroudeur

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #40 on: February 26, 2007, 07:14:41 pm »

Bonjour a tous,

Pour répondre a ta question balafre, non je n'ai pas changé les polices du dossier Font de Captcha, les polices que j'ai dans le dossier sont :acidic.ttf et hurryup.ttf

Je vois bien les lettres s'afficher mais quand je saisi le code, pourtant je le saisi correctement  !! Ca me met toujours se message "Le Code de Confirmation est incorrect" !!

Et la je vois pas la solution voici ma galerie
http://olivier.baroudeur.free.fr


Merci d'avance pour votre aide
Olivier
Logged

baroudeur

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #41 on: February 26, 2007, 07:23:34 pm »

bonjour à tous

J'ai résolu mon probleme, ca fonctionne, il fallait rajouter un dossier Sessions à la racine de mon site !!
Heu c'est tout bête

Merci a tous pour votre aide
http://olivier.baroudeur.free.fr

Bonne fin de journée
Cordialement
Olivier
Logged

Pascal YAP

  • Moderator
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #42 on: February 27, 2007, 12:22:58 am »

Bonjour,

Quote
J'ai résolu mon probleme..il fallait rajouter un dossier Sessions à la racine de mon site !!
Super ! Exactement comme indiqué et conseillé dans mon post posté plus haut à votre sujet :
http://forum.coppermine-gallery.net/index.php?topic=35415.msg197222#msg197222

Des fois on se demande si nos réponses sont lues ! ! ! ! !  ???

PYAP
Logged

Xhino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #43 on: March 10, 2007, 06:23:19 am »

moi j'ai tout fait comme il faut, mais j'ai un petit problem..
j'ai pas l'image du code de confirmation
regarder ici: http://www.dardaniachat.net/gallery/
c'est bizarre :S
P.S: j'ai pas modifier le theme.php (comme j'ai un theme connections) alors j'ai du modifier themes.inc.php,
quellqu'un pourai m'expliquer comment faire , parceque je suis perdu la.  ???

Merci d'avance.
Logged

François Keller

  • Moderator
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #44 on: March 10, 2007, 08:56:44 am »

moi j'ai tout fait comme il faut, mais j'ai un petit problem..
j'ai pas l'image du code de confirmation
Vérifiez que tous les fichiers ont été bien placé sur votre serveur. (au besoins rechargez les
Quote
j'ai pas modifier le theme.php (comme j'ai un theme connections) alors j'ai du modifier themes.inc.php,
Une fois de plus, il ne FAUT PAS MODIFIER LE FICHIER THEME.INC.PHP
 Même si vous utilisez un theme différent que le theme classic, vous avez un fichier theme.php pour ce theme. Copiez les éléments de code dans ce fichier et modifiez les là. Lors de la prochaine mises a jour toutes vos modifs seront perdues si vous ne faites pas ça.
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Xhino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #45 on: March 10, 2007, 07:13:30 pm »

Salut Frantz et merci pour ta reponse, au fait j'ai theme.php dans le theme connections, mais j'ai pas le:
Quote
'{COMMENT}' => $lang_display_comments['comment'],
dans le theme.php je doit faire comment ?
Logged

François Keller

  • Moderator
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #46 on: March 10, 2007, 07:56:40 pm »

ajoutes le avant la balise ?>
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Xhino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #47 on: March 10, 2007, 11:17:39 pm »

dacord, mais ca:

Quote
<tr>
  <td class="tableb_compact" colspan="2">
    {CONFIRM}
  </td>
  <td class="tableb_compact" colspan="2">
    <input type="text" name="confirmCode" size="5" class="textinput"> <img src="captcha.php" align="middle">
  </td>
</tr>

je suis perdu :S
Logged

Xhino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #48 on: March 10, 2007, 11:24:53 pm »

voila ce que j'ai dans theme.php

Quote
<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2006 Coppermine Dev Team
  v1.1 originally written by Gregory DEMAR

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
  ********************************************
  Coppermine version: 1.4.4
  $Source:
  $Revision:
  $Author:
  $Date:
**********************************************/

define('THEME_HAS_RATING_GRAPHICS', 1);
define('THEME_HAS_NAVBAR_GRAPHICS', 1);
define('THEME_HAS_FILM_STRIP_GRAPHIC', 1);
define('THEME_IS_XHTML10_TRANSITIONAL',1); // Remove this if you edit this template until
                                           // you have validated it. See docs/theme.htm.
define('THEME_HAS_NO_SUB_MENU_BUTTONS', 1);

// HTML template for sys menu
$template_sys_menu = <<<EOT
                                        <ul id="topnav">

<!-- BEGIN home -->
                                                <li><a href="{HOME_TGT}" title="{HOME_TITLE}">{HOME_LNK} | </a></li>
<!-- END home -->
<!-- BEGIN my_gallery -->
                                                <li><a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK} | </a></li>
<!-- END my_gallery -->
<!-- BEGIN allow_memberlist -->
                                                <li><a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK} | </a></li>
<!-- END allow_memberlist -->
<!-- BEGIN my_profile -->
                                                <li><a href="{MY_PROF_TGT}" title="{MY_PROF_LNK}">{MY_PROF_LNK} | </a></li>
<!-- END my_profile -->
<!-- BEGIN faq -->
                                                <li><a href="{FAQ_TGT}" title="{FAQ_TITLE}">{FAQ_LNK} | </a></li>
<!-- END faq -->
<!-- BEGIN enter_admin_mode -->
                                                <li><a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}">{ADM_MODE_LNK} | </a></li>
<!-- END enter_admin_mode -->
<!-- BEGIN leave_admin_mode -->
                                                <li><a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK} | </a></li>
<!-- END leave_admin_mode -->
<!-- BEGIN upload_pic -->
                                                <li><a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK} | </a></li>
<!-- END upload_pic -->
<!-- BEGIN register -->
                                                <li><a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK} | </a></li>
<!-- END register -->
<!-- BEGIN login -->
                                                <li><a href="{LOGIN_TGT}" title="{LOGIN_LNK}">{LOGIN_LNK}</a></li>
<!-- END login -->
<!-- BEGIN logout -->
                                                <li><a href="{LOGOUT_TGT}" title="{LOGOUT_LNK}">{LOGOUT_LNK}</a></li>
<!-- END logout -->
                                        </ul>

EOT;


// HTML template for sub menu
$template_sub_menu = <<<EOT
                                        <ul>
<!-- BEGIN custom_link -->
                                            <li><a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a></li>
<!-- END custom_link -->
<!-- BEGIN album_list -->
                                            <li><a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a></li>
<!-- END album_list -->
                                            <li><a href="{LASTUP_TGT}" title="{LASTUP_LNK}">{LASTUP_LNK}</a></li>
                                            <li><a href="{LASTCOM_TGT}" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a></li>
                                            <li><a href="{TOPN_TGT}" title="{TOPN_LNK}">{TOPN_LNK}</a></li>
                                            <li><a href="{TOPRATED_TGT}" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a></li>
                                            <li><a href="{FAV_TGT}" title="{FAV_LNK}">{FAV_LNK}</a></li>
                                            <li><a href="{SEARCH_TGT}" title="{SEARCH_LNK}">{SEARCH_LNK}</a></li>
                                        </ul>

EOT;

// HTML template for gallery admin menu
$template_gallery_admin_menu = <<<EOT

                <div align="center">
                <table cellpadding="0" cellspacing="1">
                        <tr>
<!-- BEGIN admin_approval -->
                                <td class="admin_menu" id="admin_menu_anim"><a href="editpics.php?mode=upload_approval" title="{UPL_APP_TITLE}">{UPL_APP_LNK}</a></td>
<!-- END admin_approval -->
                                <td class="admin_menu"><a href="admin.php" title="{ADMIN_TITLE}">{ADMIN_LNK}</a></td>
                                <td class="admin_menu"><a href="catmgr.php" title="{CATEGORIES_TITLE}">{CATEGORIES_LNK}</a></td>
                                <td class="admin_menu"><a href="albmgr.php{CATL}" title="{ALBUMS_TITLE}">{ALBUMS_LNK}</a></td>
                                <td class="admin_menu"><a href="groupmgr.php" title="{GROUPS_TITLE}">{GROUPS_LNK}</a></td>
                                <td class="admin_menu"><a href="usermgr.php" title="{USERS_TITLE}">{USERS_LNK}</a></td>
                                <td class="admin_menu"><a href="banning.php" title="{BAN_TITLE}">{BAN_LNK}</a></td>
                                <td class="admin_menu"><a href="reviewcom.php" title="{COMMENTS_TITLE}">{COMMENTS_LNK}</a></td>
                                </tr><tr>
<!-- BEGIN log_ecards -->
                                <td class="admin_menu"><a href="db_ecard.php" title="{DB_ECARD_TITLE}">{DB_ECARD_LNK}</a></td>
<!-- END log_ecards -->
                                <td class="admin_menu"><a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a></td>
                                <td class="admin_menu"><a href="searchnew.php" title="{SEARCHNEW_TITLE}">{SEARCHNEW_LNK}</a></td>
                                <td class="admin_menu"><a href="util.php" title="{UTIL_TITLE}">{UTIL_LNK}</a></td>
                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a></td>
<!-- BEGIN documentation -->
                                <td class="admin_menu"><a href="{DOCUMENTATION_HREF}" title="{DOCUMENTATION_TITLE}" target="cpg_documentation">{DOCUMENTATION_LNK}</a></td>
<!-- END documentation -->
                        </tr>
                </table>
                </div>
EOT;

// HTML template for user admin menu
$template_user_admin_menu = <<<EOT

                        <ul>
                                <li><a href="albmgr.php" title="{ALBMGR_TITLE}" class="navmenu">{ALBMGR_LNK}</a></li>
                                <li><a href="modifyalb.php" title="{MODIFYALB_TITLE}" class="navmenu">{MODIFYALB_LNK}</a></li>
                                <li><a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}" class="navmenu">{MY_PROF_LNK}</a></li>
                                <li><a href="picmgr.php" title="{PICTURES_TITLE}" class="navmenu">{PICTURES_LNK}</a></li>
                        </ul>

EOT;

?>

tu pourai m'expliquer Frantz ou puis-je mettre ca:

Quote
'{CONFIRM}' => $lang_display_comments['confirm'],

puis ca:

Quote
<tr>
  <td class="tableb_compact" colspan="2">
    {CONFIRM}
  </td>
  <td class="tableb_compact" colspan="2">
    <input type="text" name="confirmCode" size="5" class="textinput"> <img src="captcha.php" align="middle">
  </td>
</tr>

tu pourai m'expliquer exactement ou, parceque je m'y connais pas beaucoup en c'est chose la :$
entoucas merci de repondre aussi vite. :)


Logged

François Keller

  • Moderator
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #49 on: March 11, 2007, 07:50:47 am »

Je viens de me rendre compte que tu n'utilisatis pas le plugin mais le mod.
Le plus simple serait d'effacer toutes les modifs de code que tu as faite et d'installer le plugin Captcha http://forum.coppermine-gallery.net/index.php?topic=36319.msg170592#msg170592
Plus besoin de trifouiller dans le code, le plugin se charge de tout
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Xhino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #50 on: March 11, 2007, 09:07:40 pm »

Salut Frantz,

toujours la meme chose, http://www.dardaniachat.net/gallery/
pas de code de confirmation, j'ai installer Captcha la ou tu ma dit, puis je l'est mit au racine du forum, marche pas, je l'est aussi mit dans plugins, marche pas non plus :S
Logged

François Keller

  • Moderator
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #51 on: March 11, 2007, 09:15:41 pm »

Il semble qu'il y ait un autre problème, a moins que ce ne soit lié, lorsque je clique sur le lien, j'arrive sur une page blanche  :-\
je ne suis pas sur de la manière dont tu as installé le plugin.
je te propose d'ouvrir un nouveau post pour traiter ton problème.
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Xhino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #52 on: March 11, 2007, 09:16:57 pm »

regarde maitenant, la page blanche ca venait d'autre chose.
Logged

François Keller

  • Moderator
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #53 on: March 11, 2007, 09:18:32 pm »

c'est pire:
j'ai ça
Quote
500 Internal Server Error

The server has encountered an internal error or misconfiguration and was unable to complete your request.
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Xhino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #54 on: March 11, 2007, 09:19:11 pm »

Frantz encore une question, quand on telecharge captcha la tu ma dit, on le met a la racine de la gallery c'est ca ?
Logged

Xhino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #55 on: March 11, 2007, 09:20:46 pm »

lol, actualise la page, des fois ca fait ca :D
Logged

François Keller

  • Moderator
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #56 on: March 11, 2007, 09:22:53 pm »

Non, il faut placer l'ensemble du dossier tel quel dans le répertoire plugins et ensuite aller dans le gestionnaire de plugins pour l'installer.
regardes la marche à suivre ici http://frantzk.free.fr/WikiFree/index.php?title=Installer_un_plugin
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Xhino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #57 on: March 11, 2007, 09:29:46 pm »

ah ca veut dire, tout ce qu'il ya dans captcha par ex: dans captcha dans le folder include, je prend ce qu'il ya dans le include et je met dans include de ma gallery c'est ca ? et le reste ceu qui sont pas dans le folder je met dans la racine du forum, par ex celui-la: codebase , configuration , captcha ?
Logged

François Keller

  • Moderator
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #58 on: March 11, 2007, 09:37:24 pm »

Non,
il faut prendre l'ensemble du dossier téléchargé depuis ce post http://forum.coppermine-gallery.net/index.php?topic=36319.msg170592#msg170592
dans le dossier plugins de ton installation coppermine: tu auras donc
-dossier racine de coppermine
--include
--lang
--themes
...
--plugins
---captcha
----dossier include
----dossier lang
----fichier codebase.php
----fichier configuration.php
etc...
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Xhino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: [PLUGIN] CAPTCHA (anti-spam sur commentaires)
« Reply #59 on: March 11, 2007, 09:54:42 pm »

j'ai installer le plugins comme tu ma dit, etc..

j'ai ca maitenant This is sample data returned from plugin "Sample Plugin".
mais j'ai tousjours pas ce qu'il me faut :(
rho lala je deprime la carrement
Logged
Pages: 1 2 [3] 4 5 6 7 ... 10   Go Up
 

Page created in 0.032 seconds with 19 queries.