[Contribution] More_pics_6 v1.1 For osC 2.2 MS2
#1541
Posted 30 November 2010 - 03:05 PM
I'd greatly appreciate your help
Thank you
#1542
Posted 15 December 2010 - 03:19 PM
#1543 ONLINE
Posted 15 December 2010 - 06:16 PM
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#1544
Posted 04 January 2011 - 02:37 PM
<?php
define('HTTP_SERVER', 'http://www.mydomain.com');
define('HTTPS_SERVER', 'http://www.mydomain.com.com');
define('ENABLE_SSL', false);
define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com');
define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
define('DIR_FS_CATALOG', '/homez/myuser/www/mystore/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DB_SERVER', 'x');
define('DB_SERVER_USERNAME', 'x');
define('DB_SERVER_PASSWORD', 'x');
define('DB_DATABASE', 'x');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');
?>
#1545 ONLINE
Posted 04 January 2011 - 06:50 PM
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#1546
Posted 05 January 2011 - 11:09 AM
kymation, on 04 January 2011 - 06:50 PM, said:
Regards
Jim
Appreciating yours help very mych,
jAmesson.
#1547 ONLINE
Posted 05 January 2011 - 05:38 PM
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#1548
Posted 26 January 2011 - 06:37 PM
#1549
Posted 29 March 2011 - 02:42 PM
I have been using Advanced More Pics and like it very much but I have moved to 2.3.1 and that one includes multiple images but how do I transfer in all the extra images I have?
I find on forum How upgrade for Classic version of More Pics but I can't find information for Advanced.
Can you help me?
Thank you
#1551
Posted 04 June 2011 - 03:05 AM
kymation, on 10 June 2009 - 01:55 AM, said:
if ($num_products_images > 1) {
$small_images_string .= ' <a href="' . tep_href_link (basename ($PHP_SELF), 'products_id=' . $products_id . '#morepics') . '" name="morepics" ' . MORE_PICS_MOUSE_OPERATION . '="document.MainImage.src=\'' . DIR_WS_IMAGES . $images['image_filename'] . '\'">' . tep_image (DIR_WS_IMAGES . $images['image_filename'], $products_name, $image_width, $image_height, 'class="productsImages"') . '</a>';
}
$small_images_string .= ' </td>' . "\n";
and add this just after it: if (MORE_PICS_IMAGE_ROW > 0 && MORE_PICS_IMAGE_ROW == $images_order+1) {
$small_images_string .= ' </tr>' . "\n";
$small_images_string .= ' <tr>' . "\n";
}
Then run this SQL on your database:INSERT INTO `configuration` VALUES(NULL, 'Small Image Rows', 'MORE_PICS_IMAGE_ROW', '0', 'Set the maximum number of small images in a row. Location = Top or Bottom only. 0 = Off.', 6124, 40, now(), now(), NULL, NULL);Now go to your More Pics Admin and set Small Image Rows to the maximum number of thumbnails you want in a row.
This is untested, so beware of fat-finger typos. Please let me know if it works for you.
Regards
Jim
I have followed this solution, setting images per row to 3. It works for the the first row...but the remaining images (12 of them...all get placed on the second row).
Is it possible to amend this code so that each row displays only 3 images?
Thanks
Riz
#1552 ONLINE
Posted 04 June 2011 - 09:58 AM
if (MORE_PICS_IMAGE_ROW > 0 && ($images_order % MORE_PICS_IMAGE_ROW) == 0) {
RegardsJim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#1553 ONLINE
Posted 04 June 2011 - 10:02 AM
Edited by kymation, 04 June 2011 - 10:02 AM.
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#1554
Posted 04 June 2011 - 02:09 PM
kymation, on 04 June 2011 - 09:58 AM, said:
if (MORE_PICS_IMAGE_ROW > 0 && ($images_order % MORE_PICS_IMAGE_ROW) == 0) {
RegardsJim
Thanks Jim. That worked.
Just a word of warning for those that have even less PHP know how than me....you may need to adjust the second "0" to +1...+2...or something else...in order to fix the way the images are displayed in the rows. For example, I had 14 images, and each row was meant to display 3 images each (the last one would only have 2 images). With the "0" setting above....the first and last row had one image each and the rows in between had the full 3 images. For me, "+2 fixed this so that all rows had 3 images...except for the last one that had 2.
Riz.
#1555 ONLINE
Posted 04 June 2011 - 05:30 PM
Good to hear you got it working.
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#1556
Posted 04 July 2011 - 03:07 PM
Thanks for this contribution.
I've ran Autoinstaller 2.7 for More pics 6 v1.4.3.
Everythin works fine.
Is it possible that inslattation could change some text fields?
Here is an example:
screenshot
It is in the http://www.******.pl/admin/index.php
In Admin panel > Customers > Customers Everythink is in my language
In which .php file i could "translate" it?
#1557
Posted 04 July 2011 - 03:33 PM
An unmodified english version of the file looks like this:
<?php
/*
$Id: customers.php 1739 2007-12-20 00:52:16Z hpdl $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2002 osCommerce
Released under the GNU General Public License
*/
define('HEADING_TITLE', 'Customers');
define('HEADING_TITLE_SEARCH', 'Search:');
define('TABLE_HEADING_FIRSTNAME', 'First Name');
define('TABLE_HEADING_LASTNAME', 'Last Name');
define('TABLE_HEADING_ACCOUNT_CREATED', 'Account Created');
define('TABLE_HEADING_ACTION', 'Action');
define('TEXT_DATE_ACCOUNT_CREATED', 'Account Created:');
define('TEXT_DATE_ACCOUNT_LAST_MODIFIED', 'Last Modified:');
define('TEXT_INFO_DATE_LAST_LOGON', 'Last Logon:');
define('TEXT_INFO_NUMBER_OF_LOGONS', 'Number of Logons:');
define('TEXT_INFO_COUNTRY', 'Country:');
define('TEXT_INFO_NUMBER_OF_REVIEWS', 'Number of Reviews:');
define('TEXT_DELETE_INTRO', 'Are you sure you want to delete this customer?');
define('TEXT_DELETE_REVIEWS', 'Delete %s review(s)');
define('TEXT_INFO_HEADING_DELETE_CUSTOMER', 'Delete Customer');
define('TYPE_BELOW', 'Type below');
define('PLEASE_SELECT', 'Select One');
?>
"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -
"Headers already sent" - The definitive help
"Cannot redeclare ..." - How to find/fix it
SSL Implementation Help
Like this post? "Like" it again over there >
#1558
Posted 04 July 2011 - 05:54 PM
In customers.php everythinG is fine, in admin.php (as i attached screenshot) text isn't translated.
Am I right:
Every line that contains:
define('EXAMPLE_TEXT_1', 'Translated text');
I can edit green as I wish with leaving red without any changes?
#1559
Posted 04 July 2011 - 06:24 PM
My admin/index.php looks nothing like that at all.
You must have a mod installed or some custom coding.
You'll just have to look thru the files it's using and find/fix it yourself I guess.
"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -
"Headers already sent" - The definitive help
"Cannot redeclare ..." - How to find/fix it
SSL Implementation Help
Like this post? "Like" it again over there >
#1560
Posted 10 July 2011 - 01:50 PM
I've installed More pics as instructed...and it's all working apart from this.
products.php isn't even one of the pages that was changed - there was no mention in the instructions that this page required any changes.
Any help would be much appreciated...been spending hours on this









