News:

Looking for documentation? Take a look on our wiki

Main Menu

Recent posts

#1
Installation, Migration & Upgrade / Re: class does not exist Plgvm...
Last post by PRO - April 13, 2026, 22:27:00 PM
its from a file,

did you turn on debug, error reporting and find the file?
#3
solved the problem, now any captcha can work also on J5 and J6

components/com_virtuemart/hellpers/shopfunctionsf.php

line 1276: replace both renderCaptcha and checkCaptcha functions with this:

   /*
    * @author Davide Reitano
    */

   static public function renderCaptcha($config = 'reg_captcha', $id = 'dynamic_recaptcha_1') {

   static $counter;
   if (empty($counter)) $counter = 1;

   if ($id === 'dynamic_recaptcha_1') {
      $id = 'dynamic_recaptcha_' . $counter;
      $counter++;
   }

   if (VmConfig::get($config) and ((JFactory::getUser()->guest == 1) || (VmConfig::get($config . '_logged')))) {

      $captchaPlugin = JFactory::getConfig()->get('captcha', '');

      if ($captchaPlugin === '0') {
         $captchaPlugin = null;
      }

      JPluginHelper::importPlugin('captcha', $captchaPlugin);

      try {
         $pluginName = empty($captchaPlugin) ? '' : $captchaPlugin;

         // solo gruppo captcha, non evento globale Joomla
         vDispatcher::directTrigger('captcha', $pluginName, 'onInit', array($id));

         // nome campo STRINGA, non null
         $fieldName = 'cf-turnstile-response';

         $output = vDispatcher::directTrigger(
            'captcha',
            $pluginName,
            'onDisplay',
            array($fieldName, $id, 'required')
         );

      } catch (Exception $e) {
         JFactory::getApplication()->enqueueMessage($e->getMessage(), 'error');
         if (empty($output)) $output = array();
      }

      $out = '';

      if (is_array($output)) {
         foreach ($output as $html) {
            if (empty($html)) continue;
            $out .= $html;
         }
      } else if (is_string($output)) {
         $out .= $output;
      }

      return $out;
   }

   return '';
}

   /**
    * Check the Joomla ReCaptcha Plg
    *
    * @author Davide Reitano
    */
    static function checkCaptcha($config = 'reg_captcha') {

   if (VmConfig::get($config) and ((JFactory::getUser()->guest == 1) || (VmConfig::get($config . '_logged')))) {

      $app   = JFactory::getApplication();
      $input = $app->input;

      $captchaPlugin = JFactory::getConfig()->get('captcha', '');
      if ($captchaPlugin === '0') {
         $captchaPlugin = null;
      }

      $captchaResponse = $input->post->getString('cf-turnstile-response', '');

      if ($captchaResponse === '') {
         $captchaResponse = $input->post->getString('g-recaptcha-response', '');
      }

      if ($captchaResponse === '') {
         $captchaResponse = $input->post->getString('recaptcha_response_field', '');
      }

      if ($captchaResponse === '') {
         vmInfo('COM_VM_RECAPTCHA_ERROR');
         return false;
      }

      JPluginHelper::importPlugin('captcha', $captchaPlugin);

      try {
         $pluginName = empty($captchaPlugin) ? '' : $captchaPlugin;

         $res = vDispatcher::directTrigger(
            'captcha',
            $pluginName,
            'onCheckAnswer',
            array($captchaResponse)
         );
      }
      catch (Exception $e) {
         $errmsg = $e->getMessage();

         switch ($errmsg) {
            case 'missing-input-secret':
            case 'invalid-input-secret':
            case 'missing-input-response':
            case 'invalid-input-response':
            case 'bad-request':
            case 'timeout-or-duplicate':
               vmInfo('COM_VM_RECAPTCHA_ERROR_' . strtoupper(str_replace('-', '_', $errmsg)));
               break;
            default:
               vmInfo($errmsg);
               break;
         }

         return false;
      }

      if (empty($res)) {
         vmInfo('COM_VM_RECAPTCHA_ERROR');
         return false;
      }

      foreach ($res as $ret) {
         if (!$ret) {
            vmInfo('COM_VM_RECAPTCHA_ERROR');
            return false;
         }
      }

      return true;
   }

   return true;
}
#4
Administration & Configuration / Menu side bar
Last post by johnknit - April 08, 2026, 11:00:48 AM
Hello,
Is it possible to hide the menu side bar permanent until you deside you want to use it.
An extra button for permanent or temporaly hiding.??
At the moment the sidebar come back every time there is bin a saving or other action. Therefore you need to hide the sidebar over and over again.
This takes a lot of time when working on it.
#5
Coding Central / Re: VirtueMart shipping/paymen...
Last post by razor7 - April 07, 2026, 13:16:09 PM
Great! Shipping/payment order is an issue for years now. Sometimes you need to force order and that is really difficult as of right now.
#6
Coding Central / Re: Search results varies acco...
Last post by razor7 - April 07, 2026, 13:12:30 PM
Bump 2?
#7
About VirtueMart - not for support posts / Re: Joomla 6
Last post by rdcustom - April 06, 2026, 17:56:09 PM
this means that virtuemart will finally exit from 2008?

damn is so frustrating to pay a membership after many promises and feeling dumb cause nothing is changing here
#8
In what situation does such an error occur?
#9
Hi!

I'm currently using Joomla 5.4.4 with Virtuemart 4.6.4 11226 and I get the 500 Joomla\CMS\HTML\HTMLHelper Select not found.

Any fix?

Thank you
#10
Coding Central / Re: Search results varies acco...
Last post by razor7 - April 02, 2026, 13:31:07 PM
Bump?