Support Forums

add Recaptcha to contact owner private.php

This is a discussion on add Recaptcha to contact owner private.php within the Technical Support forums, part of the Technical Support Forums category; Hi! Ive installed reCaptcha and can see it when Im not logged in using this {dynamic} {if $pmon=="Y" && $smarty.session.uid ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 06-18-2010, 05:53 PM   #1
Customer
 
Join Date: May 2010
Posts: 11
Rep Power: 7
susawx is on a distinguished road
Default add Recaptcha to contact owner private.php

Hi! Ive installed reCaptcha and can see it when Im not logged in using this
{dynamic}
{if $pmon=="Y" && $smarty.session.uid > 0}

{elseif $allowcontact=="Y" && $display=="Y"}
{include file=contact/contactowner.tpl}
{/if}

{/dynamic}

but I want to add it the link that gets paths like this:
/private.php?action=contactowner&view=1

How can I add it?
Thanks
susawx is offline   Reply With Quote
Old 06-18-2010, 08:22 PM   #2
All Hands On Deck
 
seymourjames's Avatar
 
Join Date: Mar 2008
Posts: 3,527
Rep Power: 89
seymourjames is a jewel in the rough
Default

Why would you want to do that? They already have to be logged in. You are creating an unnecessary barrier for members. THe quickest way would be to remove the private links and just use the contact form whether someone is logged in or not.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is offline   Reply With Quote
Old 06-21-2010, 12:59 PM   #3
Customer
 
Join Date: May 2010
Posts: 11
Rep Power: 7
susawx is on a distinguished road
Default

ok, I won't add it if I am logged in, but how can I hide the Contact the owner link if I am not logged in?
susawx is offline   Reply With Quote
Old 06-21-2010, 01:34 PM   #4
All Hands On Deck
 
seymourjames's Avatar
 
Join Date: Mar 2008
Posts: 3,527
Rep Power: 89
seymourjames is a jewel in the rough
Default

I think that is an edit in the listingextras.tpl file if memory serves me correctly. Just put a test around it to show only when logged in.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is offline   Reply With Quote
Old 06-21-2010, 01:54 PM   #5
Customer
 
Join Date: May 2010
Posts: 11
Rep Power: 7
susawx is on a distinguished road
Default

Thanks, is done. Now, how can I add reCaptcha to "Write a review?" This path:
modules/rating/add.php?listing=210

Thanks!!
susawx is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
BCC on Contact the Owner HorseOptions Technical Support 21 03-27-2009 12:37 PM
Contact the owner castus Technical Support 4 12-06-2007 12:17 AM


All times are GMT -4. The time now is 03:39 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0