dejudicibus
Forum Replies Created
-
Forum: Plugins
In reply to: [Sidebar Login] Login not workingIt works in Opera but does not work in Firefox. Any idea why?
SOLVED! I found a way and decided to share it in case someone else has the same problem.
Forum: Plugins
In reply to: [Sidebar Login] [Plugin: Sidebar Login] Localisation not workingI sent to Andy also a new pot file since the old one contained a lot of obsolete strings and was missing few new ones.
Forum: Plugins
In reply to: [Sidebar Login] [Plugin: Sidebar Login] Localisation not workingSOLVED!!!
You must remove from line 11 in
sidebar-login.php
load_plugin_textdomain('sblogin', WP_PLUGIN_URL.'/sidebar-login/langs/', 'sidebar-login/langs/');
and add
load_plugin_textdomain( 'sblogin', false, dirname( plugin_basename( __FILE__ ) ) . '/langs/' );
just after line 237
function widget_wp_sidebarlogin_check() {
I did it and it works now. I hope the author will fix it asap, anyway.
Forum: Plugins
In reply to: [Sidebar Login] [Plugin: Sidebar Login] Localisation not workingI have exactly the same problem: I use qTranslate too, all plugins and widgets are localized BUT Sidebar Login. I gave a look at code and it really calls the text domain “sblogin” and mo and po files exist for my language too, but I always see texts in English… ??
Forum: Fixing WordPress
In reply to: [WP 3.3] No way to edit a comment timestampFound the problem: it is qTranslate that interfere with the way hide-if-no-js works!!!!!!
Forum: Fixing WordPress
In reply to: qTranslate and WordPress date/name format generate redirect loopNote that it occurs ONLY on index.php. All the other url’s work.
Forum: Fixing WordPress
In reply to: qTranslate and WordPress date/name format generate redirect loopBUT…. I have no more the problem if I use 127.0.0.1 instead of localhost!!!!
Forum: Requests and Feedback
In reply to: There is a SERIOUS problem in strip_shortcodes…and how to remove duplicated posts… sigh….
Forum: Requests and Feedback
In reply to: There is a SERIOUS problem in strip_shortcodesI really cannot understand how to SHOW the code by pastebin here!!!!
Forum: Requests and Feedback
In reply to: There is a SERIOUS problem in strip_shortcodesFor the moment I find the following solution that strips selected shortcodes PRESERVING the content.
<script src=”https://pastebin.com/embed_js.php?i=5CJKL5id”></script>
I use it as follows:
function get_safe_excerpt($max_length=350,$min_lenght=300) { $cnt = get_the_content(); $cnt = strip_tags($cnt); $cnt = strip_selected_shortcodes($cnt); return utf8_truncate($cnt,$max_length,TRUE,BRACKETED_ELLIPSIS,$min_lenght); }
where utf8_truncate is my unicode-safe function to truncate a text.
Forum: Requests and Feedback
In reply to: There is a SERIOUS problem in strip_shortcodesFor the moment I find the following solution that strips selected shortcodes PRESERVING the content.
[code moderated – please use the pastebin for any code over 10 lines long]
I use it as follows:
function get_safe_excerpt($max_length=350,$min_lenght=300) { $cnt = get_the_content(); $cnt = strip_tags($cnt); $cnt = strip_selected_shortcodes($cnt); return utf8_truncate($cnt,$max_length,TRUE,BRACKETED_ELLIPSIS,$min_lenght); }
where utf8_truncate is my unicode-safe function to truncate a text.
thank you for prompt reply… ok for separator… I usually prefer to avoid to have my own icon set to honor the original brands, but I will probably change the separator to a thiner one. It makes no sense to ave a separator as wide as an icon. As far as the order, yes, please, I will appreciate a change because the order is important for me: I wish to have at the beginning the most important (in my country) services.
it would be also nice to have the
facebooklike service (with badge)
googleplusbadge serviceForum: Fixing WordPress
In reply to: Importing posts from an Atom fileTried, but it has a 2M limit. I have not that limit since I installed WordPress locally first and changed php.ini file. So I ma looking for a plugin to install on my PC, because my XML is 7M+