tinCaptcha - just another

This forum is for general questions about extensions for Joomla! 2.5.

Moderators: pe7er, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
korb
Joomla! Intern
Joomla! Intern
Posts: 88
Joined: Thu Apr 03, 2008 3:58 pm
Contact:

Re: tinCaptcha - just another

Post by korb » Mon Sep 22, 2008 12:18 pm

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.

User avatar
Replika
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Fri Apr 14, 2006 4:06 pm

Re: tinCaptcha - just another

Post by Replika » Mon Sep 22, 2008 11:44 pm

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.

korb
Joomla! Intern
Joomla! Intern
Posts: 88
Joined: Thu Apr 03, 2008 3:58 pm
Contact:

Re: tinCaptcha - just another

Post by korb » Mon Sep 22, 2008 11:56 pm

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.

User avatar
Replika
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Fri Apr 14, 2006 4:06 pm

Re: tinCaptcha - just another

Post by Replika » Tue Sep 23, 2008 2:19 pm

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.

Bacchus72
Joomla! Apprentice
Joomla! Apprentice
Posts: 24
Joined: Tue Jun 03, 2008 2:09 pm

Re: tinCaptcha - just another

Post by Bacchus72 » Wed Oct 22, 2008 6:29 pm

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 ...

silkrhino
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Oct 26, 2008 7:23 am

Re: tinCaptcha - just another

Post by silkrhino » Sun Oct 26, 2008 7:26 am

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.

silkrhino
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Oct 26, 2008 7:23 am

Re: tinCaptcha - just another

Post by silkrhino » Sun Oct 26, 2008 8:03 am

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: Select all

$mainframe->redirect(JRoute::_('index.php?option=com_user&view=register'));
$mainframe->close();
So the full function would look like this:

Code: Select all

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;
	}

Bacchus72
Joomla! Apprentice
Joomla! Apprentice
Posts: 24
Joined: Tue Jun 03, 2008 2:09 pm

Re: tinCaptcha - just another

Post by Bacchus72 » Mon Oct 27, 2008 2:35 am

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.

User avatar
yotta
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Sun Feb 24, 2008 6:07 pm
Contact:

Re: tinCaptcha - just another

Post by yotta » Fri Nov 14, 2008 2:34 pm

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. :)

ufo_hk
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Mon Nov 21, 2005 7:35 am
Location: Auckland
Contact:

Re: tinCaptcha - just another

Post by ufo_hk » Tue Nov 18, 2008 5:27 am

Thanks - nice and easy solution, epically as the edited forms have been provided. Making install a breeze.

mrtn
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Thu Jan 17, 2008 9:12 am
Location: Cardiff
Contact:

Re: tinCaptcha - just another

Post by mrtn » Mon Dec 01, 2008 9:42 pm

Hi

Does this extension work without Free Type library???

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

cheers
mrtn

User avatar
Replika
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Fri Apr 14, 2006 4:06 pm

Re: tinCaptcha - just another

Post by Replika » Sun Jan 04, 2009 3:40 am

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 :)

Alan_de
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Fri Jul 13, 2007 5:08 pm

Re: tinCaptcha - just another

Post by Alan_de » Sat Feb 21, 2009 5:35 pm

Replika wrote: ...
3. In File components\com_contact\views\contact\tmpl\default_form.php, find and add:

Code: Select all

			<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

tashik
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Mar 07, 2009 1:27 pm

Re: tinCaptcha - just another

Post by tashik » Sat Mar 07, 2009 1:37 pm

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

User avatar
Replika
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Fri Apr 14, 2006 4:06 pm

Re: tinCaptcha - just another

Post by Replika » Sun Mar 08, 2009 12:48 pm

It does not happen in my case. Maybe you open that page in many tabs?

tashik
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Mar 07, 2009 1:27 pm

Re: tinCaptcha - just another

Post by tashik » Sun Mar 08, 2009 12:56 pm

No, just in one tab... I can not understand when can happen the second call to the constructor method...

Baer22
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Apr 19, 2009 8:11 pm

Re: tinCaptcha - just another

Post by Baer22 » Sun Apr 19, 2009 8:16 pm

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

Baer22
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Apr 19, 2009 8:11 pm

Re: tinCaptcha - just another

Post by Baer22 » Wed Apr 22, 2009 5:17 pm

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

gstincaptcha
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Apr 29, 2009 12:25 pm

Re: tinCaptcha - just another

Post by gstincaptcha » Wed Apr 29, 2009 12:36 pm

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

ANDiTKO
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Fri Jan 19, 2007 1:39 am

Re: tinCaptcha - just another

Post by ANDiTKO » Fri Jun 05, 2009 11:11 am

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)

ANDiTKO
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Fri Jan 19, 2007 1:39 am

Re: tinCaptcha - just another

Post by ANDiTKO » Fri Jun 05, 2009 11:27 am

Ok.Ive found it.You can replace the fonts with easiest to read in the font folder.Witch is on

Code: Select all

[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

lhollopeter
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Mon Nov 17, 2008 3:05 pm

Re: tinCaptcha - just another

Post by lhollopeter » Fri Aug 07, 2009 4:29 pm

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.

User avatar
slavbase
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sat Oct 25, 2008 9:55 pm
Location: Ru
Contact:

Re: tinCaptcha - just another

Post by slavbase » Sat Aug 08, 2009 4:45 am

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?

User avatar
slavbase
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sat Oct 25, 2008 9:55 pm
Location: Ru
Contact:

Re: tinCaptcha - just another

Post by slavbase » Fri Aug 21, 2009 4:48 pm

Kunena 1.5.4+Community Builder 1.2.1+ kunenadiscuss 1.10 http://joomlacode.org/gf/download/frsre ... iscuss.zip

Help to integration tinCaptcha & Kunena Discussbot.

User avatar
monyamickle
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 155
Joined: Mon Dec 04, 2006 12:57 pm

Re: tinCaptcha - just another

Post by monyamickle » Thu Nov 05, 2009 6:15 pm

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

iits
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Jan 06, 2010 8:05 am
Contact:

Re: tinCaptcha - just another

Post by iits » Wed Jan 06, 2010 8:17 am

Hi, nice Component.
Here is a german translation:
You do not have the required permissions to view the files attached to this post.

C4rter
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Feb 01, 2010 2:35 pm

Re: tinCaptcha - just another

Post by C4rter » Mon Feb 01, 2010 2:37 pm

I tried the remember-function, but in Joomla 1.5.15 it won't work. I changed the line in the response.php, but the data is gone after typing in a wrong captcha code. How can I remember the formular data?

WSRyu
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Sun Nov 29, 2009 5:46 pm

Re: tinCaptcha - just another

Post by WSRyu » Tue Feb 09, 2010 6:42 pm

Hey!
Thnx for the component, it works fine but there is one thing that bothers me

when i open the page, there is no image showing the captcha, i first have to click on refresh and find this rather a drawback.

does anyone have a solution?
btw i want to change the font too, but it seemed rather complex and i dont know where to start...
thnx

oh yeah, and how do u save the form incase of a wrong captcha?

C4rter
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Feb 01, 2010 2:35 pm

Re: tinCaptcha - just another

Post by C4rter » Tue Feb 09, 2010 10:03 pm

WSRyu wrote:btw i want to change the font too, but it seemed rather complex and i dont know where to start...
That's really simple, just delete every font file in the font-folder(mentioned in this thread) and put in another font, downloaded from the site linked in this thread
WSRyu wrote:oh yeah, and how do u save the form incase of a wrong captcha?
That's the real question here :D

WSRyu
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Sun Nov 29, 2009 5:46 pm

Re: tinCaptcha - just another

Post by WSRyu » Wed Feb 10, 2010 5:42 pm

thnx for the font tip

in case anybody is wondering how to have an image upon reload, well i dont know, but

if u use the first method (outlined on page 1 of this thread, dont remember by who, but thnx!) and then just place a text string behind it saying that you have to click the image to reload, it helps the users. - yes, for me this wasnt very obvious as im rather new, but to the new ones it might help ;)

now just have to find out how to save the form...


Locked

Return to “Extensions for Joomla! 2.5”