fbdp
Forum Replies Created
-
Forum: Installing WordPress
In reply to: wordpress debian packageI also got WordPress package but as my localhost is located at /var/www/ I had to move WP directory to there. Check the DocumentRoot directive in your Apache configuration file httpd.conf.
Forum: Plugins
In reply to: Sanitize Titles MT StyleGot it. Thank you again!
Forum: Plugins
In reply to: Sanitize Titles MT StyleGreat!
But, I just need the Sanitize Titles part (e.g. convert ?? to a). I don’t like MT “underscore” Style, so I had to hack the plugin to keep the ‘-‘ instead of ‘_’. What about break this plugin in 2?
I hope the accented-to-unnaccented conversion instead of remove will be built-in on WP someday.
Thanks.Forum: Requests and Feedback
In reply to: [Req] better accents conversion in permalinksForum: Requests and Feedback
In reply to: [Req] better accents conversion in permalinksI’d really like to see this built-in on WP. Any chance?
Forum: Requests and Feedback
In reply to: [Req] better accents conversion in permalinksWP 1.2b has the same issue… You can use the same procedure above. You will find the function sanitize_title inside /wp-includes/functions-formatting.php
Forum: Requests and Feedback
In reply to: [Req] better accents conversion in permalinksThis problem seems to be fixed in 1.2b. (?)
In previous versions, I used to put this function inside my my-hacks.php file:
function removeaccents($string) {
return strtr($string, "???????€?????????…???????‰?????????????‘?’?“??????–???????????????¢?£?¤?¥?|?§?¨???a?????-???ˉ?±?2?3?′?μ???1?o??????", "SsYAAAAAAACEEEEIIIINOOOOOUUUUYaaaaaaaceeeeiiiinooooouuuuy");
}
And in /wp-includes/functions.php add this line in function satinize_title:
$title = removeaccents($title);
after
$title = preg_replace('/&.+;/', '', $title); // kill entities
This worked for me. Hope it helps. If not, post again.Forum: Plugins
In reply to: CSS Style Switcherdavidcrickett: Check this thread:
Alex wp-switcher not working properlyForum: Plugins
In reply to: CSS Style SwitcherYes, siteurl… (I’m on WP 1.2). (I’m the Anonymous.)
The style switcher uses a cookie to record your preferred style. My problem was that I was visiting the site as https://localhost/wp but the cookie was being written as to https://127.0.0.1/wp. As the script was reading the cookie from https://localhost/wp it couldn’t detect the style change.
Can you provide a URL so I could check the problem? I looked at your site but it’s using another style switcher (and it’s working).