Forum Replies Created

Viewing 15 replies - 1 through 15 (of 26 total)
  • Thread Starter maustin89

    (@maustin89)

    Please put my review of this plugin back @jdembowski, clearly you did not even bother to read it.

    Thread Starter maustin89

    (@maustin89)

    Thank you Howard, that was very quick! I checked and it’s working great again now. I did already update my review yesterday since it wasn’t the right place for a bug report, and was unfairly commenting on a single transient issue & not reflective of what is a quite nice plugin overall. I will update it again now to reflect the promptness with which you were able to address this small issue.

    By the way, I enjoyed looking at your website – it has a nice aesthetic, very colorful & lots of fun imagery. Regards & take care.

    Thread Starter maustin89

    (@maustin89)

    Ok, thank you for the prompt response & suggestion, and sorry if it is an incorrect association between the update & the missing post titles. Rolling back the plugin does not affect the issue which seems to indicate it might be? However, there were literally no other changes to the site aside from a minor (unrelated) edit to the stylesheet. I saw the update was available, installed it, and after a page refresh the titles are no longer showing. They are not appearing in the markup either. I have no idea.

    I did leave a comment as a plugin review until I remembered about the support forum & realized it was a better way to communicate the issue. I saw that you deleted a duplicate something, sorry if that automatically opened another support thread or anything like that, I didn’t realize that it would.

    Everything causes me grief these days…

    Well, it was a short-lived test ?? The plugin installs & activates fine, but clicking the “insert icon” button does nothing & gives this error in the console

    Uncaught TypeError: Cannot read property 'length' of null
        at c._createIconpicker (fontawesome-iconpicker.min.js:20)
        at new c (fontawesome-iconpicker.min.js:20)
        at HTMLSpanElement.<anonymous> (fontawesome-iconpicker.min.js:20)
        at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-position,underscore,moxiejs,plupload&ver=4.9.8:2)
        at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-position,underscore,moxiejs,plupload&ver=4.9.8:2)
        at a.fn.init.a.fn.iconpicker (fontawesome-iconpicker.min.js:20)
        at HTMLSpanElement.<anonymous> (admin.js:32)
        at HTMLBodyElement.dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-position,underscore,moxiejs,plupload&ver=4.9.8:3)
        at HTMLBodyElement.r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-position,underscore,moxiejs,plupload&ver=4.9.8:3)

    this is on latest wordpress with no other plugins & 2017 theme. The current non-beta version of the plugin does work fine though

    • This reply was modified 6 years, 6 months ago by maustin89.

    I have just discovered this plugin but from the description of it it looks beautiful! Thanks a lot for the time & effort that surely must’ve gone into this! I will be installing & testing the beta plugin soon!

    Thread Starter maustin89

    (@maustin89)

    Thank you! I created the album to match the app name & now the photos are uploading there. Thx a lot !! :))

    I had this bug too, the problem is the plugin assigns user id 0 to guests, then when it checks to see if a user has already voted it looks for user id OR IP. So it checks the db for a guest w/ id 0 and finds all the other votes from guests who are also assigned user id 0.

    I fixed by editing the file feature-request\includes\class-avfr-db.php

    Search:
    WHERE userid="%s" OR ip ="%s" OR email="%s"

    Replace (3 replacements):
    WHERE (userid="%s" AND ip ="%s") OR email="%s"

    Search:
    ( ip ="%s" OR userid="%s" )

    Replace (1 replacement):
    ( ip="%s" AND userid="%s" )

    Nice update, works great! I think I tested & rejected this plugin in the past specifically because it lacked this functionality. Thank you for adopting & updating it!

    I noticed a similar problem – the plugin seems to find & resize images attached to posts, however when I FTP into the uploads folder there are still dozens of files above the specified dimensions in the various folders, e.g. /2015/12/ etc.

    @johanpirlouit, thanks from me as well! We had a similar discussion in the Simple Colorbox forum regarding this problem and arrived at the same solution as Tommy for gallery images, but yours is the first fix I’ve seen for titles on individual image links. It sure is hackish, but it’ll do! ??

    I’m experiencing the same problem as above, posts are set to display published date but are instead showing modified date. Is this a known problem or an aberration? Disabling other plugins had no effect.

    Thread Starter maustin89

    (@maustin89)

    Glad you solved your problem! Believe me, I understand completely about it driving you nuts. ?? Funny, I tried the Restore Image Title plugin as well and also found it ineffective.

    Thread Starter maustin89

    (@maustin89)

    That makes sense, though I note that the snippet to which he added esc_attr() did not include strip_tags() to begin with.

    And as a reminder, image title attributes were intentionally removed in 3.5 because developers apparently thought it was “ugly” to have auto-generated title attributes based on image file names (which are usually something like IMG3q089hr9h.jpg)

    https://core.trac.www.ads-software.com/ticket/18984

    This is a WordPress bug. I’m sorry (but not actually sorry) that the tooltip community has felt slighted by this one, but we won’t need to make a change. We made a choice, and this choice on the whole benefits all users and readers, not just those using screenreaders. How often have you moused over an image on a WordPress site and saw “IMG_1234”? One of the lamest things ever. Never again.

    Tooltips can still be added by opening the Edit Image modal and inserting something into the title attribute box. The only change is that the “Title” field — which is the name of an image’s attachment page — does not populate the title attribute.

    It does sort of make sense..ish, but has the unfortunate effect of making it impossible to add titles to gallery images.

    Thread Starter maustin89

    (@maustin89)

    Cool, thanks! I’ll take your word for it that it’s a superior solution.

    Thread Starter maustin89

    (@maustin89)

    A solution for restoring the title attribute to gallery images:

    //Add title attribute back to gallery images
    function my_image_titles($atts,$img) {
    	$atts['title'] = trim(strip_tags( $img->post_title ));
    	return $atts;
    }
    add_filter('wp_get_attachment_image_attributes','my_image_titles',10,2);

    From here: https://www.ads-software.com/support/topic/restoring-titles-to-inserted-images-in-wordpress-35?replies=12

    And, a hackish solution based on the above for restoring the title attribute to the links that wrap the gallery images, which are apparently what Simple Colorbox uses to derive captions:

    //Add title attribute back to gallery image links
    function my_get_attachment_link_filter( $content,$id ) {
            $title = get_the_title($id);
            $new_content = str_replace("<a ", "<a title=\"$title\" ", $content);
            return $new_content;
    }
    add_filter('wp_get_attachment_link', 'my_get_attachment_link_filter', 10, 4);

    Based on this and this and thisish.

    Ahhh, captions are glorious.

Viewing 15 replies - 1 through 15 (of 26 total)