Det
e
IsearchFKatwoman%20XXX2S Nastysensualchicks upsearch2 Det 1www.nasty8com% Nastysensualchicks 0%CD%F8%C2%E7%CA%D5%BC%AF+2011.12.28+%CC%EC%BA%A3%D2%ED+%C8%AB%CF%B5%C1%D02 Nastysensualchicks % Det 0searchasearchg2searchB Nastysensualchicks osearch% Det 0% Det 2% Det 6searchAsearch- Nastysensualchicks Csearch% Det C Det C5 Det A Nastysensualchicks %332CaHR0cDovL2Rvd24ucXEuY29tL3Fxa2FydC9mdWxsL1FRU3BlZWQxLjAwQjM0QjAwNS5leGU%3DC Nastysensualchicks 1%C8%D5%B1%BEgirls%20handjob%
80o Det hia% Det 0S Det n Det isearchBsearch% Det 6 Nastysensualchicks Dsearch%D search Nastysensualchicks asearchtnasty8.coms
l
h Det csearchs Det osearchNsearchs Nastysensualchicks ysearche Nastysensualchicks s Nastysensualchicks a Det c1328096795321_Ri Nastysensualchicks kwww.bg.67.com Det s
asearchc Det r Nastysensualchicks N Nastysensualchicks ssearchyesearchssearcha Det c Det ic Det s Det esa Det c0T
a Nastysensualchicks | Maintainers: | toasty |
| Add file to this package |
Attribute Sets Plus for osCommerce 2.2 MS2
=================================
Purpose of this Contribution
--------------------------------
This contribution builds on the original Attributesets contribution. It provides the ability to add a set of predefined 'attributes' (herafter known as an Attribute Set) to a product.
Attributes Sets Plus irons out the creases of the excellent original contribution for a smoother operation.
CHANGES
-----------
(commercial info removed) has provided the following imements:
- This contribution is now register_globals OFF ready
- Ability to add multiple attribute sets to a single product at a time.
- The engine now uses database structures instead of arrays.
- A number of bugs were ironed out
- The processes alterred to allow for legacy products AND legacy attributes to co-exist with new attributes sets
- The deletes now make mor logical sense and work correctly
- No core osC tables are alterred - custom tables are used instead
- Less chance of conflict with other contributions (so I am told)
- The install is clear and well commented to help spot editting errors
See the install file for more information.
Support Thread is here:
index.php?showtopic=173616
Note: As far as I can see this contribution includes at least everything up to attribute sets 5.5, although it is not the same code and did not follow the same development path.
Legend: Download Report
PROBLEM: THE ADMINISTRATOR LOGIN SCREEN IS BLOCKED
All works fine in localhost but when I transfer the files to my server by FTP, the Administrator Login Screen is blocked.
FIX:
In the files:
/catalog/admin/includes/database_tables.php
/catalog/includes/database_tables.php
Insert a space before 'products_attributes_sets_elements'.
BEFORE:
define('TABLE_PRODUCTS_ATTRIBUTES_SETS_ELEMENTS','products_attributes_sets_elements');
AFTER:
define('TABLE_PRODUCTS_ATTRIBUTES_SETS_ELEMENTS', 'products_attributes_sets_elements');
------------------------------------------------------------------------------------
SunDust
To use this great contribution in a Multilanguage store, make the next steps:
First:
Make the same changes in the files of your language (in my case, spanish):
"/catalog/admin/includes/languages/english.php" --> make the same changes in --> "/catalog/admin/includes/languages/espanol.php"
"/catalog/admin/includes/languages/english/categories.php" --> make the same changes in --> "/catalog/admin/includes/languages/espanol/categories.php"
"/catalog/admin/includes/languages/english/products_attributes.php" --> make the same changes in --> "/catalog/admin/includes/languages/espanol/products_attributes.php"
Second:
COPY also the next files in your language folder (in my case, "spanol" folder):
/catalog/admin/includes/languages/english/products_attributes_sets.php
/catalog/admin/includes/languages/english/products_attributes_sets_edit.php
/catalog/admin/includes/languages/english/images/buttons/button_add_as.gif
/catalog/admin/includes/languages/english/images/buttons/button_create.gif
---------------------------------------------------------------------------------
Well, now we have a problem. If you use Multilanguage you will see the Attributes and the Values of the different languages at the same time when you make new attribute sets. The contribution works but is something uncomfortable. To fix this, make the next changes in the file "/catalog/admin/products_attributes_sets.php":
1a.- Change this:
$options_name_query_sql = "select po.products_options_name, po.products_options_id from " . TABLE_PRODUCTS_OPTIONS . " po where po.products_options_id=".$_POST['products_options_id'];
1b.- To this:
$options_name_query_sql = "select po.products_options_name, po.products_options_id from " . TABLE_PRODUCTS_OPTIONS . " po where po.language_id = '" . (int)$languages_id . "' and po.products_options_id=".$_POST['products_options_id'];
-----------------------------------------------
2a.- Change this:
$attributeSets_query = tep_db_query("select products_options_id, products_options_name from " . TABLE_PRODUCTS_OPTIONS . " order by products_options_name");
2b.- To this:
$attributeSets_query = tep_db_query("select products_options_id, products_options_name from " . TABLE_PRODUCTS_OPTIONS . " where language_id = '" . (int)$languages_id . "' order by products_options_name");
-----------------------------------------------
3a.- Change this:
$attribute_set_sql = "SELECT pas.products_attributes_sets_id, pas.products_attributes_sets_name, pas.products_options_id, po.products_options_name, pase.products_attributes_sets_elements_id, pase.options_values_id, pase.options_values_price, pase.price_prefix, pase.sort_order FROM " . TABLE_PRODUCTS_ATTRIBUTES_SETS . " pas, " . TABLE_PRODUCTS_ATTRIBUTES_SETS_ELEMENTS . " pase, ". TABLE_PRODUCTS_OPTIONS . " po WHERE pas.products_attributes_sets_id = " . $_GET['attset_id'] . " AND pas.products_attributes_sets_id = pase.products_attributes_sets_id AND pas.products_options_id = po.products_options_id ORDER BY pase.sort_order";
3b.- To this:
$attribute_set_sql = "SELECT pas.products_attributes_sets_id, pas.products_attributes_sets_name, pas.products_options_id, po.products_options_name, pase.products_attributes_sets_elements_id, pase.options_values_id, pase.options_values_price, pase.price_prefix, pase.sort_order FROM " . TABLE_PRODUCTS_ATTRIBUTES_SETS . " pas, " . TABLE_PRODUCTS_ATTRIBUTES_SETS_ELEMENTS . " pase, ". TABLE_PRODUCTS_OPTIONS . " po WHERE pas.products_attributes_sets_id = " . $_GET['attset_id'] . " AND pas.products_attributes_sets_id = pase.products_attributes_sets_id AND pas.products_options_id = po.products_options_id AND po.language_id = '" . (int)$languages_id . "' ORDER BY pase.sort_order";
-----------------------------------------------
4a.- Change this:
$options_query_sql = "select pov.products_options_values_name, pov.products_options_values_id from " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov, " . TABLE_PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS . " pov2po where pov2po.products_options_id = " . (int)$_POST['products_options_id'] . " and pov.products_options_values_id = pov2po.products_options_values_id order by pov.products_options_values_name";
4b.- To this:
$options_query_sql = "select pov.products_options_values_name, pov.products_options_values_id from " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov, " . TABLE_PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS . " pov2po where pov2po.products_options_id = " . (int)$_POST['products_options_id'] . " and pov.products_options_values_id = pov2po.products_options_values_id and pov.language_id = '" . (int)$languages_id . "' order by pov.products_options_values_name";
-----------------------------------------------
5a.- Change this:
$options_query_sql = "SELECT pov.products_options_values_name, pov.products_options_values_id FROM " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov, " . TABLE_PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS . " pov2po where pov2po.products_options_id = '" . $attribute_set['products_options_id'] . "' and pov.products_options_values_id=pov2po.products_options_values_id order by pov.products_options_values_name";
5b.- To this:
$options_query_sql = "SELECT pov.products_options_values_name, pov.products_options_values_id FROM " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov, " . TABLE_PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS . " pov2po where pov2po.products_options_id = '" . $attribute_set['products_options_id'] . "' and pov.products_options_values_id=pov2po.products_options_values_id and pov.language_id = '" . (int)$languages_id . "' order by pov.products_options_values_name";
-----------------------------------------------
SunDust
Added use notes
moved history to a separate file
+ when adding a set:
fixed some text formatting
after adding set go directly back to sets main page and skip 'set successfully created' page, confirm message appears in sets mainpage
Full Package + update guides
+ Cleaned up code in admin/products_attributes_sets_edit.php (No code change)
+ moved some language defines to admin/includes/languages/english/products_attributes_sets_edit.php file
+ fixed formatting of some text when editing sets, added black divider lines
+ bypassed update/saved successful page, instead added alerts and returns to main catalog page
+ confirmed OSC 2.2rc2a compatible
FULL Package + update guides
+ Cleaned up code in admin/products_attributes_sets.php (No code change)
+ Added ability to increase number of lines in a set. Thanks to HundPferd for the code.
+ moved some language defines to admin/includes/languages/english/products_attributes_sets.php file
+ fixed formatting of some text when editing sets, added black divider lines
+ bypassed update/saved successful page, instead added alerts and returns to main attributes sets page
+ confirmed OSC 2.2rc2a compatible
Complete Package+update guide
Added missing language define for the attribute sets button in admin.
Based on Linkmatics Attribute Sets Plus v1.2a uploaded 24 Jan 2008