skippy
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: Question to the mods/admins on censorshipYour thread was deleted because it was completely off-topic.
If you have a blog, post your thoughts there.
Forum: Requests and Feedback
In reply to: Is the 2.0 Visual Editor “All or Nothing”?What do you need your QuickTags to do? If you just want a button to insert, say, your name, the following example plugin should demonstrate how to do that with buttonsnap:
<?php
/*
Plugin Name: Button Example
Plugin URI: http://www.skippy.net/blog/
Description: Demonstrates how to use buttonsnap
Version: 1.0
Author: Scott Merrill
Author URI: http://www.skippy.net/
*/
// use Owen's excellent ButtonSnap library
include('buttonsnap.php');
/**
Register our button in the QuickTags bar
*/
function my_button_init() {
$url = get_settings('siteurl') . '/wp-content/my_button.png';
buttonsnap_textbutton($url, 'ME', 'skippy');
}
add_action('init', 'my_button_init');
?>Create the image “my_button.png”, and store it in your /wp-content/ directory. The $url is the path to your button image. So the call to
buttonsnap_textbuttonhas these parameters:
* the path to the image to use for the visual editor
* the text for the button in editor (or the hovertext in the visual editor)
* the text to insert when the button is clickedIt should be trivial to extend that example to do all sorts of fun stuff.
Forum: Alpha/Beta/RC
In reply to: 1.5 backup – what about multiple MYSQL accts?You can upgrade individual blogs inside the same database. The table prefix ensures that only one blog at a time will get upgraded.
Forum: Alpha/Beta/RC
In reply to: Just some bugs I’ve noticedNot all plugins are yet compatible with WordPress 2.0. See this page for an on-going effort to record which are and aren’t.
Forum: Fixing WordPress
In reply to: Database functions for pluginThere are no native functions for this. You’d need to use the get_results() method of the $wpdb object to execute a SQL query to show what you want.
Forum: Fixing WordPress
In reply to: SMTP email functions to replace phpmailwpPHPmailer is a great plugin for handling SMTP.
Forum: Fixing WordPress
In reply to: Show text or anything if user == unregistered`<?php
global $user_name;
get_currentuserinfo();
if (” == $user_name) {
// they’re not logged in
echo “Please consider creating an account!”;
}
?>Forum: Installing WordPress
In reply to: MYSQL Database ErrorThe fact that your domain became active today has nothing to do with this.
What FTP program are you using? It might be worthwhile to try an alternate program. You are taking care to upload in ASCII mode, right?
Forum: Alpha/Beta/RC
In reply to: Comment Count IssuesSee this post to the hackers mailing list for a little more information.
Forum: Themes and Templates
In reply to: Inserting newsYou can use the RSS feed(s) from WordPress to drive an aggregator of some sort. Several solutions exist for this, though I’m not familiar with any of them.
Forum: Everything else WordPress
In reply to: Help with my coding …You already asked this question in “Themes and Templates”. I’m locking this thread. Wait for an answer in the other one.
Forum: Installing WordPress
In reply to: MYSQL Database ErrorThe error you received:
Parse error: parse error, unexpected $ in /home/theart/public_html/blog/wp-includes/wp-db.php on line 306
is a PHP parse error, which has nothing to do with the database. This is PHP saying “Hey, I found a dollar sign and I wasn’t expecting one”.That usually means you need to re-upload the PHP files to your server, taking care to use ASCII mode for any FTP transfers.
Forum: Alpha/Beta/RC
In reply to: No Editor at allThat is the contents of the WordPress dashboard, which is its own menu item. What happens if you click the other menu items? What happens if you refresh the page?
Forum: Fixing WordPress
In reply to: Error Accessing “Manage”, and Blogian2: I don’t know. I’ve not seen that error before. I was merely pointing out one way in which you can help yourself. If you do what you asked above, and it works, please let us know! If it doesn’t work, let us know that, too; and be sure to tell us what does fix the problem so that this thread can help others in the future.
Forum: Alpha/Beta/RC
In reply to: Not Ready for Prime TimeThis thread isn’t going to go anywhere. Locking. Start a new thread for new bug reports; or check trac.wordpress.org to see if your bug has already been reported.