Mad Max
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: WP No Category Base] compatibility with WPML pluginJurien, try this plugin: I’m using it on Wp3.04 and WPML 2.04 and it seems to work correctly. Just remember to have your permalink setted as
/%category%/%postname%
Bye!
This plugin has its the_post_thumbnail function. Just look at point 4 in “installation” section.
Just in case you haven’t found yet (or for other users needing the same info):
link_to_original is the last optional parameter in the
MultiPostThumbnails::the_post_thumbnail()
function call.So, taking the example code above just add another bool parameter at the end.
<?php echo MultiPostThumbnails::the_post_thumbnail('post', 'image1', NULL, 'image1' , array('class' => 'Pic shadow'),true); ?>Forum: Plugins
In reply to: [Redirection] completely remove or delete wp redirection?Vijay, is quite common for complex plugin to have a “uninstall feature” in their options page. WP can’t be aware of all the db entries created and managed by the plugin so it can’t take a general approach to clean those entries. It only do what it’s ever safe: disable and delete plugin files.
On contrary, a plugin developer knows exactly what to remove when you no longer need his plugins.Forum: Plugins
In reply to: [Redirection] completely remove or delete wp redirection?you’re welcome!
Forum: Plugins
In reply to: [Redirection] completely remove or delete wp redirection?Have you check the “remove Redirection” option at the bottom of the Options Page?
It should remove everything concerning the plugin.
Just to say that there is a well-coded plugin that can order posts (both on user side and admin side) and it supports custom post types, multilanguage and uses jquery:
http://wordpress.org/extend/plugins/post-types-order
It doesn’t have a category filter (yet).
Sorry to every one for my long absence from this thread. I’ve put online again the reloaded version (it was deleted during a site update). But currently I have not so much spare time to code for this plugin and so I haven’t submitted it to the WP plugins repository yet.
I’d like to create and mantain a fork of the original plugin in the near future. In the mean time you can contact me at stc dot plugin at w3b dot it and I hope to be able to help you.Hello kevin,
which version of wp are you using? which browser? Can you notice any Javascript errors?
I’ve tested the drag&drop on firefox, chrome, ie8 and safari and it works right. Please doublecheck js console. It could be an incompatibility problem between plugins and their js calls.If you can, try to disable all other plugins just to be sure if we have to search for the problem elsewhere.
bye
yes you are right. But (luckily) I putted this error in this topic only and not in the code I patched on my WP installation 😀
So, for the sake of clarity, here are the right version:1st istance:
FROM$catlink = trailingslashit(get_option( 'home' )) . user_trailingslashit( $category_nicename, 'category' );TO
if (function_exists('qtrans_convertURL')) $catlink = trailingslashit(qtrans_convertURL(get_option( 'home' ))) . user_trailingslashit( $category_nicename, 'category' ); else $catlink = trailingslashit(get_option( 'home' )) . user_trailingslashit( $category_nicename, 'category' );2nd istance:
FROM$catlink = trailingslashit(get_option( 'home' )) . user_trailingslashit( $query_vars['category_redirect'], 'category' );TO
if (function_exists('qtrans_convertURL')) $catlink = trailingslashit(qtrans_convertURL(get_option( 'home' ))) . user_trailingslashit( $query_vars['category_redirect'], 'category' ); else $catlink = trailingslashit(get_option( 'home' )) . user_trailingslashit( $query_vars['category_redirect'], 'category' );Thanks to erichazann for pointing this out.
Forum: Plugins
In reply to: [Plugin: WP-prettyPhoto] How do I actually use Prettyphoto?Sorry, this time a little bug: if you are using a *nix server (case sensitive filenames) and you upload images with uppercase extensions, my piece of JS doesn’t work. So:
jQuery(document).ready(function() { var items = jQuery('div.entry a').filter(function() { return jQuery(this).attr('href').match(/\.(jpg|png|gif|JPG|GIF|PNG|Jpg|Gif|Png)/); }); if (items.length > 1){ var gallerySwitch="[alltogethernow]"; }else{ var gallerySwitch=""; } items.attr('rel','zoom'+gallerySwitch); jQuery("div.entry a[rel^='zoom']").prettyPhoto(); });Forum: Plugins
In reply to: [Plugin: WP-prettyPhoto] How do I actually use Prettyphoto?A little update to narrow the selection of dom elements to the images in the posts content only. I’ve supposed every theme has a “entry” class on div containing posts (like default theme has), so:
jQuery(document).ready(function() { var items = jQuery('div.entry a').filter(function() { return jQuery(this).attr('href').match(/\.(jpg|png|gif)/); }); if (items.length > 1){ var gallerySwitch="[alltogethernow]"; }else{ var gallerySwitch=""; } items.attr('rel','zoom'+gallerySwitch); jQuery("div.entry a[rel^='zoom']").prettyPhoto(); });This resolves potential problems with linked images on other parts of the page like in footer or sidebar(s)
Forum: Plugins
In reply to: [Plugin: WP-prettyPhoto] How do I actually use Prettyphoto?Cezar, is your wp installation visible online?. Can you post the link so I can give a look at it?
Do you see errors on Javascript Console on your browser?I’ve setted up and tested this JS on a WP 2.8.9, but it seems to work even after upgrade to 2.9.1 (I’m testing locally the upgrade in these days and I have no problems right now).
Let me know if I can help.
Bye
Forum: Plugins
In reply to: [Plugin: WP-prettyPhoto] How do I actually use Prettyphoto?I think there’s no need to use a plugin in this case. A manual approach should avoid problems with updates of WP and/or other plugins.
To use pretty photo library without a plugin just link css and js files in your header.php<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/prettyPhoto.css" /><br /> <script src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery.prettyPhoto.js" type="text/javascript"></script><br />or use a hook in your functions.php and load these files only where needed (i.e.: if (is_single() | is_page() | is_archive() ) -> load PP ).
Then add the lines below to jquery.prettyPhoto.js or to a new js file that you have to include as well:jQuery.noConflict(); jQuery(document).ready(function() { var items = jQuery('a').filter(function() { return jQuery(this).attr('href').match(/\.(jpg|png|gif)/); }); if (items.length > 1){ var gallerySwitch="[alltogethernow]"; }else{ var gallerySwitch=""; } items.attr('rel','zoom'+gallerySwitch); jQuery("a[rel^='zoom']").prettyPhoto(); });It simply checks for every
<a>tag linking an image and adds the correct rel to it, making a single photo zoom or a gallery.Forum: Plugins
In reply to: [Plugin: Simple Tags] WP 2.8.4 post tags work – page tags DO NOTSame for me. No page tags in the tags cloud if there’s not a 1-1 corrispondence with post tags.
I’m using 1.6.6 plugin version on WP 2.8.6Furthermore the Click tags / suggested tags within an article don’t work and give the following error:
“This feature works only with activated JavaScript. Activate it in your Web browser so you can!”