macguru2000
Forum Replies Created
-
Forum: Plugins
In reply to: [CataBlog] Possible virus in \uploads\catablog\?That is definitely not a file that should be in your CataBlog uploads folder. I am unsure how it got there, but if anyone else sees the file let us know.
Forum: Plugins
In reply to: [CataBlog] Catablog products AS advertismentsYou may use the random value for the sort attribute of the CataBlog Shortcode and set the limit to 1. Read more about controlling the Shortcode at http://catablog.illproductions.com/documentation/displaying-your-catalog-in-posts/
Forum: Fixing WordPress
In reply to: Menu depending on which category the page is attatched toAndy, if you could describe how you got it here you might help out others and contribute to the community. 🙂
Forum: Plugins
In reply to: [CataBlog] Commentscurrently you must hack the plugin code to do this
Forum: Plugins
In reply to: [CataBlog] link image to same link as item titlesYou may change the tokens in the CataBlog Option’s template tab, that is where you have access to control exactly how your catalog is rendered in HTML. You may read more about tokens and the CataBlog template system at http://catablog.illproductions.com/documentation/making-custom-templates/
Forum: Plugins
In reply to: [CataBlog] [Plugin: CataBlog] Link to the next item in the same category?did you try
<?php next_post_link(); ?>or something like it. I believe CataBlog uses the taxonomy name ofcatablog-termand you should be able to pass that along as a parameter to a built in WordPress function. Public CataBlog items are pretty much exactly the same as a post when the code is concerned.Forum: Plugins
In reply to: [CataBlog] Sub Videos and shorcodes with catablog items resourcesYou may enable Shortcodes for each item’s description in the CataBlog Options. This will not help you put youtube videos into the LightBox, for that you may want to consider using the URL field for the youtube link and create your own template with another LightBox solution that can work with a youtube url in a links rel attribute.
Forum: Plugins
In reply to: [CataBlog] [Plugin: CataBlog] Error after de-selecting "Render Line Breaks"I am aware of this bug, thanks for pointing it out. I don’t believe that it causes any harm and just stops the confirmation message from completing if you have the public feature enabled or are changing that option.
Forum: Fixing WordPress
In reply to: Menu depending on which category the page is attatched toAndy, try this
<?php if (term_taxonomy_id == 2): ?> menu 1 code <?php else: ?> menu 2 code <?php endif ?>Now I’m not sure if term_taxonomy_id has a value in WordPress, there are ways to use the query variables though to find what the taxonomy id is. But the above example will definitely create a conditional menu that can show different menus at different times.
Forum: Plugins
In reply to: [CataBlog] Edit item errorPerhaps it’s the use of a variable in the first sprintf parameter, it should be a string token like the second variable most likely 🙂
585 $message .= sprintf(" (<a href='%s'>%s</a>)", $permalink, __("View Now"));Forum: Plugins
In reply to: [CataBlog] link image to same link as item titlesYou must replace the %MAIN-IMAGE% token with some of your own HTML. You can use the %IMAGE-THUMBNAIL% and the %LINK% tokens instead. Don’t forget to use the CataBlog CSS classes in your HTML and good luck.
Forum: Plugins
In reply to: [CataBlog] Integrating Mals e-commerce w/CataBlog?I would go with your first option. Just add the link and use the appropriate tokens inside the store template. Good luck
Forum: Plugins
In reply to: [CataBlog] Edit item errorSo this is line 585 of CataBlog.class.php, it would seem the sprintf is simply trying to make an addition to the saved message string. In other words this is a rather trivial error message, that you could remove simply by removing the entire line of code. This line of code is also only run when the public option is enabled. Strangely, there is nothing I can see wrong with the line of code, any ideas?
585 $message .= sprintf(" (<a href='$permalink'>%s</a>)", __("View Now"));Forum: Plugins
In reply to: [CataBlog] modifying catablog-term slug prefix?I am not referring to the url but a core WordPress requirement. If you want two different categories, even if in different taxonomies, WordPress requires they have different slug values. Period. Nothing I know of besides hacking WordPress to get around this limitation. Sorry.
Also, just to clarify WordPress does not store the entire “slug” in the database, but just the category’s slug value. Look in the database to see what I mean.
Forum: Plugins
In reply to: [CataBlog] modifying catablog-term slug prefix?You may strip it out or change it, but before you do that read on.
In case you were unaware each taxonomy term slug must be unique across all taxonomies. This means if you have a WordPress category with the slug cars and a CataBlog category with the slug cars, you will see odd behaviors and unexpected results.
To fix this problem in a past version of CataBlog, before there ever was a public option, I added the prefix to CataBlog terms. Now I will need to make it configurable in a future version.