Forum Replies Created

Viewing 15 replies - 376 through 390 (of 485 total)
  • Plugin Author macguru2000

    (@macguru2000)

    Hi kristel_ttm,

    I’m looking to release a bug/patch release very soon with a few fixed bugs. I would love to fix these bugs as well, here is what my thought are as of now.

    – Enable WordPress Filters
    this feature was always a little scary for me, especially since someone could put [catablog] into a catalog item description and basically create an infinite loop. My guess is that a built in WordPress filter, wpautop, starting being applied to your catalog descriptions. This could be from the 3.1 upgrade or something else, possible theme code changes or even CataBlog code changes. I will look into it more.

    – Multiple Buy Now Buttons
    Haven’t heard or seen this one yet, but will look into it. I kind of have the feeling a lot of people aren’t using the shopping cart feature so it doesn’t get as well tested. My only question for you is, when you say without a price, you mean a price of zero, right? I believe that at this point CataBlog requires that the price be a positive number. Decimal points might be messing this up too…..

    If you could let me know what you catalog item prices are asap that would be awesome. Thanks and look for CataBlog 1.2.1 release soon with a couple good bug fixes.

    Plugin Author macguru2000

    (@macguru2000)

    Do you think that I should disabled the ‘Change Order’ button in the ‘All Categories’ view and let users change the order only when viewing a single category? This could technically work as long as the results are ordered by category and then order number when viewing the entire catalog. I believe that most people would see that as the “perceived order” of the catalog, no?

    Plugin Author macguru2000

    (@macguru2000)

    Hi inzubi,

    I am 100% in accord with your desire to have Gettext translating strings in the plugin. I am thinking that the next point release, 1.3, will be trying to make CataBlog ready for internationalization.

    Also, thanks for the link, I really appreciate it when people give me links to relevant articles. It helps me understand exactly what you want.

    Thank you so much for your interest and If you haven’t had a chance please rate and confirm CataBlog works with your version of WordPress at http://wordpress.org/extend/plugins/catablog/

    Plugin Author macguru2000

    (@macguru2000)

    Hi chintu74,

    Thanks for your questions and if you are interested in more information you should check out the blog dedicated to CataBlog.
    http://catablog.illproductions.com.

    Now for your questions:

    1. No CataBlog does not support native pagination. Personally I don’t understand why so many people want it. CataBlog does work with other pagination solutions, such as multiple posts/pages, tab plugins, or built in separators such as <!--nextpage-->. Simply make a few categories in your catalog and when adding the ShortCodes use the category filter.

    2. Yes you may upload your catalog with FTP, you may also import and export your catalog database data in CSV and XML format. Read this article for more information.
    http://catablog.illproductions.com/2011/01/new-five-step-gallery-maker/

    Also note that CataBlog does work with MultiSite installations of WordPress. I have not tested it in 3.1 MS, but have tested it in 3.0.5 MS and 3.1 normal.

    – Zach

    Plugin Author macguru2000

    (@macguru2000)

    In the past I have opened the shopping cart in a new window, thus half fixing the problem. Truthfully this is not necessary though. You should be able to write your own form that links to the specific user’s shopping cart.

    Simply make a link to the PayPal shopping cart in your theme code or directly in your page or post code. Ideally this could be generated by a ShortCode or something but currently it is not. It also doesn’t need to be generated by a ShortCode because it is pretty much a static form.

    Perhaps I could register a special nav menu item that WordPress Admins could put in their navigation menus.

    Personally I would recommend adding a “Shopping Cart” link or button in your top navigation area. I would also recommend doing some more research online on how to setup a PayPal shopping cart.

    PayPal Button Making Documentation:
    https://www.paypal.com/cgi-bin/webscr?cmd=p/xcl/rec/sc-techview-outside

    Code For a View Cart Button:

    <form name="_xclick" target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
        <input type="hidden" name="cmd" value="_cart">
        <input type="hidden" name="business" value="">
        <input type="image" src="https://www.paypal.com/en_US/i/btn/view_cart.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
        <input type="hidden" name="display" value="1">
    </form>

    Keep in mind you may us text or other images for the shopping cart button, it is up to you and how you make the form. Good luck, Cheers

    – Zach

    Plugin Author macguru2000

    (@macguru2000)

    I think you might be misunderstanding me. You do not need to organize your catalog items by category. When you filter your category in the ShortCode the order is maintained. So you do not need to keep your catalog ordered by category. But if you want your category items to be displayed in a specific order then you need to make sure to order your catalog item in the admin view.

    Just imagine if you pulled out every item that wasn’t in the selected category, that will be the display order.

    Plugin Author macguru2000

    (@macguru2000)

    This is actually a really good question. Currently each catalog item has an order value, just like a WordPress Page, which is used to give your catalog order. If you reorder the items to how you want in the ‘All Categories’ view and then save, your new order should translate to individual categories.

    The problem with letting people order while viewing only a specific category is that it created duplicate order values and unexpected results. I want to block people from setting the order manually in a form field of any sort. This means order is set, updated and modified as you create, edit and delete your catalog items. This also means that trying to shuffle and reorder a subset of a list, without the rest of the list, is technically impossible. *note below*

    The ways I am thinking of fixing this is are:

    1. Each category gets its own order, so multiple catalog items could have the same order value of zero, but they would be in different categories and never displayed together. Potentials issues are you would loose the ability to order the entire list (all categories) and if an item is in two categories it can only have one order value. Meaning if you reorder category A with item C in it and then go to category B with item C in it and reorder again, category A could now have a different order because item C has had its order value changed when category B was modified.

    2. Add an order by parameter to the plugin ShortCode so you could do something like, [catablog category="fish" orderby="title"]. This is the only option that lets you display your catalog in different orders on different pages. This option is great, unless someone wants to use an arbitrary order that is completely unpredictable. Coupling this with the current ordering capabilities of CataBlog and you might cover most use cases (scenarios). One downfall with setting the order in the ShortCode will be that the catalog could be displayed with a different order then the Admin Panel.

    3. Much like the previous option, you let people order by a field value, but you run it as a process in admin instead of making it a ShortCode parameter. This would work by letting someone choose a new calculated order while reordering their catalog. This will make sure the catalog it displayed with the same order in the Admin Panel and the front end. The caveat with this method is that you can only order your catalog in one particular way and the option to order by title with one ShortCode and order by price with another ShortCode is lost.

    *NOTE*
    Yes I could fetch the entire list, loop through it looking for the reordered item ids and noting their current order and then processing the old and new orders and some how come up with a new array of catalog items in a somewhat expected order, but the database queries and complexity of this method has steered me away.

    Plugin Author macguru2000

    (@macguru2000)

    I totally agree. My main concern is for the people out there who have already created those dubious category names that only have capitalization differences.

    I think I will remove the case sensitivity for the new releases coming out very soon. I will be encouraging people to export and import their databases to recreate all the catalog categories. Once people follow this step I think everything should be good for the future.

    Thanks for the input and take care.

    Plugin Author macguru2000

    (@macguru2000)

    TimM01,

    I believe what you want to do is possible, but I have never done it. What you will most likely want to do is call CataBlog directly in your template code. You can fetch the page’s category from the WordPress query and then pass it into CataBlog. As long as the category names match it should work. That being said there are some issues to be aware of, especially with the current CataBlog release.

    As of CataBlog 1.1 there is a bug. When one makes a CataBlog category with the same name as a Post category a new unique category doesn’t actually get created. Even if names match, a category must have a unique slug across all taxonomies in the system. If two categories share the same slug it is very bad. I am releasing CataBlog 1.2 later today and I would recommend upgrading to it. The new version will not only append a string to each CataBlog category slug, thus making it unique in the system, it also double checks the database to make sure it does actually create a new and unique category. When people upgrade to version 1.2 I will recommend that they do an export, verify the data manually and then reimport there data to update their category data.

    You could easily recreate and add a prefix to each of your CataBlog categories, thus separating them manually. Either way you can call this PHP method from within your WordPress Theme code once you are sure your categories aren’t colliding.

    <?php catablog_show_items($category) ?>

    Just pass in a string for the category that is the category name, note that this name is case sensitive, so please make sure that all the capitalization matches as well. Good luck and let me know if you need anymore help or if you get it working.

    – Zach

    Plugin Author macguru2000

    (@macguru2000)

    I’m very glad to hear we found the solution to the bug. I decided to make the category value in the ShortCode case sensitive incase someone wanted a Dog and a dog category. Why someone would want that I am unsure. Any thoughts on my decission? The case sensitivity will obviously be documented when I do the real release. Thanks for your help and time in this matter.

    Plugin Author macguru2000

    (@macguru2000)

    Hi papafrankc

    So I tried to reproduce the error you are getting and could not, these are the steps that I tried.

    00. Fresh WordPress Install with the standard theme unit test data loaded.
    01. Create new category in the standard post categories named 'Candle Holders'.
    02. Install CataBlog 1.1
    03. Import a test CSV file for items and add matching images to catablog uploads folder
    04. Regenerate all images
    05. Create new CataBlog category named 'Candle Holders' and add an item to it, this category is corrupt.
    06. Check that the admin list filter works for new 'Candle Holders' category.
    07. Check that the filter works with the CataBlog ShortCode.
    08. Deactivate CataBlog plugin
    09. Replace catablog in plugins folder with version 1.1.9
    10. Activate CataBlog
    11. Check that the admin list filter works for 'Candle Holders' category.
    12. Check that the filter works with the CataBlog ShortCode.

    When I do these steps everything works as expected. Even though CataBlog 1.1 created a corrupted category, 1.1.9 is able to use it. I consider the category corrupted because one term has been placed into two taxonomies. This is bad. I am unsure if you have categories with matching names in both your standard post taxonomy and your CataBlog taxonomy. If you do then most likely these categories are corrupted and you should do an export of your catalog and then reimport your catalog. This action should not replace or touch any of your image files and will only replace the CataBlog rows in your database. This action will also clear all corrupted categories and recreate new categories with proper unique slugs. If you could try this on your test server that would be really really awesome. Thanks again

    Plugin Author macguru2000

    (@macguru2000)

    Can you verify for me that the category in your ShortCode is exactly the same (case sensitive) as the CataBlog category name you want. Spaces, hyphens, underscores and any numbers along with upper and lower case letter much match the category name exactly. Thanks.

    Plugin Author macguru2000

    (@macguru2000)

    You should probably be disabling the plugin before overwriting it and then re enabling the plugin after you overwrite it. Did you also try the filters in the Admin section, on the main CataBlog list page you may filter your catalog with a drop down menu, I assume that does not work either? Thanks for testing for me.

    Plugin Author macguru2000

    (@macguru2000)

    papafrankc,

    I’m not sure if you noticed but 1.1.9 is now available. This version should let you filter your original, as in pre CataBlog 1.1.8, categories as well as any new ones you make. I deeply appreciate you taking your time to test CataBlog on your test server, if you have any spare time I would love to hear your feed back about this new version. Cheers,

    – Zach

    Plugin Author macguru2000

    (@macguru2000)

    Thank you for your input regarding CataBlog. I appreciate the time and effort everyone takes to help make CataBlog a better plugin. It would seem you had two problems to report.

    1. If the category name is just the right length then you can’t delete it.
    2. Catalog list in Admin takes too long to render 700 items

    Now I haven’t had a chance to fix the category name blocking the delete link issue since I have been concentrating on other features and bugs. A fix most likely will be integrated into the upcoming 1.2 version release, since it should be relatively easy to fix.

    As far as the version 1.1.7 being much slower then version 1.1 at displaying 700 catalog items, I am not surprised. 1.1.7 was a beta release and low and behold had some pretty nasty bugs. One such bug was that WordPress was individually fetching each item’s categories, making a list of 700 items require over 700 database queries. Very very bad, got that one fixed in 1.1.8 which was just released.

    In an effort to make the Admin catalog list load faster I also incorporated some JavaScript to lazy load the thumbnail images. Instead of loading all images when the page is loaded it only loads the images that are visible. This script was doing a lot of calculation when you scrolled the browser window, I fixed this by caching the list of images to lazy load into one array and manipulating that array directly. This dramatically reduced the amount of memory the page required and made scrolling seem smoother to me.

    All in all, if you are adventurous, I would look into possibly installing CataBlog 1.1.8, otherwise wait for the upcoming new stable release.

Viewing 15 replies - 376 through 390 (of 485 total)