skip405
Forum Replies Created
-
Forum: Plugins
In reply to: [Microsoft Azure Storage for WordPress] incorrect path stored in metadataSome additional info is that I deactivated EWWW IO and still couldn’t insert an image into a post, which leads me to believe it’s not a plugin conflict, but seems like an issue with Azure Storage for WordPress
Forum: Plugins
In reply to: [Microsoft Azure Storage for WordPress] incorrect path stored in metadataAh, forgot to say what the issue is 🙂
The issue is that the files do not get uploaded to Azure if I use ‘Set featured image’ or WYSIWYG’s Add media button. They return 404s.
However if I go to the Media page and try it from there, everything works well.
Forum: Plugins
In reply to: [Microsoft Azure Storage for WordPress] incorrect path stored in metadataHi Ritesh,
@nosilver4u opened this ticket because of me. Although it seems to be working fine for them, I cannot fully confirm the issue is fixed.
I do not experience any issues when I use the media uploader in the Media -> Add new page. But I do have issues when I press ‘Set featured image’ or ‘Add media’ buttons on the Post Edit screen.
Both EWWW IO and Azure plugin are of latest versions (wordpress version is 4.7.1)
Can you try and reproduce it, please?
Forum: Plugins
In reply to: [EWWW Image Optimizer] Issues with Azure storageThanks a lot! I’ll give it another go soon 🙂
Forum: Plugins
In reply to: [EWWW Image Optimizer] Issues with Azure storageThanks a lot for the investigation. I was about to file an issue for them, when I saw you had already done that. That’s what I call true Support 🙂 You rock!
Forum: Plugins
In reply to: [Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] Too few arguments for sprintf()Goodness this is really long)) This is a site in Russian, so the labels are Cyrillic.
This is the
var_dump($post_type);:
object(stdClass)[4069]
public 'labels' =>
object(stdClass)[4071]
public 'name' => string 'Новости' (length=14)
public 'singular_name' => string 'Новость' (length=14)
public 'add_new' => string 'Добавить новость' (length=31)
public 'add_new_item' => string 'Добавить новую новость' (length=42)
public 'edit_item' => string 'Редактировать новость' (length=41)
public 'new_item' => string 'Новая новость' (length=25)
public 'view_item' => string 'Посмотреть новость' (length=35)
public 'search_items' => string 'Искать новости' (length=27)
public 'not_found' => string 'Новости не найдены' (length=34)
public 'not_found_in_trash' => string 'Новостей в корзине не найдено' (length=54)
public 'parent_item_colon' => null
public 'all_items' => string 'Новости' (length=14)
public 'menu_name' => string 'Новости' (length=14)
public 'edit' => string 'Редактировать' (length=26)
public 'view' => string 'Посмотреть' (length=20)
public 'parent' => string 'Родительская новость' (length=39)
public 'name_admin_bar' => string 'Новость' (length=14)
public 'description' => string '' (length=0)
public 'publicly_queryable' => boolean true
public 'exclude_from_search' => boolean false
public 'capability_type' => string 'post' (length=4)
public 'map_meta_cap' => boolean true
public '_builtin' => boolean false
public '_edit_link' => string 'post.php?post=%d' (length=16)
public 'hierarchical' => boolean false
public 'public' => boolean true
public 'rewrite' =>
array
'slug' => string 'news' (length=4)
'with_front' => boolean true
'pages' => boolean true
'feeds' => boolean false
'ep_mask' => int 1
public 'has_archive' => boolean false
public 'query_var' => string 'news' (length=4)
public 'register_meta_box_cb' => null
public 'taxonomies' =>
array
empty
public 'show_ui' => boolean true
public 'menu_position' => null
public 'menu_icon' => null
public 'can_export' => boolean true
public 'show_in_nav_menus' => boolean true
public 'show_in_menu' => boolean true
public 'show_in_admin_bar' => boolean true
public 'delete_with_user' => null
public 'label' => string 'Новости' (length=14)
public 'singular_label' => string 'Новость' (length=14)
public 'name' => string 'news' (length=4)
public 'cap' =>
object(stdClass)[4070]
public 'edit_post' => string 'edit_post' (length=9)
public 'read_post' => string 'read_post' (length=9)
public 'delete_post' => string 'delete_post' (length=11)
public 'edit_posts' => string 'edit_posts' (length=10)
public 'edit_others_posts' => string 'edit_others_posts' (length=17)
public 'publish_posts' => string 'publish_posts' (length=13)
public 'read_private_posts' => string 'read_private_posts' (length=18)
public 'read' => string 'read' (length=4)
public 'delete_posts' => string 'delete_posts' (length=12)
public 'delete_private_posts' => string 'delete_private_posts' (length=20)
public 'delete_published_posts' => string 'delete_published_posts' (length=22)
public 'delete_others_posts' => string 'delete_others_posts' (length=19)
public 'edit_private_posts' => string 'edit_private_posts' (length=18)
public 'edit_published_posts' => string 'edit_published_posts' (length=20)
And this is
var_dump($taxonomy);:
object(stdClass)[155]
public 'hierarchical' => boolean true
public 'update_count_callback' => string '' (length=0)
public 'rewrite' =>
array
'slug' => string 'product_type' (length=12)
'with_front' => boolean true
'hierarchical' => boolean false
'ep_mask' => int 0
public 'query_var' => string 'product_type' (length=12)
public 'public' => boolean true
public 'show_ui' => boolean true
public 'show_tagcloud' => boolean true
public '_builtin' => boolean false
public 'labels' =>
object(stdClass)[157]
public 'name' => string 'Категории' (length=18)
public 'singular_name' => string 'Категория' (length=18)
public 'search_items' => string 'Искать категории' (length=31)
public 'popular_items' => string 'Популярные категории' (length=39)
public 'all_items' => string 'Все категории' (length=25)
public 'parent_item' => string 'Родительская категория' (length=43)
public 'parent_item_colon' => string 'Родительская категория:' (length=44)
public 'edit_item' => string 'Редактировать категорию' (length=45)
public 'view_item' => string 'Просмотреть рубрику' (length=37)
public 'update_item' => string 'Обновить категорию' (length=35)
public 'add_new_item' => string 'Добавить новую категорию' (length=46)
public 'new_item_name' => string 'Новая категория' (length=29)
public 'separate_items_with_commas' => string 'Отделяйте категории запятыми' (length=54)
public 'add_or_remove_items' => string 'Добавить или удалить категории' (length=57)
public 'choose_from_most_used' => string 'Выберите из часто используемых' (length=57)
public 'menu_name' => string 'Категории' (length=18)
public 'name_admin_bar' => string 'Категория' (length=18)
public 'show_in_nav_menus' => boolean true
public 'label' => string 'Категории' (length=18)
public 'singular_label' => string 'Категория' (length=18)
public 'cap' =>
object(stdClass)[156]
public 'manage_terms' => string 'manage_categories' (length=17)
public 'edit_terms' => string 'manage_categories' (length=17)
public 'delete_terms' => string 'manage_categories' (length=17)
public 'assign_terms' => string 'edit_posts' (length=10)
public 'name' => string 'product_type' (length=12)
public 'object_type' =>
array
0 => string 'products' (length=8)
Forum: Plugins
In reply to: [Breadcrumb NavXT] [Plugin: Breadcrumb NavXT] Too few arguments for sprintf()Thank you for a prompt reply, mtekk. Today I have some more information.
Alas, but it looks nothing like a missing label 🙁 Because I added all of them, changed and resaved the post-types and taxonomies… what is more – is that I get this warning when clicking other tabs that utilize custom post-type functionality. I use Advanced Custom Fields (http://ww.wp.xz.cn/extend/plugins/advanced-custom-fields/) and Contact Form 7 (http://ww.wp.xz.cn/extend/plugins/contact-form-7/). Their “tabs” get the same error on the same line.
I do have a further remark though. It’s all happening on my local WAMP installation – whereas online (on one of my previous projects) it’s working OK and doesn’t show any Warnings (everywhere, be it ACF, CF7 or Custom Post Type UI). Would you say it is somehow related? I haven’t uploaded this current project online to check it yet
Forum: Networking WordPress
In reply to: Page template not loading using WordPress multisiteThanks for your prompt reply, esmi. I surely will from now on))) And I’m looking forward to this bug being corrected, because to my mind one-line version is much neater
Forum: Networking WordPress
In reply to: Page template not loading using WordPress multisiteOMG, this is simply unfair)))
I managed to solve the problem myself.Here is how I used to write the template name for almost ALL of my projects before 3.4 without any problems:
<?php /* Template Name: name_of_the_template */ ?>I changed it to
<?php /* Template Name: name_of_the_template */ ?>(as it is stated in the Codex)
and it now sees the template… I’m shocked, is there a great difference?
Forum: Themes and Templates
In reply to: Theme translation not workingHey, Giellemme. Your functions.php file should look like this:
load_theme_textdomain( 'percivale', TEMPLATEPATH . '/languages' ); $locale = get_locale(); $locale_file = TEMPLATEPATH . "/languages/$locale.php"; if ( is_readable($locale_file) ) require_once($locale_file);You reference
percivalebut don’t load it 🙂Forum: Fixing WordPress
In reply to: Upload error with NextGen Gallery and CF7 pluginLots of gratitude from me too, Col Pain. Thanks!!!
sickdelusion, joatblog1, it looks like it’s browser sprecific. It only doesn’t work in Firefox where the page is indeed scrolled up to the top 🙁 It works ok in Opera, IE7&8 and Chrome. I didn’t test it in Safari, though.
youlikeit, yeah, I agree that this functionality should be included in the box. The only thing I can add to defend the plugin makers is that PROBABLY they think most of the people use Lightbox or whatever other thing but not Shutter))) Or probably nobody has submitted this feature request.
As to your question. I think I will not be mistaken if I say that adding a span in line 131 would do your trick.
Your line 131 might look like this I guess.
D.innerHTML = '<div id="shWrap" onclick="shutterReloaded.hideShutter();"><img src="'+shutterLinks[ln].link+'" id="shTopImg" onload="shutterReloaded.showImg();" /><span class="mysuperclassname"></span></div>' + NavBar;But make sure that
shWrapis relatively (or absolutely) positioned and positionmysuperclassnameabsolutely.If not a span an
atag would arguably be a more semantic variant. If you don’t like using empty tags you can add some words into anaand hide them with your preferred way.P.s. I didn’t test it. If I had some more time I would test before writing, but sorry if it fails)))
sickdelusion, my advice is doublecheck everything. I am using the latest version of the plugin and did everything exactly like tiofelix had done, the only thing that I changed futher was line 131.
By the way, your “way” of closing the lightbox doesn’t scroll the page to the top (which is also great) whereas clicking the image does) and that’s really annoying.
Hm. Another thing to notice)))
I changed line 131 and deleted the
onclick="shutterReloaded.hideShutter();part on animg– and guess what?))) It miraculously closes the lightbox EVEN when clicking whithin an image, and what is more – the page isn’t scrolled to the top 😉My line 131 now looks like this:
D.innerHTML = '<div id="shWrap" onclick="shutterReloaded.hideShutter();"><img src="'+shutterLinks[ln].link+'" id="shTopImg" onload="shutterReloaded.showImg();" /></div>' + NavBar;