general

Remove recommended a product to a friend - Joomla VirtueMart

If you want to disable recommended to a friend on the VirtueMart product page, you can disable in VM Admin Configuration/Site/Display/Show the "Recommend to a friend" link.

Here's how we patched the vulnerability on our sites:

Edit <Joomla root>/administrator/components/com_virtuemart/html/shop.recommend.php

Right under

if( !defined( '_VALID_MOS' ) &amp;amp;&amp;amp; !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );

add this:

Disable Joomla registration, and contact form module

The default url for Joomla to access the user registration page form without creating a menu link is:

index.php?option=com_users&view=registration

Just add that string after yourwebsite.com

For example:
http://www.yourwebsite.com/index.php?option=com_users&view=registration

The default url for Joomla to access the user contact form page form without creating a menu link is:

index.php?option=com_contact&view=contact&id=1