Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


ggbig last won the day on April 1 2015

ggbig had the most liked content!


About ggbig

  • Rank
  • Birthday 05/24/1972

Profile Information

  • Real Name
    Gerald Bullard Jr.
  • Gender
  • Location
  • Interests
    Music, Computers, Internet, Software and good ol fashioned FUN!
  • Website
  1. I have added the work I havd done to this repo for ANYONE interested :) It is public and feel free to fork it, complete it etc! https://github.com/geraldbullard/osCommerce-v2.3.4-Responsive-Admin
  2. @@irishguy9 no yet yet, I will create a public repo very soon and post the work I have done so far for anyone who would like a copy... It is not complete by any means, as per the pages in the admin being all converted to this layout, but there is certainly enough of the bulk of the work done for most any programmer to further it to completion. I will post the github link and possibly create a pull request to the GOLD release if the fine folks keeping that one updated are interested :) Thanks for asking too!
  3. Hmm, ok @@bruyndoncx if it was fixed, I might have a slightly different version of the GOLD zip possibly... I saw the equalheight classname but still saw the non equal height listings... Either way thanks for the update, and possibly I have added a second solution if the first deems not 100% successful :) Look for much more admin work from me very soon. I have just completed the Administrators section of the admin: Full: http://grabilla.com/05402-bf30a71b-5f4f-47cb-9016-16fb9542518c.png MED: http://grabilla.com/05402-3c61f896-fb0f-4f80-8f89-25325fa97fbd.png SM: http://grabilla.com/05402-b547517b-9ba0-492a-a000-2768d62f2dec.png XS: http://grabilla.com/05402-622ba2df-b9ba-4675-a938-2448a1872939.png hopefully MANY of you will enjoy this work :) Peace!
  4. Just a tidbit that folks will LOVE!!! The Layout Problem: http://grabilla.com/05401-159e0fdd-200f-45c4-b153-53ef5f153bef.png The Desired Layout: http://grabilla.com/05401-cf761074-d2a3-4061-a3b6-1361583ef6cf.png The Solution: < script > /* Thanks to CSS Tricks for pointing out this bit of jQuery http://css-tricks.com/equal-height-blocks-in-rows/ It's been modified into a function called at page load and then each time the page is resized. One large modification was to remove the set height before each new calculation. */ equalheight = function(container) { var currentTallest = 0, currentRowStart = 0, rowDivs = new Array(), $el, topPosition = 0; $(container).each(function() { $el = $(this); $($el).height('auto') topPostion = $el.position().top; if (currentRowStart != topPostion) { for (currentDiv = 0 ; currentDiv < rowDivs.length ; currentDiv++) { rowDivs[currentDiv].height(currentTallest); } rowDivs.length = 0; // empty the array currentRowStart = topPostion; currentTallest = $el.height(); rowDivs.push($el); } else { rowDivs.push($el); currentTallest = (currentTallest < $el.height()) ? ($el.height()) : (currentTallest); } for (currentDiv = 0 ; currentDiv < rowDivs.length ; currentDiv++) { rowDivs[currentDiv].height(currentTallest); } }); } $(window).load(function() { equalheight('.thumbnail'); }); $(window).resize(function(){ equalheight('.thumbnail'); }); < /script >
  5. And here's a nice one with some CSS Truncation for the longer config title: http://grabilla.com/05401-bcff1f53-f937-4b88-a717-d8c330c1ae4b.png
  6. Started making the admin side Mobile Responsive last night, and have a few pics to share... I will try to get the code into a github repo and create a pull request soon :) http://grabilla.com/05401-9555d702-b88a-4503-9477-e4e987a7ea2c.png http://grabilla.com/05401-b913e3d8-a187-4023-b16b-606e9d79d14e.png http://grabilla.com/05401-a8e7db07-d8ef-487d-b0ec-2bd45aced4e4.png http://grabilla.com/05401-46906c35-535c-4ca6-8568-b47806990b02.png Thanks to everyone who has put the hard work into the store side :)
  7. ggbig

    Get 1 Free

    Hi everyone, Just wondering if anyone here has found a way to add a product to the cart that is already in the cart as a free item? For example: I add item A in the correct qty to qualify to get item B free in it's correct qty. Then let's say I wish to add another item B to the cart and pay for it outright. As of now I can not seem to make this happen. If anyone has an idea of how please reply. Thanks so much for a great addition to the osCommerce family of addons :)
  8. ggbig


    Hi there folks. Must say this is by far one of the best MODS available and I have been very firtuneate to benefit greatly from it. Donw to business... I have a CRE Loaded site this is installed on and have a problem with the checkout and the shipping modules that are not free. When checking out with plenty of points available to cover the entire order total (including the shipping) the checkout confirmation continuously kicks me back to the checkout payment screen with the "Points value are not enough to cover the cost of your purchase. Please select another payment method" error. When i select a shipping module that is free of charge or store pickup method etc... the cart goes to checkout confirmation just fine. I have done a small amount of debugging to see what info I could arm myself with for this request. in checkout confirmation here you can see the (highlighted) code i have added: if (isset($HTTP_POST_VARS['customer_shopping_points_spending']) && USE_REDEEM_SYSTEM == 'true') { if (isset($HTTP_POST_VARS['customer_shopping_points_spending']) && tep_calc_shopping_pvalue($customer_shopping_points_spending) <= $order->info['total'] && !is_object($$payment)) { echo 'error is here<br>'; echo 'total: ' . $order->info['total'] . '<br>'; echo 'points: ' . $customer_shopping_points_spending; die(); tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(REDEEM_SYSTEM_ERROR_POINTS_NOT), 'SSL')); } else { if (!tep_session_is_registered('customer_shopping_points_spending')) tep_session_register('customer_shopping_points_spending'); } } which returns this info: error is here total: 58.3 points: 832.85714285714 which tells me there shouldnt be any problem with the checkout but there is. I would appreciate any help with this error. I have seen it before but can not seem to get it resolved. Thanks a million folks :)
  9. ggbig

    Automotive filter function

    HI All, "Dennis" you almost read my mind when creating your version of this filtering (Actually I should state I channelled your mind when the idea for new tables hit me ) Before i ever saw your work I developed an almost carbon copy of your DB structure and ideas on how to implement, I have also created a backend for entering the filtering data and have all but finished with an infobox to boot and a results page that will be like the advanced_search_results mostly. i have a demo going now, that is unfinished mind you, at http : // 62b2b (dot) prositedemos (dot) com. where you can see how i'm beginning to get it going. I decided against using vehicle specific naming to allow for a much more broad range of uses, and to keep it less confusing when adapting to other industry specific products like clothing, shoes, vehicles whatever. I do see a couple small ideas you have that may wind up being VERY beneficial to the one I'm Building and would love to trade some more ideas chats phone conversations on how it would go later on. Anyway just ran across this post for the first time tonight and will be back with any updates :)
  10. ggbig


    hi tec sounds like the ALTER TABLE CUSTOMERS sql statement did not run correctly and create those two columns needed to run the MOD :) Hope that helps.
  11. ggbig


    Hi all, thanks again for an awesome MOD! i have an issue with shipping taxes, a firend of mine has this addon in a store that has flat rate shipping in use and a Tax/zone setup to add taxes to his shipping (16%) AND the Display Prices with Tax set to 'true'. Thus causing the points OT module to miss calculating enough points to cover the taxes on the shipping. Here's the checkout confirmation results (with the Tax OT Module disabled for easier working): Sub-Total: $232.00 (Price with tax) Flat Rate (Best Way): $15.05 (Price with tax) Points Redeemed: -$244.97 (Points redeemed should be $247.05, with tax) Total: $2.08 (Tax added to the shipping quote of $12.97 - Flat Rate) i have tried many, MANY different OT settings/placements and nothing seems to help. Anyone have any ideas on how the P&R OT Module can pick up the tax on the shipping??? Even if the Display Prices with Tax is turned "Off" and the tax/zone is still applied to the Flat Rate shipping, i get the same. If i turn Display Prices with Tax "On" but disable the tax/zone for the shipping module, all is fine again :) So the issue seems to be simply that the P&R module is not allowing for taxes "within" the shipping module??? Any help is greatly appreciated :) PS the same thing happens with Any Shipping module i try???
  12. ggbig

    Automatic Stock Notification

    use this code in admin/categories.php to stop the email notification of a stokc update, "IF" the current qty is above zero. for example if the stock was at zero and it was updated to 3, customer would recieve an email, if the qty was at 3 and updated to 7 no email will be sent. Task taken from the "need help with" section. Thanks for a great addon :) // BEGIN Automatic Stock Notification $current_stock_query = tep_db_query("select products_quantity from " . TABLE_PRODUCTS . " where products_id = '" . (int)$_GET['pID'] . "'"); $current_stock = tep_db_fetch_array($current_stock_query); if ($current_stock['products_quantity'] < 1) { if ($_POST['products_quantity'] > 0) { $audience = array(); $products_query = tep_db_query("select distinct pn.customers_id, c.customers_firstname, c.customers_lastname, c.customers_email_address from " . TABLE_CUSTOMERS . " c, " . TABLE_PRODUCTS_NOTIFICATIONS . " pn where c.customers_id = pn.customers_id and pn.products_id in ( '" . (int)$products_id . "')"); while ($products = tep_db_fetch_array($products_query)) { $audience[$products['customers_id']] = array('firstname' => $products['customers_firstname'], 'lastname' => $products['customers_lastname'], 'email_address' => $products['customers_email_address']); } $product_query_raw = tep_db_query("select p.products_id, pd.language_id, pd.products_name, pd.products_description, pd.products_url, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.products_id = '" . (int)$_GET['pID'] . "'"); $product = tep_db_fetch_array($product_query_raw); $customers_query_raw = tep_db_query("select distinct pn.customers_id, c.customers_firstname, c.customers_lastname, c.customers_email_address from " . TABLE_CUSTOMERS . " c, " . TABLE_PRODUCTS_NOTIFICATIONS . " pn where c.customers_id = pn.customers_id and pn.products_id in ( '" . (int)$products_id . "')"); $customer = tep_db_fetch_array($customers_query_raw); reset($audience); while (list($key, $value) = each ($audience)) { $mimemessage = new email(array('X-Mailer: osCommerce System Mailer')); // add the message to the object if (EMAIL_USE_HTML == 'true') { $mimemessage->add_html(HTML_NOTIFICATION1 . $value['firstname'] . ' ' . $value['lastname'] . HTML_NOTIFICATION2 . STORE_NAME . HTML_NOTIFICATION3 . $products_id . '">' . $product['products_name'] . HTML_NOTIFICATION4 . '">' . STORE_NAME . HTML_NOTIFICATION5 . $product['products_name'] . HTML_NOTIFICATION6 . $product['products_name'] . HTML_NOTIFICATION7 . STORE_NAME . HTML_NOTIFICATION8 . $products_id . '">' . $product['products_name'] . HTML_NOTIFICATION9 . STORE_NAME); } else { $mimemessage->add_text(TEXT_NOTIFICATION1 . $value['firstname'] . ' ' . $value['lastname'] . TEXT_NOTIFICATION2 . STORE_NAME . TEXT_NOTIFICATION3 . $product['products_name'] . TEXT_NOTIFICATION4 . $product['products_name'] . TEXT_NOTIFICATION5 . $product['products_name'] . TEXT_NOTIFICATION6 . STORE_NAME . TEXT_NOTIFICATION7 . $product['products_name'] . TEXT_NOTIFICATION8 . STORE_NAME); } $mimemessage->build_message(); $mimemessage->send($value['firstname'] . ' ' . $value['lastname'], $value['email_address'], STORE_NAME, STORE_OWNER_EMAIL_ADDRESS, 'Now In Stock: ' . $product['products_name'], $email_order); // tep_db_query("delete from " . TABLE_PRODUCTS_NOTIFICATIONS . " where products_id = '" . $products_id . "' "); } } } // END Automatic Stock Notification
  13. ggbig

    File Library v1.0

    i have tried the files that state they have the file path and file image path holding for the edit "case" but they do not work for me? any ideas on what the tep_draw_hidden_field part of that case section needs to make it hold those two pieces of info, i have added some stuff tot his contrib and wish to have it fully working :) once done i would like to sumbit the things i have changed/added for all to integrate at their will. Thanks again.
  14. ggbig

    RMA Returns error for 2.2 MS2

    Hi All, first off thanks for this great addon! Now down to business, the only error i can find in this (Great Addon again!) is in the admin after you choose to return the product for the customer and Click the Schedule Return, and you are at the next page, very similar to the store side after clicking the "Need to return this product" link. I get this error: Fatal error: Call to a member function get_content_type() on a non-object in /home/xxxxxxxx/public_html/admin/includes/classes/order.php on line 211 and in classes/order.php lines 208 - 228 function cart() { global $billto, $cart, $languages_id, $currency, $currencies, $shipping, $statea, $country_title_s, $format_id_s;// global $customer_id; $this->content_type = $cart->get_content_type(); $this->info = array('order_status' => DEFAULT_ORDERS_STATUS_ID, 'currency' => $currency, 'currency_value' => $currencies->currencies[$currency]['value'], 'payment_method' => $_SESSION['payment'], 'cc_type' => (isset($GLOBALS['cc_type']) ? $GLOBALS['cc_type'] : ''), 'cc_owner' => (isset($GLOBALS['cc_owner']) ? $GLOBALS['cc_owner'] : ''), 'cc_number' => (isset($GLOBALS['cc_number']) ? $GLOBALS['cc_number'] : ''), 'cc_ccv' => (isset($GLOBALS['cc_ccv']) ? $GLOBALS['cc_ccv'] : ''), 'cc_start' => (isset($GLOBALS['cc_start']) ? $GLOBALS['cc_start'] : ''), 'cc_issue' => (isset($GLOBALS['cc_issue']) ? $GLOBALS['cc_issue'] : ''), 'cc_expires' => (isset($GLOBALS['cc_expires']) ? $GLOBALS['cc_expires'] : ''), 'shipping_method' => $shipping['title'], 'shipping_cost' => $shipping['cost'], 'subtotal' => 0, 'tax' => 0, 'tax_groups' => array(), 'comments' => (isset($GLOBALS['comments']) ? $GLOBALS['comments'] : '')); also this is a CRE Loaded Cart, so it may have some bearing on the situation. Any Help would be greatly Appreciated :) Again (Great Addon!) just need this last error and i think we have it! Thanks a million!