Laughinglizard
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: No Smilies in Comments.Find this function in your template-functions.php (in your wp-includes folder):
function comment_text() {
global $comment;
$comment_text = stripslashes($comment->comment_content);
$comment_text = str_replace(‘<trackback />’, ”, $comment_text);
$comment_text = str_replace(‘<pingback />’, ”, $comment_text);
$comment_text = convert_chars($comment_text);
$comment_text = convert_bbcode($comment_text);
$comment_text = convert_gmcode($comment_text);
$comment_text = convert_smilies($comment_text);
$comment_text = make_clickable($comment_text);
$comment_text = balanceTags($comment_text,1);
$comment_text = apply_filters(‘comment_text’, $comment_text);
echo $comment_text;
}
And replace it with:
function comment_text() {
global $comment;
$comment_text = stripslashes($comment->comment_content);
$comment_text = str_replace(‘<trackback />’, ”, $comment_text);
$comment_text = str_replace(‘<pingback />’, ”, $comment_text);
$comment_text = convert_chars($comment_text);
$comment_text = convert_bbcode($comment_text);
$comment_text = convert_gmcode($comment_text);
$comment_text = make_clickable($comment_text);
$comment_text = balanceTags($comment_text,1);
$comment_text = apply_filters(‘comment_text’, $comment_text);
$comment_text = convert_smilies($comment_text);
echo $comment_text;
}Forum: Installing WordPress
In reply to: 1.0 Upgrade Install problem@seriocomic: “Also, do I need to have ‘b2’ or ‘wp_’ in the wp-config.php file if the old blog used ‘b2’?”
If your old blog had b2 as the prefix, use b2 in wp-config.php Thats why your update comes up with the ‘It doesn’t look like you’ve installed WP yet. Try running install.php.’ error.Forum: Fixing WordPress
In reply to: 1.0: problems with archives. they’ve disppeared.Glad it worked! I was off with my girlfriend for her birthday so I could not respond…sorry!
Forum: Fixing WordPress
In reply to: 1.0: problems with archives. they’ve disppeared.This might be a temporary fix for you guys till allusion comes up with a better solution. Off the top of my head:
Find this line in your wp-blog-header.php:
} elseif ($what_to_show == ‘days’) {
and replace it with this line:
} elseif ($what_to_show == ‘days’ && empty($monthnum) && empty($year) && empty($day)) {
Hope this helps.
PeaceForum: Fixing WordPress
In reply to: 1.0: problems with archives. they’ve disppeared.It is very difficult to troubleshoot because I dont have access to your databases. However, try this:
Put this line at the end of your wp-blog-header.php before the ending php tags (?>):
echo $where;
It should look like this on top of your page:
AND YEAR(post_date)=2003 AND post_date <= ‘2004-01-03 12:21:53’ AND (post_status = “publish”)
when using index.php?year=2003Forum: Installing WordPress
In reply to: 1.0 clean installThe workaround will only work (and will only be needed) if you already have b2 tables which you are upgrading. Rocksolid…try changing the wp-config.php manually
Forum: Fixing WordPress
In reply to: Missing PostsPlease look at this thread when you get a minute…
http://wordpress.org/support/3/1505Forum: Fixing WordPress
In reply to: 1.0: problems with archives. they’ve disppeared.I dont think your problem is the mod_rewrite rules. Your old archives work just fine. Your new archives dont work even without the mod_rewrite rules.
For example:
http://denial.loose-screws.com/index.php?m=200312 – works, 0.72 style
http://denial.loose-screws.com/index.php?year=2003&monthnum=12 – does not
Which leads me to believe that you might not have replaced all the require links in your index.php. I see that wp-blog-header.php is on your server. Is it part of the require in your index.php?Forum: Installing WordPress
In reply to: Upgrading From b2GamerZ…comment out that line in wp-settings.php while you upgrade from b2….it should work that way. I would backup EVERYTHING first…LOL
good luck!Forum: Installing WordPress
In reply to: Upgrading From b2I dont think the upgrade.php is meant to be used to upgrade from b2. There is a call to wp-settings.php from inside wp-config.php which is included from the upgrade script. wp-settings.php looks for the options inside the database (which do not exist in your case) and when not found, die with the “It doesn’t look like you’ve installed WP yet. Try running install.php.” error. I would install a fresh copy of WP (with a new database if possible) and import your b2 entries into that copy using import-b2.php .
Hope that helps.Forum: Installing WordPress
In reply to: 1.0 clean installDid you create the MySql database (before using the install script) and change the necessary values in wp-config-sample.php and rename it to wp-config.php?
I dont quite understand what you mean by “i run the install-config”.Forum: Installing WordPress
In reply to: Upgrading From b2Welcome! Allusion is aware of the bugs.
Forum: Installing WordPress
In reply to: Upgrading From b2Here are the fixes Gamerz.
Open your import-b2.php and you will need to change the following lines:
Line 62: Change import-b2.php.php?step=1 to import-b2.php?step=1
Line 191: Change import-b2.php.php?step=2 to import-b2.php?step=2
Line 248: Change upgrade-071-to-072.php to upgrade.php
Now try to access import-b2.php and see if it goes through.
PeaceForum: Installing WordPress
In reply to: 1.0 Upgrade Install problemI try to stay away from making major changes at night myself! LOL
Im going to hold off on my upgrades till the CVS matures a little…Forum: Installing WordPress
In reply to: 1.0 Upgrade Install problemremember to redo the wp-config.php file which has changed in the new release.