VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum
Welcome, Guest
Username: Password: Remember me

TOPIC: Plugin fields not showing.

Plugin fields not showing. 26 Jun 2014 20:57 #1

Hi, I have configured the plugin, but when i go to the product custom field, i select the pulgin, click apply and the drop downs where i should select shopper group does not appear at all.

Tried it both on FF and Chrome. Sending attachment.
PHP version is 5.3.12, joomla 2.5.17, VM 2.0.16
Attachments:
The administrator has disabled public write access.

Plugin fields not showing. 14 Jul 2014 23:27 #2

That's really strange. Does your webserver log show any PHP warnings/error messages that indicate that the drop down box could not be created?

Best regards,
Reinhold
The administrator has disabled public write access.

Plugin fields not showing. 04 Sep 2014 17:37 #4

Hi Reinhold, I am the Customer that purchased Add Buyers to Joomla Groups Plugin and my dev. batjoro has attempted to implement the Plugin and has been unsuccessful.

I purchased the plugin in hopes of its functionality integrating into my Joomla/VM site.
Can you please help us fully integrate this plugin? Its been months since I purchased and I have not gotten my moneys worth.

I will try and reach you at you other outlets as well to get this matter addressed.

batjoro replied and suggested that you look at the back-end. Please consider this as we need this up an running. We can give you the back-end access.... I look forward to you reply. Thanks
The administrator has disabled public write access.

Plugin fields not showing. 04 Sep 2014 21:51 #5

Dear Shawn, dear Batjoro,
while reading your initial message again, I noticed that you are using quite an outdated version of VirtueMart. You should be aware that all versions up to VirtueMart 2.0.22 contain serious security issues!
virtuemart.net/news/latest-news/446-impo...at-joomladay-germany
virtuemart.net/news/latest-news/445-virt...nd-important-updates

Upon further thought, that old version also explains the problem you are having: The plugin relies on a small feature that was added in newer VM versions, but is not in your version. The log error confirms this, because in newer VM versions, this very case is actually handled.

If you cannot (or don't want to) update to the latest VirtueMart version, you can manually add the corresponding three lines of code to one of the VirtueMart core files to fix the problem. In particular, in the latest VirtueMart version the file administrator/components/com_virtuemart/helpers/html.php contains the following code starting at line 85:
    static function row($func,$label){
		$VmHTML="VmHTML";
		if (!is_array($func)) {
			$func = array($VmHTML, $func);
		}
		$passedArgs = func_get_args();
		array_shift( $passedArgs );//remove function
		array_shift( $passedArgs );//remove label
...

In contrast, your version of VM contains the following code at line 70:
    static function row($func,$label){
		$VmHTML="VmHTML";
		$passedArgs = func_get_args();
		array_shift( $passedArgs );//remove function
		array_shift( $passedArgs );//remove label
...

As you see, the change in newer VM versions is the added
		if (!is_array($func)) {
			$func = array($VmHTML, $func);
		}

Simply add these lines to your VM code and the plugin should work. You don't have to worry about updates (i.e. most manual changes to the VM code would be overwritten when you update VM), because if you update your VM installation to the latest version, that version already has that code included...

I hope this helps,
Reinhold
The administrator has disabled public write access.

Plugin fields not showing. 18 Jul 2014 19:10 #3

The only warning that I see is this:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, second array member is not a valid method in administrator/components/com_virtuemart/helpers/html.php on line 87

If you want I can send you user and pass for the backend so you can check this issue. Thanks.
The administrator has disabled public write access.

VM - Shopping cart

 x 

Cart empty

Login Formular