Laughinglizard
Forum Replies Created
-
Forum: Plugins
In reply to: Hacked a ZFeeder theme for WPSure thing! Post it on here or send it to me in an email and I will list it as a new WordPress template on my Weblog Tools Collection. Heck I might use it if I like it as much. 🙂
Forum: Fixing WordPress
In reply to: How can I upload images and filesThe upload button shows up when you click on the advanced editing tab on the post screen.
Forum: Plugins
In reply to: AutoUpdate LiveJournal HackThere is a little bugfix for this hack. The hack tutorial has been updated.
Forum: Fixing WordPress
In reply to: Links “Updated” in 1.0.1Cena, I did it while I was working on it. 😛
Forum: Fixing WordPress
In reply to: Viewing posts without viewing site?Click on edit and scoll down to see your old posts and comments.
Forum: Plugins
In reply to: Threaded comments hack – 0.72I dont see too much of a problem. Make sure all the parts of the hack still exist in your code. My hack instructions have been modified for 1.0+ Especially, I would make sure this line exists in your wp-comments.php:
$comments = $wpdb->get_results(“SELECT * FROM $tablecomments WHERE comment_post_ID = ‘$id’ AND comment_reply_ID = ‘0’ AND comment_approved = ‘1’ ORDER BY comment_date”);
and this line exists in your wp-comments-post.php:
$wpdb->query(“INSERT INTO $tablecomments
(comment_ID, comment_post_ID, comment_reply_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_content, comment_approved)
VALUES
(‘0’, ‘$comment_post_ID’, ‘$comment_reply_ID’, ‘$author’, ‘$email’, ‘$url’, ‘$user_ip’, ‘$now’, ‘$comment’, ‘$approved’)
“);Forum: Plugins
In reply to: Threaded comments hack – 0.72I see now. I know it works with 1.0 I will have to look through the 1.01 code. Give me a few.
Forum: Plugins
In reply to: Threaded comments hack – 0.72I dont see it on your site. Do you still have that problem? What did you do to fix it? (for everyone’s benefit)
Forum: Requests and Feedback
In reply to: 1.01 doesn’t look right in Mozilla…Hold down the shift key when you hit refresh. Quick way to *really* reload the page.
Forum: Plugins
In reply to: Ping Blogrolling.com Hack – very simplewhat is your blog url? Could you create a temporary account for me to test from and email me the username/password? Thanks
Forum: Installing WordPress
In reply to: 1.0.1 first installYour wordpress directory does not have write permissions. You need to chmod 766 to your wordpress directory and then chmod 755 after you finish your install. If it does not make sense, try editing the wp-config-sample.php by hand (as per instructions) and saving it in the root of your blog as wp-config.php
Forum: Plugins
In reply to: Ping Blogrolling.com Hack – very simpleThats what I thought was happening. Please make sure that your URL and the name for your WordPress blog are exactly the same as the one that you are blogrolling. In other words, when you signed up for BlogRolling you provided a name for your blog and the URL, these have to match the WP ones, exactly. Even the last backslash matters in some cases.
Forum: Plugins
In reply to: Hacks — must be redone with each version?TAG: That would really depend on the hack or modification being implemented. Most of the hacks that you see on here do not necessarily need to be completely redone. Starting with 1.0, there is the concept of a my-hacks.php file which contains all the new code of the hacks. In order to add the hack to your WordPress, copy the included function(s) into your my-hacks.php This file is never included in the installation and thus never gets overwritten or updated in case of a complete WP application update. In order for the added hack to work (after you have put it in your my-hacks.php), you have to add very small function calls inside the index.php (or other files). On performing a complete update of the program, these function calls will have to be put back in. and the hacks will work again, my-hacks.php stays intact. (Unless there is major file and/or function renaming, which should not happen for a long time)
PeaceForum: Plugins
In reply to: Ping Blogrolling.com Hack – very simpleHow do you know that it is not working?
Forum: Plugins
In reply to: Ping Blogrolling.com Hack – very simpleUse this function instead of the one on top of this thread as the function for pinging blogrolling.com (for WordPress 1.0+). You could put it in functions.php or in your my-hacks.php :
function pingBlogrolling($blog_ID = 1) {
global $blogname,$siteurl,$blogfilename;
if ((!(($blogname==”my weblog”) && ($siteurl==”http://example.com”) && ($blogfilename==”wp.php”))) && (!preg_match(“/localhost\//”,$siteurl))) {
$client = new xmlrpc_client(“/pinger/”, “rpc.blogrolling.com”, 80);
$message = new xmlrpcmsg(“weblogUpdates.ping”, array(new xmlrpcval($blogname), new xmlrpcval($siteurl.”/”.$blogfilename)));
$result = $client->send($message);
if (!$result || $result->faultCode()) {
return false;
}
return true;
} else {
return false;
}
}
Place pingBlorolling($blog_ID); after pingBlogs($blog_ID); in your post.php (inside your wp-admin folder)
Just as a side note, this is really perfunctory because Blogrolling.com gets its recently updated list from blo.gs and from weblogs.com and does not need to be pinged seperately. Only if your WordPress blog does not show up in that list when updated should you try to add this function.