ernestortiz
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: Question on SVNThanks for your reply, cubecolor. Unfortunately, it was my mistake while writing: the screenshots are indeed inside “assets” folder (at events-and-docs repo in plugins.svn.www.ads-software.com).
Forum: Hacks
In reply to: How to know if tb_show is closed or cancelledI got what I wanted; but changing the logic of the code (not knowing when the user cancel the tb_show, but the opposite). Sorry! and Thanks!
Forum: Hacks
In reply to: How to know if tb_show is closed or cancelledIn the meantime, I’m working on not to use tb_remove() and/or detect when user click on #TB_closeWindowButton…
Forum: Everything else WordPress
In reply to: SVN PHP error message, but code seems allrightI read a lot about this error online; without success.
Tried this app: https://versionsapp.com (I’m on a Mac) but the same error appears when Commit to the repository.
Finally, I reviewed the code inside ajaxes.php; and changed
if (!is_custom_post_type()) break;
to
if (is_custom_post_type()) //DO THE FOLLOWING
to avoid that “break”…., just in case.
And it works!Forum: Everything else WordPress
In reply to: SVN PHP error message, but code seems allrightThanks Andrew.
Forum: Hacks
In reply to: How to change the user description on-the-flyGot it! Just using ‘get_the_author_description’ filter.
Forum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] WordPress Wysiwyg Editor ProblemThe same for me. Had troubles (aparently) with javascript in the WYSIWYG editor, after upgraded WP to 3.9. “Solved” when disabled Akismet. One detail: it doesn’t happened in my local copy.
Forum: Fixing WordPress
In reply to: WP 2.7 Can’t Log OutHi. I just had the same “You are attempting to log out of (website name)” problem in WP 2.7 and found a simplest solution, I think.
As you know the URL of this page is similar to
(web root)/wp-login.php?action=logout&wpnonce=(numbers)
Well, I just went to
(web root)/wp-login.php?action=logout
deleting the “&wpnonce=(numbers)”, and cliked on the link that asks if you really want to close your session.
And the problem is gone away forever!Forum: Fixing WordPress
In reply to: How to exclude [caption] from rss feed?I made it without to change the wordpress core: you must to use the same previous idea but with the help of a filter (in this case, a hook that WordPress launches to ‘filter’ the_content_rss).
You just need to add the following code to the functions.php of your WordPress theme:
function notags_content_rss($content='') { $content = preg_replace("/\[caption.*\[\/caption\]/", '',$content); $content = preg_replace("/\[googlevideo.*\[\/googlevideo\]/", '',$content); return $content; } add_filter('the_content_rss', 'notags_content_rss');
Here you can add as many tags to clean as you want.
Hope it can be helpfull.Forum: Fixing WordPress
In reply to: How to exclude [caption] from rss feed?I had today the same problem and found this solution: “Idea: improving the_content_rss() in treating [caption] tag“.
Forum: Fixing WordPress
In reply to: No categories to ConvertHi. Just in case that someone still have the same problem (today I must to update one of my friend’s blog from 2.2.3 to current 2.6.1 version -my God!-, and the categories disappear after the update)…
The solution: BEFORE the update, open your wp_categories table and, if they are empty, fill every register of the category_description field with their correct name.
THEN you can update (I hope) without troubles.