Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter steveja7

    (@steveja7)

    Hi Stefano,

    You mention that you are changing the plugin to only allow access to a specific folder.

    If we are already restricting our access to a folder that is within the wp-content folder, does that protect us from the security risk in the current plugin?

    Also, my use of Include Me only uses files that have straight html content – no php. Does that eliminate the risk?

    Thanks for any information you can share.

    Thread Starter steveja7

    (@steveja7)

    This is very encouraging news. I already only use a directory that is contained in the wp-content directory, so I don’t anticipate any problems with your proposed solution.

    Thanks for the quick reply and the good news. Include Me is invaluable to some of my websites that display content generated from another desktop application.

    Thread Starter steveja7

    (@steveja7)

    Thanks. This looks like what I need, but was hoping for something where I didn’t have to get involved with the php code.

    Thread Starter steveja7

    (@steveja7)

    I think I may have more info on this problem. It appears that in order to remove the nag message for good, you have to dismiss it from the Plugins panel.

    I logged into another site that I support with FooGallery today and the nag messages were showing on the Admin Dashboard, the Appearance panel, and the Plugins panel. I had one each for FooGallery and FooBox Image Lightbox on all 3 panels.

    On the Dashboard panel, I dismissed the nag for FooGallery and then went to the Appearance panel – both messages were still there. I again dismissed the nag for FooGallery and then went to the Plugins panel where again both messages were still there. I dismissed the nag for FooGallery on the Plugins panel and then went back to the Dashboard and Appearance panels. The nag for FooGalley was gone. Going back to the Plugins panel, it was gone there too.

    I did the same with the nag for the Lightbox and found the same result. I could dismiss that nag message over and over but it came back. It was not until I dismissed it from the Plugins panel that it went away for good.

    I hope you can find this useful.

    Thread Starter steveja7

    (@steveja7)

    Well, now I wonder what is going on. I just logged on 4 of my sites using FooGallery and the issue with the nag message is not happening. This issue has been going on for months now and I lived with it so I know it wasn’t some one-off thing. But now, when I dismiss the messages they stay gone.

    I still had the problem on the one site using Gutenberg where the dismiss button would not activate, but I dismissed from the plugins window and that eliminated the message on all pages after that.

    Whatever the reason, I’ll take it!

    Thread Starter steveja7

    (@steveja7)

    Sorry if I wasn’t clear, but the nag messages appear regardless of whether Gutenberg is installed. It was only until I installed Gutenberg that they became a problem because the dismiss icon won’t respond on edit pages and posts using that plugin.

    I see the nag messages on any of the admin post, page, plugin, dashboard pages. I dismiss them, but they come right back the next time I am on the page. This is happening on a number of sites that I have.

    Since I didn’t see any complaints about this in the archive, it really makes me wonder if it is something to do with my installations, but I can’t imagine what that could be.

    Otherwise, I really like FooGallery.

    Thanks for this answer. In my case, I am using a very simple theme I created with _S. Using the built in WordPress widgets for Categories, Archives, Recent Posts, etc. the links were not working in Safari, but were working as expected in Chrome and Firefox. I changed the width in the #primary.content-area to 99% as you suggested and it fixed the problem.

    It appears this is not a problem with any particular theme. I really don’t understand why this works, but after hours of trying to debug my CSS, I’m not going to question it! ??

    Thread Starter steveja7

    (@steveja7)

    Beautiful! This appears to work. In my case, there was no setting for urlbutton in the record you mention, but I simply added it at the end with the value of none. I then had to logout and login again, but I’m getting the result I want.

    As for power users not liking it, you are right. But I need this for clients where they are NOT power users.

    Thanks so much for this. Not only solved my problem, but I learned that searching the database like you did can be helpful.

    Thread Starter steveja7

    (@steveja7)

    Sorry. I agree, I might not have been clear.

    I am using the Visual tab. By selecting the editing tool within the post, I mean that after the image is inserted and you click on the image, you get a selection of icons. By clicking on the pencil icon, you get a popup window where you can edit the settings for that image. It looks similar to the same window you get when you select the image for inserting. When I select that pencil icon, the Link To shows the custom link.

    When I switch to the Text tab, I can see that the WordPress post editor inserts a link to the media file. There should be no link.

    As for the code, I did a cut and paste from the article you quote. It is the same code. That said, here is the code:
    `function wpb_imagelink_setup() {
    $image_set = get_option( ‘image_default_link_type’ );

    if ($image_set !== ‘none’) {
    update_option(‘image_default_link_type’, ‘none’);
    }
    }
    add_action(‘admin_init’, ‘wpb_imagelink_setup’, 10);

    Thread Starter steveja7

    (@steveja7)

    Thanks for the reply. I read this and tried it. I’m not finding that it works for me.

    When adding an image to a post, I use the Add Media button to select from the media library. When I select from that page, the Display Settings show the Link To as None. This is what I want. But after I insert the image into the post and then select the editing tool within the post, the Display Settings show the Link To as Custom URL pointing to the media file.

    I can’t rely on my users to reset this to none.

    Thread Starter steveja7

    (@steveja7)

    Thanks for the reply.

    • This reply was modified 7 years, 5 months ago by steveja7. Reason: Accidentally posted to soon
    Thread Starter steveja7

    (@steveja7)

    Sure! If you want to add the code to your normal theme function EVERY time the theme is upgraded.

    You really should understand child themes if you want to be change ANYTHING in the theme you are using. It is very easy to implement a child theme.

    Thread Starter steveja7

    (@steveja7)

    Answered my own question. It is simply a matter of adding the following code to my child theme functions.php:

    add_filter('widget_text', 'do_shortcode');

    Thread Starter steveja7

    (@steveja7)

    The image renaming is not a problem for me. I only mentioned it because it clued me in to the fact that the image I was dropping was not the same physical image the page was displaying.

    I may look into your suggestion of removing the %data% attribute, more as a learning experience than anything I need to do. For now, the plugin is working fine and doing what I want. Doing some extra processing that I don’t need is NOT a problem if the end result is good! ??

    Now that I understand what I’m seeing, all is good. Thanks!

    Thread Starter steveja7

    (@steveja7)

    By the way, my list of thumbnails is back to showing the full list of DG documents, all but 3 are the generic pdf icons. So it seems something goes on in the background where DG is processing these. I suppose this is good for distributing load on the server, but I don’t like the uncertainty of what I will see in the list. I wish there was a way to tell DG to not do anything with thumbnails and only use the supplied images.

    As for the name changes, I drop an image on the list where I want to change from the generic thumbnail to my own. To be specific, the thumbnail image I drop is 4307_JerseyJazzFrontCover.jpg and the document name is 4307_JerseyJazzPageOne.pdf. On the resultant web page when looking at the source, the image name for the thumbnail is 4307_JerseyJazzPageOne-thum.jpeg.

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