From dirk at haun-online.de Wed Sep 2 16:08:50 2009 From: dirk at haun-online.de (Dirk Haun) Date: Wed, 2 Sep 2009 22:08:50 +0200 Subject: [geeklog-devel] There goes MacFixIt ... Message-ID: <20090902200850.1790155483@smtp.haun-online.de> Well, I was expecting this when I read the announcement on macfixit.com a week or so ago when they where announcing a "new site". Not sure what the new system is - could be something homegrown by CNET ... Too bad, they were one of the first 3 sites I always mentioned when people asked about sites running on Geeklog (the other 2 are Groklaw and MacOSXHints.com). bye, Dirk -- http://www.haun-online.de/ http://spam.tinyweb.net/ From ironmax at spacequad.com Thu Sep 3 13:17:04 2009 From: ironmax at spacequad.com (Michael Brusletten) Date: Thu, 3 Sep 2009 13:17:04 -0400 Subject: [geeklog-devel] geeklog-devel Digest, Vol 32, Issue 2 References: Message-ID: <003a01ca2cba$5bfac220$fe00a8c0@node1> Yep...you can read the article here if your interested. CNET now owns it. http://reviews.cnet.com/8300-13727_7-263-2.html?tag=mncol ----- Original Message ----- > Message: 1 > Date: Wed, 2 Sep 2009 22:08:50 +0200 > From: "Dirk Haun" > Subject: [geeklog-devel] There goes MacFixIt ... > To: geeklog-devel > Message-ID: <20090902200850.1790155483 at smtp.haun-online.de> > Content-Type: text/plain; charset=ISO-8859-1 > > Well, I was expecting this when I read the announcement on macfixit.com > a week or so ago when they where announcing a "new site". Not sure what > the new system is - could be something homegrown by CNET ... > > Too bad, they were one of the first 3 sites I always mentioned when > people asked about sites running on Geeklog (the other 2 are Groklaw and > MacOSXHints.com). > > bye, Dirk > > > -- > http://www.haun-online.de/ > http://spam.tinyweb.net/ > > > > ------------------------------ > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > > End of geeklog-devel Digest, Vol 32, Issue 2 > ******************************************** > > From dirk at haun-online.de Thu Sep 3 16:15:23 2009 From: dirk at haun-online.de (Dirk Haun) Date: Thu, 3 Sep 2009 22:15:23 +0200 Subject: [geeklog-devel] geeklog-devel Digest, Vol 32, Issue 2 In-Reply-To: <003a01ca2cba$5bfac220$fe00a8c0@node1> References: <003a01ca2cba$5bfac220$fe00a8c0@node1> Message-ID: <20090903201523.1012267758@smtp.haun-online.de> Michael Brusletten wrote: >Yep...you can read the article here if your interested. CNET now owns it. >http://reviews.cnet.com/8300-13727_7-263-2.html?tag=mncol I read MacFixIt daily, so I know that they've been aquired by CNET a while ago. And it was only a question of time before the new owners would get rid of Geeklog. Versiontracker.com will probably be next (not a Geeklog site as such, but they borrowed our comment system for it). Speaking of which: Glad to see the users are starting to miss Geeklog features already: >couldn't reply to your message directly as there is not a "reply to this >comment" option on second-level messages. Their new CMS only supports one level of nesting ;-) bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From trinity93 at gmail.com Thu Sep 3 17:36:47 2009 From: trinity93 at gmail.com (Trinity) Date: Thu, 3 Sep 2009 16:36:47 -0500 Subject: [geeklog-devel] geeklog-devel Digest, Vol 32, Issue 2 In-Reply-To: <20090903201523.1012267758@smtp.haun-online.de> References: <003a01ca2cba$5bfac220$fe00a8c0@node1> <20090903201523.1012267758@smtp.haun-online.de> Message-ID: MacFixIt R.I.P. On Thu, Sep 3, 2009 at 3:15 PM, Dirk Haun wrote: > Michael Brusletten wrote: > > >Yep...you can read the article here if your interested. CNET now owns it. > >http://reviews.cnet.com/8300-13727_7-263-2.html?tag=mncol > > I read MacFixIt daily, so I know that they've been aquired by CNET a > while ago. And it was only a question of time before the new owners > would get rid of Geeklog. Versiontracker.com will probably be next (not > a Geeklog site as such, but they borrowed our comment system for it). > > Speaking of which: Glad to see the users are starting to miss Geeklog > features already: > > >couldn't reply to your message directly as there is not a "reply to this > >comment" option on second-level messages. > > Their new CMS only supports one level of nesting ;-) > > bye, Dirk > > > -- > http://www.geeklog.net/ > http://geeklog.info/ > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From geeklog at mystral-kk.net Fri Sep 4 01:21:28 2009 From: geeklog at mystral-kk.net (geeklog at mystral-kk.net) Date: Fri, 4 Sep 2009 14:21:28 +0900 (JST) Subject: [geeklog-devel] FCKeditor integration In-Reply-To: <20090831180740.1558270018@smtp.haun-online.de> References: <20090830204936.1904455768@smtp.haun-online.de> <20090831180740.1558270018@smtp.haun-online.de> Message-ID: <59199.192.168.1.22.1252041688.squirrel@www.s215.xrea.com> Dirk Haun wrote: > Btw, CKEditor, the successor of FCKeditor, is now out in a stable version: > > http://ckeditor.com/ > > No, I'm not suggesting to switch to it immediately. But we should keep > an eye on its development. Anyone willing to take a closer look? E.g. > how easy (or not) it can be integrated into Geeklog? It seems quite easy to integrate CKEditor into Geeklog, according to their Wiki page (http://docs.fckeditor.net/CKEditor_3.x/Developers_Guide/Integration). However, unlike FCKeditor, CKEditor doesn't seem to have its own built-in file browser. Instead, they suggest using CKFinder, which is paid software. -- mystral-kk http://mystral-kk.net From dirk at haun-online.de Fri Sep 4 14:07:03 2009 From: dirk at haun-online.de (Dirk Haun) Date: Fri, 4 Sep 2009 20:07:03 +0200 Subject: [geeklog-devel] FCKeditor integration In-Reply-To: <59199.192.168.1.22.1252041688.squirrel@www.s215.xrea.com> References: <20090830204936.1904455768@smtp.haun-online.de> <20090831180740.1558270018@smtp.haun-online.de> <59199.192.168.1.22.1252041688.squirrel@www.s215.xrea.com> Message-ID: <20090904180703.704177596@smtp.haun-online.de> geeklog at mystral-kk.net wrote: >However, unlike FCKeditor, CKEditor doesn't seem to have its own built-in >file browser. Instead, they suggest using CKFinder, which is paid >software. Thanks for the information - I wasn't aware of that. It wouldn't surprise me to see a free alternative to CKFinder soon. But then we would have to deal with _two_ pieces of 3rd party software. Almost makes me want to start looking for alternatives to CKEditor ... bye, Dirk -- http://www.haun-online.de/ http://spam.tinyweb.net/ From trinity93 at gmail.com Fri Sep 4 15:44:57 2009 From: trinity93 at gmail.com (Trinity) Date: Fri, 4 Sep 2009 14:44:57 -0500 Subject: [geeklog-devel] FCKeditor integration In-Reply-To: <20090904180703.704177596@smtp.haun-online.de> References: <20090830204936.1904455768@smtp.haun-online.de> <20090831180740.1558270018@smtp.haun-online.de> <59199.192.168.1.22.1252041688.squirrel@www.s215.xrea.com> <20090904180703.704177596@smtp.haun-online.de> Message-ID: im willing to bet that if you asked them they would give you a gpl licence for the file part if it keeps them in geeklog On Fri, Sep 4, 2009 at 1:07 PM, Dirk Haun wrote: > geeklog at mystral-kk.net wrote: > > >However, unlike FCKeditor, CKEditor doesn't seem to have its own built-in > >file browser. Instead, they suggest using CKFinder, which is paid > >software. > > Thanks for the information - I wasn't aware of that. > > It wouldn't surprise me to see a free alternative to CKFinder soon. But > then we would have to deal with _two_ pieces of 3rd party software. > Almost makes me want to start looking for alternatives to CKEditor ... > > bye, Dirk > > > -- > http://www.haun-online.de/ > http://spam.tinyweb.net/ > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dirk at haun-online.de Fri Sep 4 16:55:38 2009 From: dirk at haun-online.de (Dirk Haun) Date: Fri, 4 Sep 2009 22:55:38 +0200 Subject: [geeklog-devel] There goes MacFixIt ... In-Reply-To: <20090902200850.1790155483@smtp.haun-online.de> References: <20090902200850.1790155483@smtp.haun-online.de> Message-ID: <20090904205538.165734364@smtp.haun-online.de> Since I don't know anyone who still works at MacFixIt, I left a public comment, asking what the limitations were that they were talking about and got this as a reply: >however, the move was based around integrating more with CNET rather >than any drawbacks of the old system. URL of the full response: bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From dirk at haun-online.de Sat Sep 5 03:38:18 2009 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 5 Sep 2009 09:38:18 +0200 Subject: [geeklog-devel] To-do list for Geeklog 1.6.1, part 1 Message-ID: <20090905073818.1354014370@smtp.haun-online.de> Okay, I think we should aim for a 1.6.1 release soon, maybe October-ish. Here's a list of things that I can think of that need to be addressed: Most urgent: - Future of FCKeditor integration - clean up various quirks with the new comment handling There are a few outstanding feature requests regarding the search. Sami, would you have time to work on those? I was thinking of working on a few issues regarding the install script. There are some outstanding patches provided by students who applied for GSoC. We should be thankful for those and see that we integrate them. And a few all-time classics that would require some research: - The problem of the expiring CSRF tokens. Refresh, auto-save, other options? - Find a replacement for kses. What's out there? Also, a whole bunch of new issues were opened in the bugtracker recently. With over 130 issues open now, anyone want to pick something from that list? http://project.geeklog.net/tracking/view_all_bug_page.php Any takers? Btw, I have this huge list of items (bugs, cosmetics, ideas, oddities) that I collected in a text file over time and that should really be in the bugtracker. When I start dumping them into the bugtracker, that could easily amount to another 50 or so new issues. Would people be willing to help get the number of open issues down to a reasonable number again? bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From dirk at haun-online.de Sat Sep 5 03:38:20 2009 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 5 Sep 2009 09:38:20 +0200 Subject: [geeklog-devel] To-do list for Geeklog 1.6.1, part 2: GSoC Message-ID: <20090905073820.1356938788@smtp.haun-online.de> In addition to the other items on the 1.6.1 to-do list: What's the status of our GSoC projects? I was kind of hoping that Postgres support would be mature enough and not too invasive so that we could maybe roll it into 1.6.1. We could call it "experimental", if necessary. Stan? Vinny? Plugin Repository: The functionality is certainly all there, from what I've seen. But I think we should try and get more feedback on the handling / workflow. Tim, Matt - any ideas on how to encourage such feedback? Setting up a semi-public demo site, maybe? Having one or two real plugins to use it with would also help. Which plugins have been updated to make use of the autoinstall yet? As for OpenID and AtomPub - I frankly have no idea about the status of those projects. Anyone want to comment? bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From Randy.Kolenko at nextide.ca Sun Sep 6 22:18:16 2009 From: Randy.Kolenko at nextide.ca (Randy Kolenko) Date: Sun, 6 Sep 2009 22:18:16 -0400 Subject: [geeklog-devel] To-do list for Geeklog 1.6.1, part 2: GSoC Message-ID: <063B8B70CB9DA141B2FC1DB483561B9F356E0A@nex-pluto.nextide.ca> > > As for OpenID and AtomPub - I frankly have no idea about the > status of those projects. Anyone want to comment? OpenID has a functional library -- geeklog integration is not done. Choplair said he was going to finish off that portion once his schooling settles down a bit. -randy From vfuria at gmail.com Tue Sep 8 00:29:04 2009 From: vfuria at gmail.com (Vincent Furia) Date: Mon, 7 Sep 2009 22:29:04 -0600 Subject: [geeklog-devel] To-do list for Geeklog 1.6.1, part 2: GSoC In-Reply-To: <20090905073820.1356938788@smtp.haun-online.de> References: <20090905073820.1356938788@smtp.haun-online.de> Message-ID: <8319e2d60909072129y7b7202fbpdef6eb0252648f93@mail.gmail.com> On Sat, Sep 5, 2009 at 1:38 AM, Dirk Haun wrote: > I was kind of hoping that Postgres support would be mature enough and > not too invasive so that we could maybe roll it into 1.6.1. We could > call it "experimental", if necessary. Stan? Vinny? > Besides some thorough testing of the postgresql side of things, we also need to thoroughly test against mysql (and probably mssql) to make sure we didn't introduce any regressions. I suppose whether or not we can make an October deadline depends on how much time Stan has to "merge up" to the current version of Geeklog and do some testing. -Vinny -------------- next part -------------- An HTML attachment was scrubbed... URL: From dirk at haun-online.de Tue Sep 8 01:53:48 2009 From: dirk at haun-online.de (Dirk Haun) Date: Tue, 8 Sep 2009 07:53:48 +0200 Subject: [geeklog-devel] To-do list for Geeklog 1.6.1, part 2: GSoC In-Reply-To: <8319e2d60909072129y7b7202fbpdef6eb0252648f93@mail.gmail.com> References: <20090905073820.1356938788@smtp.haun-online.de> <8319e2d60909072129y7b7202fbpdef6eb0252648f93@mail.gmail.com> Message-ID: <20090908055348.696440614@smtp.haun-online.de> Vincent Furia wrote: >Besides some thorough testing of the postgresql side of things, we also need >to thoroughly test against mysql (and probably mssql) to make sure we didn't >introduce any regressions. Btw, is there an equivalent of mysqldump? Or what's the preferred way to do backups with Postgres? We currently hide the link to admin/database.php if you're not using MySQL and I notice the copy in Stan's repository is unchanged. bye, Dirk -- http://www.haun-online.de/ http://geeklog.info/ From yankees26an at gmail.com Tue Sep 8 10:46:46 2009 From: yankees26an at gmail.com (=?UTF-8?B?4bmoz67isaXItc6v4bmlyp/JkeKImg==?=) Date: Tue, 8 Sep 2009 10:46:46 -0400 Subject: [geeklog-devel] To-do list for Geeklog 1.6.1, part 2: GSoC In-Reply-To: <20090908055348.696440614@smtp.haun-online.de> References: <20090905073820.1356938788@smtp.haun-online.de> <8319e2d60909072129y7b7202fbpdef6eb0252648f93@mail.gmail.com> <20090908055348.696440614@smtp.haun-online.de> Message-ID: <7aaf88900909080746q37dcf042oaff92ab4fdbee684@mail.gmail.com> There's no direct way to do it with PHP. We could do it through exec though :P Warmly, Stanislav On Tue, Sep 8, 2009 at 1:53 AM, Dirk Haun wrote: > Vincent Furia wrote: > >>Besides some thorough testing of the postgresql side of things, we also need >>to thoroughly test against mysql (and probably mssql) to make sure we didn't >>introduce any regressions. > > Btw, is there an equivalent of mysqldump? Or what's the preferred way to > do backups with Postgres? > > We currently hide the link to admin/database.php if you're not using > MySQL and I notice the copy in Stan's repository is unchanged. > > bye, Dirk > > > -- > http://www.haun-online.de/ > http://geeklog.info/ > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > From dirk at haun-online.de Tue Sep 8 13:09:27 2009 From: dirk at haun-online.de (Dirk Haun) Date: Tue, 8 Sep 2009 19:09:27 +0200 Subject: [geeklog-devel] To-do list for Geeklog 1.6.1, part 2: GSoC In-Reply-To: <7aaf88900909080746q37dcf042oaff92ab4fdbee684@mail.gmail.com> References: <20090905073820.1356938788@smtp.haun-online.de> <8319e2d60909072129y7b7202fbpdef6eb0252648f93@mail.gmail.com> <20090908055348.696440614@smtp.haun-online.de> <7aaf88900909080746q37dcf042oaff92ab4fdbee684@mail.gmail.com> Message-ID: <20090908170927.773951035@smtp.haun-online.de> ????????$)A!L wrote: >There's no direct way to do it with PHP. We could do it through exec though :P Guess what we do with mysqldump ;-) So is there a "pgsqldump" utility that we could / should be calling? bye, Dirk -- http://www.haun-online.de/ http://spam.tinyweb.net/ From Randy.Kolenko at nextide.ca Tue Sep 8 13:09:32 2009 From: Randy.Kolenko at nextide.ca (Randy Kolenko) Date: Tue, 8 Sep 2009 13:09:32 -0400 Subject: [geeklog-devel] To-do list for Geeklog 1.6.1, part 2: GSoC Message-ID: <063B8B70CB9DA141B2FC1DB483561B9F356E0B@nex-pluto.nextide.ca> > ????????$)A!L wrote: > > >There's no direct way to do it with PHP. We could do it through exec > though :P > > Guess what we do with mysqldump ;-) So is there a "pgsqldump" > utility that we could / should be calling? > > bye, Dirk Same issue exists for MSSQL as well. We suggest doing offline backups using the MS tools. I'm sure it could be scripted or command-line executed however MSSQL servers (not express editions) can have their backups scheduled anyways. From tcsp1900 at hotmail.com Wed Sep 9 10:02:41 2009 From: tcsp1900 at hotmail.com (Tim Patrick) Date: Wed, 9 Sep 2009 10:02:41 -0400 Subject: [geeklog-devel] geeklog-devel Digest, Vol 32, Issue 7 In-Reply-To: References: Message-ID: If a utility does not exist for dumping, for MSSQL at least you can simply copy the db and lock file as a backup. eg. Geeklog.db and Geeklog.log - Tim _________________________________________________________________ New: Messenger sign-in on the MSN homepage http://go.microsoft.com/?linkid=9677403 -------------- next part -------------- An HTML attachment was scrubbed... URL: From devel at portalparts.com Fri Sep 18 12:17:28 2009 From: devel at portalparts.com (Blaine Lang) Date: Fri, 18 Sep 2009 12:17:28 -0400 Subject: [geeklog-devel] config class->_get_ConfigHelp Message-ID: I am trying to use this function to add a help link for a plugins config which is documented in on a wiki page and this function is adding to the link I return from my plugin function. The code $retval = $descUrl . '#desc_' . $option; is executing which I can understand is needed for the way the core config group has the documentation setup but it will not work for my plugin. From what I can see, it will create an invalid wiki page URL - as it as a double # parm and it's being ignored. > http://www.mysite.ca/dokuwiki/doku.php/core_applications_myplugin#configuration#desc_myparm I can certainly create a .htaccess rule but why force this condition on plugins and not let them return any link they want? Blaine From dirk at haun-online.de Fri Sep 18 12:44:41 2009 From: dirk at haun-online.de (Dirk Haun) Date: Fri, 18 Sep 2009 18:44:41 +0200 Subject: [geeklog-devel] config class->_get_ConfigHelp In-Reply-To: References: Message-ID: <20090918164441.512466684@smtp.haun-online.de> Blaine Lang wrote: >I can certainly create a .htaccess rule but why force this condition on >plugins and not let them return any link they want? The idea behind adding the anchor was to make it so that it would jump directly to the option's description. So if you have a desc_xxx anchor on the page, the link you return doesn't need to include an anchor. Other ideas? I tried something else with the help in the install script (check it out). It looks nicer, IMO, but the URL scheme is more awkward there and requires PHP processing (so wouldn't work with a wiki). bye, Dirk -- http://www.haun-online.de/ http://spam.tinyweb.net/ From devel at portalparts.com Fri Sep 18 12:56:42 2009 From: devel at portalparts.com (Blaine Lang) Date: Fri, 18 Sep 2009 12:56:42 -0400 Subject: [geeklog-devel] config class->_get_ConfigHelp In-Reply-To: <20090918164441.512466684@smtp.haun-online.de> References: <20090918164441.512466684@smtp.haun-online.de> Message-ID: Dirk Haun wrote: > The idea behind adding the anchor was to make it so that it would jump directly to the option's description. So if you have a desc_xxx anchor on the page, the link you return doesn't need to include an anchor. Agree and I understand why it's done this way for the Core but it's too restrictive for plugins. Maybe the API needs to return and array with an boolean if the config option tag should be added automatically. As it is now, I can't use it and I notice in glFusion they simply replaced this function. Well I can use it if I install a .htaccess rule to rewrite the URL to work on the wiki site which is not what we should have to resort to. Blaine From dirk at haun-online.de Fri Sep 18 13:56:41 2009 From: dirk at haun-online.de (Dirk Haun) Date: Fri, 18 Sep 2009 19:56:41 +0200 Subject: [geeklog-devel] config class->_get_ConfigHelp In-Reply-To: References: <20090918164441.512466684@smtp.haun-online.de> Message-ID: <20090918175641.1694082819@smtp.haun-online.de> Blaine Lang wrote: >Agree and I understand why it's done this way for the Core but it's too >restrictive for plugins. I thought it would be useful for plugins, too. Most of the bundled plugins use it as well. >Maybe the API needs to return and array with an >boolean if the config option tag should be added automatically. Pragmatic solution: Make the config class check if the URL already contains a '#'. If so, don't add the "#desc_xxx". bye, Dirk -- http://www.haun-online.de/ http://spam.tinyweb.net/ From devel at portalparts.com Fri Sep 18 14:09:11 2009 From: devel at portalparts.com (Blaine Lang) Date: Fri, 18 Sep 2009 14:09:11 -0400 Subject: [geeklog-devel] config class->_get_ConfigHelp In-Reply-To: <20090918175641.1694082819@smtp.haun-online.de> References: <20090918164441.512466684@smtp.haun-online.de> <20090918175641.1694082819@smtp.haun-online.de> Message-ID: Dirk Haun wrote: > Pragmatic solution: Make the config class check if the URL already > contains a '#'. If so, don't add the "#desc_xxx". Yes, that would work and thanks for the quick reply! Blaine From dirk at haun-online.de Sat Sep 19 08:26:52 2009 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 19 Sep 2009 14:26:52 +0200 Subject: [geeklog-devel] [geeklog-cvs] geeklog: Added support for Bcc - Blind copy. In-Reply-To: <20090725174743.1946161279@smtp.haun-online.de> References: <20090615184714.299668630@smtp.haun-online.de> <20090725174743.1946161279@smtp.haun-online.de> Message-ID: <20090919122652.699068715@smtp.haun-online.de> Digging out this old discussion: >COM_mail currently looks like this: > >function COM_mail( $to, $subject, $message, $from = '', $html = false, >$priority = 0, $cc = '' ) > >My suggestion would be to turn $cc into an array of additional email >headers. If it's an array, then it's supposed to consist of Header >Name / Value pairs, e.g. > > array('Cc' => 'john at example.com', 'Bcc' => 'jane at example.com', ...) > >For backward compatibility, we would of course also accept a string >value, in which case it's simply the CC address. I made that change now. Also, the additional headers from that array are added last, so that you could overwrite any of the other headers that Geeklog sets, if you so desire (at your own risk, of course). bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From dirk at haun-online.de Sat Sep 19 12:04:12 2009 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 19 Sep 2009 18:04:12 +0200 Subject: [geeklog-devel] MS SQL question: ALTER TABLE Message-ID: <20090919160412.964165317@smtp.haun-online.de> When upgrading from Geeklog 1.5.2 to 1.6.0, the Polls plugin was supposed to extend its 'pid' field to 40 characters (from 20). Due to a mixup of plugin version numbers, that upgrade step was not performed, though. I fixed that for 1.6.1 now. Now the question: MySQL doesn't care if I do an ALTER TABLE and "change" the field to what it already is. What about MS SQL? Oh, and Postgres? In other words: 'pid' is already a VARCHARS(40). What happens when I ask MS SQL to perform a ALTER TABLE gl_polltopics ALTER COLUMN [pid] VARCHARS(40) bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From yankees26an at gmail.com Sat Sep 19 19:49:02 2009 From: yankees26an at gmail.com (=?UTF-8?B?4bmoz67isaXItc6v4bmlyp/JkeKImg==?=) Date: Sat, 19 Sep 2009 19:49:02 -0400 Subject: [geeklog-devel] MS SQL question: ALTER TABLE In-Reply-To: <20090919160412.964165317@smtp.haun-online.de> References: <20090919160412.964165317@smtp.haun-online.de> Message-ID: <7aaf88900909191649t247e217fkdb873a62add39ba2@mail.gmail.com> Works with pgSQL, but the syntax is a bit different. You have to add TYPE. ALTER TABLE gl_polltopics ALTER COLUMN [pid] TYPE VARCHAR(40); On Sat, Sep 19, 2009 at 12:04 PM, Dirk Haun wrote: > When upgrading from Geeklog 1.5.2 to 1.6.0, the Polls plugin was > supposed to extend its 'pid' field to 40 characters (from 20). Due to a > mixup of plugin version numbers, that upgrade step was not performed, > though. I fixed that for 1.6.1 now. > > Now the question: MySQL doesn't care if I do an ALTER TABLE and "change" > the field to what it already is. What about MS SQL? Oh, and Postgres? > > In other words: 'pid' is already a VARCHARS(40). What happens when I ask > MS SQL to perform a > > ? ?ALTER TABLE gl_polltopics ALTER COLUMN [pid] VARCHARS(40) > > bye, Dirk > > > -- > http://www.geeklog.net/ > http://geeklog.info/ > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > -- Warmly, Stanislav From Randy.Kolenko at nextide.ca Tue Sep 22 14:07:07 2009 From: Randy.Kolenko at nextide.ca (Randy Kolenko) Date: Tue, 22 Sep 2009 14:07:07 -0400 Subject: [geeklog-devel] config class->_get_ConfigHelp Message-ID: <063B8B70CB9DA141B2FC1DB483561B9F11223C@nex-pluto.nextide.ca> > > > Dirk Haun wrote: > > Pragmatic solution: Make the config class check if the URL already > > contains a '#'. If so, don't add the "#desc_xxx". > Yes, that would work and thanks for the quick reply! > This *kind* of works. But its still too restrictive. The update to Mercurial for this will most certainly skip adding the #.... when a # already exists in the URL. However there is no way to effectively redirect the URL to a plugin specific piece of documentation using the plugin_getdocumentationurl_xxxxxx function. What I'm saying is that the plugin_getdocumentationurl_ function has no information as to which config option's help URL is being generated. It would be beneficial if the PLG_getDocumentationUrl function could also pass along the config item that is being generated. This way we can parse our own config help URL to redirect to any proper url. Otherwise, its always going to be the same URL generated over and over. From joe at ThrowingDice.com Sun Sep 27 15:19:47 2009 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Sun, 27 Sep 2009 15:19:47 -0400 Subject: [geeklog-devel] [geeklog-cvs] geeklog: One featured story per topic is now allowed, with only ... In-Reply-To: References: Message-ID: <0KQN00AWM9SXOYA0@mta2.srv.hcvlny.cv.net> At 12:21 PM 9/27/2009, geeklog-cvs at lists.geeklog.net wrote: >One featured story per topic is now allowed, with only one being >able to be displayed as featured on the frontpage. Just a thought: I always thought the best way to handle this would be to remove "featured" from the story table and move it to the topics table (and vars table for the global "feature"). Then you don't have to deal with duplicates. The code hits the topic table to find out how many stories to put on the page so that select would also get the featured sid. This would allow the system to have "featured on front page (only)", "featured in topic" and "featured in topic and on front page" options. The same concept could be used to remove "archive_flag" and "is_default" from the topics table along with the code to make sure there are no dupes. Not imperative by any means. The database designer in me just doesn't like fields on a table where all but one record have the same value and that one record has the only other value. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From websitemaster at cogeco.net Mon Sep 28 09:24:36 2009 From: websitemaster at cogeco.net (Tom) Date: Mon, 28 Sep 2009 09:24:36 -0400 Subject: [geeklog-devel] Staticpage Configuration In-Reply-To: <063B8B70CB9DA141B2FC1DB483561B9F11223C@nex-pluto.nextide.ca> References: <063B8B70CB9DA141B2FC1DB483561B9F11223C@nex-pluto.nextide.ca> Message-ID: <006901ca403f$06822430$13866c90$@net> Is everyone ok with combining these two feature requests to use the same configuration drop downs or does someone have a better suggestion, or think there will be situations where someone will want them separated? http://project.geeklog.net/tracking/view.php?id=979 0000979: Control Static Pages search results http://project.geeklog.net/tracking/view.php?id=908 0000908: Allow Static Pages to be included in the What's New Block My plan is to add these 3 options to the staticpage plugin config and make them apply for both Search Results and the What's New Block. - disable search for static pages entirely (default: enabled) - whether or not to include centerblocks (default: don't include) - whether or not to include pages that use PHP code (default: don't include) Thanks Tom From devel at portalparts.com Tue Sep 29 13:49:38 2009 From: devel at portalparts.com (Blaine Lang) Date: Tue, 29 Sep 2009 13:49:38 -0400 Subject: [geeklog-devel] Online Config Setting question/enhancment Message-ID: I have an existing config array that I am converting to use the online config manager. The plugin uses an integer reference to the field style which is then a lookup to an array for the display name and matching CSS style. I am using the **placeholder config type in other places and that works best if not using an integer for the main config setting key, or there is a variable number of items. In my case, there is a variable number of items but the sub-item config has to have 2 and only 2 elements. I also want to save the setting reference as an integer and not a textual reference. The array that is used presently in the plugins config.php looks like $CONF_FE['fieldstyles'] = array ( '1' => array('Default','frm_label1'), '2' => array('Bold','frm_label2'), '3' => array('Normal','frm_label3'), '4' => array('Highlighted','frm_label4'), '5' => array('Large Heading', 'frm_h1'), '6' => array('Medium Heading1', 'frm_h2'), '7' => array('Small Heading', 'frm_h3'), '8' => array ('Boxed Look','frm_label4') ); Example: I need is to save a reference to 4 and that defines the matching label to show as the current selection and it's associated CSS definition. With the online config feature, this is how it has now been defined: $CONF_FE_DEFAULT['fieldstyles'] = array ( 1 => array('Default' => 1, 'frm_label1' => 1), 2 => array('Bold' => 1, 'frm_label2' => 1), 3 => array('Normal' => 1, 'frm_label3' => 1), ); It makes it confusing to use in the online config manger this way as you need to create a matching pair of elements per style definition refer to image: http://www.portalparts.com/temp/nexform2-onlineconfig.gif We created the online config manager GUI to be generic and flexible which it has been but there are some issues. This would be a good GSOC project to improve the UI but first we need to start documenting use cases and ideas for improving. I should be able to define the template better for the config element - new config option to create an array of options key'ed to integer value that we don't need to see in the config manager. So in this case it would just appear as a list of 2 fields per record - stored as an array. - 2 and only 2 elements per config item - # is optional but defines the array record size - labels for the config elements - in my case, there is no need for the [x] by the sub-item elements. If I add a new config item, it will have 2 blank fields with the lables 'DisplayName' and 'CSS Style'. - no need for the [Add Element] under the sub-config item as there should only be 2 elements in my case. - Adding a new style (config item using the main [Add Element]) would in my case automatically show the 2 new fields Unless someone has a better idea how this kind of config define would be setup. Blaine From devel at portalparts.com Tue Sep 29 13:54:08 2009 From: devel at portalparts.com (Blaine Lang) Date: Tue, 29 Sep 2009 13:54:08 -0400 Subject: [geeklog-devel] Example of PLG_itemDisplay() Message-ID: I notice we have the new Plugin API but it does not yet appear there is any example of it being used. I was working on a plugin update and am adding the ability for it to be extended and was not sure how this API should be called. I can certainly make it work but wanted to base my implementation on how Core would use it. Otherwise, I may was well just use my own custom hooks as my implementation will likely have to change. I did a search thru CVS and did not find a hit for PLG_itemDisplay other then in lib-plugins.php Blaine From dirk at haun-online.de Tue Sep 29 14:32:44 2009 From: dirk at haun-online.de (Dirk Haun) Date: Tue, 29 Sep 2009 20:32:44 +0200 Subject: [geeklog-devel] Example of PLG_itemDisplay() In-Reply-To: References: Message-ID: <20090929183244.1286038322@smtp.haun-online.de> Blaine Lang wrote: >I did a search thru CVS and did not find a hit for PLG_itemDisplay other >then in lib-plugins.php Looks like an unfinished project by Oliver before he left. Not sure what exactly he had in mind for it. The function is not being called anywhere from within Geeklog. If you have some other way to achieve what you need, I guess you'd better use that. bye, Dirk -- http://www.haun-online.de/ http://geeklog.info/ From dirk at haun-online.de Tue Sep 29 14:41:52 2009 From: dirk at haun-online.de (Dirk Haun) Date: Tue, 29 Sep 2009 20:41:52 +0200 Subject: [geeklog-devel] Online Config Setting question/enhancment In-Reply-To: References: Message-ID: <20090929184152.1838669289@smtp.haun-online.de> Blaine Lang wrote: (need to read through your example again when I'm not so tired) >We created the online config manager GUI to be generic and flexible >which it has been but there are some issues. >This would be a good GSOC project to improve the UI but first we need to >start documenting use cases and ideas for improving. Not everything has to be a GSoC project :) Some other cases where improvements are needed: The XMLSitemap config also demonstrates the need for relations between different config sections. For example, after adding a new plugin (under "Contents of sitemap") you need to save the config first before you can set the priority and update frequency for the new entry. bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From cordiste at free.fr Tue Sep 29 14:52:15 2009 From: cordiste at free.fr (cordiste) Date: Tue, 29 Sep 2009 20:52:15 +0200 Subject: [geeklog-devel] Example of PLG_itemDisplay() In-Reply-To: References: Message-ID: <364575ed0909291152o3be600e0u3963e37af5f49750@mail.gmail.com> Hello Blaine, Sems to be no plans for PLG_itemDisplay. See this http://eight.pairlist.net/pipermail/geeklog-devel/2007-October/002415.html ::Ben 2009/9/29 Blaine Lang > I notice we have the new Plugin API but it does not yet appear there is any > example of it being used. > > I was working on a plugin update and am adding the ability for it to be > extended and was not sure how this API should be called. I can certainly > make it work but wanted to base my implementation on how Core would use it. > Otherwise, I may was well just use my own custom hooks as my implementation > will likely have to change. > > I did a search thru CVS and did not find a hit for PLG_itemDisplay other > then in lib-plugins.php > > Blaine > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cordiste at free.fr Tue Sep 29 14:58:53 2009 From: cordiste at free.fr (cordiste) Date: Tue, 29 Sep 2009 20:58:53 +0200 Subject: [geeklog-devel] Example of PLG_itemDisplay() In-Reply-To: References: Message-ID: <364575ed0909291158x1a313462ib270e7f45a8451c4@mail.gmail.com> 2009/9/29 Blaine Lang > I was working on a plugin update > Blaine, Could you tell me witch one of you good plugins you gonna release :)) because I would like to try implement a new chatter box. ::Ben -------------- next part -------------- An HTML attachment was scrubbed... URL: From greg.gillis at sillig.com Tue Sep 29 14:31:05 2009 From: greg.gillis at sillig.com (Greg Gillis) Date: Tue, 29 Sep 2009 13:31:05 -0500 Subject: [geeklog-devel] PLG_itemDisplay() hook in lib-story Message-ID: Hello, I have been monitoring this list for some time but not being a programmer I have never posted to it until today when I noticed Blane's question and it reminded me that I needed to ask about this. Back around version 1.4 there was a proposed PLG_itemDisplay() hook in lib-story.php. http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/3d49aa6f192d I wrote a plugin to add your choice of social network icons to the bottom of each story and it requires this hook. Any chance it could be approved for inclusion in the next version? Regards, -- Greg Gillis Webmaster www.rudebastard.com Microsoft Certified Professional Network+ Certified Professional A+ Certified Professional This email message is for the sole use of the intended recipient(s) and may contain confidential, proprietary and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From dirk at haun-online.de Tue Sep 29 15:57:13 2009 From: dirk at haun-online.de (Dirk Haun) Date: Tue, 29 Sep 2009 21:57:13 +0200 Subject: [geeklog-devel] PLG_itemDisplay() hook in lib-story In-Reply-To: References: Message-ID: <20090929195713.2102634359@smtp.haun-online.de> Greg Gillis wrote: >Back around version 1.4 there was a proposed PLG_itemDisplay() hook in >lib-story.php. >http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/3d49aa6f192d Thanks for digging this up. >I wrote a plugin to add your choice of social network icons to the bottom of >each story and it requires this hook. Is there anything that PLG_itemDisplay does that could not be done using PLG_templateSetVars? I guess the main difference is that you wouldn't need to modify the story templates. But at the same time it would be more flexible, since that implementation of PLG_itemDisplay only added things to one specific template variable. bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From devel at portalparts.com Wed Sep 30 07:03:24 2009 From: devel at portalparts.com (Blaine Lang) Date: Wed, 30 Sep 2009 07:03:24 -0400 Subject: [geeklog-devel] Example of PLG_itemDisplay() In-Reply-To: <364575ed0909291158x1a313462ib270e7f45a8451c4@mail.gmail.com> References: <364575ed0909291158x1a313462ib270e7f45a8451c4@mail.gmail.com> Message-ID: Hi Ben, I am presently working on the Nexpro plugins that we offer from Nextide. We have been working on a new release that brings them up to date. Your more then welcome to take over Chatterblock as it's not a plugin that I have used personally for a few years. Regards, Blaine cordiste wrote: > 2009/9/29 Blaine Lang > > > > I was working on a plugin update > > > Blaine, > > Could you tell me witch one of you good plugins you gonna release :)) > because I would like to try implement a new chatter box. > > ::Ben > ------------------------------------------------------------------------ > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > From devel at portalparts.com Wed Sep 30 07:18:23 2009 From: devel at portalparts.com (Blaine Lang) Date: Wed, 30 Sep 2009 07:18:23 -0400 Subject: [geeklog-devel] PLG_itemDisplay() hook in lib-story In-Reply-To: <20090929195713.2102634359@smtp.haun-online.de> References: <20090929195713.2102634359@smtp.haun-online.de> Message-ID: Dirk Haun wrote: > Is there anything that PLG_itemDisplay does that could not be done using > PLG_templateSetVars? > > I guess the main difference is that you wouldn't need to modify the > story templates. But at the same time it would be more flexible, since > that implementation of PLG_itemDisplay only added things to one specific > template variable. Agree and I've presently used PLG_templateSetVars butt was reviewing the code as I updated the plugins to see if I should not use PLG_itemDisplay. The one thing that is missing with PLG_templateSetVars in this case is the item ID. The API PLG_itemDisplay does complete the present set of API's but it would be better if we also passed in the template object and leave it to the plugin function to set the template variables. Possibly the API function could support a boolean return or optional array. If the return from the API function is an array of type array(retcode => true, 'displayhtml' => $html) then that HTML is appended and layout position controlled by the calling code. Otherwise, the calling plugin API function can set what ever custom template vars and just return a boolean - this requires templates to be typically modified but can provide more flexibility. Blaine From joe at ThrowingDice.com Wed Sep 30 10:20:03 2009 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Wed, 30 Sep 2009 10:20:03 -0400 Subject: [geeklog-devel] PLG_itemDisplay() hook in lib-story In-Reply-To: References: <20090929195713.2102634359@smtp.haun-online.de> Message-ID: <0KQS006J2FQ4MNW0@mta4.srv.hcvlny.cv.net> At 07:18 AM 9/30/2009, Blaine Lang wrote: >The one thing that is missing with PLG_templateSetVars in this case >is the item ID. You can always query the template for some vars: $sid = $T->get('sid'); But not all templates have create id fields. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com