From jjb at ibiblio.org Tue Jul 4 15:28:24 2006 From: jjb at ibiblio.org (John Joseph Bachir) Date: Tue, 4 Jul 2006 15:28:24 -0400 (EDT) Subject: [Lyceum-dev] full text search Message-ID: Some of you might be interested in this: http://sphinxsearch.com/index.html I'm going to be looking into using it for Lyceum. John ---- aim/yim/msn/jabber.org: johnjosephbachir 713.494.2704 irc://irc.freenode.net/lyceum http://lyceum.ibiblio.org/ http://blog.johnjosephbachir.org/ From jjb at ibiblio.org Wed Jul 19 23:50:01 2006 From: jjb at ibiblio.org (John Joseph Bachir) Date: Wed, 19 Jul 2006 23:50:01 -0400 (EDT) Subject: [Lyceum-dev] wordpress -> wordpress (or lyceum?) import Message-ID: yes! http://www.technosailor.com/wordpress-to-wordpress-import/ if anyone tries this out, let us know your experiences, either on this email list, or on this ticket: http://source.ibiblio.org/trac/lyceum/ticket/401 John ---- aim/yim/msn/jabber.org: johnjosephbachir 713.494.2704 irc://irc.freenode.net/lyceum http://lyceum.ibiblio.org/ http://blog.johnjosephbachir.org/ From david at ion.lu Thu Jul 20 09:52:25 2006 From: david at ion.lu (David Raison) Date: Thu, 20 Jul 2006 15:52:25 +0200 Subject: [Lyceum-dev] Questions regarding development Message-ID: <44BF8A99.5020909@ion.lu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, We're a network services hosting company and we're planning on hosting weblogs for our customers. I've come accross your project, and have now been playing a bit with your system-admin tools. Now I've got a few questions: 1. How active is your development? Your last post (on your blog) is from the 3. of July, what about your latest development efforts? (Last commit 17 hours ago, though only 1 file. 2. I've seen that you're using 'trac'. Although I'm not (yet) familiar with it, I've seen that it supports subversion as a versioning system. In case we'd like to contribute to your source base - if this is possible at all - what are the connection details? 3. This is a very specific question: Your lyceum_create_blog_from_username script supports giving the blog as an argument. Your not doing this though (not even offering a formular field), is there a particular reason to this or not? Thanks in advance, David Raison - -- ION Network Solutions www.ion.lu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRL+Klg0qUvAvPlXnAQKOaQP/SwZJezkItD3gty0Bk4sg5O26+BxbFJ4E BHij1VyYvDPcLmMOdEG36UnRdE5+x/F4cnoeyVZNYhNqZK//az4TwGtwB+CDg8sp 3afP1t+eb4jF/OwmTbjTu+AbZBtCrI8nq6k3MfRxlhNJTGePDWbxhQK0e9TOEVOg xPXxhowUB6k= =nSPs -----END PGP SIGNATURE----- From jjb at ibiblio.org Sat Jul 22 16:02:24 2006 From: jjb at ibiblio.org (John Joseph Bachir) Date: Sat, 22 Jul 2006 16:02:24 -0400 (EDT) Subject: [Lyceum-dev] Questions regarding development In-Reply-To: <44BF8A99.5020909@ion.lu> References: <44BF8A99.5020909@ion.lu> Message-ID: On Thu, 20 Jul 2006, David Raison wrote: > 1. How active is your development? Our development is funded and very active. I recently moved to a new city so we've seen some slow-down. Overall development might slow down a bit, but the development and support facilities are still there and given a lot of attention. > 2. I've seen that you're using 'trac'. Although I'm not (yet) familiar > with it, I've seen that it supports subversion as a versioning system. > In case we'd like to contribute to your source base - if this is > possible at all - what are the connection details? We love trac. Yes you are free to access the subversion respository for everything except commits. If you have a patch to submit, then you may do so via a trac ticket. You can checkout the project as specified here: http://lyceum.ibiblio.org/downloads > 3. This is a very specific question: Your > lyceum_create_blog_from_username script supports giving the blog as an > argument. Your not doing this though (not even offering a formular > field), is there a particular reason to this or not? I'm not sure what you are referring to. What do you mean by "script"? is it a function somewhere? something in the interface? let us know. (the better place for support questions is on the lyceum-users list or in the irc room). thanks for your interest! John ---- aim/yim/msn/jabber.org: johnjosephbachir 713.494.2704 irc://irc.freenode.net/lyceum http://lyceum.ibiblio.org/ http://blog.johnjosephbachir.org/ From david at ion.lu Sun Jul 23 18:21:41 2006 From: david at ion.lu (David Raison) Date: Mon, 24 Jul 2006 00:21:41 +0200 Subject: [Lyceum-dev] Questions regarding development In-Reply-To: References: <44BF8A99.5020909@ion.lu> Message-ID: <44C3F675.2070509@ion.lu> Hi again, sorry for the delay, but under the recent load of spam, Thunderbird even thought this mail was one of them. >> 3. This is a very specific question: Your >> lyceum_create_blog_from_username script supports giving the blog as >> an argument. Your not doing this though (not even offering a formular >> field), is there a particular reason to this or not? > > I'm not sure what you are referring to. What do you mean by "script"? > is it a function somewhere? something in the interface? let us know. > (the better place for support questions is on the lyceum-users list or > in the irc room). Oh, I'm sorry, I meant function. It's in lyceum/src/lib/wp-includes/registration-functions.php on line 167. The function is called in the blog management page of the lyceum system settings tool. I've seen though, that one can add a user and a blog in the same go using the "register user" page (http://server/lyceum/register), which kind of makes calling lyceum_create_blog_from_username() with a blogname obsolete. (I'm yet to discover if one can keep users from ticking that box, in order to keep them from choosing blog names themselves) What I did was simply adding an input box to allow me to give the newly created blog a customized name, which is much nicer than "user_blog_#" I'll have a closer look @ the system settings pages again tomorrow and see if I can/need to fix any of your tickets right there. cheers, David R. From jjb at ibiblio.org Sun Jul 23 18:25:40 2006 From: jjb at ibiblio.org (John Joseph Bachir) Date: Sun, 23 Jul 2006 18:25:40 -0400 (EDT) Subject: [Lyceum-dev] Questions regarding development In-Reply-To: <44C3F675.2070509@ion.lu> References: <44BF8A99.5020909@ion.lu> <44C3F675.2070509@ion.lu> Message-ID: On Mon, 24 Jul 2006, David Raison wrote: > > What I did was simply adding an input box to allow me to give the newly > created blog a customized name, which is much nicer than "user_blog_#" Jameson- did we change this in trunk? John ---- aim/yim/msn/jabber.org: johnjosephbachir 713.494.2704 irc://irc.freenode.net/lyceum http://lyceum.ibiblio.org/ http://blog.johnjosephbachir.org/ From fusion at ibiblio.org Sun Jul 23 19:22:15 2006 From: fusion at ibiblio.org (Jameson Lopp) Date: Sun, 23 Jul 2006 19:22:15 -0400 Subject: [Lyceum-dev] Questions regarding development In-Reply-To: <44C3F675.2070509@ion.lu> References: <44BF8A99.5020909@ion.lu> <44C3F675.2070509@ion.lu> Message-ID: <44C404A7.2010904@ibiblio.org> I actually made ticket 573 http://source.ibiblio.org/trac/lyceum/ticket/573 a few weeks ago to go over the system admin pages and make them friendlier / more functional - slated for the .40 release. - Jameson David Raison wrote: > Hi again, > > sorry for the delay, but under the recent load of spam, Thunderbird even > thought this mail was one of them. >>> 3. This is a very specific question: Your >>> lyceum_create_blog_from_username script supports giving the blog as >>> an argument. Your not doing this though (not even offering a formular >>> field), is there a particular reason to this or not? >> I'm not sure what you are referring to. What do you mean by "script"? >> is it a function somewhere? something in the interface? let us know. >> (the better place for support questions is on the lyceum-users list or >> in the irc room). > Oh, I'm sorry, I meant function. It's in > lyceum/src/lib/wp-includes/registration-functions.php on line 167. > The function is called in the blog management page of the lyceum system > settings tool. > > I've seen though, that one can add a user and a blog in the same go > using the "register user" page (http://server/lyceum/register), which > kind of makes calling lyceum_create_blog_from_username() with a > blogname obsolete. (I'm yet to discover if one can keep users from > ticking that box, in order to keep them from choosing blog names themselves) > What I did was simply adding an input box to allow me to give the newly > created blog a customized name, which is much nicer than "user_blog_#" > > I'll have a closer look @ the system settings pages again tomorrow and > see if I can/need to fix any of your tickets right there. > > cheers, > David R. > _______________________________________________ > Lyceum-dev mailing list > Lyceum-dev at lists.ibiblio.org > http://lists.ibiblio.org/mailman/listinfo/lyceum-dev > From lyceum at solidgone.com Sun Jul 30 22:42:36 2006 From: lyceum at solidgone.com (DaveG) Date: Sun, 30 Jul 2006 22:42:36 -0400 Subject: [Lyceum-dev] Widgets: MyBlogs and All Blogs Message-ID: <44CD6E1C.10404@solidgone.com> I'm trying to create two widgets. One to show all the current users blogs, and one to show all blogs. I've successfully created a "hello world" widget, so my widget base is okay. I was thinking of using the existing code in /default/sidebar.php. However moving this into the widget fails. I believe it's the very first statement that's the problem, which suggests that there are some functions out of scope. 1] Is there someway to bring the functions in scope? 2] A better approach might be to make the code into Lyceum functions rather than hard coding in /default/sidebar.php, and then calling the functions from the sidebar. If I did that would the functions be in scope, or am I back to problem 1? 3] Is there a better approach I should take? ~ ~ Dave -------- SNIPET for ALL_BLOGS widget --------- echo $before_widget; //---------------- $wpdb->query(" CREATE TEMPORARY TABLE bloginfo SELECT $wpdb->blogs.id, $wpdb->blogs.slug, option_value as blogname, status FROM $wpdb->blogs INNER JOIN $wpdb->options ON ($wpdb->blogs.id = $wpdb->options.blog) INNER JOIN $wpdb->posts INNER JOIN $wpdb->post2cat ON (post_id = $wpdb->posts.ID) INNER JOIN $wpdb->categories ON (category_id = cat_ID AND $wpdb->categories.blog = $wpdb->options.blog) WHERE status = 'active' AND option_name = 'blogname' ORDER BY post_date_gmt DESC "); $blogs = $wpdb->get_results("SELECT DISTINCT(id), slug, blogname, status FROM bloginfo"); echo $before_title . $title . $after_title; if ($blogs) if(SUBDOMAINS) foreach ($blogs as $b) echo "slug.".MAINDOMAIN."\">$b->blogname"; else foreach ($blogs as $b) echo "slug\">$b->blogname"; //---------------- echo $after_widget; From fusion at ibiblio.org Sun Jul 30 22:47:52 2006 From: fusion at ibiblio.org (Jameson Lopp) Date: Sun, 30 Jul 2006 22:47:52 -0400 Subject: [Lyceum-dev] Widgets: MyBlogs and All Blogs In-Reply-To: <44CD6E1C.10404@solidgone.com> References: <44CD6E1C.10404@solidgone.com> Message-ID: <44CD6F58.4060500@ibiblio.org> $wpdb is a global variable, so before you start using it you should have the statement: global $wpdb; Hopefully that's the only problem with the code :-P - Jameson DaveG wrote: > I'm trying to create two widgets. One to show all the current users > blogs, and one to show all blogs. I've successfully created a "hello > world" widget, so my widget base is okay. > > I was thinking of using the existing code in /default/sidebar.php. > However moving this into the widget fails. I believe it's the very first > statement that's the problem, which suggests that there are some > functions out of scope. > 1] Is there someway to bring the functions in scope? > 2] A better approach might be to make the code into Lyceum functions > rather than hard coding in /default/sidebar.php, and then calling the > functions from the sidebar. If I did that would the functions be in > scope, or am I back to problem 1? > 3] Is there a better approach I should take? > > ~ ~ Dave > > -------- SNIPET for ALL_BLOGS widget --------- > echo $before_widget; > //---------------- > $wpdb->query(" > CREATE TEMPORARY TABLE bloginfo > SELECT $wpdb->blogs.id, $wpdb->blogs.slug, option_value as > blogname, status > FROM $wpdb->blogs > INNER JOIN $wpdb->options ON ($wpdb->blogs.id = > $wpdb->options.blog) > INNER JOIN $wpdb->posts > INNER JOIN $wpdb->post2cat ON (post_id = $wpdb->posts.ID) > INNER JOIN $wpdb->categories ON (category_id = cat_ID AND > $wpdb->categories.blog = $wpdb->options.blog) > WHERE > status = 'active' AND > option_name = 'blogname' > ORDER BY post_date_gmt DESC > "); > $blogs = $wpdb->get_results("SELECT DISTINCT(id), slug, blogname, > status FROM bloginfo"); > > echo $before_title . $title . $after_title; > > if ($blogs) > if(SUBDOMAINS) > foreach ($blogs as $b) > echo " href=\"http://$b->slug.".MAINDOMAIN."\">$b->blogname"; > else > foreach ($blogs as $b) > echo "slug\">$b->blogname"; > //---------------- > echo $after_widget; > > _______________________________________________ > Lyceum-dev mailing list > Lyceum-dev at lists.ibiblio.org > http://lists.ibiblio.org/mailman/listinfo/lyceum-dev > From lyceum at solidgone.com Sun Jul 30 22:59:42 2006 From: lyceum at solidgone.com (DaveG) Date: Sun, 30 Jul 2006 22:59:42 -0400 Subject: [Lyceum-dev] Widgets: MyBlogs and All Blogs In-Reply-To: <44CD6F58.4060500@ibiblio.org> References: <44CD6E1C.10404@solidgone.com> <44CD6F58.4060500@ibiblio.org> Message-ID: <44CD721E.2070807@solidgone.com> Jameson Lopp wrote: > $wpdb is a global variable, so before you start using it you should > have the statement: > > global $wpdb; > That worked great, thanks! Here's the final code (with a few HTML tweaks): echo $before_widget; //---------------- global $wpdb; $wpdb->query(" CREATE TEMPORARY TABLE bloginfo SELECT $wpdb->blogs.id, $wpdb->blogs.slug, option_value as blogname, status FROM $wpdb->blogs INNER JOIN $wpdb->options ON ($wpdb->blogs.id = $wpdb->options.blog) INNER JOIN $wpdb->posts INNER JOIN $wpdb->post2cat ON (post_id = $wpdb->posts.ID) INNER JOIN $wpdb->categories ON (category_id = cat_ID AND $wpdb->categories.blog = $wpdb->options.blog) WHERE status = 'active' AND option_name = 'blogname' ORDER BY post_date_gmt DESC "); $blogs = $wpdb->get_results("SELECT DISTINCT(id), slug, blogname, status FROM bloginfo"); echo $before_title . $title . $after_title . "" . $after_widget; From jjb at ibiblio.org Sun Jul 30 23:03:17 2006 From: jjb at ibiblio.org (John Joseph Bachir) Date: Sun, 30 Jul 2006 23:03:17 -0400 (EDT) Subject: [Lyceum-dev] Widgets: MyBlogs and All Blogs In-Reply-To: <44CD721E.2070807@solidgone.com> References: <44CD6E1C.10404@solidgone.com> <44CD6F58.4060500@ibiblio.org> <44CD721E.2070807@solidgone.com> Message-ID: great stuff. dave, if you post this somewhere downloadable on the web (maybe along with an explanator blog post) we'll feature it on the lyceum blog. maybe a more important issue--- are folks still wanting a lyceum plugin svn repository? we should definitely have a mailing list. john On Sun, 30 Jul 2006, DaveG wrote: > Jameson Lopp wrote: >> $wpdb is a global variable, so before you start using it you should >> have the statement: >> >> global $wpdb; >> > That worked great, thanks! Here's the final code (with a few HTML tweaks): > > echo $before_widget; > //---------------- > global $wpdb; > $wpdb->query(" > CREATE TEMPORARY TABLE bloginfo > SELECT $wpdb->blogs.id, $wpdb->blogs.slug, option_value as > blogname, status > FROM $wpdb->blogs > INNER JOIN $wpdb->options ON ($wpdb->blogs.id = > $wpdb->options.blog) > INNER JOIN $wpdb->posts > INNER JOIN $wpdb->post2cat ON (post_id = $wpdb->posts.ID) > INNER JOIN $wpdb->categories ON (category_id = cat_ID AND > $wpdb->categories.blog = $wpdb->options.blog) > WHERE > status = 'active' AND > option_name = 'blogname' > ORDER BY post_date_gmt DESC > "); > $blogs = $wpdb->get_results("SELECT DISTINCT(id), slug, blogname, > status FROM bloginfo"); > > echo $before_title . $title . $after_title . "" . $after_widget; > > _______________________________________________ > Lyceum-dev mailing list > Lyceum-dev at lists.ibiblio.org > http://lists.ibiblio.org/mailman/listinfo/lyceum-dev > -- John ---- aim/yim/msn/jabber.org: johnjosephbachir 713.494.2704 irc://irc.freenode.net/lyceum http://lyceum.ibiblio.org/ http://blog.johnjosephbachir.org/