Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
VirtueMart
Add Buyers to Joomla Groups for VirtueMart
Commits
534f85ca
Commit
534f85ca
authored
Mar 06, 2016
by
Reinhold Kainhofer
Browse files
V1.6.2: Fix SQL so that VM doesnt always try to alter the database
parent
3ed54b38
Changes
4
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
534f85ca
BASE
=
buyer_assign_group
PLUGINTYPE
=
vmcustom
ZIPBASE
=
opentools_vm
2
VERSION
=
1.6.
1
ZIPBASE
=
opentools_vm
VERSION
=
1.6.
2
PLUGINFILES
=
$(BASE)
.php
$(BASE)
.script.php
$(BASE)
.xml index.html
...
...
buyer_assign_group.php
View file @
534f85ca
...
...
@@ -91,16 +91,16 @@ class plgVmCustomBuyer_Assign_Group extends vmCustomPlugin {
function
getTableSQLFields
()
{
$SQLfields
=
array
(
'id'
=>
'int(1) UNSIGNED NOT NULL AUTO_INCREMENT'
,
'order_id'
=>
'int(11) UNSIGNED NOT NULL DEFAULT
0
'
,
'user_id'
=>
'int(11) UNSIGNED DEFAULT
0
'
,
'virtuemart_user_id'
=>
'int(11) UNSIGNED NOT NULL DEFAULT
0
'
,
'virtuemart_custom_id'
=>
'int(11) UNSIGNED NOT NULL DEFAULT
0
'
,
'virtuemart_customfield_id'
=>
'int(11) UNSIGNED NOT NULL DEFAULT
0
'
,
'virtuemart_order_item_id'
=>
'int(11) UNSIGNED
NULL
DEFAULT
0
'
,
'group_id'
=>
'int(11) UNSIGNED
NULL
DEFAULT
0
'
,
'group_type'
=>
'int(1) UNSIGNED
NULL
DEFAULT
0
'
,
'group_add'
=>
'
bool
DEFAULT
1
'
,
'modified'
=>
'
bool
DEFAULT
0
'
,
'order_id'
=>
'int(11) UNSIGNED NOT NULL DEFAULT
\'0\'
'
,
'user_id'
=>
'int(11) UNSIGNED DEFAULT
\'0\'
'
,
'virtuemart_user_id'
=>
'int(11) UNSIGNED NOT NULL DEFAULT
\'0\'
'
,
'virtuemart_custom_id'
=>
'int(11) UNSIGNED NOT NULL DEFAULT
\'0\'
'
,
'virtuemart_customfield_id'
=>
'int(11) UNSIGNED NOT NULL DEFAULT
\'0\'
'
,
'virtuemart_order_item_id'
=>
'int(11) UNSIGNED DEFAULT
\'0\'
'
,
'group_id'
=>
'int(11) UNSIGNED DEFAULT
\'0\'
'
,
'group_type'
=>
'int(1) UNSIGNED DEFAULT
\'0\'
'
,
'group_add'
=>
'
tinyint(1)
DEFAULT
\'1\'
'
,
'modified'
=>
'
tinyint(1)
DEFAULT
\'0\'
'
,
);
return
$SQLfields
;
}
...
...
buyer_assign_group.xml
View file @
534f85ca
...
...
@@ -6,7 +6,7 @@
<authorUrl>
http://www.open-tools.net/
</authorUrl>
<copyright>
Copyright (C) 2013-2014 Reinhold Kainhofer. All rights reserved.
</copyright>
<license>
http://www.gnu.org/licenses/gpl.html GNU/GPL v3+
</license>
<version>
1.6.
1
</version>
<version>
1.6.
2
</version>
<description>
VMCUSTOM_BUYER_GROUP_DESC
</description>
<files>
<filename
plugin=
"buyer_assign_group"
>
buyer_assign_group.php
</filename>
...
...
releases/plg_opentools_vm_buyer_assign_group_v1.6.2.zip
0 → 100644
View file @
534f85ca
File added
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment