I try to implant 2 contributions in my shop.
But they will not fit.

I am a newbe on SQL
Is it posseble to write one script to make both contributions work?



SQLScript 1
Tabbed Products Pro

SET @gid=0;
SELECT @gid:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title LIKE '%Tabbed Products Config%'
LIMIT 1;
DELETE FROM configuration WHERE configuration_group_id = @gid;
DELETE FROM configuration_group WHERE configuration_group_id = @gid;
SET @gid=0;
SELECT @gid:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title LIKE '%TPP - Config%'
LIMIT 1;
DELETE FROM configuration WHERE configuration_group_id = @gid;
DELETE FROM configuration_group WHERE configuration_group_id = @gid;
DELETE FROM configuration_group WHERE configuration_group_title LIKE '%Tabbed Products Config%';
DELETE FROM configuration_group WHERE configuration_group_title LIKE '%TPP - Config%';
DELETE FROM configuration WHERE configuration_description LIKE 'Set this to 1%' LIMIT 12;
DELETE FROM configuration WHERE configuration_title LIKE 'TPP - %' LIMIT 12;
INSERT INTO configuration_group VALUES (NULL, 'TPP - Config', 'Tabbed Products Pro - Config', '1', '1');
SET @gid=last_insert_id();
UPDATE configuration_group SET sort_order = @gid WHERE configuration_group_id = @gid;
INSERT INTO configuration VALUES(NULL, 'TPP - Global Enable Tabs', 'GLOBAL_ENABLE_TABS', '1', 'Set this to 1 if you want to enable the global use of tabs on your products', @gid, 1, '2008-01-14 20:11:07', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Main Image On Tab', 'GLOBAL_MAIN_IMAGE_ON_TAB', '0', 'Set this to 1 if you want all products to have the Main Image on the first (Product Description) tab', @gid, 2, '2008-01-14 20:18:34', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Product Description Tab', 'GLOBAL_PROD_DESC_ON_TAB', '1', 'Set this to 1 if you want all products to have the Main Product Description on its own tab', @gid, 3, '2008-01-14 20:18:34', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Attributes on Tab', 'GLOBAL_ATTRIBUTES_ON_TAB', '0', 'Set this to 1 if you want the Attributes to appear on their own tab. This will only show up if the product has attributes to show. If there are no attributes, the tab will not show up.', @gid, 4, '2008-01-14 20:19:22', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Attributes on Add-to-Cart Tab', 'GLOBAL_ATTRIBUTES_ON_ATC_TAB', '0', 'Set this to 1 if you want the Attributes to appear on the Add-To-Cart tab. They will only show up if the product has attributes to show. YOU MUST ALSO LEAVE THE Global Attributes on Tab OPTION ENABLED. This will override the standalone tab and show the attributes on the Add-To-Cart tab only. If the Add-To-Cart tab is set to false, this will be ignored and the attributes will follow their own tab settings.', @gid, 5, '2008-01-14 20:19:22', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Details On Tabs', 'GLOBAL_DETAILS_ON_TAB', '1', 'Set this to 1 if you want the Product Details to appear on their own tab (weight, model number, etc). This will only show up if the product has details enabled. If there are no product details, the tab will not show up. ', @gid, 6, '2008-01-15 15:34:07', '0001-01-01 00:00:00', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Add To Cart Tab', 'GLOBAL_ADD_TO_CART_ON_TAB', '0', 'Set this to 1 if you want the add to cart button to be on its own tab. Note this includes Add To Cart button and Qty Discounts table.', @gid, 7, '2008-01-14 19:29:49', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Additional Images Tab', 'GLOBAL_ADDL_IMAGES_ON_TAB', '1', 'Set this to 1 if you want the additional images for a product on its own tab. This will only show up if the product has additional images to show. If there are no additional images, the tab will not show up.', @gid, 8, '2008-01-14 20:19:09', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Customers Also Purchased Tab', 'GLOBAL_CUST_ALSO_PURCH_ON_TAB', '1', 'Set this to 1 if you want the Customers Also Purchased module on its own tab. This will only show up if the product has other products to show. If there are no other products, the tab will not show up.', @gid, 9, '2008-01-14 20:19:15', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Cross Sell Tab', 'GLOBAL_CROSS_SELL_ON_TAB', '0', 'Set this to 1 if you want the Cross Sell module on its own tab. This will only work if Cross Sell contrib is already installed and the product has cross sell items set up. Otherwise it will just not show up.', @gid, 10, '2007-01-12 22:07:11', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Reviews Tab', 'GLOBAL_REVIEWS_ON_TAB', '1', 'Set this to 1 if you want the Product Reviews to show up on its own tab. This will always show up even if there are no reviews. The Review module has its own "No reviews found" so it defaults.', @gid, 11, '2008-01-14 20:19:36', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Show Tab Headers', 'SHOW_TAB_HEADERS', '1', 'Set this to 1 if you want a header bar to appear under the tabs, above the tab content', @gid, 12, '2007-01-12 22:07:11', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),');

SQL Script 2
HoverBox3

SET @hoverboxold=0;
SELECT (@hoverboxold:=configuration_group_id) as hoverboxold
FROM configuration_group
WHERE configuration_group_title= 'HoverBox<sup>2</sup>';
DELETE FROM configuration WHERE configuration_group_id = @hoverboxold;
DELETE FROM configuration_group WHERE configuration_group_id = @hoverboxold;

SET @hoverbox=0;
SELECT (@hoverbox:=configuration_group_id) as hoverbox
FROM configuration_group
WHERE configuration_group_title= 'HoverBox 3';
DELETE FROM configuration WHERE configuration_group_id = @hoverbox;
DELETE FROM configuration_group WHERE configuration_group_id = @hoverbox;

INSERT INTO configuration_group VALUES (NULL, 'HoverBox 3', 'HoverBox 3 Configuration Options', '1', '1');
UPDATE configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id();

SET @hoverbox=0;
SELECT (@hoverbox:=configuration_group_id) as hoverbox
FROM configuration_group
WHERE configuration_group_title= 'HoverBox 3';

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function)

VALUES

(NULL, 'Enable HoverBox?', 'HOVERBOX_ENABLED', 'true', 'If set to true, all your product images will display using the HoverBox effect when viewing larger images. <br />If additional products exist, they will be presented in a slideshow fashion. Customers have the option to go through them manually or via the autoplay function.<br /><br /><b>Default: true</b><br />', @hoverbox, 10, NOW(), NOW(), NULL, 'zen_cfg_select_option( array(''true'', ''false''), '),
(NULL, 'Include Product Title?', 'HOVERBOX_DISPLAY_TITLE', 'true', 'If set to true, the title of your product will be included below your product image.<br /><br /><b>Default: true</b><br />', @hoverbox, 20, NOW(), NOW(), NULL, 'zen_cfg_select_option( array(''true'', ''false''), '),
(NULL, 'Include Product Price?', 'HOVERBOX_DISPLAY_PRICE', 'true', 'If set to true, the price of your product will be included below your product image.<br /><br /><b>Default: true</b><br />', @hoverbox, 30, NOW(), NOW(), NULL, 'zen_cfg_select_option( array(''true'', ''false''), '),
(NULL, 'Include Product Description?', 'HOVERBOX_PRODUCT_DESC', 'false', 'If set to true, the products description will be included below your product image. You can limit the number of characters as well.<br /><br /><b>Default: false</b><br />', @hoverbox, 40, NOW(), NOW(), NULL, 'zen_cfg_select_option( array(''true'', ''false''), '),
(NULL, 'Product Description Limitation', 'HOVERBOX_MAX_DESC_LENGTH', '200', 'Limit the number of characters for the product description displayed, if enabled.<br /><br /><b>Default: 200</b><br />', @hoverbox, 50, NOW(), NOW(), NULL, NULL),
(NULL, 'Z-Index of HoverBox?', 'HOVERBOX_ZINDEX', '5000', 'This is the layer at which HoverBox resides on the page while viewing your product images. Change this to a higher value if your having problems with anything protruding into your effect.<br /><br /><b>Default: 5000</b><br />', @hoverbox, 60, NOW(), NOW(), NULL, NULL),
(NULL, 'Use Smart Image Resizing?', 'HOVERBOX_SMART_RESIZE', 'true', 'If smart resizing is enabled, HoverBox will resize the image if it is to big to fit within the viewable browser area. Basically this keeps the entire image within view, even if it is too big for the screen.<br /><br /><b>Default: true</b><br />', @hoverbox, 70, NOW(), NOW(), NULL, 'zen_cfg_select_option( array(''true'', ''false''), '),
(NULL, 'Background Color of HoverBox Contents?', 'HOVERBOX_BACKGROUND_COLOR', '#ffffff', 'This is the background color for the HoverBox itself. Where your product image resides when viewing a larger view.<br /><br /><b>Default: #ffffff</b><br />', @hoverbox, 80, NOW(), NOW(), NULL, NULL),
(NULL, 'Enable Overlay?', 'HOVERBOX_OVERLAY_ENABLE', 'true', 'While viewing a product image, your store is overlayed with a background color (or image on the Mac, overlay.png). You can enable/disable this functionality if you so choose.<br /><br /><b>Default: true</b><br />', @hoverbox, 90, NOW(), NOW(), NULL, 'zen_cfg_select_option( array(''true'', ''false''), '),
(NULL, 'Background Color of Page Overlay?', 'HOVERBOX_OVERLAY_BACKGROUND', '#000000', 'This is the background color for the overlay that covers your page while HoverBox is active, for compatibility purposes FireFox &amp; Safari on the Mac use overlay.png located in your template images folder inside the hoverbox folder.<br /><br /><b>Default: #000000</b><br />', @hoverbox, 100, NOW(), NOW(), NULL, NULL),
(NULL, 'Overlay Background Opacity?', 'HOVERBOX_OVERLAY_OPACITY', '0.85', 'The opacity of the overlay used while HoverBox is active. If the number is less than one, be sure to include the leading zeroes.<br /><b>Default: 0.85</b><br />', @hoverbox, 110, NOW(), NOW(), NULL, NULL),
(NULL, 'Padding for HoverBox Contents?', 'HOVERBOX_BORDER_SIZE', '10', 'The padding, or spacing of the inner-contents of HoverBox<br /><br /><b>Default: 10</b><br />', @hoverbox, 120, NOW(), NOW(), NULL, NULL),
(NULL, 'Radius of Rounded Corners?', 'HOVERBOX_CORNER_RADIUS', '10', 'Without using images, HoverBox has the ability to have rounded corners. The higher the value, the more rounded the corners will render. Set to 0 for no rounded corners.<br /><br /><b>Default: 10</b><br />', @hoverbox, 130, NOW(), NOW(), NULL, NULL),
(NULL, 'HoverBox Close Button Opacity - Normal?', 'HOVERBOX_CLOSE_NORMAL', '0.65', 'The initial opacity of the close button used by HoverBox.<br /><br /><b>Default: 0.65</b><br />', @hoverbox, 140, NOW(), NOW(), NULL, NULL),
(NULL, 'HoverBox Close Button Opacity - Hover?', 'HOVERBOX_CLOSE_HOVER', '1', 'The opacity of the close button used by HoverBox during mouseover.<br /><br /><b>Default: 1</b><br />', @hoverbox, 150, NOW(), NOW(), NULL, NULL),
(NULL, 'Additional Images - End-to-Beginning?', 'HOVERBOX_END_BEG', 'false', 'Allow customers to loop to the beginning of the images from the last image. This does not pertain to the autoplay function.<br /><br /><b>Default: false</b><br />', @hoverbox, 160, NOW(), NOW(), NULL, 'zen_cfg_select_option( array(''true'', ''false''), '),
(NULL, 'Enable Slideshow Feature?', 'HOVERBOX_SHOW_SLIDE', 'true', 'If you have additional product images or other views of your product, this option enables/disables the slideshow functionality.<br /><br /><b>Default: true</b><br />', @hoverbox, 170, NOW(), NOW(), NULL, 'zen_cfg_select_option( array(''true'', ''false''), '),
(NULL, 'Slideshow Interval (seconds)?', 'HOVERBOX_SLIDE_DELAY', '5', 'The time, in seconds, to display each image in the slideshow.<br /><br /><b>Default: 5</b><br />
', @hoverbox, 180, NOW(), NOW(), NULL, NULL),
(NULL, 'Additional Image Text - Image 1 of 10?', 'HOVERBOX_IMG_NUMBER', 'Image #{position} of #{total}', 'Sets the "Image 1 of 2" text when there is more than one image.<br />
<br />
The text is replaced with a regular expression: #{position} is the number of the current image, #{total} is the total number of images.<br />
<br /><b>Examples:</b><br />Image #{position} of #{total} - default English<br />
Image #{position} (of #{total}) - English variation <br />
Imagen #{position} de #{total} - Espanol<br />Immagine #{position} di #{total} - Italian<br />Bild #{position} von #{total} - German<br>
Image #{position} de #{total} - French <br>
イメージ #{position} の #{total} - Japanese <br />
<br /><b>Default: Image #{position} of #{total}</b><br />', @hoverbox, 190, NOW(), NOW(), NULL, NULL);