José Miguel
Forum Replies Created
-
Hi @nicoter,
I hope everything is alright.
I was unable to respond faster.It is not a bug. It only happens while the cache is being populated. When you install the plugin and immediately test it. Once the cache is populated it only works with the link to your website.
However, you can deselect the option to display Gravatar images while the cache is populated, in other options.
Forum: Plugins
In reply to: [Optimum Gravatar Cache] Could not create directoryHi @jjjrrr,
Please verify that the owner of the “optimum-gravatar-cache” folder is the same as the user running the web service.
The plugin modifies cache file permissions and the cache owner must be the same as the user the web service uses to run php scripts.
Forum: Plugins
In reply to: [Optimum Gravatar Cache] After installing plugin, does not show up in menuHello @tannerchung
Version 1.4.5 already allows any user with the capability ‘manage_options’ to configure the plugin.
Please update and let me know if it solves your problem.
Forum: Plugins
In reply to: [Optimum Gravatar Cache] After installing plugin, does not show up in menuHello @tannerchung
Yes, OGC excludes per user role.
Only the administrator can currently configure the plugin.However, I can in the future version exclude the users by capability:
current_user_can (‘manage_options’)To allow certain users to modify options.
In this version if the user that accesses the administrative pages has the role administrator, the menus should appear.
Forum: Plugins
In reply to: [Optimum Gravatar Cache] After installing plugin, does not show up in menuHello @tannerchung
The plugin only shows the configuration pages for users who are administrators. It may have to do with user roles.
The user you used to access has the rule -> administrator?
Hello @stiofansisland
Yes, if it is possible for the user of UWP disable this feature will allow the user to use another plugin to manage the gratarars. There is no need for a plugin to remove filters from other plugins. In this way the UWP will adapt to more projects, with different characteristics.
Thank you!
Hello @stiofansisland
I believe that an option on the usersWP options page that allows the user to choose whether the plugin should manage the gravatar or not, would really be the best option. Because it allowed the user to use other plugins to manage the gravatars.
UsersWP also does not have full support for gravatars, there is no support for the filter:
‘get_avatar_url’It also does not support filters for buddypress:
‘bp_core_fetch_avatar’,
‘bp_core_fetch_avatar_url’Forum: Plugins
In reply to: [Optimum Gravatar Cache] Gravatars still showing as url redirects on YSlowHello @stiofansisland,
The print_r is only for analysis, it is in a local site to test no problem. I already modified the post.
I’m waiting for the commit.
Thank you!
Forum: Plugins
In reply to: [Optimum Gravatar Cache] Gravatars still showing as url redirects on YSlowHello @brewsi
After all it’s really the usersWP plugin that is making it impossible for other plugins to work with the gravatars.
If you disable the usersWP plugin you will find that the Optimum Gravatar Cache works perfectly.
At the moment I have no ideal solution to solve the situation. I will try to contact the usersWP developer later.
However I have a functional solution, but you have to add the following line of code to the OGC plugin file on line 159.
remove_all_filters('get_avatar');
Any doubts, say it!
Forum: Plugins
In reply to: [Optimum Gravatar Cache] Gravatars still showing as url redirects on YSlowHi @brewsi
According to the screenshot that you sent from your settings, the URL to the OGC Plugin cache directory must be this:
https://herbitravel.com/wp-content/uploads/optimum-gravatar-cache/.However this directory does not exist as you can see from the following screenshot:
https://snag.gy/ITZSR0.jpgThe plugin is prepared to do nothing if the cache directory does not exist. So the OGC plugin can not be redirecting to nowhere.
I have to close this ticket. Because the problem you present has nothing to do with this plugin.
First configure the plugin. If you need help setting up the plugin open another topic related to the plugin problem.
Thank you.
Forum: Plugins
In reply to: [Optimum Gravatar Cache] Gravatars still showing as url redirects on YSlowHello, the redirects you see in gtmetrix are not produced by the OGC plugin but by the userswp plugin.
The default gravatar for OGC plugin will always be served from the configured cache.
Try to disable all plugins to see if there is any incompatibility.
The plugin does not work without the cache directory.
Forum: Plugins
In reply to: [Optimum Gravatar Cache] Gravatars still showing as url redirects on YSlowThe cache directory https://herbitravel.com/wp-content/uploads/optimum-gravate-cache/ does not exist.
However I see that by screeshot there are 24 images.
Do you see any error messages when you save the options?
Forum: Plugins
In reply to: [Optimum Gravatar Cache] Gravatars still showing as url redirects on YSlowHave you tried clearing the cache of other full page cache plugins (WP Super Cache, for example)?
Have you checked if the images were created in the cache directory that is configured?