Thread: hideCategories

Page 40 of 49 FirstFirst ... 303839404142 ... LastLast
Results 391 to 400 of 487
  1. #391
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: hideCategories

    Quote Originally Posted by picandnix View Post
    Not quite the answer you were hoping for but first things first you need to use this link http://www.zen-cart.com/content.php?148 and escape the clutches of 1.3.8a, the hackers goldmine. Upgrade to 1.3.9J and you can install the most current version of Hide Categories.
    Oops! A typo, H not J

  2. #392
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: hideCategories

    Quote Originally Posted by picandnix View Post
    I have been successfully using this mod on 1.3.9. I am looking to upgrade to ZC 1.5. Does anyone have this working fully on 1.5 yet, or perhaps have started to update the mod? I am happy to help where possible even if it's just testing.
    I've been working on a Zen Cart v1.5 version of it (I have a client who needs this mod so I spent some time on it..). I haven't released it yet, and when I do I'll update this thread and probably start a new support thread for it altogether.. I'm on vacation, and when I get home I'll put a copy of it (sans an updated readme) on my site if you want it..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #393
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: hideCategories

    Quote Originally Posted by DivaVocals View Post
    I've been working on a Zen Cart v1.5 version of it (I have a client who needs this mod so I spent some time on it..). I haven't released it yet, and when I do I'll update this thread and probably start a new support thread for it altogether.. I'm on vacation, and when I get home I'll put a copy of it (sans an updated readme) on my site if you want it..
    That'll be great, thank you. Enjoy your vacation...and leave the laptop at home!!

  4. #394
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: hideCategories

    Quote Originally Posted by picandnix View Post
    That'll be great, thank you. Enjoy your vacation...and leave the laptop at home!!
    That's a 10-4!! Laptop is for Facebook activities.. NOT work!!!
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #395
    Join Date
    Sep 2012
    Posts
    253
    Plugin Contributions
    0

    Default Re: hideCategories

    How is that update coming? I could really use this feature!!

    Thank you for your contributions!

  6. #396
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: hideCategories

    Quote Originally Posted by southshorepizza View Post
    How is that update coming? I could really use this feature!!

    Thank you for your contributions!
    Haven't really had a chance to finish this up.. Been busy on other projects.. Dunno when I'll get back to this.. I do intend to get back to it.. and when I do I'll update this thread..
    Last edited by DivaVocals; 17 Oct 2012 at 02:07 AM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  7. #397
    Join Date
    Sep 2012
    Posts
    253
    Plugin Contributions
    0

    Default Re: hideCategories

    sigh I wish I knew more about the programing side. I'm slowly learning but updating this is beyond my reach at this point. Thanks for the update. I subscribed to the thread.

  8. #398
    Join Date
    Sep 2012
    Posts
    5
    Plugin Contributions
    0

    Default Re: hideCategories

    Quote Originally Posted by southshorepizza View Post
    sigh I wish I knew more about the programing side. I'm slowly learning but updating this is beyond my reach at this point. Thanks for the update. I subscribed to the thread.
    I wish I knew more programming too. I hope this plug-in will be updated for version 1.5 soon. It is exactly what I need.

  9. #399
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: hideCategories

    Quote Originally Posted by hezz View Post
    I wish I knew more programming too. I hope this plug-in will be updated for version 1.5 soon. It is exactly what I need.
    I do plan to submit an update, and I will start a new support thread at that time too.. I have been very busy so this has not been a high priority for me.. Appreciate everyone's patience..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  10. #400
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: hideCategories

    I've installed the latest version of this mod (2.1) and it looks like it includes the changes below. However, when I search, I get no results, even for categories that are not hidden. If I put back the original advanced_search_result/header_php.php file, the products all show up, but it includes the products from the hidden categories. I have checked and rechecked all the files and I just don't know what is causing this problem.

    Quote Originally Posted by kamelion0927 View Post
    Alrighty, I think I've got it.

    MAKE A BACKUP BEFORE YOU MAKE THIS CHANGE BECAUSE THIS ISN'T AN OVERRIDE FILE and it worked for me, but I'm not 100% sure it is correct.

    In includes/modules/pages/advanced_search_result/header.php, find
    PHP Code:
    $from_str "FROM (" TABLE_PRODUCTS " p
                 LEFT JOIN " 
    TABLE_MANUFACTURERS " m
                 USING(manufacturers_id), " 
    TABLE_PRODUCTS_DESCRIPTION " pd, " TABLE_CATEGORIES " c, " TABLE_PRODUCTS_TO_CATEGORIES " p2c )
                 LEFT JOIN " 
    TABLE_META_TAGS_PRODUCTS_DESCRIPTION " mtpd
                 ON mtpd.products_id= p2c.products_id
                 AND mtpd.language_id = :languagesID"

    and change to
    PHP Code:
    $from_str "FROM (" TABLE_HIDE_CATEGORIES " h, " TABLE_PRODUCTS " p
                 LEFT JOIN " 
    TABLE_MANUFACTURERS " m
                 USING(manufacturers_id), " 
    TABLE_PRODUCTS_DESCRIPTION " pd, " TABLE_CATEGORIES " c, " TABLE_PRODUCTS_TO_CATEGORIES " p2c )
                 LEFT JOIN " 
    TABLE_META_TAGS_PRODUCTS_DESCRIPTION " mtpd
                 ON mtpd.products_id= p2c.products_id
                 AND mtpd.language_id = :languagesID"

    Then find
    PHP Code:
    // Notifier Point
    $zco_notifier->notify('NOTIFY_SEARCH_FROM_STRING');

    $where_str " WHERE (p.products_quantity > 0
                   AND p.products_status = 1
                   AND p.products_id = pd.products_id
                   AND pd.language_id = :languagesID
                   AND p.products_id = p2c.products_id
                   AND p2c.categories_id = c.categories_id "

    and change to
    PHP Code:
    // Notifier Point
    $zco_notifier->notify('NOTIFY_SEARCH_FROM_STRING');

    $where_str " WHERE (p.products_quantity > 0
                   AND p.products_status = 1
                   AND p.products_id = pd.products_id
                   AND pd.language_id = :languagesID
                   AND p.products_id = p2c.products_id
                   and (p.master_categories_id = h.categories_id and h.visibility_status !=2)
                   AND p2c.categories_id = c.categories_id "

    All I did was utilize the code from hideCategories/includes/modules/sideboxes/my_template/whats_new.php and adapted it to fit the search code.

    Hopefully it will continue to work and not cause issues with any of my other mods but I would appreciate feedback from someone who knows code as to whether it is the appropriate way to handle this situation.

    Thanks!
    Danielle

 

 
Page 40 of 49 FirstFirst ... 303839404142 ... LastLast

Similar Threads

  1. how to get hidecategories an dual pricing to work
    By davidweaver88 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 4 Jun 2012, 03:35 PM
  2. anyone using HideCategories in 1.3.9d??
    By redheads in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 8 Jun 2010, 06:54 AM
  3. HideCategories problem...
    By ShadowAngel in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 10 Nov 2009, 10:17 PM
  4. hideCategories Module
    By marcusimages in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 25 Aug 2009, 06:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR