Joomla! Discussion Forums



It is currently Wed Nov 25, 2009 3:43 am (All times are UTC )

 


Forum rules

Global Rules
Additional Rules for this forum <------- Please read before posting



Post new topic Reply to topic  [ 59 posts ]  Go to page Previous  1, 2
Author Message
Posted: Fri Sep 19, 2008 1:56 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Apr 03, 2008 3:58 pm
Posts: 80
FOr me the trick to show captcha only to guest is working, but refresh image works only for Virtuemart registration process, using this code
Code:
<img src="index.php?option=com_tincaptcha&task=captcha_display" onclick="this.src=\'index.php?option=com_tincaptcha&task=captcha_display&t=\'+(new Date()).getTime()" alt="Click pentru reincarcare imagine" title="Click to refresh" />


I admit I might have some issues with VM template, but with Joomla? :pop

_________________
Signature rules: Literal URLs only - viewtopic.php?f=8&t=65


Top
  E-mail  
 
 Post subject: FRQ: tinCaptcha
Posted: Sun Sep 21, 2008 8:28 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Apr 03, 2008 3:58 pm
Posts: 80
Replace very ugly Jom Comment captcha.

_________________
Signature rules: Literal URLs only - viewtopic.php?f=8&t=65


Top
  E-mail  
 
Posted: Mon Sep 22, 2008 11:06 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Apr 14, 2006 4:06 pm
Posts: 18
korb wrote:
FOr me the trick to show captcha only to guest is working, but refresh image works only for Virtuemart registration process, using this code
Code:
<img src="index.php?option=com_tincaptcha&task=captcha_display" onclick="this.src=\'index.php?option=com_tincaptcha&task=captcha_display&t=\'+(new Date()).getTime()" alt="Click pentru reincarcare imagine" title="Click to refresh" />


I admit I might have some issues with VM template, but with Joomla? :pop


please send me files you have edited.
In VM, html code put in variable, so ' characters become \'


Top
  E-mail  
 
Posted: Mon Sep 22, 2008 12:18 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Apr 03, 2008 3:58 pm
Posts: 80
Hello Replika,
Here are my files shop.ask.tpl.php and default_form.php.
when click image, the image dissapears, and no other image.


You do not have the required permissions to view the files attached to this post.

_________________
Signature rules: Literal URLs only - viewtopic.php?f=8&t=65


Top
  E-mail  
 
Posted: Mon Sep 22, 2008 11:44 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Apr 14, 2006 4:06 pm
Posts: 18
korb wrote:
Hello Replika,
Here are my files shop.ask.tpl.php and default_form.php.
when click image, the image dissapears, and no other image.


I do not see the refresh code in your files, so still do not know why the image dissaprears as you said.

I have edited the files:


You do not have the required permissions to view the files attached to this post.


Top
  E-mail  
 
Posted: Mon Sep 22, 2008 11:56 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Apr 03, 2008 3:58 pm
Posts: 80
Thanks for your input, Replika. However same result. Seems that something is conflicting with this tinz script and not letting me have nice captcha with refresh.

I don"t know what is goin on.
Danny


You do not have the required permissions to view the files attached to this post.

_________________
Signature rules: Literal URLs only - viewtopic.php?f=8&t=65


Top
  E-mail  
 
Posted: Tue Sep 23, 2008 2:19 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Apr 14, 2006 4:06 pm
Posts: 18
Did you try with default Joomla template and no extension (like sh404SEF)
The best way is showing your live site, because It worked on my computer (IE6 & FF3) and other people.


Top
  E-mail  
 
Posted: Wed Oct 22, 2008 6:29 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jun 03, 2008 2:09 pm
Posts: 24
I'm having a real strange problem. The captcha is there, but when you enter the wrong captcha, it registers you anyway. Anyone have any ideas as to why this may be happening? The image shows up no problem ...


Top
  E-mail  
 
Posted: Sun Oct 26, 2008 7:26 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun Oct 26, 2008 7:23 am
Posts: 2
I'm having the exact same problem. I get a message at the top of the page saying the entry was incorrect, but the user gets registered anyway. Anyone help?

Thank You.


Top
  E-mail  
 
Posted: Sun Oct 26, 2008 8:03 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun Oct 26, 2008 7:23 am
Posts: 2
If you are using the hpregistration plug-in here is what I did and it seems to be working now.

In the plugin file hpregistration.php

go to the function onBeforeStoreUser

and add these to the first if statement:
Code:
$mainframe->redirect(JRoute::_('index.php?option=com_user&view=register'));
$mainframe->close();


So the full function would look like this:

Code:
function onBeforeStoreUser($user, $isnew)
   {
      global $mainframe;
      // tincaptcha-
      $captchk = plgSystemTincaptcha::check(JRequest::getVar('captcha', '', 'post'));
      if ($isnew && $captchk !== true && $mainframe->isSite())
      {
         JError::raiseWarning(0, $captchk);
         $mainframe->redirect(JRoute::_('index.php?option=com_user&view=register'));
         $mainframe->close();
         return false;
      }
      // -tincaptcha

      if($isnew && !JRequest::getVar('acceptedtermsofuse', 0) && $mainframe->isSite())
      {
         $mainframe->redirect(JRoute::_('index.php?option=com_user&view=register'), JText::_('You need to accept the terms of use'), 'error');
         $mainframe->close();
         return false;
      }
      return true;
   }


Top
  E-mail  
 
Posted: Mon Oct 27, 2008 2:35 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jun 03, 2008 2:09 pm
Posts: 24
I gave up and used "securityimages" instead. That has worked really well for me so far. I tested it, and it is doing what I need it to do ... checking passwords and captchas. If you are having problems with this mod, I'd suggest you try this one.


Top
  E-mail  
 
Posted: Fri Nov 14, 2008 2:34 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Feb 24, 2008 6:07 pm
Posts: 18
Thanks so much!! It works perfectly, refresh and all. (I use 1.5.7 and applied it to just the core contact form so far.)

Next, I will try to get it on Virtuemart. :)


Top
  E-mail  
 
Posted: Tue Nov 18, 2008 5:27 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Nov 21, 2005 7:35 am
Posts: 14
Location: Auckland
Thanks - nice and easy solution, epically as the edited forms have been provided. Making install a breeze.

_________________
http://www.4success.co.nz


Top
  E-mail  
 
Posted: Mon Dec 01, 2008 9:42 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Jan 17, 2008 9:12 am
Posts: 57
Location: Cardiff
Hi

Does this extension work without Free Type library???

My hosting co refused to install it because of security...

cheers
mrtn


Top
  E-mail  
 
Posted: Sun Jan 04, 2009 3:40 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Apr 14, 2006 4:06 pm
Posts: 18
mrtn wrote:
Hi

Does this extension work without Free Type library???

My hosting co refused to install it because of security...

cheers
mrtn

I should modify code a bit to add an option using buildin font, but have no time now :)


Top
  E-mail  
 
Posted: Sat Feb 21, 2009 5:35 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Jul 13, 2007 5:08 pm
Posts: 18
Replika wrote:
...
3. In File components\com_contact\views\contact\tmpl\default_form.php, find and add:
Code:
         <label id="contact_textmsg" for="contact_text">
            &nbsp;<?php echo JText::_( 'Enter your message' );?>:
         </label>
         <br />
         <textarea cols="50" rows="10" name="text" id="contact_text" class="inputbox required"></textarea>
         <!-- tincaptcha- -->
         <br />
         <label for="captcha">
            &nbsp;<?php echo JText::_( 'TIN_CAPTCHA' );?>:
         </label>
         <br />
         <input type="text" name="captcha" id="captcha" size="10" class="inputbox required" value="" />
         <br />
            <img src="index.php?option=com_tincaptcha&task=captcha_display" />
         <!-- -tincaptcha -->



I think that it is important to say, that if you use custom templates with overrides for com_contact, you have to do these changes in

templates/YOURTEMPLATE/html/com_contact/contact/default_form.php

Alan


Top
  E-mail  
 
Posted: Sat Mar 07, 2009 1:37 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sat Mar 07, 2009 1:27 pm
Posts: 2
Dear Replika,

thank you very much for the work.
I have got one problem: the value on the captcha images and the value in the session under tincapt_uid differs. How can this happen? So, the input is always incorrect. What shall I do?

Kind regards,
Natalia


Top
  E-mail  
 
Posted: Sun Mar 08, 2009 12:48 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Apr 14, 2006 4:06 pm
Posts: 18
It does not happen in my case. Maybe you open that page in many tabs?


Top
  E-mail  
 
Posted: Sun Mar 08, 2009 12:56 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sat Mar 07, 2009 1:27 pm
Posts: 2
No, just in one tab... I can not understand when can happen the second call to the constructor method...


Top
  E-mail  
 
Posted: Sun Apr 19, 2009 8:16 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun Apr 19, 2009 8:11 pm
Posts: 2
Das tincaptcha habe ich im Virtuemart für die Emails eingebaut.
Ich habe ein Problem wo ich Hilfe brauche: Wie und Wo kann ich definieren, das bei falschem Code zurück zur eingabe gewechselt wird. Im Mom kommt: JError::raiseError(500, $checkSecurity); was wohl die Seite sehr abwertet. Es wäre schön wenn bei falscher Eingabe der User zurück zur Eingabe gelangt um neu eingeben zu können und oben im Kopf die raiseMessages erscheint. Ich hoffe hier kann wer weiter helfen.


sorry for bad english--> Translation by Google I no speak english :'(
The tincaptcha I have Virtuemart installed for the emails.
I have a problem where I need help: How and Where can I define in the wrong code for the input is changed. Mom comes in: JError::raiseError(500, $checkSecurity); what the page is very well devalues. It would be nice if the wrong input back to the user input arrives to re-enter to the top of the head and raisemessages appear. I hope here who can help.

MfG Baer22


Top
  E-mail  
 
Posted: Wed Apr 22, 2009 5:17 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun Apr 19, 2009 8:11 pm
Posts: 2
replica is on vacation? He can certainly help but. Maybe someone responds, if I write: I am a blonde woman. 25 years old. well built ....

:D :D


Top
  E-mail  
 
Posted: Wed Apr 29, 2009 12:36 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Apr 29, 2009 12:25 pm
Posts: 5
Hi friends,

Unable to see the captcha image on the joomla registration form.....?

i am using joomla 1.5.10
Installed both com_tincaptcha and plg_tincaptcha

and i am trying to integrate in my registration form, i did the same as per instractions,

But the captcha image is not showing, when i view in the source, it shows...

------------------------------------------------
<input id="captcha" class="inputbox required invalid" type="text" value="" size="10" name="captcha"/>
<br/>
<img src="index.php?option=com_tincaptcha&task=captcha_display&t=1241007731531" name="captchaimg"/>
<a onclick="document.images['captchaimg'].src='index.php?option=com_tincaptcha&task=captcha_display&t='+(new Date()).getTime();return false;" href="javascript:void(0);">Refresh Image</a>
-------------------------------------------------


any one help me to fix this..


Regards,
GS


Top
  E-mail  
 
Posted: Fri Jun 05, 2009 11:11 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Jan 19, 2007 1:39 am
Posts: 22
Hi.The captcha image is hard to read for the stupid people.And i have stupid pelple visiting my sites.Can anyboy tell me how to make it easy to read?(i dont care that it will be easiest to hack)


Top
   
 
Posted: Fri Jun 05, 2009 11:27 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Jan 19, 2007 1:39 am
Posts: 22
Ok.Ive found it.You can replace the fonts with easiest to read in the font folder.Witch is on
Code:
[JOOMLA_ROOT]plugins\system\tincaptcha\fonts\


Go to Dafont.com and choose your fonts.Thanks for that great component btw!Ive integrated it on my custom Virtuemart


Top
   
 
Posted: Fri Aug 07, 2009 4:29 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Nov 17, 2008 3:05 pm
Posts: 1
Woo Hoo! I have FINALLY gotten this captcha to work on my contact form. My main issue was not having the message appear and that was a problem with my template. It is necessary to have <jdoc:include type="message" /> in index.php of your template. I placed it immediately above the <jdoc:include type="component" /> IN ALL INSTANCES (to handle multple layouts). Hooray! Thanks Replika for a great component. Until Joomla has CAPTCHA in its core this is the best solution I have worked with.


Top
  E-mail  
 
Posted: Sat Aug 08, 2009 4:45 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Oct 25, 2008 9:55 pm
Posts: 6
Location: Ru
Kunena 1.5.4+Community Builder 1.2.1+kdiscussbot_1.0.8h
How to integration tinCaptcha & Kunena Discussbot in QuickPost for non-registered users?


Top
  E-mail  
 
Posted: Fri Aug 21, 2009 4:48 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Oct 25, 2008 9:55 pm
Posts: 6
Location: Ru
Kunena 1.5.4+Community Builder 1.2.1+ kunenadiscuss 1.10 http://joomlacode.org/gf/download/frsrelease/10864/43042/plg_kunenadiscuss.zip

Help to integration tinCaptcha & Kunena Discussbot.


Top
  E-mail  
 
Posted: Fri Sep 11, 2009 4:30 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Jun 24, 2009 8:01 am
Posts: 9
Replika, can you help me how to hack VM1.1.3 registration so i can use your nice captcha?

_________________
Jasa Pembuatan Website
Junior Web Designer


Top
  E-mail  
 
Posted: Thu Nov 05, 2009 6:15 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Mon Dec 04, 2006 12:57 pm
Posts: 127
I am on J1.5.14 and would like to get this working on my contact form and VM registration.

I have installed the com_contact files that were posted on the previous page but get the image as shown.

I tried to follow the VM installation but got stuck in ps_shopper because I could not find the code as described on line 176.

I have read mention of the pre-edited files available but cannot find them.

Any pointers welcome :-)

Thanks


You do not have the required permissions to view the files attached to this post.

_________________
Get freelance Magento work at http://www.maglance.com


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 59 posts ]  Go to page Previous  1, 2

Quick reply

 



Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group