Magento1.7 native captcha for NON-Loggen-In users - magento

I have used magento's native captcha for custom pages, as shown in this link. But it only displays if the user is not logged in. But i want to show magento's native captcha for logged in users also.
Is there any way to accomplish that ?

Have you try manually adding the captcha into your template? Not through the layout method?
echo $this->getLayout()->createBlock('captcha/captcha')
->setFormId('module_unique')
->setImgWidht(230)
->setImgHeight(50)
->toHtml();
As mentioned in that link, you will also need to load mage/captcha.js for it to work.

Related

Magento one page login not working

currently i am working with a magento shopping site.I am newbie to magento. When i tried to login via one page both login and create button are disabled.
Default login and create account working fine.I have added
<?php echo $this->getBlockHtml('formkey'); ?>
please help me to solve the problem.Thanks in advance.
please check this link
http://qwertykart.com/checkout/onepage/
Check your one page checkout setting if register is not enabled.
if there is no setting for this, then Install this Extension to see exact .phtml file, where you need to edit.
https://www.magentocommerce.com/magento-connect/easy-template-path-hints.html
After setup, you can get your template path by adding tp=1&code=1 in the url.
(You have to save code value in magento backend)
I see your Register button having "disabled"=disabled attribute. Try to remove that. After removing that you will be able to register.
Do it for other buttons as well.

How to use magento's native captcha for product review page and contact us form

In magento 1.7.0.2, a default captcha is available as out-of-box for only some forms like login, registration, checkout as guest only. But I want to use the same captcha for product review form also.
I have seen an extension which adds captcha for product review page, But it looks different from native captcha. If there are different no.of captcha's in one site, it doesnt looks good. So only I would like to add the native captcha for product review page and contact us page
Install the Product Review Captcha:
http://www.magentocommerce.com/magento-connect/7741.html
If you want to use only one type of captcha, you can install the free Fontis Recaptcha.
http://www.magentocommerce.com/magento-connect/fontis-recaptcha.html
Digital Pianism has developped an extension that implements the native Magento captcha on product review forms if you still need it.
You can find it here for now: https://www.magentocommerce.com/magento-connect/catalog/product/view/id/30268/
If the link dies, just google it ;)

I want to add CAPTCHA on shoppingcart.asp as well one-page-checkout.asp page in Volusion, can anybody help me how to do this? Thanks

My client has ecommerce store on Volusion and he is getting so many fake orders and now I want to add CAPTCHA before user login on shoppincart.asp page or one-page-checkout.asp page (before place order button).
My client website is www.featherstore.com
I already contacted Volusion support and they don't have any specific answer about this problem and just suggesting to take their serivce or get this done by their partner.
You can use google captcha for this :
Google reCaptcha
It is easy to use... You can find out the code how to put it. You just have to get one Public Key & Private Key for specific domain.
It's under the design menu in the admin panel, Hover over design, then click on articles.
Once on articles change display mode to list, and find one-page-checkout.asp and shoppingcart.asp click edit and add your code.
For reference use see:
Volusion File Editor Support
One Page Checkout and Advanced Shopping Cart Functionality in Volusion

User Is Logged Out When Generating PDF with DomPDF & Joomla 2.5

I have integrated DomPDF with a Joomla site that I am working on. I followed the Creating PDF Views article to achieve this and generating PDFs works well except that when the link is clicked and the PDF is generated from the component the user is logged out. I am using Joomla 2.5 & DomPDF 0.6.0 beta 3, the content for the PDF is generated from a custom component but right now it is just flat HTML and follows the instructions in the article for generating the view. I have looked at the code but can't seem to see where the problem is. Any help is greatly appreciated.
EDIT: The user does not get logged out if 'Remember Me' is checked on login. Also didn't mention that I am using Database as the setting for sessions.
Check the custom component that clearing the user object or not.
Any where session_destroy() or unset($user) or any other Factory call to reset the user object.If you can't find such a statement then the make sure the problem with that PDF creation.
In no way you can't get solution then try this.
Before creating PDF section current logged user object id set to Cookie you mentioned that it was not clearing remember me option.
$user = &JFactory::getUser();
echo $user->id //current logged user id.
and the process PDF again put it back to user object like.
$user = &JFactory::getUser($user_id);//from cookie.
This is not a perfect fix but your problem will solve.
Hope this will help..

joomla integrating external php signup form

I have a joomla website.here is the link
link for siteI want to integrate a external php signup and login form.I create a php signup form.It works perfecly.
signup linkBut the problem is i dont know how to integrate that form to my joomla web pages...I want to secure my web pages..Only registered users can view my page....please help me..
Why have you create your own register form? Joomla already has the one. To see it follow the link index.php?option=com_user&task=register, Login for there index.php?option=com_user&task=login. If you need more fields to be filled out during registation you may you Community Builder. This extention allows to add to user profie as many fields as you want
It is also possible to use Chronoforms to allow for registration that brings in multiple fields as well without having to bring in an external file for registration/login.
Using the tools Joomla has to stay within Joomla is really the best way to go about it. It will allow you to keep your sanity and keep things as uniformed as possible.

Resources