IvanRF
Forum Replies Created
-
What plugin was causing the issue?
Monarch Social Sharing Plugin.
There is a post about this from the plugin author here: http://contactform7.com/best-practice-to-set-up-mail/.
Forum: Reviews
In reply to: [Google AdSense] Easy to useLatest update of the plugin fixes the issue I reported, in the way I suggested 🙂
Here is the forum entry: https://productforums.google.com/forum/?utm_medium=email&utm_source=footer
Yes, it goes back to the previous login page.
Forum: Plugins
In reply to: [Rename wp-login.php] change sentenceare you referring about changing it to a different language?
Forum: Reviews
In reply to: [Rename wp-login.php] You must log in to access the admin area.@kiets that message is shown when you try to enter to
/wp-admin/without being logged. You need to enter to your new login URL firstI found the root cause and it wasn’t an attack, just a BAD coded third-party plugin making calls on every site visit.
I forgot to mention that I gain access to my Admin page again by defining a
.htaccessfile on the /wp-admin/ folder. Only allowing my IP I was able to free some resources.Forum: Plugins
In reply to: [Global Content Blocks] New Web Site for GCB PluginI think the approach showed in the example is wrong. Why would you set a default value in the same shortcode where you can set the actual value?
For example,
[contentblock id=4 default="Monticello Pooh"]will have the same result as[contentblock id=4 name="Monticello Pooh"]. So, why usedefaultthere.The default value must be set only once where you actually define the variable. That’s why my example was
%%variable||"default value"%%.I had the same issue on several domains. I think you should add a notice message after updating the plugin.
Edit: You can suggest to use Ctrl+F5 on the browser.
Forum: Plugins
In reply to: [Global Content Blocks] p tags addedWhat is the consensus for removing TinyMCE and simply using a textarea instead?
No, I think TinyMCE is still useful.
Is it possible to always load a Content Block at the Text tab from TinyMCE? that could solve this issue.
I forgot to mention, now your plugin can be translated through WordPress itself at:
https://translate.ww.wp.xz.cn/projects/wp-plugins/srizon-facebook-album.If you already have translators, you can ask to make them Project Translation Editors (PTE) at https://make.ww.wp.xz.cn/polyglots/.
Thanks for taking the time to do it! 👍
Hi Afzal, this will take you no more than 5 minutes. Just copy and paste the code that I sent you in the first message and this:
function filter_fb_text($txt) { if (strcmp($txt, 'Timeline Photos') == 0) $txt = __( 'Timeline Photos', 'srizon-facebook-album' ); else if (strcmp($txt, 'Cover Photos') == 0) $txt = __( 'Cover Photos', 'srizon-facebook-album' ); else if (strcmp($txt, 'Untitled Album') == 0) $txt = __( 'Untitled Album', 'srizon-facebook-album' ); else if (strcmp($txt, 'Mobile Uploads') == 0) $txt = __( 'Mobile Uploads', 'srizon-facebook-album' ); else if (strcmp($txt, 'Profile Pictures') == 0) $txt = __( 'Profile Pictures', 'srizon-facebook-album' ); return $txt; }Then, in gallery.php line 34, use
filter_fb_text($image['txt'])If you need more help with that, ask me.
There are some strings returned by Facebook that are in English, and it would be nice if the plugin can “filter” them in order to translate them.
For example, in
gallery.phpline 34,$image['txt']return this strings:- Timeline Photos
- Cover Photos
- Untitled Album
- Mobile Uploads
- Profile Pictures
Something like:
if (strcmp($image['txt'], 'Timeline Photos') == 0) $image['txt'] = __( 'Timeline Photos', 'srizon-facebook-album' ); ...