Another amateur question - I'm wondering how I can change some of the global default settings, i.e. changing "Blogroll" to "links" and changing the links w/in, change category names, etc.
Another amateur question - I'm wondering how I can change some of the global default settings, i.e. changing "Blogroll" to "links" and changing the links w/in, change category names, etc.
Look under "Links" in the Control Panel
Hey just wanted to show my rear to you, so you can kick it--I misinterpreted your question...wups! Sorry.
I think Sacto is talking about upon new blog setup.
It's in the wpmu-functions.php file. Do a search in it for the createBlog function and take a look at the code.
Thanks :)
In the following, what is the second URL on each line of code? In other words, why are there two URLs on each line?
$wpdb->query("INSERT INTO $wpdb->links (link_url, link_name, link_category, link_owner, link_rss) VALUES ('http://wordpress.com/', 'WordPress.com', 1, '$userID', 'http://wordpress.com/feed/]');");
$wpdb->query("INSERT INTO $wpdb->links (link_url, link_name, link_category, link_owner, link_rss) VALUES ('http://wordpress.org/', 'WordPress.org', 1, '$userID', 'http://wordpress.org/development/feed/');");
The stuff within the first '()' marks tells you what it represents while the information after VALUES gives you the data.
For example:
link_url => http: //wordpress.com
link_name => Wordpress.com
link_category => 1
link_owner => $userID
link_rss => http: //wordpress/feed/
When you write your own, just copy the line and replace 1, 2, and 5 with what you want in there remembering to keep the single quotes.
For example:
$wpdb->query("INSERT INTO $wpdb->links (link_url, link_name, link_category, link_owner, link_rss) VALUES ('http: //kpremixed.tdjc.be/', 'Kim Possible: Remixed', 1, '$userID', 'http: //kpremixed.tdjc.be/feed/');");
Note: Spaces added after the colons to get them to show up correctly instead of as a link.
Is it safe to assume that if I don't have a feed, i.e. a link back to the main site, then I don't enter anything in the place of the second URL?
If the other site has a feed, I would just go ahead and put it in there. You may want it in there in the future. If you want to leave it out, just leave it back as two single quote without any sapce in between them.
Awesome... Thank you very much! :)
btw, where is that feed used?