From dirk at haun-online.de Sat Sep 1 05:48:27 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 1 Sep 2007 11:48:27 +0200 Subject: [geeklog-devel] On to the next release Message-ID: <20070901094827.289316142@smtp.haun-online.de> Now that the Summer of Code is over (thanks everyone, btw!) and the code has landed in CVS, we should stop adding new features and concentrate on cleaning up and move onwards to the next release. Here's a list of items that I'm aware of. Please add anything that I may have missed. - Install script Last I heard there were some issues with MS SQL to be resolved. Also, I keep hearing about the upgrade for the Polls plugin not working. - Config GUI I think there are plans for a few layout changes. - Webservices API Needs to be made configurable (disable completely and per plugin) and the introspection has to be changed to return one workspace per plugin. - Links plugin Euan's changes for subcategories in the Links plugin are in CVS now. Anything left to be done there? - Polls plugin Other than the upgrade (see above), I believe this is done? - OpenID Needs a speed limit and possibly a spam check. - Themes With all of those nice new themes we got recently, we really need to document the theme changes properly. Currently, there is no documentation at all. Also add "lots of testing" to all of the above. So to anyone reading this: If you've got a few minutes, please grab the CVS version (or the nightly tarball) and give it a try. Feedback welcome. bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From dirk at haun-online.de Sat Sep 1 08:13:06 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 1 Sep 2007 14:13:06 +0200 Subject: [geeklog-devel] Namespaces Message-ID: <20070901121306.451794874@smtp.haun-online.de> Here's a small aspect of the webservices API that needs some thought as it could also be of interest for other areas in both Geeklog 1 and 2: We're using a namespace "gl" to mark any Geeklog-specific extensions to be transported over the Atom Publishing Protcol. The URI for that namespace currently is defined as http://www.geeklog.net Now it's apparently common practice to have the URI for a namespace to point to some form of documentation about the namespace, terse as it may be. For example, the URI for Atompub's "app" namespace points to which is a very minimal page with pointers to more information. I don't think the Geeklog extensions are of any interest outside of the Geeklog community, so we can probably keep this on geeklog.net (instead of, say, getting a permanent URL at purl.org). We should put some thought into the URL scheme so that we can add other namespaces (and possibly other specifications) there as well. For example, we may want to define modules for RSS or Atom feeds and I can imagine that Geeklog 2 may also have some need for namespaces or similar information. The W3C uses a year-based scheme (see above) but that is probably overkill for us. So what would be a good URL scheme for our use? Some thoughts: - Choose a subdirectory that's not likely to be used by Geeklog itself. Make it a neutral name, so that it can be used for things other than namespaces. - Below that, have a subdirectory for the protocol we use, e.g. "rss", "app", etc. - Do we need a version number? So for the Atompub namespace we could have something like http://www.geeklog.net/purl/app/ or http://www.geeklog.net/purl/app/1.0/ Comments? Thoughts? Has anyone been through some design decisions like these before? I guess in the end it doesn't really matter that much and we don't need to spec it out to every last detail. Just want to make sure we're not making any obvious mistakes ... bye, Dirk -- http://www.haun-online.de/ http://spam.tinyweb.net/ From joe at ThrowingDice.com Sat Sep 1 08:55:38 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Sat, 01 Sep 2007 08:55:38 -0400 Subject: [geeklog-devel] On to the next release In-Reply-To: <20070901094827.289316142@smtp.haun-online.de> References: <20070901094827.289316142@smtp.haun-online.de> Message-ID: <0JNO00HWWX8YC2U0@mta3.srv.hcvlny.cv.net> At 05:48 AM 9/1/2007, Dirk Haun wrote: >- Install script >Last I heard there were some issues with MS SQL to be resolved. Also, I >keep hearing about the upgrade for the Polls plugin not working. Does this include wrestling the polls, links and calendar plugin installs out of the general Geeklog install? Including the steps to upgrade the plugins in the tarball is fine, but the core Geeklog install should not do anything with files in those plugin directories if we're ever going to cut them free from the Geeklog install cycle. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From joe at ThrowingDice.com Sat Sep 1 09:45:57 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Sat, 01 Sep 2007 09:45:57 -0400 Subject: [geeklog-devel] On to the next release In-Reply-To: <20070901094827.289316142@smtp.haun-online.de> References: <20070901094827.289316142@smtp.haun-online.de> Message-ID: <0JNO00HW3ZKPOVO0@mta1.srv.hcvlny.cv.net> At 05:48 AM 9/1/2007, Dirk Haun wrote: >Now that the Summer of Code is over (thanks everyone, btw!) and the code >has landed in CVS, we should stop adding new features and concentrate on >cleaning up and move onwards to the next release. Almost forgot.... I hope there's room for one more feature. I have finally finished the caching version of template library. I think Michael was going to test that for me but I don't know if he still has time. I've been running the new template library on my calendar test site as well as for all my local development so it should be pretty stable. Anyone who wants a copy, let me know. Impact on the install is minimal: the new file, a new directory (/data/layout_cache), and perhaps we should add a config option to turn it on and off (meaning a small change to lib-common as well). Joe ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From oliver at spiesshofer.com Sat Sep 1 10:34:21 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Sat, 01 Sep 2007 22:34:21 +0800 Subject: [geeklog-devel] On to the next release In-Reply-To: <20070901094827.289316142@smtp.haun-online.de> References: <20070901094827.289316142@smtp.haun-online.de> Message-ID: <46D9786D.6030802@spiesshofer.com> I am having an issue with the urrent CVS that upgrading from 1.4.1 does not upgrade the plugins. They can be upgraded individually then from the plugin manager, but this does not happen automatically. I could not trace it down. anybody can confirm this? Oliver Dirk Haun wrote: > Now that the Summer of Code is over (thanks everyone, btw!) and the code > has landed in CVS, we should stop adding new features and concentrate on > cleaning up and move onwards to the next release. > > Here's a list of items that I'm aware of. Please add anything that I may > have missed. > > - Install script > Last I heard there were some issues with MS SQL to be resolved. Also, I > keep hearing about the upgrade for the Polls plugin not working. > > - Config GUI > I think there are plans for a few layout changes. > > - Webservices API > Needs to be made configurable (disable completely and per plugin) and > the introspection has to be changed to return one workspace per plugin. > > - Links plugin > Euan's changes for subcategories in the Links plugin are in CVS now. > Anything left to be done there? > > - Polls plugin > Other than the upgrade (see above), I believe this is done? > > - OpenID > Needs a speed limit and possibly a spam check. > > - Themes > With all of those nice new themes we got recently, we really need to > document the theme changes properly. Currently, there is no > documentation at all. > > Also add "lots of testing" to all of the above. So to anyone reading > this: If you've got a few minutes, please grab the CVS version (or the > nightly tarball) and give it a try. Feedback welcome. > > bye, Dirk > > > From dirk at haun-online.de Sat Sep 1 14:38:31 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 1 Sep 2007 20:38:31 +0200 Subject: [geeklog-devel] On to the next release In-Reply-To: <46D9786D.6030802@spiesshofer.com> References: <20070901094827.289316142@smtp.haun-online.de> <46D9786D.6030802@spiesshofer.com> Message-ID: <20070901183831.149472976@smtp.haun-online.de> Oliver Spiesshofer wrote: >I am having an issue with the urrent CVS that upgrading from 1.4.1 does >not upgrade the plugins. It does at least try to upgrade the Polls plugin because that dies with an SQL error when the poll question contains a single quote. E.g. on the old geeklog.net poll "Who's Your Favorite GL Developer?" ... I think the code there needs a few addslashes() in several places. bye, Dirk -- http://www.haun-online.de/ http://geeklog.info/ From devel at portalparts.com Sat Sep 1 15:08:40 2007 From: devel at portalparts.com (Blaine Lang) Date: Sat, 01 Sep 2007 15:08:40 -0400 Subject: [geeklog-devel] GL Config Manager Editor UI Message-ID: <46D9B8B8.5070402@portalparts.com> As noted in my last post, perfecting the config editor UI was not the focus of our SOC project but having a very workable UI for the new online config manager was and Aaron has done a great job with this part of the project as well. Now ... Even with the 8 main tabs which have greatly simplified the config.php, it is still a bit bewildering for new users to sort out all the config settings as some tabbed sections still have over 40 settings in 8 sub-sections (fieldsets). The subsection headings certainly help isolate what you need to change but new users may find seeing that many items on a page confusing. Experienced admin's can easily filter out the noise and zero in on what they are looking for. I've recently been working on a few complex projects with screens that had 100's of fields and attached are 2 screenshots to show a suggested approach to breaking a page up into smaller viewable sections. In the end, it is all one form but using show/hide divs. I have JS code and examples that can be used. Optionally, we have been working with the EXT library for it's great grid control and there is a very nice example of what can be done with a web UI and the EXT library here: http://aariadne.com/accordion-preview/ - sorry Dirk, that won't work in Lynx :) Blaine -------------- next part -------------- A non-text attachment was scrubbed... Name: Image-0010.jpg Type: image/jpeg Size: 100467 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Image-0011.jpg Type: image/jpeg Size: 88925 bytes Desc: not available URL: From dirk at haun-online.de Sat Sep 1 15:30:48 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 1 Sep 2007 21:30:48 +0200 Subject: [geeklog-devel] Upgrade issue: No stories to display Message-ID: <20070901193048.1165167571@smtp.haun-online.de> Okay, so after disabling the Polls plugin and its upgrade code, I was able to update a copy of the geeklog.net db (it didn't upgrade the Links plugin but did upgrade the static pages plugin - have to look into that). Anyway, I was somewhat surprised to get the message "No stories to display" on the homepage. The Topics block was also empty. Turns out that the upgrade enabled multi-language support. Matt, Aaron - there's something going wrong here. I see code in the install script to read the old config.php into the database and that seems to work for most settings. My guess is that for settings that are commented out (like those for the multi-language support) it uses default values from the mysql_1.4.1_to_1.4.2.php upgrade file. That needs to be cleaned up. bye, Dirk -- http://www.haun-online.de/ http://geeklog.info/ From devel at portalparts.com Sat Sep 1 15:38:30 2007 From: devel at portalparts.com (Blaine Lang) Date: Sat, 01 Sep 2007 15:38:30 -0400 Subject: [geeklog-devel] Web Installer and integrated online config testing Message-ID: <46D9BFB6.9040102@portalparts.com> I just completed an install on my hosted UNIX server of the latest CVS code where the system related files outside of webroot. The install worked (as expected) without editing of a single GL file (which was our goal). The install prompted me initially for the path to the db-config.php where we will store the DB access and security related config settings. Next it nicely showed me any folders that i need to change permissions for. I also had the big "Install" or "Upgrade" buttons and I did not try forcing past the directory perm settings - so I am not sure if it would have proceeded. I think we may NOT want to show a user these buttons until they have the directory permissions set correctly - even though most of the directories will not effect the installation but some will. It complained the logs folder was not 777 even after I ensured it was. It continued to report it was 775 until I changed the 3 log files in the folder to 777 so thats and issue to fix and identify the files within the logs folder. Instead of the "Install" "Upgrade" buttons at this point, we should have a button labeled "Re-check Permissions" as some users may or may not know to use refresh. We are targeting the new installer at a non-techie. After that it all went smooth and the site came up. We should have help links for each of the fields in the main setup form once install is pressed. These would link to a single HTML file with linked anchors. Should we still leave an admin/install/install.php stub that redirects to admin/install/index.php ? Maybe even have public/index.php redirect to the admin/install/index.php if the site has not been installed yet. Online Config Feedback: - Error doing "Save Changes" in the config manager > Invalid argument supplied for foreach() @ /home/bl248/geeklog_systemfiles/system/classes/config.class.php line 471 Line : foreach ($this->config_array as $param_name => $param_value) { $this->config_array is null - Suggest we remove the 'Core' Tab which is designed to support multiple plugins or other components that want to hook into the online config manager. - Suggest we use a selectbox to select which component to administrate the configuration for. I don't like the dual tabbed navbar - atleast not if it's the same style and think a basic selectbox would be more appropriate. Still it should not be shown if there is only 1 config module -as the default GL is. - Re-order the Config tabs so more important config settings are first > Site, Language and Local, Users, Images, Miscellaneous, Theme, Topics and Daily Digest, Story I am not a fan of the (X) idea to reset an config item or disable it. Most config items should never be disabled but yes an option to reset to default would be handy. Some settings like the copywrite notice, a siteadmin may want to disable - but why not just set to NULL and any site code checks for that if its appropriate. I think disabling a setting or removing it from the $_CONF should not be done and may break other code. Any use where optionally a setting like copywrite could be disabled can just check for a NULL or '' in the setting. Can you add comments to your JS code in the configuration.thtml - we can figure it out but comments will help. If you don not need to dynamically alter the JS code by using template variables, then I suggest pulling the JS code out of the template and place the JS in the /javascript folder and use an include to pull it into the template. Makes the template easier to manage since really this is would be done by themers and not coders. For the devel list: our focus for the SOC project was on creating a very flexible config class integrated into the new web-based installer. Having said that we needed a working UI and Aaron has done a nice job in creating a flexible set of classes for the UI and we now have an online configuration editor. Regards, Blaine From joe at ThrowingDice.com Sat Sep 1 15:49:29 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Sat, 01 Sep 2007 15:49:29 -0400 Subject: [geeklog-devel] On to the next release In-Reply-To: <20070901094827.289316142@smtp.haun-online.de> References: <20070901094827.289316142@smtp.haun-online.de> Message-ID: <0JNP004V2GEM1S70@mta5.srv.hcvlny.cv.net> At 05:48 AM 9/1/2007, Dirk Haun wrote: >Now that the Summer of Code is over (thanks everyone, btw!) and the code >has landed in CVS, we should stop adding new features and concentrate on >cleaning up and move onwards to the next release. Sorry about replying 3 times to this.... I hope the new version is actually going to be 1.5.0 and not 1.4.2. The scope of changes for the config settings alone makes it seem silly that versions 1.4.1 and 1.4.2 are "similar". About the only reason I can conceive for not going to 1.5 yet is for saving the 1.5 label for the release that ends support for php4. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From dirk at haun-online.de Sat Sep 1 15:48:49 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 1 Sep 2007 21:48:49 +0200 Subject: [geeklog-devel] Web Installer and integrated online config testing In-Reply-To: <46D9BFB6.9040102@portalparts.com> References: <46D9BFB6.9040102@portalparts.com> Message-ID: <20070901194849.108407803@smtp.haun-online.de> Blaine Lang wrote: >Maybe even have public/index.php redirect to the admin/install/index.php >if the site has not been installed yet. Heh, I had the same idea earlier today. There's a bit of a chicken-and- egg problem here, since you don't have $_CONF['site_url'] yet and therefore can't safely do the redirect. I tried this (in lib-common.php): require_once 'siteconfig.php' ; if ($_CONF['path'] == '/path/to/geeklog/') { echo COM_refresh("admin/install/"); exit; } require_once $_CONF['path_system'] . 'classes/config.class.php'; That works for the index.php but not if you come in through, say, the staticpages directory. We can't use "/admin/install" since the site may be in a subdirectory. And figuring out the correct current URL and go from there is a bit nasty (see COM_getCurrentURL). bye, Dirk -- http://www.haun-online.de/ http://spam.tinyweb.net/ From dirk at haun-online.de Sat Sep 1 15:57:41 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 1 Sep 2007 21:57:41 +0200 Subject: [geeklog-devel] 1.5.0 or 1.4.2? (was: On to the next release) In-Reply-To: <0JNP004V2GEM1S70@mta5.srv.hcvlny.cv.net> References: <20070901094827.289316142@smtp.haun-online.de> <0JNP004V2GEM1S70@mta5.srv.hcvlny.cv.net> Message-ID: <20070901195741.644954471@smtp.haun-online.de> Joe Mucchiello wrote: >Sorry about replying 3 times to this.... No problem. It actually makes things easier to digest than one long reply with 3 different topics in it. Now if people would learn to adjust the subject ... ;-) >I hope the new version is actually going to be 1.5.0 and not 1.4.2. Heh, I was actually waiting for that question. Yeah, I already came to the same conclusion: With the amount of changes in this release, it would be silly to call it 1.4.2. So 1.5.0 it is. bye, Dirk -- http://www.haun-online.de/ http://geeklog.info/ From devel at portalparts.com Sat Sep 1 14:45:12 2007 From: devel at portalparts.com (Blaine Lang) Date: Sat, 01 Sep 2007 14:45:12 -0400 Subject: [geeklog-devel] Integrated Web Installer and Online Config Feedback In-Reply-To: <46D094B2.4090808@portalparts.com> References: <7814C3E7-DADE-4AD4-8F1E-4F1E413096B0@gmail.com> <20070816201642.1444589711@smtp.haun-online.de> <46CCFB75.80303@portalparts.com> <2a1a3bb50708230856v3abd3f21m42405c909d69b850@mail.gmail.com> <20070824180714.1302786274@smtp.haun-online.de> <20070824193331.80723989@smtp.haun-online.de> <2a1a3bb50708241427s6a580001i50af23f9dd98732e@mail.gmail.com> <2a1a3bb50708250848o740fa341k4fbc0a96105a654f@mail.gmail.com> <46D094B2.4090808@portalparts.com> Message-ID: <46D9B338.3030508@portalparts.com> I just completed an install on my hosted UNIX server of the latest CVS code where the system related files outside of webroot. The install worked (as expected) without editing of a single GL file (which was our goal). The install prompted me initially for the path to the db-config.php where we will store the DB access and security related config settings. Next it nicely showed me any folders that i need to change permissions for. I also had the big "Install" or "Upgrade" buttons and I did not try forcing past the directory perm settings - so I am not sure if it would have proceeded. I think we may NOT want to show a user these buttons until they have the directory permissions set correctly - even though most of the directories will not effect the installation but some will. It complained the logs folder was not 777 even after I ensured it was. It continued to report it was 775 until I changed the 3 log files in the folder to 777 so thats and issue to fix and identify the files within the logs folder. Instead of the "Install" "Upgrade" buttons at this point, we should have a button labeled "Re-check Permissions" as some users may or may not know to use refresh. We are targeting the new installer at a non-techie. After that it all went smooth and the site came up. We should have help links for each of the fields in the main setup form once install is pressed. These would link to a single HTML file with linked anchors. Should we still leave an admin/install/install.php stub that redirects to admin/install/index.php ? Maybe even have public/index.php redirect to the admin/install/index.php if the site has not been installed yet. Online Config Feedback: - Error doing "Save Changes" in the config manager > Invalid argument supplied for foreach() @ /home/bl248/geeklog_systemfiles/system/classes/config.class.php line 471 Line : foreach ($this->config_array as $param_name => $param_value) { $this->config_array is null - Suggest we remove the 'Core' Tab which is designed to support multiple plugins or other components that want to hook into the online config manager. - Suggest we use a selectbox to select which component to administrate the configuration for. I don't like the dual tabbed navbar - atleast not if it's the same style and think a basic selectbox would be more appropriate. Still it should not be shown if there is only 1 config module -as the default GL is. - Re-order the Config tabs so more important config settings are first > Site, Language and Local, Users, Images, Miscellaneous, Theme, Topics and Daily Digest, Story I am not a fan of the (X) idea to reset an config item or disable it. Most config items should never be disabled but yes an option to reset to default would be handy. Some settings like the copywrite notice, a siteadmin may want to disable - but why not just set to NULL and any site code checks for that if its appropriate. I think disabling a setting or removing it from the $_CONF should not be done and may break other code. Any use where optionally a setting like copywrite could be disabled can just check for a NULL or '' in the setting. Can you add comments to your JS code in the configuration.thtml - we can figure it out but comments will help. If you don not need to dynamically alter the JS code by using template variables, then I suggest pulling the JS code out of the template and place the JS in the /javascript folder and use an include to pull it into the template. Makes the template easier to manage since really this is would be done by themers and not coders. For the devel list: our focus for the SOC project was on creating a very flexible config class integrated into the new web-based installer. Having said that we needed a working UI and Aaron has done a nice job in creating a flexible set of classes for the UI and we now have an online configuration editor. Regards, Blaine From blanks at mit.edu Sat Sep 1 17:24:30 2007 From: blanks at mit.edu (Aaron Blankstein) Date: Sat, 1 Sep 2007 17:24:30 -0400 Subject: [geeklog-devel] Upgrade issue: No stories to display In-Reply-To: <20070901193048.1165167571@smtp.haun-online.de> References: <20070901193048.1165167571@smtp.haun-online.de> Message-ID: <2a1a3bb50709011424o78ae3d7ds6a1a0cccd5d4a688@mail.gmail.com> I'll fix that tonight. Also, is everyone fine with the way the install is adding config settings? (Through SQL inserts) Because we could use the add() method in the config class which might make maintenance easier. -- Aaron On 9/1/07, Dirk Haun wrote: > > Okay, so after disabling the Polls plugin and its upgrade code, I was > able to update a copy of the geeklog.net db (it didn't upgrade the Links > plugin but did upgrade the static pages plugin - have to look into that). > > Anyway, I was somewhat surprised to get the message "No stories to > display" on the homepage. The Topics block was also empty. > > Turns out that the upgrade enabled multi-language support. > > Matt, Aaron - there's something going wrong here. I see code in the > install script to read the old config.php into the database and that > seems to work for most settings. > > My guess is that for settings that are commented out (like those for the > multi-language support) it uses default values from the > mysql_1.4.1_to_1.4.2.php upgrade file. That needs to be cleaned up. > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dirk at haun-online.de Sat Sep 1 17:36:44 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 1 Sep 2007 23:36:44 +0200 Subject: [geeklog-devel] Upgrade issue: No stories to display In-Reply-To: <2a1a3bb50709011424o78ae3d7ds6a1a0cccd5d4a688@mail.gmail.com> References: <20070901193048.1165167571@smtp.haun-online.de> <2a1a3bb50709011424o78ae3d7ds6a1a0cccd5d4a688@mail.gmail.com> Message-ID: <20070901213644.195039380@smtp.haun-online.de> Aaron Blankstein wrote: >I'll fix that tonight. Setting default values for commented-out options also affects other settings. For example, my timezone was set to GMT-6. >Also, is everyone fine with the way the install is adding config settings? >(Through SQL inserts) Because we could use the add() method in the config >class which might make maintenance easier. I'm not familiar with the details there yet, but that sounds like using add() would be preferrable. bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From blanks at mit.edu Sat Sep 1 18:02:56 2007 From: blanks at mit.edu (Aaron Blankstein) Date: Sat, 1 Sep 2007 18:02:56 -0400 Subject: [geeklog-devel] Web Installer and integrated online config testing In-Reply-To: <46D9BFB6.9040102@portalparts.com> References: <46D9BFB6.9040102@portalparts.com> Message-ID: <2a1a3bb50709011502o687ffb5cl9691968a3543afae@mail.gmail.com> On 9/1/07, Blaine Lang wrote: - Error doing "Save Changes" in the config manager > > Invalid argument supplied for foreach() @ > /home/bl248/geeklog_systemfiles/system/classes/config.class.php line 471 > > Line : foreach ($this->config_array as $param_name => $param_value) { > $this->config_array is null I'll look into it. - Suggest we use a selectbox to select which component to administrate > the configuration for. I don't like the dual tabbed navbar - atleast not > if it's the same style and think a basic selectbox would be more > appropriate. Still it should not be shown if there is only 1 config > module -as the default GL is. That's a good idea. - Re-order the Config tabs so more important config settings are first > > Site, Language and Local, Users, Images, Miscellaneous, Theme, > Topics and Daily Digest, Story That'll come when I get localization working with the configuration UI - hopefully sometime this week. -- Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: From devel at portalparts.com Sat Sep 1 18:17:31 2007 From: devel at portalparts.com (Blaine Lang) Date: Sat, 01 Sep 2007 18:17:31 -0400 Subject: [geeklog-devel] Web Installer and integrated online config testing In-Reply-To: <20070901194849.108407803@smtp.haun-online.de> References: <46D9BFB6.9040102@portalparts.com> <20070901194849.108407803@smtp.haun-online.de> Message-ID: <46D9E4FB.6070503@portalparts.com> Dirk Haun wrote: > There's a bit of a chicken-and-egg problem here, since you don't have $_CONF['site_url'] yet and therefore can't safely do the redirect. For admin/install.php - a simple file with the following appears to work fine: header("Location: index.php"); Now for index.php could we not use (if we detect GL has not yet been installed). header("Location: admin/install/index.php"); How to tell if GL has been installed with no DB access yet - well we could create a lock file at the end of the install process is one way. This would work for the 1.5 GL upgrade as well since this local file would not exist yet. Blaine Dirk Haun wrote: > Blaine Lang wrote: > > >> Maybe even have public/index.php redirect to the admin/install/index.php >> if the site has not been installed yet. >> > > Heh, I had the same idea earlier today. There's a bit of a chicken-and- > egg problem here, since you don't have $_CONF['site_url'] yet and > therefore can't safely do the redirect. > > I tried this (in lib-common.php): > > require_once 'siteconfig.php' ; > if ($_CONF['path'] == '/path/to/geeklog/') { > echo COM_refresh("admin/install/"); > exit; > } > require_once $_CONF['path_system'] . 'classes/config.class.php'; > > That works for the index.php but not if you come in through, say, the > staticpages directory. We can't use "/admin/install" since the site may > be in a subdirectory. And figuring out the correct current URL and go > from there is a bit nasty (see COM_getCurrentURL). > > bye, Dirk > > > From dirk at haun-online.de Sat Sep 1 18:25:20 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sun, 2 Sep 2007 00:25:20 +0200 Subject: [geeklog-devel] Web Installer and integrated online config testing In-Reply-To: <46D9E4FB.6070503@portalparts.com> References: <46D9BFB6.9040102@portalparts.com> <20070901194849.108407803@smtp.haun-online.de> <46D9E4FB.6070503@portalparts.com> Message-ID: <20070901222521.988999224@smtp.haun-online.de> Blaine Lang wrote: >Now for index.php could we not use (if we detect GL has not yet been >installed). > header("Location: admin/install/index.php"); That's what my COM_refresh does - and it has the same problem when you call up /staticpages/index.php (or some other plugin). bye, Dirk -- http://www.haun-online.de/ http://spam.tinyweb.net/ From dirk at haun-online.de Sat Sep 1 18:27:20 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sun, 2 Sep 2007 00:27:20 +0200 Subject: [geeklog-devel] On to the next release In-Reply-To: <0JNO00HWWX8YC2U0@mta3.srv.hcvlny.cv.net> References: <20070901094827.289316142@smtp.haun-online.de> <0JNO00HWWX8YC2U0@mta3.srv.hcvlny.cv.net> Message-ID: <20070901222720.1109522221@smtp.haun-online.de> Joe Mucchiello wrote: >Does this include wrestling the polls, links and calendar plugin >installs out of the general Geeklog install? Not officially, but the Links plugin already does something that could probably be generalized. It tries to initiate it's plugin_upgrade_links () function. First we need to find out why that doesn't work, though :-) bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From devel at portalparts.com Sat Sep 1 18:51:38 2007 From: devel at portalparts.com (Blaine Lang) Date: Sat, 01 Sep 2007 18:51:38 -0400 Subject: [geeklog-devel] Web Installer and integrated online config testing In-Reply-To: <20070901222521.988999224@smtp.haun-online.de> References: <46D9BFB6.9040102@portalparts.com> <20070901194849.108407803@smtp.haun-online.de> <46D9E4FB.6070503@portalparts.com> <20070901222521.988999224@smtp.haun-online.de> Message-ID: <46D9ECFA.7030003@portalparts.com> Dirk Haun wrote: > That's what my COM_refresh does - and it has the same problem when you call up /staticpages/index.php (or some other plugin). Why would care if someone enters a URL to staticpages, when GL is not installed? if (!file_exists('installed.lock')) { header("Location: admin/install/index.php"); } > Blaine Lang wrote: > > >> Now for index.php could we not use (if we detect GL has not yet been >> installed). >> header("Location: admin/install/index.php"); >> > > That's what my COM_refresh does - and it has the same problem when you > call up /staticpages/index.php (or some other plugin). > > bye, Dirk > > > From devel at portalparts.com Sat Sep 1 19:20:11 2007 From: devel at portalparts.com (Blaine Lang) Date: Sat, 01 Sep 2007 19:20:11 -0400 Subject: [geeklog-devel] Web Installer and integrated online config testing In-Reply-To: <2a1a3bb50709011502o687ffb5cl9691968a3543afae@mail.gmail.com> References: <46D9BFB6.9040102@portalparts.com> <2a1a3bb50709011502o687ffb5cl9691968a3543afae@mail.gmail.com> Message-ID: <46D9F3AB.9040109@portalparts.com> I did a local install and had no issues. I can setup FTP access for you if need to my test site on psek if need. I did delete the DB and repeated the install and it had the same issue. Blaine Aaron Blankstein wrote: > On 9/1/07, *Blaine Lang* > wrote: > > - Error doing "Save Changes" in the config manager > > Invalid argument supplied for foreach() @ > /home/bl248/geeklog_systemfiles/system/classes/config.class.php > line 471 > > Line : foreach ($this->config_array as $param_name => > $param_value) { > $this->config_array is null > > > I'll look into it. > > - Suggest we use a selectbox to select which component to > administrate > the configuration for. I don't like the dual tabbed navbar - > atleast not > if it's the same style and think a basic selectbox would be more > appropriate. Still it should not be shown if there is only 1 config > module -as the default GL is. > > > That's a good idea. > > - Re-order the Config tabs so more important config settings are first > > Site, Language and Local, Users, Images, Miscellaneous, Theme, > Topics and Daily Digest, Story > > > That'll come when I get localization working with the configuration UI - > hopefully sometime this week. > > -- Aaron > ------------------------------------------------------------------------ > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > From oliver at spiesshofer.com Sat Sep 1 21:10:05 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Sun, 02 Sep 2007 09:10:05 +0800 Subject: [geeklog-devel] On to the next release In-Reply-To: <20070901222720.1109522221@smtp.haun-online.de> References: <20070901094827.289316142@smtp.haun-online.de> <0JNO00HWWX8YC2U0@mta3.srv.hcvlny.cv.net> <20070901222720.1109522221@smtp.haun-online.de> Message-ID: <46DA0D6D.1080203@spiesshofer.com> Yeah, I tried that since it seemed stupid to me to do the upgrade function twice. I have no idea why it does not work either. I will look into the polls plugin. the strange thing here is that the upgrade process does not return an error for me. The upgrade finishes simply without upgraded plugins. Oliver Dirk Haun wrote: > Joe Mucchiello wrote: > > >> Does this include wrestling the polls, links and calendar plugin >> installs out of the general Geeklog install? >> > > Not officially, but the Links plugin already does something that could > probably be generalized. It tries to initiate it's plugin_upgrade_links > () function. > > First we need to find out why that doesn't work, though :-) > > bye, Dirk > > > From oliver at spiesshofer.com Sat Sep 1 22:00:17 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Sun, 02 Sep 2007 10:00:17 +0800 Subject: [geeklog-devel] On to the next release In-Reply-To: <20070901183831.149472976@smtp.haun-online.de> References: <20070901094827.289316142@smtp.haun-online.de> <46D9786D.6030802@spiesshofer.com> <20070901183831.149472976@smtp.haun-online.de> Message-ID: <46DA1931.3030409@spiesshofer.com> I re-emerged the the whole thing now and upgradeed a std. 141 to CVS. I do not get _any_ errors. The plugins simply do not upgrade. However, if I do the upgrade then manually, it works fine. I will have to debug it. Oliver Dirk Haun wrote: > Oliver Spiesshofer wrote: > > >> I am having an issue with the urrent CVS that upgrading from 1.4.1 does >> not upgrade the plugins. >> > > It does at least try to upgrade the Polls plugin because that dies with > an SQL error when the poll question contains a single quote. E.g. on the > old geeklog.net poll "Who's Your Favorite GL Developer?" ... > > I think the code there needs a few addslashes() in several places. > > bye, Dirk > > > From oliver at spiesshofer.com Sat Sep 1 22:15:20 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Sun, 02 Sep 2007 10:15:20 +0800 Subject: [geeklog-devel] On to the next release In-Reply-To: <46DA1931.3030409@spiesshofer.com> References: <20070901094827.289316142@smtp.haun-online.de> <46D9786D.6030802@spiesshofer.com> <20070901183831.149472976@smtp.haun-online.de> <46DA1931.3030409@spiesshofer.com> Message-ID: <46DA1CB8.2000602@spiesshofer.com> On a further note, it does not work to upgrade the plugins during GL upgrade even if I uninstall the links & polls plugins before upgrading to 150. Oliver Oliver Spiesshofer wrote: > I re-emerged the the whole thing now and upgradeed a std. 141 to CVS. > > I do not get _any_ errors. The plugins simply do not upgrade. > However, if I do the upgrade then manually, it works fine. I will have > to debug it. > > Oliver > > Dirk Haun wrote: >> Oliver Spiesshofer wrote: >> >> >>> I am having an issue with the urrent CVS that upgrading from 1.4.1 >>> does not upgrade the plugins. >>> >> >> It does at least try to upgrade the Polls plugin because that dies with >> an SQL error when the poll question contains a single quote. E.g. on the >> old geeklog.net poll "Who's Your Favorite GL Developer?" ... >> >> I think the code there needs a few addslashes() in several places. >> >> bye, Dirk >> >> >> > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > From devel at portalparts.com Sat Sep 1 22:20:43 2007 From: devel at portalparts.com (Blaine Lang) Date: Sat, 01 Sep 2007 22:20:43 -0400 Subject: [geeklog-devel] On to the next release In-Reply-To: <46DA1CB8.2000602@spiesshofer.com> References: <20070901094827.289316142@smtp.haun-online.de> <46D9786D.6030802@spiesshofer.com> <20070901183831.149472976@smtp.haun-online.de> <46DA1931.3030409@spiesshofer.com> <46DA1CB8.2000602@spiesshofer.com> Message-ID: <46DA1DFB.9050409@portalparts.com> Oliver, Is this what is generating a SQL error when adding a new poll - after installing from CVS? Blaine Oliver Spiesshofer wrote: > On a further note, > > it does not work to upgrade the plugins during GL upgrade even if I > uninstall the links & polls plugins before upgrading to 150. > > Oliver > > Oliver Spiesshofer wrote: >> I re-emerged the the whole thing now and upgradeed a std. 141 to CVS. >> >> I do not get _any_ errors. The plugins simply do not upgrade. >> However, if I do the upgrade then manually, it works fine. I will >> have to debug it. >> >> Oliver >> >> Dirk Haun wrote: >>> Oliver Spiesshofer wrote: >>> >>> >>>> I am having an issue with the urrent CVS that upgrading from 1.4.1 >>>> does not upgrade the plugins. >>>> >>> >>> It does at least try to upgrade the Polls plugin because that dies with >>> an SQL error when the poll question contains a single quote. E.g. on >>> the >>> old geeklog.net poll "Who's Your Favorite GL Developer?" ... >>> >>> I think the code there needs a few addslashes() in several places. >>> >>> bye, Dirk >>> >>> >>> >> >> _______________________________________________ >> geeklog-devel mailing list >> geeklog-devel at lists.geeklog.net >> http://eight.pairlist.net/mailman/listinfo/geeklog-devel >> >> > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > From oliver at spiesshofer.com Sat Sep 1 22:52:18 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Sun, 02 Sep 2007 10:52:18 +0800 Subject: [geeklog-devel] On to the next release In-Reply-To: <46DA1DFB.9050409@portalparts.com> References: <20070901094827.289316142@smtp.haun-online.de> <46D9786D.6030802@spiesshofer.com> <20070901183831.149472976@smtp.haun-online.de> <46DA1931.3030409@spiesshofer.com> <46DA1CB8.2000602@spiesshofer.com> <46DA1DFB.9050409@portalparts.com> Message-ID: <46DA2562.10106@spiesshofer.com> It was a primary key error... thanks for the report, fixed in CVS. Oliver Blaine Lang wrote: > Oliver, > > Is this what is generating a SQL error when adding a new poll - after > installing from CVS? > > Blaine > From ironmax at spacequad.com Sat Sep 1 23:24:54 2007 From: ironmax at spacequad.com (Michael Brusletten) Date: Sat, 1 Sep 2007 23:24:54 -0400 Subject: [geeklog-devel] geeklog-devel Digest, Vol 5, Issue 31 References: Message-ID: <005a01c7ed10$d50f2e30$fe00a8c0@ns2.spacequad.com> Ramnath R Iyer wrote, > > On Wednesday 29 August 2007 17:05:32 Dirk Haun wrote: > > Actually, that was discussed briefly at FrOSCon and the result was that > > we should probably have _more_ developer news and discussions on the > > site. Currently, you don't see any of the discussions that are happening > > on this list mirrored on the site which could lead to the impression > > that there is no real development happening. > > > > mozilla.com probably isn't the best example. We _want_ users to return > > to geeklog.net regularly. And therefore, we have to give them something > > to make sure they do. Like news and discussions. > > I don't have any objections to putting more (or less) content on the website. > What I'm talking about is the separation of this content, so that users who > know nothing about PHP etc. can simply view GL as a complete product. For > example, you could put up a few download links, some nice pictures, tell them > about the great features, and give them an idea of what they can expect in > the next release. > > The *developer* site would focus on all the development news and discussions. > You could even put the archives of this list on this site. Currently, where and who's hosting the developers site? Do we currently have one at all that the public knows about? If it come's down to it, I would be willing to host the site if its not already taken. Ever since the demo.geeklog.net site has been moved over to Spacequad, there has not been a drain on any resources on the system its held on. So there is plenty of room to have more. > > If these two types of content are put up on the same site, I think it would > scare away a lot of potential users who are not interested in development. I > think this may be happening *right now*. > > -- > Ramnath R Iyer From blanks at mit.edu Sun Sep 2 00:08:57 2007 From: blanks at mit.edu (Aaron Blankstein) Date: Sun, 2 Sep 2007 00:08:57 -0400 Subject: [geeklog-devel] Upgrade issue: No stories to display In-Reply-To: <20070901213644.195039380@smtp.haun-online.de> References: <20070901193048.1165167571@smtp.haun-online.de> <2a1a3bb50709011424o78ae3d7ds6a1a0cccd5d4a688@mail.gmail.com> <20070901213644.195039380@smtp.haun-online.de> Message-ID: <2a1a3bb50709012108m3e9e680blf73d9623e52993e6@mail.gmail.com> On 9/1/07, Dirk Haun wrote: > >Also, is everyone fine with the way the install is adding config > settings? > >(Through SQL inserts) Because we could use the add() method in the config > >class which might make maintenance easier. > > I'm not familiar with the details there yet, but that sounds like using > add() would be preferrable. Okay, then the defaults changes won't go in until I change the install to use add() which will be sometime this week. -- Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe at ThrowingDice.com Sun Sep 2 00:30:37 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Sun, 02 Sep 2007 00:30:37 -0400 Subject: [geeklog-devel] On to the next release In-Reply-To: <20070901094827.289316142@smtp.haun-online.de> References: <20070901094827.289316142@smtp.haun-online.de> Message-ID: <0JNQ00EMZ4J76SG0@mta1.srv.hcvlny.cv.net> One more feature request. How about we settle the PLG_templateSetVars/PLG_itemSaved issue from January? Either change the API as I described or at least add the calls to these existing functions where they should be. For example only stories supports calls to PLG_templateSetVars and PLG_itemSaved. Of course, missing is PLG_itemDeleted but that could be covered by a 3rd parameter to PLG_itemSaved. Users, groups and comments have custom functions that do the same thing (mostly). I've added calls to setvars and itemsaved to calendar (and I've got a file of altered functions that i'm using to bridge between 1.4.1 and the 1.5 changes to stuff like ADMIN_list.) How hard would it be to do the same thing in polls and links and whereever else they should be? Calls to PLG_templateSetVars should be just about everywhere there's a major call to parse. One more thing. There should be a call to Template->set_vars('unique_id', $id) so that inside plugin_templatesetvars_$plugin, you can find the id of the item being displayed. Doing so probably also helps with theming. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From oliver at spiesshofer.com Sun Sep 2 03:53:20 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Sun, 02 Sep 2007 15:53:20 +0800 Subject: [geeklog-devel] [geeklog-cvs] Geeklog-1.x/public_html lib-common.php, 1.652, 1.653 pingback.php, 1.18, 1.19 In-Reply-To: <20070902075058.B715310FE12@qs1489.pair.com> References: <20070902075058.B715310FE12@qs1489.pair.com> Message-ID: <46DA6BF0.4040708@spiesshofer.com> How about making this a config-setting? Oliver Dirk Haun wrote: > Changed user agent from "GeekLog" to "Geeklog" From dirk at haun-online.de Sun Sep 2 04:10:07 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sun, 2 Sep 2007 10:10:07 +0200 Subject: [geeklog-devel] [geeklog-cvs] Geeklog-1.x/public_html lib-common.php, 1.652, 1.653 pingback.php, 1.18, 1.19 In-Reply-To: <46DA6BF0.4040708@spiesshofer.com> References: <20070902075058.B715310FE12@qs1489.pair.com> <46DA6BF0.4040708@spiesshofer.com> Message-ID: <20070902081007.2011727026@smtp.haun-online.de> Oliver Spiesshofer wrote: >How about making this a config-setting? I hope you're not suggesting that because of the upper / lower case 'L'?! The option to change the user agent string in a browser may be useful at times but I don't really see a need for that in Geeklog. bye, Dirk -- http://www.haun-online.de/ http://spam.tinyweb.net/ From oliver at spiesshofer.com Sun Sep 2 04:22:03 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Sun, 02 Sep 2007 16:22:03 +0800 Subject: [geeklog-devel] [geeklog-cvs] Geeklog-1.x/public_html lib-common.php, 1.652, 1.653 pingback.php, 1.18, 1.19 In-Reply-To: <20070902081007.2011727026@smtp.haun-online.de> References: <20070902075058.B715310FE12@qs1489.pair.com> <46DA6BF0.4040708@spiesshofer.com> <20070902081007.2011727026@smtp.haun-online.de> Message-ID: <46DA72AB.9010405@spiesshofer.com> I was more hinting at the fact that someone might want to hide the software type &/or version number he is using for a site. Oliver Dirk Haun wrote: > Oliver Spiesshofer wrote: > > >> How about making this a config-setting? >> > > I hope you're not suggesting that because of the upper / lower case 'L'?! > > The option to change the user agent string in a browser may be useful at > times but I don't really see a need for that in Geeklog. > > bye, Dirk > > > From dirk at haun-online.de Sun Sep 2 10:41:06 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sun, 2 Sep 2007 16:41:06 +0200 Subject: [geeklog-devel] geeklog-devel Digest, Vol 5, Issue 31 In-Reply-To: <005a01c7ed10$d50f2e30$fe00a8c0@ns2.spacequad.com> References: <005a01c7ed10$d50f2e30$fe00a8c0@ns2.spacequad.com> Message-ID: <20070902144106.2046620776@smtp.haun-online.de> Michael Brusletten wrote: >Currently, where and who's hosting the developers site? Do we currently >have one at all that the public knows about? We have a server, sponsored by pair.com, that hosts CVS. It is also supposed to host the project site (bugtracker, etc.), using GForge, once someone would actually find the time and set the damn thing up. >If it come's >down to it, I would be willing to host the site if its not already >taken. It's not about the hosting ... bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From dirk at haun-online.de Sun Sep 2 10:58:22 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sun, 2 Sep 2007 16:58:22 +0200 Subject: [geeklog-devel] Creating new config options? Message-ID: <20070902145823.944314038@smtp.haun-online.de> Aaron (et al.), how would you go about creating new config options? I see there's some (terse) documentation about the configuration class in the wiki but it doesn't address the steps necessary to add new options. I see that the $_CONF['atom_max_stories'] is missing from the web GUI (no biggie, we added it rather late) and we need a few more in that area. But it's not exactly obvious what you have to do (including things like db upgrades). bye, Dirk -- http://www.haun-online.de/ http://geeklog.info/ From blanks at mit.edu Sun Sep 2 11:11:04 2007 From: blanks at mit.edu (Aaron Blankstein) Date: Sun, 2 Sep 2007 11:11:04 -0400 Subject: [geeklog-devel] Creating new config options? In-Reply-To: <20070902145823.944314038@smtp.haun-online.de> References: <20070902145823.944314038@smtp.haun-online.de> Message-ID: <2a1a3bb50709020811v5b35d1d8gaeb9d810f1809b6c@mail.gmail.com> With the version currently in CVS, you have to manually add SQL insert statements to all of the appropriate files in sql/ (which is currently 4 files) - which is rather difficult, because most values are serialized and there is a lot of duplication. I'm working on a version that uses a list of add() functions stored in a file called 'config-install.php' in the admin/install/ directory. That will be a lot easier to add settings to. This should be in CVS hopefully late tonight or tomorrow. -- Aaron On 9/2/07, Dirk Haun wrote: > > Aaron (et al.), > > how would you go about creating new config options? I see there's some > (terse) documentation about the configuration class in the wiki but it > doesn't address the steps necessary to add new options. > > I see that the $_CONF['atom_max_stories'] is missing from the web GUI > (no biggie, we added it rather late) and we need a few more in that > area. But it's not exactly obvious what you have to do (including things > like db upgrades). > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dirk at haun-online.de Sun Sep 2 12:02:13 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sun, 2 Sep 2007 18:02:13 +0200 Subject: [geeklog-devel] Creating new config options? In-Reply-To: <2a1a3bb50709020811v5b35d1d8gaeb9d810f1809b6c@mail.gmail.com> References: <20070902145823.944314038@smtp.haun-online.de> <2a1a3bb50709020811v5b35d1d8gaeb9d810f1809b6c@mail.gmail.com> Message-ID: <20070902160213.512250817@smtp.haun-online.de> Aaron Blankstein wrote: >That will be a lot easier to add settings to. This >should be in CVS hopefully late tonight or tomorrow. No hurries. I just wanted to know if the necessary steps were documented anywhere. If you're working on something to make it easier - even better. bye, Dirk -- http://www.haun-online.de/ http://spam.tinyweb.net/ From devel at portalparts.com Sun Sep 2 12:02:42 2007 From: devel at portalparts.com (Blaine Lang) Date: Sun, 02 Sep 2007 12:02:42 -0400 Subject: [geeklog-devel] On to the next release In-Reply-To: <0JNQ00EMZ4J76SG0@mta1.srv.hcvlny.cv.net> References: <20070901094827.289316142@smtp.haun-online.de> <0JNQ00EMZ4J76SG0@mta1.srv.hcvlny.cv.net> Message-ID: <46DADEA2.80802@portalparts.com> Joe Mucchiello wrote: > There should be a call to $template->set_vars('unique_id', $id) so that inside plugin_templatesetvars_$plugin, you can find the id of the item being displayed. I like that idea of using the template class to set a unique id variable which could then be used by plugins PLG_templateSetVars without needing to extend the API function. The API already passes the template and 'template_name' which developers can use $template->get_var('unique_id') if it needs the story SID. In the case of rendering a story, this is already done and this example for lib-custom on a fresh GL install works function CUSTOM_templateSetVars ($templatename, &$template) { if ($templatename == 'featuredstorytext' or $templatename == 'storytext') { $sid = $template->get_var('story_id'); // Do what we need with $sid and set our custom template vars } } Blaine > One more feature request. How about we settle the > PLG_templateSetVars/PLG_itemSaved issue from January? Either change > the API as I described or at least add the calls to these existing > functions where they should be. > > For example only stories supports calls to PLG_templateSetVars and > PLG_itemSaved. Of course, missing is PLG_itemDeleted but that could be > covered by a 3rd parameter to PLG_itemSaved. Users, groups and > comments have custom functions that do the same thing (mostly). I've > added calls to setvars and itemsaved to calendar (and I've got a file > of altered functions that i'm using to bridge between 1.4.1 and the > 1.5 changes to stuff like ADMIN_list.) How hard would it be to do the > same thing in polls and links and whereever else they should be? Calls > to PLG_templateSetVars should be just about everywhere there's a major > call to parse. > > One more thing. There should be a call to > Template->set_vars('unique_id', $id) so that inside > plugin_templatesetvars_$plugin, you can find the id of the item being > displayed. Doing so probably also helps with theming. > > ---- > Joe Mucchiello > Throwing Dice Games > http://www.throwingdice.com > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > From devel at portalparts.com Sun Sep 2 14:35:06 2007 From: devel at portalparts.com (Blaine Lang) Date: Sun, 02 Sep 2007 14:35:06 -0400 Subject: [geeklog-devel] On to the next release In-Reply-To: <46DA2562.10106@spiesshofer.com> References: <20070901094827.289316142@smtp.haun-online.de> <46D9786D.6030802@spiesshofer.com> <20070901183831.149472976@smtp.haun-online.de> <46DA1931.3030409@spiesshofer.com> <46DA1CB8.2000602@spiesshofer.com> <46DA1DFB.9050409@portalparts.com> <46DA2562.10106@spiesshofer.com> Message-ID: <46DB025A.3070501@portalparts.com> Oliver, I just tested a fresh cvs install and I can now create a poll and I am not getting SQL errors but there is some odd behavior/issues still. Created a test poll with 2 questions and could not vote - results were not saving And the questions appeared to be switched Deleted question 2 and and now question 1 was my original question 2. Nothing I'm sure some more testing won't flesh out. Also, I notice that if you have more then 1 poll, you are calling COM_startBlock for the 2nd one but no title. In professional, that leaves a small white area separating the polls. Not sure if it would look better if you still displayed the same "Poll" heading. Blaine Oliver Spiesshofer wrote: > It was a primary key error... thanks for the report, fixed in CVS. > > Oliver > > Blaine Lang wrote: >> Oliver, >> >> Is this what is generating a SQL error when adding a new poll - after >> installing from CVS? >> >> Blaine >> > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > From joe at ThrowingDice.com Sun Sep 2 15:55:19 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Sun, 02 Sep 2007 15:55:19 -0400 Subject: [geeklog-devel] On to the next release In-Reply-To: <46DADEA2.80802@portalparts.com> References: <20070901094827.289316142@smtp.haun-online.de> <0JNQ00EMZ4J76SG0@mta1.srv.hcvlny.cv.net> <46DADEA2.80802@portalparts.com> Message-ID: <0JNR0073DBCENN60@mta1.srv.hcvlny.cv.net> Yes, it's a great example, but in practice, not everything sets such a variable. The first thing I had to do to make it worth while to hook event displays was add $cal_templates->set_var('eid', $eid); before the call to PLG_templateSetVars. Doesn't solve the lack of a PLG_itemDeleted. I was thinking rather than having a bunch of PLG_itemActions functions, it would be good to change PLG_itemSaved to PLG_itemChanged and have it mirror the PLG_groupChanged API: function PLG_itemChanged($obj_id, $obj_type, $action) Internally, when $action is 'save' it would first attempt to call plugin_itemsaved_$plugin and if that didn't exist, it would try plugin_itemchanged_$plugin to maintain backward compatibility with anything using the PLG_itemSaved call. At 12:02 PM 9/2/2007, Blaine Lang wrote: >Joe Mucchiello wrote: > > There should be a call to $template->set_vars('unique_id', $id) > so that inside plugin_templatesetvars_$plugin, you can find the id > of the item being displayed. > >I like that idea of using the template class to set a unique id >variable which could then be used by plugins PLG_templateSetVars >without needing to extend the API function. The API already passes >the template and 'template_name' which developers can use >$template->get_var('unique_id') if it needs the story SID. > >In the case of rendering a story, this is already done and this >example for lib-custom on a fresh GL install works >function CUSTOM_templateSetVars ($templatename, &$template) { > if ($templatename == 'featuredstorytext' or $templatename == > 'storytext') { > $sid = $template->get_var('story_id'); > // Do what we need with $sid and set our custom template vars > } >} > >Blaine >>One more feature request. How about we settle the >>PLG_templateSetVars/PLG_itemSaved issue from January? Either change >>the API as I described or at least add the calls to these existing >>functions where they should be. >> >>For example only stories supports calls to PLG_templateSetVars and >>PLG_itemSaved. Of course, missing is PLG_itemDeleted but that could >>be covered by a 3rd parameter to PLG_itemSaved. Users, groups and >>comments have custom functions that do the same thing (mostly). >>I've added calls to setvars and itemsaved to calendar (and I've got >>a file of altered functions that i'm using to bridge between 1.4.1 >>and the 1.5 changes to stuff like ADMIN_list.) How hard would it be >>to do the same thing in polls and links and whereever else they >>should be? Calls to PLG_templateSetVars should be just about >>everywhere there's a major call to parse. >> >>One more thing. There should be a call to >>Template->set_vars('unique_id', $id) so that inside >>plugin_templatesetvars_$plugin, you can find the id of the item >>being displayed. Doing so probably also helps with theming. >> >>---- >>Joe Mucchiello >>Throwing Dice Games >>http://www.throwingdice.com >>_______________________________________________ >>geeklog-devel mailing list >>geeklog-devel at lists.geeklog.net >>http://eight.pairlist.net/mailman/listinfo/geeklog-devel >> >_______________________________________________ >geeklog-devel mailing list >geeklog-devel at lists.geeklog.net >http://eight.pairlist.net/mailman/listinfo/geeklog-devel ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From dwight at trumbower.com Sun Sep 2 16:24:45 2007 From: dwight at trumbower.com (Dwight Trumbower) Date: Sun, 2 Sep 2007 14:24:45 -0600 Subject: [geeklog-devel] geeklog-devel Digest, Vol 5, Issue 31 In-Reply-To: <20070902144106.2046620776@smtp.haun-online.de> References: <005a01c7ed10$d50f2e30$fe00a8c0@ns2.spacequad.com> <20070902144106.2046620776@smtp.haun-online.de> Message-ID: <62564dee0709021324q51888282lcb7c96acb06522e7@mail.gmail.com> I'm assuming it has to be setup from scratch? Is the old database available? Since I prefer system work vs programming, I can look into for you. On 9/2/07, Dirk Haun wrote: > > Michael Brusletten wrote: > > >Currently, where and who's hosting the developers site? Do we currently > >have one at all that the public knows about? > > We have a server, sponsored by pair.com, that hosts CVS. It is also > supposed to host the project site (bugtracker, etc.), using GForge, once > someone would actually find the time and set the damn thing up. > > > >If it come's > >down to it, I would be willing to host the site if its not already > >taken. > > It's not about the hosting ... > > 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 > -- Have a Great Day! Dwight Trumbower -------------- next part -------------- An HTML attachment was scrubbed... URL: From oliver at spiesshofer.com Sun Sep 2 18:40:30 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Mon, 03 Sep 2007 06:40:30 +0800 Subject: [geeklog-devel] On to the next release In-Reply-To: <46DB025A.3070501@portalparts.com> References: <20070901094827.289316142@smtp.haun-online.de> <46D9786D.6030802@spiesshofer.com> <20070901183831.149472976@smtp.haun-online.de> <46DA1931.3030409@spiesshofer.com> <46DA1CB8.2000602@spiesshofer.com> <46DA1DFB.9050409@portalparts.com> <46DA2562.10106@spiesshofer.com> <46DB025A.3070501@portalparts.com> Message-ID: <46DB3BDE.20802@spiesshofer.com> Blaine, thanks for the testing! I will check that out as soon as I have time, travelling this week, so I do not know how much time I have. Oliver Blaine Lang wrote: > Oliver, > > I just tested a fresh cvs install and I can now create a poll and I am > not getting SQL errors but there is some odd behavior/issues still. > > Created a test poll with 2 questions and could not vote - results were > not saving > And the questions appeared to be switched > Deleted question 2 and and now question 1 was my original question 2. > > Nothing I'm sure some more testing won't flesh out. > > Also, I notice that if you have more then 1 poll, you are calling > COM_startBlock for the 2nd one but no title. In professional, that > leaves a small white area separating the polls. Not sure if it would > look better if you still displayed the same "Poll" heading. > > Blaine > > Oliver Spiesshofer wrote: >> It was a primary key error... thanks for the report, fixed in CVS. >> >> Oliver >> >> Blaine Lang wrote: >>> Oliver, >>> >>> Is this what is generating a SQL error when adding a new poll - >>> after installing from CVS? >>> >>> Blaine >>> >> >> _______________________________________________ >> geeklog-devel mailing list >> geeklog-devel at lists.geeklog.net >> http://eight.pairlist.net/mailman/listinfo/geeklog-devel >> >> > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > From blanks at mit.edu Sun Sep 2 22:28:38 2007 From: blanks at mit.edu (Aaron Blankstein) Date: Sun, 2 Sep 2007 22:28:38 -0400 Subject: [geeklog-devel] Creating new config options? In-Reply-To: <20070902160213.512250817@smtp.haun-online.de> References: <20070902145823.944314038@smtp.haun-online.de> <2a1a3bb50709020811v5b35d1d8gaeb9d810f1809b6c@mail.gmail.com> <20070902160213.512250817@smtp.haun-online.de> Message-ID: <2a1a3bb50709021928t52c86ba3kf1ac738ef4e04b0e@mail.gmail.com> The changes to the config install process are now in CVS - I will document how to add parameters at some point tomorrow. The configuration UI now supports localization (I've added a lot of new entries to english and english_utf-8) Also, the config variables that are commented out in config.php are now disabled by default. I've tested this with a MySQL install and upgrade and it seems to work, though more testing will need to be done. -- Aaron On 9/2/07, Dirk Haun wrote: > > Aaron Blankstein wrote: > > >That will be a lot easier to add settings to. This > >should be in CVS hopefully late tonight or tomorrow. > > No hurries. I just wanted to know if the necessary steps were documented > anywhere. If you're working on something to make it easier - even better. > > 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 joe at ThrowingDice.com Tue Sep 4 02:16:45 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Tue, 04 Sep 2007 02:16:45 -0400 Subject: [geeklog-devel] PLG_get???Options missing CUSTOM hook In-Reply-To: <2a1a3bb50709021928t52c86ba3kf1ac738ef4e04b0e@mail.gmail.co m> References: <20070902145823.944314038@smtp.haun-online.de> <2a1a3bb50709020811v5b35d1d8gaeb9d810f1809b6c@mail.gmail.com> <20070902160213.512250817@smtp.haun-online.de> <2a1a3bb50709021928t52c86ba3kf1ac738ef4e04b0e@mail.gmail.com> Message-ID: <0JNT00L0SYS9WDO0@mta1.srv.hcvlny.cv.net> Could someone modify PLGINT_getOptionsForMenus() as follows: $counter = 0; // line 862 of lib-plugins.php from CVS a day or two ago $func_array = array(); foreach ($_PLUGINS as $pi_name) { $function = $function_name . $pi_name; if (function_exists ($function)) { $func_array[] = $function; } } $custom_func = str_replace('plugin_', 'CUSTOM???', $function_name); // assume $function_name is 'plugin_something_' $custom_func = str_replace('_', '', $custom_func); // $custom_func is now 'CUSTOM???something_', remove trailing _ $custom_func = str_replace('???', '_', $custom_func); // $custom_func is now 'CUSTOM???something', convert ??? to _ if (function_exists($custom_func)) { $func_array[] = $custom_func; } foreach ($func_array as $function) { // line 865 of lib-plugins.php $plg_array = $function(); // remove this line (around 898 before inserting code above) } ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From achurch at achurch.org Tue Sep 4 18:02:05 2007 From: achurch at achurch.org (Andrew Church) Date: Tue, 04 Sep 2007 18:02:05 JST Subject: [geeklog-devel] [PATCH] Allow the comment form to be displayed regardless of speed limit Message-ID: <46dd1f31.52747@msgid.achurch.org> Per request by PJ of Groklaw, I'd like to submit the following patch (against 1.4.1, but also applies correctly to current CVS) to Geeklog; the patch which is intended to allow users to display the comment submission form even before the "speed limit" timeout expires, rather than forcing them to wait for that period before being able to start typing a new comment. For clarity, the patch does not correct indentation between the two deleted hunks. It looks like relying on the speed limit test at comment submission time will generate a log message whenever the test fails, so it may also be desirable to remove the following lines (at system/lib-comment.php:827 before patching): COM_errorLog("CMT_saveComment: $uid from {$_SERVER['REMOTE_ADDR']} tried " . 'to submit a comment before the speed limit expired'); Note that this is my first encounter with the Geeklog source, and I don't have a local installation with which to test, so please take this patch with a grain of salt. --Andrew Church achurch at achurch.org http://achurch.org/ --------------------------------------------------------------------------- --- geeklog-1.4.1/system/lib-comment.php.old 2006-12-10 07:35:17 +0900 +++ geeklog-1.4.1/system/lib-comment.php 2007-09-04 15:30:12 +0900 @@ -615,19 +615,6 @@ $retval .= COM_endBlock (COM_getBlockTemplate ('_msg_block', 'footer')); return $retval; } else { - COM_clearSpeedlimit ($_CONF['commentspeedlimit'], 'comment'); - - $last = COM_checkSpeedlimit ('comment'); - - if ($last > 0) { - $retval .= COM_startBlock ($LANG12[26], '', - COM_getBlockTemplate ('_msg_block', 'header')) - . $LANG03[7] - . $last - . $LANG03[8] - . COM_endBlock (COM_getBlockTemplate ('_msg_block', 'footer')); - } else { - if (($_CONF['advanced_editor'] == 1) && file_exists ($_CONF['path_layout'] . 'comment/commentform_advanced.thtml')) { $postmode = 'html'; } elseif (empty ($postmode)) { @@ -773,7 +760,6 @@ $comment_template->set_var('end_block', COM_endBlock()); $comment_template->parse('output', 'form'); $retval .= $comment_template->finish($comment_template->get_var('output')); - } } return $retval; From matt.danger.west at gmail.com Wed Sep 5 14:50:28 2007 From: matt.danger.west at gmail.com (Matt West) Date: Wed, 5 Sep 2007 14:50:28 -0400 Subject: [geeklog-devel] Google Summer of Code Message-ID: Last night I uploaded my code to Google which means my Summer of Code is officially over. Well.. just as soon as I get my t-shirt. I had a lot more fun than I expected. This was my first time working on any open source project or being part of a development community. I found it to be a lot more enjoyable than coding it alone. Dirk, I want to take this chance to say thanks for everything you helped me with as my mentor, it was great to have you around to bounce ideas back and forth with. Without it I'm not sure I would have been able to deliver what I did. Those experiences were humbling as many times you'd mention things I hadn't even considered, but as soon as you brought them up they would become obvious. Mark & Randy, I want to thank you guys for your help as well. Mark helped me get PHP5 working on IIS and told me exactly what he did, which was helpful for when I accidentally deleted my VM and had to redo everything.. Randy helped me debug some of my problems with MSSQL which was the hardest part of the project for me. Lastly, Blaine, thank you for proofreading my initial proposal. It helped calm my nerves during the application process. I do plan to remain a contributing member of Geeklog and there are still a few bugs with my installation wizard that need to be ironed out, so I'll be around for a while. Matt West From matt.danger.west at gmail.com Thu Sep 6 03:11:23 2007 From: matt.danger.west at gmail.com (Matt West) Date: Thu, 6 Sep 2007 03:11:23 -0400 Subject: [geeklog-devel] Integrated Web Installer and Online Config Feedback In-Reply-To: <46D9B338.3030508@portalparts.com> References: <7814C3E7-DADE-4AD4-8F1E-4F1E413096B0@gmail.com> <20070816201642.1444589711@smtp.haun-online.de> <46CCFB75.80303@portalparts.com> <2a1a3bb50708230856v3abd3f21m42405c909d69b850@mail.gmail.com> <20070824180714.1302786274@smtp.haun-online.de> <20070824193331.80723989@smtp.haun-online.de> <2a1a3bb50708241427s6a580001i50af23f9dd98732e@mail.gmail.com> <2a1a3bb50708250848o740fa341k4fbc0a96105a654f@mail.gmail.com> <46D094B2.4090808@portalparts.com> <46D9B338.3030508@portalparts.com> Message-ID: On Sep 1, 2007, at 2:45 PM, Blaine Lang wrote: > Next it nicely showed me any folders that i need to change > permissions for. I also had the big "Install" or "Upgrade" buttons > and I did not try forcing past the directory perm settings - so I > am not sure if it would have proceeded. I think we may NOT want to > show a user these buttons until they have the directory permissions > set correctly - even though most of the directories will not effect > the installation but some will. If the user tries to go onto the next step without changing permissions the script will display a warning and will not let them continue until they set the appropriate permissions on the critical files (db-config.php and siteconfig.php). > It complained the logs folder was not 777 even after I ensured it > was. It continued to report it was 775 until I changed the 3 log > files in the folder to 777 so thats and issue to fix and identify > the files within the logs folder. I simply changed the message to now say "Change directory and contained files to 777" I think it's easier and cleaner than checking error.log and access.log manually and displaying a message for each. > Instead of the "Install" "Upgrade" buttons at this point, we should > have a button labeled "Re-check Permissions" as some users may or > may not know to use refresh. We are targeting the new installer at > a non-techie. Probably a good idea. I structured it the current way to reduce the installation steps, but maybe it's not the best way of doing things for beginners. > We should have help links for each of the fields in the main > setup form once install is pressed. These would link to a single > HTML file with linked anchors. I added all the functionality, the content will go into the installer's localization files when I get a chance to write it up. I did it this way instead of a single HTML doc simply so we could localize easier. > Should we still leave an admin/install/install.php stub that > redirects to admin/install/index.php ? > Maybe even have public/index.php redirect to the admin/install/ > index.php if the site has not been installed yet. I saw there was some discussion about having the main index redirect to the installer if a lock file didn't exist but I didn't see much about this suggestion. I added it for now thinking it'd be easier for backwards compatibility. I also fixed a bug Dirk found with the localization and cleaned up success.php a tad. Matt From joe at ThrowingDice.com Thu Sep 6 21:18:39 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Thu, 06 Sep 2007 21:18:39 -0400 Subject: [geeklog-devel] Integrated Web Installer and Online Config Feedback In-Reply-To: References: <7814C3E7-DADE-4AD4-8F1E-4F1E413096B0@gmail.com> <20070816201642.1444589711@smtp.haun-online.de> <46CCFB75.80303@portalparts.com> <2a1a3bb50708230856v3abd3f21m42405c909d69b850@mail.gmail.com> <20070824180714.1302786274@smtp.haun-online.de> <20070824193331.80723989@smtp.haun-online.de> <2a1a3bb50708241427s6a580001i50af23f9dd98732e@mail.gmail.com> <2a1a3bb50708250848o740fa341k4fbc0a96105a654f@mail.gmail.com> <46D094B2.4090808@portalparts.com> <46D9B338.3030508@portalparts.com> Message-ID: <0JNZ007BQ4ZN2BP0@mta1.srv.hcvlny.cv.net> So, I downloaded the CVS tarball. Put in a directory by itself and pointed my browser at it and... nothing. The "help" docs are still for the old install process. What is the new process? When I went to look at lib-common.php it said there's nothing to fix there. So I'm confused. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From oliver at spiesshofer.com Thu Sep 6 21:38:53 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Fri, 07 Sep 2007 10:38:53 +0900 Subject: [geeklog-devel] Integrated Web Installer and Online Config Feedback In-Reply-To: <0JNZ007BQ4ZN2BP0@mta1.srv.hcvlny.cv.net> References: <7814C3E7-DADE-4AD4-8F1E-4F1E413096B0@gmail.com> <20070816201642.1444589711@smtp.haun-online.de> <46CCFB75.80303@portalparts.com> <2a1a3bb50708230856v3abd3f21m42405c909d69b850@mail.gmail.com> <20070824180714.1302786274@smtp.haun-online.de> <20070824193331.80723989@smtp.haun-online.de> <2a1a3bb50708241427s6a580001i50af23f9dd98732e@mail.gmail.com> <2a1a3bb50708250848o740fa341k4fbc0a96105a654f@mail.gmail.com> <46D094B2.4090808@portalparts.com> <46D9B338.3030508@portalparts.com> <0JNZ007BQ4ZN2BP0@mta1.srv.hcvlny.cv.net> Message-ID: <46E0ABAD.6090804@spiesshofer.com> If you subscribe to the CVS updates (which I can highly recommend if you work with CVS code), you can see that the new install is still under development. Apparently the documentation is written after the new process is finished instead of before. I would recommend you to accept the fact that you do not have to change anything in lib-common and go directly to the the install directory /public_html/admin/install/ and try to call the index.php there and see if anything there works. Oliver Joe Mucchiello wrote: > So, I downloaded the CVS tarball. Put in a directory by itself and > pointed my browser at it and... nothing. The "help" docs are still for > the old install process. What is the new process? When I went to look > at lib-common.php it said there's nothing to fix there. So I'm confused. > > ---- > Joe Mucchiello > Throwing Dice Games > http://www.throwingdice.com > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > From joe at ThrowingDice.com Thu Sep 6 23:28:11 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Thu, 06 Sep 2007 23:28:11 -0400 Subject: [geeklog-devel] Integrated Web Installer and Online Config Feedback In-Reply-To: <46E0ABAD.6090804@spiesshofer.com> References: <7814C3E7-DADE-4AD4-8F1E-4F1E413096B0@gmail.com> <20070816201642.1444589711@smtp.haun-online.de> <46CCFB75.80303@portalparts.com> <2a1a3bb50708230856v3abd3f21m42405c909d69b850@mail.gmail.com> <20070824180714.1302786274@smtp.haun-online.de> <20070824193331.80723989@smtp.haun-online.de> <2a1a3bb50708241427s6a580001i50af23f9dd98732e@mail.gmail.com> <2a1a3bb50708250848o740fa341k4fbc0a96105a654f@mail.gmail.com> <46D094B2.4090808@portalparts.com> <46D9B338.3030508@portalparts.com> <0JNZ007BQ4ZN2BP0@mta1.srv.hcvlny.cv.net> <46E0ABAD.6090804@spiesshofer.com> Message-ID: <0JNZ003B0AZKHZU0@mta1.srv.hcvlny.cv.net> No, I turned on "display errors" in php.ini and I've updated the db-config.php and siteconfig.php but appaarently no one has tried to run this with a completely empty database. In config.class.php, the initconfig() method needs this change: $sql_query = "SELECT name, value FROM {$_TABLES['conf_values']} WHERE " . "group_name = '{$this->ref}'"; $result = DB_query($sql_query,1); // add the ,1 so that when $_TABLES['conf_values'] doesn't exist, the db layer will not report an error. But that's just the start of the problems. From there, including lib-plugins causes an error when it tries to fill the $PLUGINS array and gl_plugins is not a valid table. I'll try again after I install 1.4.1 onto that database. At 09:38 PM 9/6/2007, Oliver Spiesshofer wrote: >If you subscribe to the CVS updates (which I can highly recommend if >you work with CVS code), you can see that the new install is still >under development. Apparently the documentation is written after the >new process is finished instead of before. >I would recommend you to accept the fact that you do not have to >change anything in lib-common and go directly to the the install >directory /public_html/admin/install/ and try to call the index.php >there and see if anything there works. > >Oliver ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From oliver at spiesshofer.com Fri Sep 7 01:29:22 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Fri, 7 Sep 2007 14:29:22 +0900 Subject: [geeklog-devel] Integrated Web Installer and Online Config Feedback Message-ID: <200709070529.l875T6Rx015120@atlas.jtan.com> In the testing process of the plugins i did several installs on a blank database. I did not even update any files. I simply ran the installer.... Everything worked fine -----Original Message----- From: "Joe Mucchiello" To: "Geeklog Development" Sent: 7/09/07 12:28 Subject: Re: [geeklog-devel] Integrated Web Installer and Online Config Feedback No, I turned on "display errors" in php.ini and I've updated the db-config.php and siteconfig.php but appaarently no one has tried to run this with a completely empty database. In config.class.php, the initconfig() method needs this change: $sql_query = "SELECT name, value FROM {$_TABLES['conf_values']} WHERE " . "group_name = '{$this->ref}'"; $result = DB_query($sql_query,1); // add the ,1 so that when $_TABLES['conf_values'] doesn't exist, the db layer will not report an error. But that's just the start of the problems. From there, including lib-plugins causes an error when it tries to fill the $PLUGINS array and gl_plugins is not a valid table. I'll try again after I install 1.4.1 onto that database. At 09:38 PM 9/6/2007, Oliver Spiesshofer wrote: >If you subscribe to the CVS updates (which I can highly recommend if >you work with CVS code), you can see that the new install is still >under development. Apparently the documentation is written after the >new process is finished instead of before. >I would recommend you to accept the fact that you do not have to >change anything in lib-common and go directly to the the install >directory /public_html/admin/install/ and try to call the index.php >there and see if anything there works. > >Oliver ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com _______________________________________________ geeklog-devel mailing list geeklog-devel at lists.geeklog.net http://eight.pairlist.net/mailman/listinfo/geeklog-devel From dirk at haun-online.de Fri Sep 7 01:59:56 2007 From: dirk at haun-online.de (Dirk Haun) Date: Fri, 7 Sep 2007 07:59:56 +0200 Subject: [geeklog-devel] Integrated Web Installer and Online Config Feedback In-Reply-To: <0JNZ003B0AZKHZU0@mta1.srv.hcvlny.cv.net> References: <7814C3E7-DADE-4AD4-8F1E-4F1E413096B0@gmail.com> <20070816201642.1444589711@smtp.haun-online.de> <46CCFB75.80303@portalparts.com> <2a1a3bb50708230856v3abd3f21m42405c909d69b850@mail.gmail.com> <20070824180714.1302786274@smtp.haun-online.de> <20070824193331.80723989@smtp.haun-online.de> <2a1a3bb50708241427s6a580001i50af23f9dd98732e@mail.gmail.com> <2a1a3bb50708250848o740fa341k4fbc0a96105a654f@mail.gmail.com> <46D094B2.4090808@portalparts.com> <46D9B338.3030508@portalparts.com> <0JNZ007BQ4ZN2BP0@mta1.srv.hcvlny.cv.net> <46E0ABAD.6090804@spiesshofer.com> <0JNZ003B0AZKHZU0@mta1.srv.hcvlny.cv.net> Message-ID: <20070907055956.284660751@smtp.haun-online.de> Joe Mucchiello wrote: >but appaarently no one has tried to >run this with a completely empty database. Works just fine here. Create an empty database, call up admin/install/ index.php, follow the instructions. Apparently, you're doing something wrong. And you may want to calm down a bit ... bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From joe at ThrowingDice.com Fri Sep 7 02:34:47 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Fri, 07 Sep 2007 02:34:47 -0400 Subject: [geeklog-devel] Integrated Web Installer and Online Config Feedback In-Reply-To: <20070907055956.284660751@smtp.haun-online.de> References: <7814C3E7-DADE-4AD4-8F1E-4F1E413096B0@gmail.com> <20070816201642.1444589711@smtp.haun-online.de> <46CCFB75.80303@portalparts.com> <2a1a3bb50708230856v3abd3f21m42405c909d69b850@mail.gmail.com> <20070824180714.1302786274@smtp.haun-online.de> <20070824193331.80723989@smtp.haun-online.de> <2a1a3bb50708241427s6a580001i50af23f9dd98732e@mail.gmail.com> <2a1a3bb50708250848o740fa341k4fbc0a96105a654f@mail.gmail.com> <46D094B2.4090808@portalparts.com> <46D9B338.3030508@portalparts.com> <0JNZ007BQ4ZN2BP0@mta1.srv.hcvlny.cv.net> <46E0ABAD.6090804@spiesshofer.com> <0JNZ003B0AZKHZU0@mta1.srv.hcvlny.cv.net> <20070907055956.284660751@smtp.haun-online.de> Message-ID: <0JNZ0022SJMK7N21@mta5.srv.hcvlny.cv.net> I'm perfectly calm. Where do I sound agitated? I was just asking what the steps for an install are. And the step I was missing was that you go to admin/install/index.php. I was using install.php. Someone should add a todo item for updating all the readme and installing files in the path/to/geeklog root. They are very out of date. Okay. Now the install worked but I misunderstood the config dialog. The item for Admin Directory Path came up as /cvs/public_html/admin. It should have been http://localhost:8008/cvs/public_html/admin. Since it said Path I corrected it to d:/blahblah/cvs/public_html/admin and now of course all the admin links are broken. The text should be Admin URL and it should ensure that CONF item is a full URL. (And the size="30" on those text fields should really be a bit bigger.) Other than that, it sure does look slick. Great job, Matt. At 01:59 AM 9/7/2007, Dirk Haun wrote: >call up admin/install/index.php > >Apparently, you're doing something wrong. And you may want to calm down >a bit ... > >bye, Dirk ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From devel at portalparts.com Fri Sep 7 09:35:16 2007 From: devel at portalparts.com (Blaine Lang) Date: Fri, 07 Sep 2007 09:35:16 -0400 Subject: [geeklog-devel] Integrated Web Installer and Online Config Feedback In-Reply-To: <0JNZ0022SJMK7N21@mta5.srv.hcvlny.cv.net> References: <7814C3E7-DADE-4AD4-8F1E-4F1E413096B0@gmail.com> <20070816201642.1444589711@smtp.haun-online.de> <46CCFB75.80303@portalparts.com> <2a1a3bb50708230856v3abd3f21m42405c909d69b850@mail.gmail.com> <20070824180714.1302786274@smtp.haun-online.de> <20070824193331.80723989@smtp.haun-online.de> <2a1a3bb50708241427s6a580001i50af23f9dd98732e@mail.gmail.com> <2a1a3bb50708250848o740fa341k4fbc0a96105a654f@mail.gmail.com> <46D094B2.4090808@portalparts.com> <46D9B338.3030508@portalparts.com> <0JNZ007BQ4ZN2BP0@mta1.srv.hcvlny.cv.net> <46E0ABAD.6090804@spiesshofer.com> <0JNZ003B0AZKHZU0@mta1.srv.hcvlny.cv.net> <20070907055956.284660751@smtp.haun-online.de> <0JNZ0022SJMK7N21@mta5.srv.hcvlny.cv.net> Message-ID: <46E15394.3030502@portalparts.com> Joe Mucchiello wrote: > And the step I was missing was that you go to admin/install/index.php. I was using install.php. I think it's time we revisit the discussion I brought up a few days ago on this list about making install/install.php a stub that redirects to install/index.php for those that still use the old URL or maybe have left the install.php from a previous release there. Blaine From dwight at trumbower.com Fri Sep 7 09:59:45 2007 From: dwight at trumbower.com (Dwight Trumbower) Date: Fri, 7 Sep 2007 08:59:45 -0500 Subject: [geeklog-devel] Integrated Web Installer and Online Config Feedback In-Reply-To: <46E15394.3030502@portalparts.com> References: <46D094B2.4090808@portalparts.com> <46D9B338.3030508@portalparts.com> <0JNZ007BQ4ZN2BP0@mta1.srv.hcvlny.cv.net> <46E0ABAD.6090804@spiesshofer.com> <0JNZ003B0AZKHZU0@mta1.srv.hcvlny.cv.net> <20070907055956.284660751@smtp.haun-online.de> <0JNZ0022SJMK7N21@mta5.srv.hcvlny.cv.net> <46E15394.3030502@portalparts.com> Message-ID: <62564dee0709070659r650ac3a4pe39234f30696d644@mail.gmail.com> Just tried it for the first time. Awesome! It will be nice to everything in a db. On 9/7/07, Blaine Lang wrote: > > Joe Mucchiello wrote: > > And the step I was missing was that you go to > admin/install/index.php. I was using install.php. > > I think it's time we revisit the discussion I brought up a few days ago > on this list about making install/install.php a stub that redirects to > install/index.php for those that still use the old URL or maybe have > left the install.php from a previous release there. > > Blaine > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > -- Have a Great Day! Dwight Trumbower -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwight at trumbower.com Fri Sep 7 12:25:44 2007 From: dwight at trumbower.com (Dwight Trumbower) Date: Fri, 7 Sep 2007 11:25:44 -0500 Subject: [geeklog-devel] Off Topic: Orgchart Software Message-ID: <62564dee0709070925s5d4f2fcdqbbe74a532c7ac92d@mail.gmail.com> Anyone use org chart software that is database driven for a web site? Current project has a need and I'm trying to find out if anyone has some experience. Thanks -- Have a Great Day! Dwight Trumbower -------------- next part -------------- An HTML attachment was scrubbed... URL: From dirk at haun-online.de Fri Sep 7 14:13:24 2007 From: dirk at haun-online.de (Dirk Haun) Date: Fri, 7 Sep 2007 20:13:24 +0200 Subject: [geeklog-devel] Integrated Web Installer and Online Config Feedback In-Reply-To: <46E15394.3030502@portalparts.com> References: <7814C3E7-DADE-4AD4-8F1E-4F1 E413096B0@gmail.com> <20070816201642.1444589711@smtp.haun-online.de> <46CCFB75 .80303@portalparts.com> <2a1a 3bb50708230856v3abd3f21m42405c909d69b850@mail.gmail.com> <20070824180714.13027 86274@smtp.haun-online.de> <2 0070824193331.80723989@smtp.haun-online.de> <2a1a3bb50708241427s6a580001i50af2 3f9dd98732e@mail.gmail.com> <2a1a3bb50708250848o740fa341k4fbc0a96105a654f@mail .gmail.com> <46D094B2.4090808@portalparts.com> <46D9B338.3030508@portalparts.com> <0JNZ007BQ4ZN2BP0@mta1.srv.hcvlny.cv.net> <46E0ABAD.6090804@spiesshofe r.com> <0JNZ003B0AZKHZU0@mta1.srv.hcvlny.cv.net> <20070907055956.284660751@smt p.haun-online.de> <0JNZ0022SJMK7N21@mta5.srv.hcvlny.cv.net> <46E15394.3030502@portalparts.com> Message-ID: <20070907181324.1714493170@smtp.haun-online.de> Blaine Lang wrote: >I think it's time we revisit the discussion I brought up a few days ago >on this list about making install/install.php a stub that redirects to >install/index.php The version in CVS already does that. Or at least tries to - strictly speaking, header('Location: index.php'); is not correct, since the Location: header requires a complete URL. This may work on some browsers but not on others. bye, Dirk -- http://www.haun-online.de/ http://spam.tinyweb.net/ From dirk at haun-online.de Fri Sep 7 15:15:04 2007 From: dirk at haun-online.de (Dirk Haun) Date: Fri, 7 Sep 2007 21:15:04 +0200 Subject: [geeklog-devel] Test, please ignore Message-ID: <20070907191504.1150747104@smtp.haun-online.de> Sorry, just checking if the mailing list is acting up or not ... From oliver at spiesshofer.com Sat Sep 8 05:54:18 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Sat, 08 Sep 2007 17:54:18 +0800 Subject: [geeklog-devel] Integrated Web Installer and Online Config Feedback In-Reply-To: <0JNZ0022SJMK7N21@mta5.srv.hcvlny.cv.net> References: <7814C3E7-DADE-4AD4-8F1E-4F1E413096B0@gmail.com> <20070816201642.1444589711@smtp.haun-online.de> <46CCFB75.80303@portalparts.com> <2a1a3bb50708230856v3abd3f21m42405c909d69b850@mail.gmail.com> <20070824180714.1302786274@smtp.haun-online.de> <20070824193331.80723989@smtp.haun-online.de> <2a1a3bb50708241427s6a580001i50af23f9dd98732e@mail.gmail.com> <2a1a3bb50708250848o740fa341k4fbc0a96105a654f@mail.gmail.com> <46D094B2.4090808@portalparts.com> <46D9B338.3030508@portalparts.com> <0JNZ007BQ4ZN2BP0@mta1.srv.hcvlny.cv.net> <46E0ABAD.6090804@spiesshofer.com> <0JNZ003B0AZKHZU0@mta1.srv.hcvlny.cv.net> <20070907055956.284660751@smtp.haun-online.de> <0JNZ0022SJMK7N21@mta5.srv.hcvlny.cv.net> Message-ID: <46E2714A.3090805@spiesshofer.com> Actually they are not. They are as up to date as they can be. You are bound to face missing instructions for a code that is not even 100% finished yet. If 1.5.0 is released and there are no better instructions, then it's ok to say they are out of date. I am certain that the contributors to this nice piece of work know that documentation is a part of the whole. Oliver Joe Mucchiello wrote: > Someone should add a todo item for updating all the readme and > installing files in the path/to/geeklog root. They are very out of date. From dirk at haun-online.de Sat Sep 8 11:53:44 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 8 Sep 2007 17:53:44 +0200 Subject: [geeklog-devel] [PATCH] Allow the comment form to be displayed regardless of speed limit In-Reply-To: <46dd1f31.52747@msgid.achurch.org> References: <46dd1f31.52747@msgid.achurch.org> Message-ID: <20070908155344.935383788@smtp.haun-online.de> Andrew Church wrote: >the patch which is intended to allow users to display the comment >submission form even before the "speed limit" timeout expires, rather >than forcing them to wait for that period before being able to start >typing a new comment. Sorry for the late reply. I guess changing the behavior here would be okay. I've played with your patch and found one flaw, though: Now the speed limit is triggered in CMT_saveComment() which kicks you back to the comment submission form without any indication of what happened. So we would need to add the speedlimit warning ("Your last comment was xx seconds ago ...") there now. But we don't have the value for "xx" there. I'm not sure if we can change the API for CMT_saveComment (to return that information) without breaking some 3rd-party code ... Vinny, are you around? Any ideas? bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From vfuria at gmail.com Sat Sep 8 12:54:17 2007 From: vfuria at gmail.com (Vincent Furia) Date: Sat, 8 Sep 2007 10:54:17 -0600 Subject: [geeklog-devel] [PATCH] Allow the comment form to be displayed regardless of speed limit In-Reply-To: <20070908155344.935383788@smtp.haun-online.de> References: <46dd1f31.52747@msgid.achurch.org> <20070908155344.935383788@smtp.haun-online.de> Message-ID: <8319e2d60709080954h8feac4w8fda82f5952a7416@mail.gmail.com> I'll dig into the code tonight and tomorrow and see what I can see. I don't think it would be difficult to get the CMT_saveComment to return a speed limit error page. That way you could hit the "back" button and return to your comment and wait out the speed limit. That shouldn't break any plugin... I don't know of any third party code changes that actually change Geeklog's comment code. Assuming that assumption is valid we should be able to work something out. -Vinny On 9/8/07, Dirk Haun wrote: > Andrew Church wrote: > > >the patch which is intended to allow users to display the comment > >submission form even before the "speed limit" timeout expires, rather > >than forcing them to wait for that period before being able to start > >typing a new comment. > > Sorry for the late reply. > > I guess changing the behavior here would be okay. I've played with your > patch and found one flaw, though: Now the speed limit is triggered in > CMT_saveComment() which kicks you back to the comment submission form > without any indication of what happened. So we would need to add the > speedlimit warning ("Your last comment was xx seconds ago ...") there > now. But we don't have the value for "xx" there. > > I'm not sure if we can change the API for CMT_saveComment (to return > that information) without breaking some 3rd-party code ... > > Vinny, are you around? Any ideas? > > 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 > From joe at ThrowingDice.com Sun Sep 9 00:36:34 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Sun, 09 Sep 2007 00:36:34 -0400 Subject: [geeklog-devel] Distribution "readme" needs updating (was: Integrated Web Installer...) In-Reply-To: <46E2714A.3090805@spiesshofer.com> References: <7814C3E7-DADE-4AD4-8F1E-4F1E413096B0@gmail.com> <20070816201642.1444589711@smtp.haun-online.de> <46CCFB75.80303@portalparts.com> <2a1a3bb50708230856v3abd3f21m42405c909d69b850@mail.gmail.com> <20070824180714.1302786274@smtp.haun-online.de> <20070824193331.80723989@smtp.haun-online.de> <2a1a3bb50708241427s6a580001i50af23f9dd98732e@mail.gmail.com> <2a1a3bb50708250848o740fa341k4fbc0a96105a654f@mail.gmail.com> <46D094B2.4090808@portalparts.com> <46D9B338.3030508@portalparts.com> <0JNZ007BQ4ZN2BP0@mta1.srv.hcvlny.cv.net> <46E0ABAD.6090804@spiesshofer.com> <0JNZ003B0AZKHZU0@mta1.srv.hcvlny.cv.net> <20070907055956.284660751@smtp.haun-online.de> <0JNZ0022SJMK7N21@mta5.srv.hcvlny.cv.net> <46E2714A.3090805@spiesshofer.com> Message-ID: <0JO300B363HVE9R0@mta1.srv.hcvlny.cv.net> At 05:54 AM 9/8/2007, Oliver Spiesshofer wrote: >Actually they are not. They are as up to date as they can be. You are bound to face missing instructions for a code that is not even 100% finished yet. >If 1.5.0 is released and there are no better instructions, then it's ok to say they are out of date. >I am certain that the contributors to this nice piece of work know that documentation is a part of the whole. Look, sometimes I know what I'm talking about. The file is out of date not just in terms of how to install Geeklog but with other facts it contains. >December 28, 2002 This alone should make anyone reading the documentation wonder whether Geeklog is still in development >Geeklog is run by Tony Bibbs, but like all good open source projects, Not since he started 2.0 as I understand it. He defers to Dirk all the time on this message board so I presume he doesn't think he's in charge. >SUPPORT >------- >The best support channel is a mailing list located at: > >http://lists.geeklog.net/listinfo/geeklog-users That link is out of date. And even if you find the mailing list, no one's emailed to it since 2005. >KNOWN ISSUES >------------ >All known issues are tracked in our bug tracker. If you identify a bug please >let us know by filling out a bug report at: > >http://project.geeklog.net/tracker/?group_id=6&atid=105 Another dead link. My point was that this file needs to be rewritten. It's out of date. This file is also in the 1.4.1 distribution that anyone could be downloading right now for the very first time. It should be updated. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From dirk at haun-online.de Sun Sep 9 04:44:46 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sun, 9 Sep 2007 10:44:46 +0200 Subject: [geeklog-devel] Distribution "readme" needs updating (was: Integrated Web Installer...) In-Reply-To: <0JO300B363HVE9R0@mta1.srv.hcvlny.cv.net> References: <7814C3E7-DADE-4AD4-8F1E-4F1E413096B0@gmail.com> <20070816201642.1444589711@smtp.haun-online.de> <46CCFB75.80303@portalparts.com> <2a1a3bb50708230856v3abd3f21m42405c909d69b850@mail.gmail.com> <20070824180714.1302786274@smtp.haun-online.de> <20070824193331.80723989@smtp.haun-online.de> <2a1a3bb50708241427s6a580001i50af23f9dd98732e@mail.gmail.com> <2a1a3bb50708250848o740fa341k4fbc0a96105a654f@mail.gmail.com> <46D094B2.4090808@portalparts.com> <46D9B338.3030508@portalparts.com> <0JNZ007BQ4ZN2BP0@mta1.srv.hcvlny.cv.net> <46E0ABAD.6090804@spiesshofer.com> <0JNZ003B0AZKHZU0@mta1.srv.hcvlny.cv.net> <20070907055956.284660751@smtp.haun-online.de> <0JNZ0022SJMK7N21@mta5.srv.hcvlny.cv.net> <46E2714A.3090805@spiesshofer.com> <0JO300B363HVE9R0@mta1.srv.hcvlny.cv.net> Message-ID: <20070909084446.1980077921@smtp.haun-online.de> Joe Mucchiello wrote: > >The best support channel is a mailing list located at: > > > >http://lists.geeklog.net/listinfo/geeklog-users > >That link is out of date. It's missing a "mailman": >And even if you find the mailing list, no >one's emailed to it since 2005. We have some holes in our archives. The last post on geeklog-users was back in April of this year. Still, it's been very quite there for the last couple of years - people prefere to use the forums these days. >My point was that this file needs to be rewritten. It's out of date. No doubt about that. Any takers? bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From info at heatherengineering.com Mon Sep 10 08:07:50 2007 From: info at heatherengineering.com (Heather Engineering) Date: Mon, 10 Sep 2007 13:07:50 +0100 Subject: [geeklog-devel] leftblocks rightblocks Message-ID: <2D0D8824-27D4-4195-AA81-B0A5F22DB815@heatherengineering.com> Something I need for a client's theme: Currently, there is a setting in config.php to allow leftblocks to be parsed to the footer template. I would like to request that this is extended to allow you to set, for each theme, where the left and right blocks are parsed. This should be a setting in functions.php (more logical than in config.php as you can imagine that different themes would have different requirements) to show whether leftblocks and rightblocks are each parsed. functions.php $_CONF_THEME = array (); /** * Where to show leftblocks and rightblocks? * Can be either 'left' or 'right' or 'none' for each */ $_CONF_THEME['leftblocks'] = left; $_CONF_THEME['rightblocks'] = left; Also related might be the "enable right blocks" setting in config.php: is this something that might be better set in functions.php? lib-common.php: search for "left_blocks_in_footer" shows two locations, one in COM_siteHeader and one in COM_siteFooter obviously. If the code for showing right blocks in the footer were copied to the header, that should do it. Just have to decide to prioritise the left blocks above the right blocks (this is what I want), or merge the arrays of blocks together, and change the show/noshow to be based on the new $_CONF_THEME array. Any support for this? If there is I'll make a patch to the current CVS nightly. Cheers, Euan. From tony at tonybibbs.com Mon Sep 10 09:13:04 2007 From: tony at tonybibbs.com (Tony Bibbs) Date: Mon, 10 Sep 2007 06:13:04 -0700 (PDT) Subject: [geeklog-devel] Off Topic: Orgchart Software Message-ID: <79277.76080.qm@web712.biz.mail.mud.yahoo.com> Nah, closest thing is jpgraph which I'm sure you've probably already heard of. --Tony ----- Original Message ---- From: Dwight Trumbower To: Geeklog Development Sent: Friday, September 7, 2007 11:25:44 AM Subject: [geeklog-devel] Off Topic: Orgchart Software Anyone use org chart software that is database driven for a web site? Current project has a need and I'm trying to find out if anyone has some experience. Thanks -- Have a Great Day! Dwight Trumbower -------------- next part -------------- An HTML attachment was scrubbed... URL: From oliver at spiesshofer.com Tue Sep 11 02:05:06 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Tue, 11 Sep 2007 14:05:06 +0800 Subject: [geeklog-devel] Upgrade details Message-ID: <46E63012.1000307@spiesshofer.com> Hi, I have worked now a bit with the upgrade process and came across a few issues: 1. The upgrade process creates another error log in install directory. This is not indicated in the error message on the screen. 2. Is it impossible to use the std.error log? 3. I tried to use the plugins functions for upgrades but was blocked because the system files were not included. Is that impossible to do? Oliver From geeklog at mystral-kk.net Tue Sep 11 08:43:36 2007 From: geeklog at mystral-kk.net (geeklog at mystral-kk.net) Date: Tue, 11 Sep 2007 21:43:36 +0900 (JST) Subject: [geeklog-devel] About COM_startBlock in GL-1.4.2 Message-ID: <39248.192.168.1.22.1189514616.squirrel@www.s215.xrea.com> Hi, all, I downloaded Nightly CVS tarball and installed Geeklog-1.5(1.4.2?). The installer looks so nice! BTW, looking into COM_startBlock function, My friend Phize found a potnetial bug. In this function, the $title parameter is used as a block ID. If $title is made up of multibyte characters, it will cause an HTML error, for id property of HTML doesn't allow a value of multibyte characters. Besides, I believe line #1364 should not be $blockid = strtr($blockid, "!@#$%^&*()'\"\\/?~`.,;: ", "________________________"); but $blockid = preg_replace( "/!@#\$%^&\*\(\)'\"\\\/\?~`\.,;: /", "_", $blockid ); because strtr() functions is not used properly. Lastly, I can't understand the comment on line #1368 [quote] for ($i=2; $i <= 5; $i++) { // there can't be more then 5 blocks of the same name [/quote] Why "not more than 5"? Maybe a bigger number is better. Or am I missing something badly? -- mystral-kk (Kenji ITO) "Every cloud has a silver lining." From devel at portalparts.com Tue Sep 11 08:56:22 2007 From: devel at portalparts.com (Blaine Lang) Date: Tue, 11 Sep 2007 08:56:22 -0400 Subject: [geeklog-devel] About COM_startBlock in GL-1.4.2 In-Reply-To: <39248.192.168.1.22.1189514616.squirrel@www.s215.xrea.com> References: <39248.192.168.1.22.1189514616.squirrel@www.s215.xrea.com> Message-ID: <46E69076.40501@portalparts.com> geeklog at mystral-kk.net wrote: > I believe line #1364 should not be > $blockid = strtr($blockid, "!@#$%^&*()'\"\\/?~`.,;: ", > "________________________"); > but > $blockid = preg_replace( "/!@#\$%^&\*\(\)'\"\\\/\?~`\.,;: /", "_", > $blockid ); > because strtr() functions is not used properly. > Thanks for identifying that - I had borrowed that line from somewhere that I had thought worked. Will review and address. > Lastly, I can't understand the comment on line #1368 > [quote] > for ($i=2; $i <= 5; $i++) { // there can't be more then 5 blocks > of the same name > [/quote] > Why "not more than 5"? Maybe a bigger number is better. Or am I missing > something badly? > This code is only executed on the rare case of you naming blocks with the same title - why would you have more then 5 blocks with the very same title? Blaine From geeklog at mystral-kk.net Tue Sep 11 09:13:22 2007 From: geeklog at mystral-kk.net (geeklog at mystral-kk.net) Date: Tue, 11 Sep 2007 22:13:22 +0900 (JST) Subject: [geeklog-devel] About COM_startBlock in GL-1.4.2 In-Reply-To: <46E69076.40501@portalparts.com> References: <39248.192.168.1.22.1189514616.squirrel@www.s215.xrea.com> <46E69076.40501@portalparts.com> Message-ID: <53192.192.168.1.22.1189516402.squirrel@www.s215.xrea.com> Blaine wrote: >> Lastly, I can't understand the comment on line #1368 >> [quote] >> for ($i=2; $i <= 5; $i++) { // there can't be more then 5 >> blocks >> of the same name >> [/quote] >> Why "not more than 5"? Maybe a bigger number is better. Or am I >> missing >> something badly? >> > This code is only executed on the rare case of you naming blocks with > the same title - why would you have more then 5 blocks with the very > same title? OK, I understand your point. Thanks, Blaine. Then, what about $title parameter of COM_startBlock? > BTW, looking into COM_startBlock function, My friend Phize found a > potential bug. In this function, the $title parameter is used as a block > ID. If $title is made up of multibyte characters, it will cause an HTML > error, for id property of HTML doesn't allow a value of multibyte > characters. -- mystral-kk (Kenji ITO) "Every cloud has a silver lining." From devel at portalparts.com Tue Sep 11 09:16:14 2007 From: devel at portalparts.com (Blaine Lang) Date: Tue, 11 Sep 2007 09:16:14 -0400 Subject: [geeklog-devel] About COM_startBlock in GL-1.4.2 In-Reply-To: <53192.192.168.1.22.1189516402.squirrel@www.s215.xrea.com> References: <39248.192.168.1.22.1189514616.squirrel@www.s215.xrea.com> <46E69076.40501@portalparts.com> <53192.192.168.1.22.1189516402.squirrel@www.s215.xrea.com> Message-ID: <46E6951E.2030209@portalparts.com> geeklog at mystral-kk.net wrote: > Then, what about $title parameter of COM_startBlock? I had already replied: > Thanks for identifying that - I had borrowed that line from somewhere that I had thought worked. Will review and address. From geeklog at mystral-kk.net Tue Sep 11 09:19:54 2007 From: geeklog at mystral-kk.net (geeklog at mystral-kk.net) Date: Tue, 11 Sep 2007 22:19:54 +0900 (JST) Subject: [geeklog-devel] About COM_startBlock in GL-1.4.2 In-Reply-To: <46E6951E.2030209@portalparts.com> References: <39248.192.168.1.22.1189514616.squirrel@www.s215.xrea.com> <46E69076.40501@portalparts.com> <53192.192.168.1.22.1189516402.squirrel@www.s215.xrea.com> <46E6951E.2030209@portalparts.com> Message-ID: <35738.192.168.1.22.1189516794.squirrel@www.s215.xrea.com> Blaine wrote: >> Then, what about $title parameter of COM_startBlock? > I had already replied: > > Thanks for identifying that - I had borrowed that line from somewhere > that I had thought worked. Will review and address. I should have read more carefully. Thanks! -- mystral-kk (Kenji ITO) "Every cloud has a silver lining." From dirk at haun-online.de Sat Sep 15 07:29:09 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 15 Sep 2007 13:29:09 +0200 Subject: [geeklog-devel] Upgrade details In-Reply-To: <46E63012.1000307@spiesshofer.com> References: <46E63012.1000307@spiesshofer.com> Message-ID: <20070915112909.2126015668@smtp.haun-online.de> Oliver Spiesshofer wrote: >1. The upgrade process creates another error log in install directory. >This is not indicated in the error message on the screen. >2. Is it impossible to use the std.error log? That's not good. I assume there's a chicken-and-egg problem involved here - at least some errors will have to be reported before the path to the logs directory is known. I'd say as long as the install script doesn't know the location of error.log yet, it should simply print these errors out. Matt? bye, Dirk -- http://www.haun-online.de/ http://spam.tinyweb.net/ From mjervis at gmail.com Sat Sep 15 11:02:17 2007 From: mjervis at gmail.com (Michael Jervis) Date: Sat, 15 Sep 2007 16:02:17 +0100 Subject: [geeklog-devel] Distribution "readme" needs updating (was: Integrated Web Installer...) In-Reply-To: <20070909084446.1980077921@smtp.haun-online.de> References: <0JNZ007BQ4ZN2BP0@mta1.srv.hcvlny.cv.net> <46E0ABAD.6090804@spiesshofer.com> <0JNZ003B0AZKHZU0@mta1.srv.hcvlny.cv.net> <20070907055956.284660751@smtp.haun-online.de> <0JNZ0022SJMK7N21@mta5.srv.hcvlny.cv.net> <46E2714A.3090805@spiesshofer.com> <0JO300B363HVE9R0@mta1.srv.hcvlny.cv.net> <20070909084446.1980077921@smtp.haun-online.de> Message-ID: <7b42e7470709150802o1d98cc0dn9a43dc46d2458e99@mail.gmail.com> > No doubt about that. Any takers? How's that? From dirk at haun-online.de Sat Sep 15 11:14:03 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 15 Sep 2007 17:14:03 +0200 Subject: [geeklog-devel] Distribution "readme" needs updating (was: Integrated Web Installer...) In-Reply-To: <7b42e7470709150802o1d98cc0dn9a43dc46d2458e99@mail.gmail.com> References: <0JNZ007BQ4ZN2BP0@mta1.srv.hcvlny.cv.net> <46E0ABAD.6090804@spiesshofer.com> <0JNZ003B0AZKHZU0@mta1.srv.hcvlny.cv.net> <20070907055956.284660751@smtp.haun-online.de> <0JNZ0022SJMK7N21@mta5.srv.hcvlny.cv.net> <46E2714A.3090805@spiesshofer.com> <0JO300B363HVE9R0@mta1.srv.hcvlny.cv.net> <20070909084446.1980077921@smtp.haun-online.de> <7b42e7470709150802o1d98cc0dn9a43dc46d2458e99@mail.gmail.com> Message-ID: <20070915151403.701081549@smtp.haun-online.de> Michael Jervis wrote: >How's that? Already spotted it :-) Looks pretty good to me. Thanks! bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From mjervis at gmail.com Sat Sep 15 11:53:46 2007 From: mjervis at gmail.com (Michael Jervis) Date: Sat, 15 Sep 2007 16:53:46 +0100 Subject: [geeklog-devel] Distribution "readme" needs updating (was: Integrated Web Installer...) In-Reply-To: <20070915151403.701081549@smtp.haun-online.de> References: <46E0ABAD.6090804@spiesshofer.com> <0JNZ003B0AZKHZU0@mta1.srv.hcvlny.cv.net> <20070907055956.284660751@smtp.haun-online.de> <0JNZ0022SJMK7N21@mta5.srv.hcvlny.cv.net> <46E2714A.3090805@spiesshofer.com> <0JO300B363HVE9R0@mta1.srv.hcvlny.cv.net> <20070909084446.1980077921@smtp.haun-online.de> <7b42e7470709150802o1d98cc0dn9a43dc46d2458e99@mail.gmail.com> <20070915151403.701081549@smtp.haun-online.de> Message-ID: <7b42e7470709150853x14aee1a0y5659055a067e6f09@mail.gmail.com> > Already spotted it :-) Looks pretty good to me. Thanks! I'm sure there are some big ticket features missing from the feature list, can'tthink what though, nagging feeling... From joe at ThrowingDice.com Sat Sep 15 12:55:02 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Sat, 15 Sep 2007 12:55:02 -0400 Subject: [geeklog-devel] Distribution "readme" needs updating (was: Integrated Web Installer...) In-Reply-To: <7b42e7470709150853x14aee1a0y5659055a067e6f09@mail.gmail.co m> References: <46E0ABAD.6090804@spiesshofer.com> <0JNZ003B0AZKHZU0@mta1.srv.hcvlny.cv.net> <20070907055956.284660751@smtp.haun-online.de> <0JNZ0022SJMK7N21@mta5.srv.hcvlny.cv.net> <46E2714A.3090805@spiesshofer.com> <0JO300B363HVE9R0@mta1.srv.hcvlny.cv.net> <20070909084446.1980077921@smtp.haun-online.de> <7b42e7470709150802o1d98cc0dn9a43dc46d2458e99@mail.gmail.com> <20070915151403.701081549@smtp.haun-online.de> <7b42e7470709150853x14aee1a0y5659055a067e6f09@mail.gmail.com> Message-ID: <0JOF0076W5P0TU70@mta2.srv.hcvlny.cv.net> You might want to through in a Popular Plugins include section... Other than that I think you hit all the important features. At 11:53 AM 9/15/2007, Michael Jervis wrote: > > Already spotted it :-) Looks pretty good to me. Thanks! > >I'm sure there are some big ticket features missing from the feature >list, can'tthink what though, nagging feeling... >_______________________________________________ >geeklog-devel mailing list >geeklog-devel at lists.geeklog.net >http://eight.pairlist.net/mailman/listinfo/geeklog-devel ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From joe at ThrowingDice.com Sat Sep 15 14:32:08 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Sat, 15 Sep 2007 14:32:08 -0400 Subject: [geeklog-devel] code scrubbing: stripslashes In-Reply-To: <7b42e7470708130144v69b806a7tac4c3eed95dc755@mail.gmail.com> References: <20070810203456.1283526497@smtp.haun-online.de> <0JML0076E53V4YD0@mta5.srv.hcvlny.cv.net> <20070811082234.1150509600@smtp.haun-online.de> <0JMM00H9DHZBRM30@mta2.srv.hcvlny.cv.net> <46BE0BD0.5050506@spiesshofer.com> <2a1a3bb50708111230i482f2716s80aa1d55d2a08ec@mail.gmail.com> <0JMM009ZEL0GAHR0@mta2.srv.hcvlny.cv.net> <7b42e7470708130144v69b806a7tac4c3eed95dc755@mail.gmail.com> Message-ID: <0JOF00C6SA793050@mta2.srv.hcvlny.cv.net> At 04:44 AM 8/13/2007, Michael Jervis wrote: >I think the /concept/ is right, doing an auto-and-correct stripslashes >on all HTTP globals on start of the page. Obviously as noted the >implementation is incorrect. > >Should be reasonably easy to clean up everything. Okay, here's what I've come up with and I did test it on my hosted website under GL1.4.1 with magic quotes on under Linux/Apache/MySQL/PHP4. I tested it with the polls plugin mostly as I knew that used arrays in POSTed forms. I placed this rcode ight after the 'have_pear" code in lib-common.php. Alternatively, it could be placed right after the timer start. if (get_magic_quotes_gpc() == 1) { if (!function_exists('array_walk_recursive')) { require_once 'PHP/Compat.php'; PHP_Compat::loadFunction('array_walk_recursive'); } $_STRIP_SLASHES = create_function('&$v,$k', '$v = stripslashes($v);'); array_walk_recursive($_POST, $_STRIP_SLASHES); array_walk_recursive($_GET, $_STRIP_SLASHES); array_walk_recursive($_REQUEST, $_STRIP_SLASHES); array_walk_recursive($_COOKIE, $_STRIP_SLASHES); unset($_STRIP_SLASHES); } And of course you must do this: function COM_stripslashes($text) { return $text; } And if you like, update COM_applyFilter() and COM_checkHTML() too so that at least lib-common is fixed. >Only problem is if someone badly upgrades their lib-common.php when >upgrading, they may have a gaping hole in their security... If this is a real concern, rather than unsetting the $_STRIP_SLASHES variable at the end of the if, check for it in lib-security or lib-session: if (get_magic_quotes_gpc() == 1 AND !isset($_STRIP_SLASHES)) { die('You lib-common.php is not up to date.'); } ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From vfuria at gmail.com Sun Sep 16 05:17:48 2007 From: vfuria at gmail.com (Vincent Furia) Date: Sun, 16 Sep 2007 03:17:48 -0600 Subject: [geeklog-devel] code scrubbing: stripslashes In-Reply-To: <0JOF00C6SA793050@mta2.srv.hcvlny.cv.net> References: <20070810203456.1283526497@smtp.haun-online.de> <0JML0076E53V4YD0@mta5.srv.hcvlny.cv.net> <20070811082234.1150509600@smtp.haun-online.de> <0JMM00H9DHZBRM30@mta2.srv.hcvlny.cv.net> <46BE0BD0.5050506@spiesshofer.com> <2a1a3bb50708111230i482f2716s80aa1d55d2a08ec@mail.gmail.com> <0JMM009ZEL0GAHR0@mta2.srv.hcvlny.cv.net> <7b42e7470708130144v69b806a7tac4c3eed95dc755@mail.gmail.com> <0JOF00C6SA793050@mta2.srv.hcvlny.cv.net> Message-ID: <8319e2d60709160217k14d1987bud9b0c0fcb95ce17d@mail.gmail.com> Joe, Just out of curiosity, have you done any timing comparisons to see if this has an impact on performance (either for good or ill)? -Vinny On 9/15/07, Joe Mucchiello wrote: > At 04:44 AM 8/13/2007, Michael Jervis wrote: > >I think the /concept/ is right, doing an auto-and-correct stripslashes > >on all HTTP globals on start of the page. Obviously as noted the > >implementation is incorrect. > > > >Should be reasonably easy to clean up everything. > > Okay, here's what I've come up with and I did test it on my hosted > website under GL1.4.1 with magic quotes on under > Linux/Apache/MySQL/PHP4. I tested it with the polls plugin mostly as > I knew that used arrays in POSTed forms. > > I placed this rcode ight after the 'have_pear" code in > lib-common.php. Alternatively, it could be placed right after the timer start. > > if (get_magic_quotes_gpc() == 1) { > if (!function_exists('array_walk_recursive')) { > require_once 'PHP/Compat.php'; > PHP_Compat::loadFunction('array_walk_recursive'); > } > $_STRIP_SLASHES = create_function('&$v,$k', '$v = stripslashes($v);'); > array_walk_recursive($_POST, $_STRIP_SLASHES); > array_walk_recursive($_GET, $_STRIP_SLASHES); > array_walk_recursive($_REQUEST, $_STRIP_SLASHES); > array_walk_recursive($_COOKIE, $_STRIP_SLASHES); > unset($_STRIP_SLASHES); > } > > And of course you must do this: > > function COM_stripslashes($text) > { > return $text; > } > > And if you like, update COM_applyFilter() and COM_checkHTML() too so > that at least lib-common is fixed. > > >Only problem is if someone badly upgrades their lib-common.php when > >upgrading, they may have a gaping hole in their security... > > If this is a real concern, rather than unsetting the $_STRIP_SLASHES > variable at the end of the if, check for it in lib-security or lib-session: > > if (get_magic_quotes_gpc() == 1 AND !isset($_STRIP_SLASHES)) { > die('You lib-common.php is not up to date.'); > } > > ---- > Joe Mucchiello > Throwing Dice Games > http://www.throwingdice.com > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > From joe at ThrowingDice.com Sun Sep 16 10:35:00 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Sun, 16 Sep 2007 10:35:00 -0400 Subject: [geeklog-devel] code scrubbing: stripslashes In-Reply-To: <8319e2d60709160217k14d1987bud9b0c0fcb95ce17d@mail.gmail.co m> References: <20070810203456.1283526497@smtp.haun-online.de> <0JML0076E53V4YD0@mta5.srv.hcvlny.cv.net> <20070811082234.1150509600@smtp.haun-online.de> <0JMM00H9DHZBRM30@mta2.srv.hcvlny.cv.net> <46BE0BD0.5050506@spiesshofer.com> <2a1a3bb50708111230i482f2716s80aa1d55d2a08ec@mail.gmail.com> <0JMM009ZEL0GAHR0@mta2.srv.hcvlny.cv.net> <7b42e7470708130144v69b806a7tac4c3eed95dc755@mail.gmail.com> <0JOF00C6SA793050@mta2.srv.hcvlny.cv.net> <8319e2d60709160217k14d1987bud9b0c0fcb95ce17d@mail.gmail.com> Message-ID: <0JOG00L55TVPS240@mta3.srv.hcvlny.cv.net> At 05:17 AM 9/16/2007, Vincent Furia wrote: >Joe, > >Just out of curiosity, have you done any timing comparisons to see if >this has an impact on performance (either for good or ill)? On my hosted PHP4 system with magic_quotes on, the two methods seem to take about the same amount of time. My home PHP5 system with magic_quotes off also sees no difference. The value of this modification I think though is in removing the need for COM_stripslashes. And I wonder if it would be noticeably different if the calls to COM_stripslashes were removed from code entirely. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From oliver at spiesshofer.com Sun Sep 16 22:28:31 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Mon, 17 Sep 2007 10:28:31 +0800 Subject: [geeklog-devel] Trackback Comments Message-ID: <46EDE64F.3050104@spiesshofer.com> Guys, should the function TRB_renderTrackbackCommentsnot create a block and put the trackabacks inside it instead of just creating a

...? Finally the whatsrelated and story options are both blocks, I think for layout consistency the trackbacks should be also. The question then would be where to place the ? Drop it completely maybe? Finally we do not have any link pointing to that anyhere AFAIK? Oliver From dirk at haun-online.de Mon Sep 17 01:55:59 2007 From: dirk at haun-online.de (Dirk Haun) Date: Mon, 17 Sep 2007 07:55:59 +0200 Subject: [geeklog-devel] Trackback Comments In-Reply-To: <46EDE64F.3050104@spiesshofer.com> References: <46EDE64F.3050104@spiesshofer.com> Message-ID: <20070917055559.1606660053@smtp.haun-online.de> Oliver Spiesshofer wrote: >The question then would be where to place the ? Drop >it completely maybe? Finally we do not have any link pointing to that >anyhere AFAIK? Hmm? The "Trackbacks (x)" in every article on the index page uses that link. bye, Dirk -- http://www.haun-online.de/ http://spam.tinyweb.net/ From oliver at spiesshofer.com Mon Sep 17 02:04:41 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Mon, 17 Sep 2007 14:04:41 +0800 Subject: [geeklog-devel] Trackback Comments In-Reply-To: <20070917055559.1606660053@smtp.haun-online.de> References: <46EDE64F.3050104@spiesshofer.com> <20070917055559.1606660053@smtp.haun-online.de> Message-ID: <46EE18F9.7050309@spiesshofer.com> Ah sure, somehow only looked for something on the same page (duh!) Oliver Dirk Haun wrote: > Oliver Spiesshofer wrote: > > >> The question then would be where to place the ? Drop >> it completely maybe? Finally we do not have any link pointing to that >> anyhere AFAIK? >> > > Hmm? The "Trackbacks (x)" in every article on the index page uses that link. > > bye, Dirk > > > From dirk at haun-online.de Mon Sep 17 17:06:38 2007 From: dirk at haun-online.de (Dirk Haun) Date: Mon, 17 Sep 2007 23:06:38 +0200 Subject: [geeklog-devel] Atompub clients? Message-ID: <20070917210638.872120417@smtp.haun-online.de> Does anyone know of some more clients for the Atom Publishing Protocol? I'm using two for my tests: appfs (the file system) and Atomic (a Firefox extension). Both have their quirks and sometimes it's not clear whether what I'm seeing is a bug or not. So having a larger sample would help. Apparently, Windows Live Writer also supports Atompub. But from a quick Google search, it's not even clear to me what that is :-) bye, Dirk -- http://www.haun-online.de/ http://geeklog.info/ From oliver at spiesshofer.com Mon Sep 17 22:47:44 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Tue, 18 Sep 2007 10:47:44 +0800 Subject: [geeklog-devel] CSS-Layout possible! Message-ID: <46EF3C50.5000006@spiesshofer.com> Hi guys, I found a way how to make a CSS-only layout (no tables) that takes into account that sometimes we do not have any right (or left) blocks. The important thing here is that the right or left column vanishes visually completely. The issue with the solution is that the right blocks have to be in the sourcecode _before_ the center block. Otherwise the right float does not work. If you want to take a look, please open http://tokyoahead.com/test.html In order to make this work, we have to change the COM_siteHeader and COM_siteFooter so that both right and left blocks are shown by the siteHeader function. This would allow a much greater flixibility to the layout since two of the three major design elements would come from one function and be in one layout file. Only he center content would be appended in the end. From my point of view there is nothing to object to that, the overall layout could look exactly the same, there could be a reduction in template code and a much larger flexibility for template coders, not to mention that we would stop using tables for layout. Still, before I do this, I would like to hear if there are any objections to that. Oliver From mevans at ecsnet.com Tue Sep 18 00:18:18 2007 From: mevans at ecsnet.com (Mark R. Evans) Date: Mon, 17 Sep 2007 23:18:18 -0500 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <46EF3C50.5000006@spiesshofer.com> References: <46EF3C50.5000006@spiesshofer.com> Message-ID: <000001c7f9aa$f248c3c0$d6da4b40$@com> Oliver, Very cool, but my first thought is what is really gained by doing this? I understand the benefit of cleaner code, but just how much is really eliminated by removing the table that currently drives the layout? I've been involved in many 'discussions' on tables vs CSS and I've yet to see a convincing argument for either approach. Each solution seems to have its place in the world. Generally the benefits of a CSS only solution is that it makes the content available to more users. For example, if you are using a browser that does not support the CSS (screen readers, tools used by those who are visually impaired, etc.), CSS degrades very well. The typical 3 column layout is center, left, right in a CSS solution. This way, if the CSS cannot be interpreted, the main content is shown first. With this solution, it actually moves it to the end, so that the right, left and then center content would be shown. At least in the current table layout, you get left then center. So we are back to what are the true benefits of a CSS only solution? Also, we are starting to see some very nice themes come out for Geeklog. I would hate to see each of them break on the next release and I'm afraid that could be the result if the right / left blocks are both in the header. If this could be implemented as an option so that legacy themes can still work, I think that would be an acceptable approach. I do think your solution is very good and I only wish I had the skills to do something similar. I'm just not clear on the problem that is actually being solved. Thanks! Mark -----Original Message----- From: geeklog-devel-bounces at lists.geeklog.net [mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of Oliver Spiesshofer Sent: Monday, September 17, 2007 9:48 PM To: Geeklog Development Subject: [geeklog-devel] CSS-Layout possible! Hi guys, I found a way how to make a CSS-only layout (no tables) that takes into account that sometimes we do not have any right (or left) blocks. The important thing here is that the right or left column vanishes visually completely. The issue with the solution is that the right blocks have to be in the sourcecode _before_ the center block. Otherwise the right float does not work. If you want to take a look, please open http://tokyoahead.com/test.html In order to make this work, we have to change the COM_siteHeader and COM_siteFooter so that both right and left blocks are shown by the siteHeader function. This would allow a much greater flixibility to the layout since two of the three major design elements would come from one function and be in one layout file. Only he center content would be appended in the end. From my point of view there is nothing to object to that, the overall layout could look exactly the same, there could be a reduction in template code and a much larger flexibility for template coders, not to mention that we would stop using tables for layout. Still, before I do this, I would like to hear if there are any objections to that. Oliver _______________________________________________ geeklog-devel mailing list geeklog-devel at lists.geeklog.net http://eight.pairlist.net/mailman/listinfo/geeklog-devel From oliver at spiesshofer.com Tue Sep 18 01:02:39 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Tue, 18 Sep 2007 13:02:39 +0800 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <000001c7f9aa$f248c3c0$d6da4b40$@com> References: <46EF3C50.5000006@spiesshofer.com> <000001c7f9aa$f248c3c0$d6da4b40$@com> Message-ID: <46EF5BEF.4070908@spiesshofer.com> I agree with you on the general point. I do not think we should try to keep the old layouts running forever however. I rather make half a step in the right direction and force some people to switch a variable from one file to the other to follow. However I wonder if we could not change the assembly of the whole page so that all three elemets are in one template file instead of in three. Something like {header}
{center}
{leftblocks}
{rightblocks}
{footer} This would allow get rid of the whole problem because we could enable optional styles/classes for the center block in case the left blocks are empty. And for those who prefer tables, it would work, too. We would have a COM_siteHeader, COM_siteBody and COM_siteFooter then, and a lot of issues less. This is a bit larger change to the core code however, but I think it should not be too complicated. We also would not need any aditional options in functions, simply an optional class for the central block. Oliver Mark R. Evans wrote: > Oliver, > > Very cool, but my first thought is what is really gained by doing this? I > understand the benefit of cleaner code, but just how much is really > eliminated by removing the table that currently drives the layout? > > I've been involved in many 'discussions' on tables vs CSS and I've yet to > see a convincing argument for either approach. Each solution seems to have > its place in the world. Generally the benefits of a CSS only solution is > that it makes the content available to more users. For example, if you are > using a browser that does not support the CSS (screen readers, tools used by > those who are visually impaired, etc.), CSS degrades very well. The typical > 3 column layout is center, left, right in a CSS solution. This way, if the > CSS cannot be interpreted, the main content is shown first. > > With this solution, it actually moves it to the end, so that the right, left > and then center content would be shown. At least in the current table > layout, you get left then center. So we are back to what are the true > benefits of a CSS only solution? > > Also, we are starting to see some very nice themes come out for Geeklog. I > would hate to see each of them break on the next release and I'm afraid that > could be the result if the right / left blocks are both in the header. If > this could be implemented as an option so that legacy themes can still work, > I think that would be an acceptable approach. > > I do think your solution is very good and I only wish I had the skills to do > something similar. I'm just not clear on the problem that is actually being > solved. > > Thanks! > Mark > > -----Original Message----- > From: geeklog-devel-bounces at lists.geeklog.net > [mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of Oliver > Spiesshofer > Sent: Monday, September 17, 2007 9:48 PM > To: Geeklog Development > Subject: [geeklog-devel] CSS-Layout possible! > > Hi guys, > > I found a way how to make a CSS-only layout (no tables) that takes into > account that sometimes we do not have any right (or left) blocks. > The important thing here is that the right or left column vanishes visually > completely. > > The issue with the solution is that the right blocks have to be in the > sourcecode _before_ the center block. Otherwise the right float does not > work. > > If you want to take a look, please open > > http://tokyoahead.com/test.html > > In order to make this work, we have to change the COM_siteHeader and > COM_siteFooter so that both right and left blocks are shown by the > siteHeader function. > > This would allow a much greater flixibility to the layout since two of the > three major design elements would come from one function and be in one > layout file. Only he center content would be appended in the end. > > From my point of view there is nothing to object to that, the overall > layout could look exactly the same, there could be a reduction in template > code and a much larger flexibility for template coders, not to mention that > we would stop using tables for layout. > > Still, before I do this, I would like to hear if there are any objections to > that. > > Oliver > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > > From joe at ThrowingDice.com Tue Sep 18 01:14:58 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Tue, 18 Sep 2007 01:14:58 -0400 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <46EF5BEF.4070908@spiesshofer.com> References: <46EF3C50.5000006@spiesshofer.com> <000001c7f9aa$f248c3c0$d6da4b40$@com> <46EF5BEF.4070908@spiesshofer.com> Message-ID: <0JOJ0001ITAGOO81@mta1.srv.hcvlny.cv.net> This code is in a lot of files related to Geeklog: $display = COM_siteHeader ('menu', $LANG_STUFF['stuff_title']) . COM_startBlock($LANG_STUFF['stuff_title']) . output_stuff() . COM_endBlock() . COM_siteFooter(); echo $display; If you change the third line (requiring a COM_siteBody call), you break every theme and every plugin. At 01:02 AM 9/18/2007, Oliver wrote: >We would have a COM_siteHeader, COM_siteBody and COM_siteFooter >then, and a lot of issues less. >This is a bit larger change to the core code however, but I think it >should not be too complicated. >We also would not need any aditional options in functions, simply an >optional class for the central block. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From casual.dodo at gmail.com Tue Sep 18 01:18:17 2007 From: casual.dodo at gmail.com (Ramnath R Iyer) Date: Tue, 18 Sep 2007 01:18:17 -0400 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <000001c7f9aa$f248c3c0$d6da4b40$@com> References: <46EF3C50.5000006@spiesshofer.com> <000001c7f9aa$f248c3c0$d6da4b40$@com> Message-ID: <200709180118.24686.casual.dodo@gmail.com> On Tuesday 18 September 2007 00:18:18 Mark R. Evans wrote: > I've been involved in many 'discussions' on tables vs CSS and I've yet to > see a convincing argument for either approach. Each solution seems to have > its place in the world. Generally the benefits of a CSS only solution is > that it makes the content available to more users. For example, if you are > using a browser that does not support the CSS (screen readers, tools used > by those who are visually impaired, etc.), CSS degrades very well. The > typical 3 column layout is center, left, right in a CSS solution. This > way, if the CSS cannot be interpreted, the main content is shown first. This is just a minor point when you consider the advantages of CSS over tables. I have used both in my designs. The primary disadvantage of tables is that it ties the design to the content rigidly. Theming is difficult and limited. One of the main objectives of CSS is to separate the content from the layout, so that anyone who comes along can design a stylesheet that *completely* changes the look of the website, with no changes made to the HTML. CSS falls short in some ways; in fact, this goal could be achieved only with absolute positioning of all elements, which is generally not a workable solution. But in my opinion, it is better than tables, providing much more flexibility with the design, not just cleaner code. Table layouts typically tend to stagnate, whereas with CSS, new designs can be developed quickly and efficiently. There are some quirks (as always) but most problems have solutions (or at least good hacks), and the situation today is much better than before, with IE 5.5 and older browsers on their way out. > With this solution, it actually moves it to the end, so that the right, > left and then center content would be shown. At least in the current table > layout, you get left then center. So we are back to what are the true > benefits of a CSS only solution? I don't think this matters too much. Typically, mobile devices etc. are the only ones with these issues, since non-CSS browsers are pretty much dead. the CSS way is to define different stylesheets for different kinds of media. Floating columns are quite commonly used to create multi-columned layouts. Right floats *have* to come before non-floats if they are to be displayed at the same level. There are tricks to get such columns to work exactly as you need it. In my opinion, the effort is worth it. See http://www.csszengarden.com/ for some really amazing stuff with CSS. > Also, we are starting to see some very nice themes come out for Geeklog. I > would hate to see each of them break on the next release and I'm afraid > that could be the result if the right / left blocks are both in the header. > If this could be implemented as an option so that legacy themes can still > work, I think that would be an acceptable approach. I'm not saying that CSS is the best option for Geeklog, but I think it should move towards CSS even if it breaks some stuff. The best way to do it would probably be to release preview versions of the new code and and give people time to update their design code. That being said, there *have* been times when I've shifted from a pure CSS to a table layout out of sheer frustration. :-) -- Ramnath R Iyer -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From oliver at spiesshofer.com Tue Sep 18 01:31:57 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Tue, 18 Sep 2007 13:31:57 +0800 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <0JOJ0001ITAGOO81@mta1.srv.hcvlny.cv.net> References: <46EF3C50.5000006@spiesshofer.com> <000001c7f9aa$f248c3c0$d6da4b40$@com> <46EF5BEF.4070908@spiesshofer.com> <0JOJ0001ITAGOO81@mta1.srv.hcvlny.cv.net> Message-ID: <46EF62CD.10804@spiesshofer.com> True, we would need either to make people update their code (didnt we ever do this?) or introduce a sort of parallel code to make sure nothing breaks in the first go already but deprecate the old way after some time. Oliver Joe Mucchiello wrote: > This code is in a lot of files related to Geeklog: > > $display = COM_siteHeader ('menu', $LANG_STUFF['stuff_title']) > . COM_startBlock($LANG_STUFF['stuff_title']) > . output_stuff() > . COM_endBlock() > . COM_siteFooter(); > > echo $display; > > If you change the third line (requiring a COM_siteBody call), you > break every theme and every plugin. > > At 01:02 AM 9/18/2007, Oliver wrote: >> We would have a COM_siteHeader, COM_siteBody and COM_siteFooter then, >> and a lot of issues less. >> This is a bit larger change to the core code however, but I think it >> should not be too complicated. >> We also would not need any aditional options in functions, simply an >> optional class for the central block. > > ---- > Joe Mucchiello > Throwing Dice Games > http://www.throwingdice.com > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > From oliver at spiesshofer.com Tue Sep 18 01:50:13 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Tue, 18 Sep 2007 13:50:13 +0800 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <46EF62CD.10804@spiesshofer.com> References: <46EF3C50.5000006@spiesshofer.com> <000001c7f9aa$f248c3c0$d6da4b40$@com> <46EF5BEF.4070908@spiesshofer.com> <0JOJ0001ITAGOO81@mta1.srv.hcvlny.cv.net> <46EF62CD.10804@spiesshofer.com> Message-ID: <46EF6715.8010605@spiesshofer.com> Brainstorming... To create a new layout with CSS, we would could have a function that does the whole layout which looks like this (of course this is a concept draft, not working code) function COM_displayPage($leftblocks=true, $rightblocks=true, $stories=true, $header=true, $footer=true, $topic='') if the function is called, it looks the same as index.php with stoires etc. If any of the boolean is not true, it has to contain the alternative content for that part of the page. If false, that part will not display. This function would call a template for the page as a whole, such as sitebody.thtml We could from there call COM_siteHeader and -Footer, and give each of them the option not to show anything inbetween the -tags. The code that creates content below the -tag in COM_siteHeader would be moved to completely new functions and then called by both COM-siteHeader and COM_displayPage. This would allow a transition to a more compact display of a page and more flexibility for future layout changes etc. Did I miss something here? Oliver From ajdeeley at telus.net Tue Sep 18 01:01:12 2007 From: ajdeeley at telus.net (machinari) Date: Mon, 17 Sep 2007 21:01:12 -0800 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <46EF3C50.5000006@spiesshofer.com> References: <46EF3C50.5000006@spiesshofer.com> Message-ID: <46EF5B98.6020607@telus.net> been done with a custom COM_siteheader in the theme's functions.inc file. mach on 17/09/2007 6:47 PM Oliver Spiesshofer wrote: > Hi guys, > > I found a way how to make a CSS-only layout (no tables) that takes > into account that sometimes we do not have any right (or left) blocks. > The important thing here is that the right or left column vanishes > visually completely. > > The issue with the solution is that the right blocks have to be in the > sourcecode _before_ the center block. Otherwise the right float does > not work. > > If you want to take a look, please open > > http://tokyoahead.com/test.html > > In order to make this work, we have to change the COM_siteHeader and > COM_siteFooter so that both right and left blocks are shown by the > siteHeader function. > > This would allow a much greater flixibility to the layout since two of > the three major design elements would come from one function and be in > one layout file. Only he center content would be appended in the end. > > From my point of view there is nothing to object to that, the overall > layout could look exactly the same, there could be a reduction in > template code and a much larger flexibility for template coders, not > to mention that we would stop using tables for layout. > > Still, before I do this, I would like to hear if there are any > objections to that. > > Oliver > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > -- FM/CPT Machinari /Green 2-2 /Wing XXI /MC80B Redemption SS/BSx3/PCx3/ISMx4/MoI/IS-8BW-5BR-4SW-2SR-1GW/LoC-TS-CSx5-Rx2/DFC-BW/CoL/CoB/OV-6E [DCRN] {IWATS-BOT-CBX-FLA-GFX-IIC/1/2-LIN-M/1/2-PHP-SM/3-TM/1-TT-VBS-XTM/1/2-XTT} -------------- next part -------------- An HTML attachment was scrubbed... URL: From oliver at spiesshofer.com Tue Sep 18 02:07:16 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Tue, 18 Sep 2007 14:07:16 +0800 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <46EF5B98.6020607@telus.net> References: <46EF3C50.5000006@spiesshofer.com> <46EF5B98.6020607@telus.net> Message-ID: <46EF6B14.2000907@spiesshofer.com> machinari, Is that an objection to my suggestion or a sign that this should work fine? if its an objection: I think that the (IMHO) best practice methods should be in the core and not stuck to a small amount of special layouts. Oliver machinari wrote: > been done with a custom COM_siteheader in the theme's functions.inc file. > mach > > on 17/09/2007 6:47 PM Oliver Spiesshofer wrote: >> Hi guys, >> >> I found a way how to make a CSS-only layout (no tables) that takes >> into account that sometimes we do not have any right (or left) blocks. >> The important thing here is that the right or left column vanishes >> visually completely. >> >> The issue with the solution is that the right blocks have to be in >> the sourcecode _before_ the center block. Otherwise the right float >> does not work. >> >> If you want to take a look, please open >> >> http://tokyoahead.com/test.html >> >> In order to make this work, we have to change the COM_siteHeader and >> COM_siteFooter so that both right and left blocks are shown by the >> siteHeader function. >> >> This would allow a much greater flixibility to the layout since two >> of the three major design elements would come from one function and >> be in one layout file. Only he center content would be appended in >> the end. >> >> >From my point of view there is nothing to object to that, the >> overall layout could look exactly the same, there could be a >> reduction in template code and a much larger flexibility for template >> coders, not to mention that we would stop using tables for layout. >> >> Still, before I do this, I would like to hear if there are any >> objections to that. >> >> Oliver >> _______________________________________________ >> geeklog-devel mailing list >> geeklog-devel at lists.geeklog.net >> http://eight.pairlist.net/mailman/listinfo/geeklog-devel >> > > -- > FM/CPT Machinari > /Green 2-2 > /Wing XXI > /MC80B Redemption > > SS/BSx3/PCx3/ISMx4/MoI/IS-8BW-5BR-4SW-2SR-1GW/LoC-TS-CSx5-Rx2/DFC-BW/CoL/CoB/OV-6E > [DCRN] > {IWATS-BOT-CBX-FLA-GFX-IIC/1/2-LIN-M/1/2-PHP-SM/3-TM/1-TT-VBS-XTM/1/2-XTT} > ------------------------------------------------------------------------ > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > From joe at ThrowingDice.com Tue Sep 18 02:28:59 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Tue, 18 Sep 2007 02:28:59 -0400 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <46EF6715.8010605@spiesshofer.com> References: <46EF3C50.5000006@spiesshofer.com> <000001c7f9aa$f248c3c0$d6da4b40$@com> <46EF5BEF.4070908@spiesshofer.com> <0JOJ0001ITAGOO81@mta1.srv.hcvlny.cv.net> <46EF62CD.10804@spiesshofer.com> <46EF6715.8010605@spiesshofer.com> Message-ID: <0JOJ0029HWPTGL01@mta5.srv.hcvlny.cv.net> At 01:50 AM 9/18/2007, Oliver Spiesshofer wrote: >function COM_displayPage($leftblocks=true, $rightblocks=true, >$stories=true, $header=true, $footer=true, $topic='') > >if the function is called, it looks the same as index.php with stoires etc. >If any of the boolean is not true, it has to contain the alternative >content for that part of the page. >If false, that part will not display. If you are going to do this dump $stories. Also, you are forgetting one important piece: the page content: function COM_displayPage($CONTENT, $skip = Array(), $options = Array()) When the page is public_html/index.php it will put the stories in the $content. When the page is public_html/poll/index.php it will put a list of active polls in the $content. If you pass array('right' => 0) as $skip, the right blocks will not display. If you pass array('topic' => $topic) to options, there will be a topic variable available in COM_displayPage. This makes the interface to COM_displayPage extensible without needing to change lots of other code once it exists. And you can pass Array('msg' => 99, 'plugin' => 'foo') as part of the options array to display a system message (although COM_displayPage should also check the $_GET array for msg and plugin itself if they aren't set here). ----- The following is sidetrack only peripherally related to the above. I have a dynamic content hack for 1.4.1 that needs its admin screens finished but it basically threw out the concept of left and right and just had columns. It also wasn't limited to 3 columns. The blocks table was retired in favor of 3 tables: a master_layout table where the layouts could be activate/deactivated individually and based on topic and/or language; a "run" table which was basically a column of blocks (although being a "run" I suppose it could be a row of blocks); and, a content table which was combination block/staticpage thing. The trick though is that a block could be a run. So you could nest the blocks in almost any conceivable way. And every block, run and layout had full permission controls. The ultimate plan was to allow the user to modify the layout any way he liked (personalized homepages). The hack was in COM_siteHeader. It bypassed the bulk of that function a few lines in by calling my CONTENT_display function. But I'm guessing that code is too far "out there" even compared to what you're up to here Oliver. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From oliver at spiesshofer.com Tue Sep 18 02:39:33 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Tue, 18 Sep 2007 14:39:33 +0800 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <0JOJ0029HWPTGL01@mta5.srv.hcvlny.cv.net> References: <46EF3C50.5000006@spiesshofer.com> <000001c7f9aa$f248c3c0$d6da4b40$@com> <46EF5BEF.4070908@spiesshofer.com> <0JOJ0001ITAGOO81@mta1.srv.hcvlny.cv.net> <46EF62CD.10804@spiesshofer.com> <46EF6715.8010605@spiesshofer.com> <0JOJ0029HWPTGL01@mta5.srv.hcvlny.cv.net> Message-ID: <46EF72A5.10805@spiesshofer.com> I am not forgetting the content. I simply named it "stories". You still need a default value for stories/content, to show the stories if nothing is given. The idea with the arrays is surely better than my version. Oliver Joe Mucchiello wrote: > At 01:50 AM 9/18/2007, Oliver Spiesshofer wrote: >> function COM_displayPage($leftblocks=true, $rightblocks=true, >> $stories=true, $header=true, $footer=true, $topic='') >> >> if the function is called, it looks the same as index.php with >> stoires etc. >> If any of the boolean is not true, it has to contain the alternative >> content for that part of the page. >> If false, that part will not display. > > If you are going to do this dump $stories. Also, you are forgetting > one important piece: the page content: > > function COM_displayPage($CONTENT, $skip = Array(), $options = Array()) > > When the page is public_html/index.php it will put the stories in the > $content. > When the page is public_html/poll/index.php it will put a list of > active polls in the $content. > If you pass array('right' => 0) as $skip, the right blocks will not > display. > If you pass array('topic' => $topic) to options, there will be a topic > variable available in COM_displayPage. This makes the interface to > COM_displayPage extensible without needing to change lots of other > code once it exists. > And you can pass Array('msg' => 99, 'plugin' => 'foo') as part of the > options array to display a system message (although COM_displayPage > should also check the $_GET array for msg and plugin itself if they > aren't set here). > > ----- > The following is sidetrack only peripherally related to the above. > > I have a dynamic content hack for 1.4.1 that needs its admin screens > finished but it basically threw out the concept of left and right and > just had columns. It also wasn't limited to 3 columns. The blocks > table was retired in favor of 3 tables: a master_layout table where > the layouts could be activate/deactivated individually and based on > topic and/or language; a "run" table which was basically a column of > blocks (although being a "run" I suppose it could be a row of blocks); > and, a content table which was combination block/staticpage thing. The > trick though is that a block could be a run. So you could nest the > blocks in almost any conceivable way. And every block, run and layout > had full permission controls. The ultimate plan was to allow the user > to modify the layout any way he liked (personalized homepages). > > The hack was in COM_siteHeader. It bypassed the bulk of that function > a few lines in by calling my CONTENT_display function. But I'm > guessing that code is too far "out there" even compared to what you're > up to here Oliver. > > ---- > Joe Mucchiello > Throwing Dice Games > http://www.throwingdice.com > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > From joe at ThrowingDice.com Tue Sep 18 08:40:31 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Tue, 18 Sep 2007 08:40:31 -0400 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <46EF72A5.10805@spiesshofer.com> References: <46EF3C50.5000006@spiesshofer.com> <000001c7f9aa$f248c3c0$d6da4b40$@com> <46EF5BEF.4070908@spiesshofer.com> <0JOJ0001ITAGOO81@mta1.srv.hcvlny.cv.net> <46EF62CD.10804@spiesshofer.com> <46EF6715.8010605@spiesshofer.com> <0JOJ0029HWPTGL01@mta5.srv.hcvlny.cv.net> <46EF72A5.10805@spiesshofer.com> Message-ID: <0JOK00AOEDX17OP0@mta5.srv.hcvlny.cv.net> At 02:39 AM 9/18/2007, Oliver Spiesshofer wrote: >I am not forgetting the content. I simply named it "stories". >You still need a default value for stories/content, to show the >stories if nothing is given. I disagree. Only index.php should display the standard story/centerblock content. If you call this proposed function with $CONTENT = '' you should get an empty center area. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From tony at tonybibbs.com Tue Sep 18 09:38:51 2007 From: tony at tonybibbs.com (Tony Bibbs) Date: Tue, 18 Sep 2007 06:38:51 -0700 (PDT) Subject: [geeklog-devel] CSS-Layout possible! Message-ID: <146606.34214.qm@web707.biz.mail.mud.yahoo.com> In the end I think we should support using straight CSS with DIV's and Tables. We do a lot of this stuff at work and what we find is that generally the Header/Footer and body content are put in their own TD tags and within them we do a lot of DIV's. It's pretty much how we strike a balance between overdoing it with tables and trying to make the most use of CSS. So maybe we can have a config file switch or a switch in the theme's functions.php that lets the theme developer decide? I don't think this has to be all or nothing...I think we could accommodate either methods. --Tony ----- Original Message ---- From: Ramnath R Iyer To: Geeklog Development Sent: Tuesday, September 18, 2007 12:18:17 AM Subject: Re: [geeklog-devel] CSS-Layout possible! On Tuesday 18 September 2007 00:18:18 Mark R. Evans wrote: > I've been involved in many 'discussions' on tables vs CSS and I've yet to > see a convincing argument for either approach. Each solution seems to have > its place in the world. Generally the benefits of a CSS only solution is > that it makes the content available to more users. For example, if you are > using a browser that does not support the CSS (screen readers, tools used > by those who are visually impaired, etc.), CSS degrades very well. The > typical 3 column layout is center, left, right in a CSS solution. This > way, if the CSS cannot be interpreted, the main content is shown first. This is just a minor point when you consider the advantages of CSS over tables. I have used both in my designs. The primary disadvantage of tables is that it ties the design to the content rigidly. Theming is difficult and limited. One of the main objectives of CSS is to separate the content from the layout, so that anyone who comes along can design a stylesheet that *completely* changes the look of the website, with no changes made to the HTML. CSS falls short in some ways; in fact, this goal could be achieved only with absolute positioning of all elements, which is generally not a workable solution. But in my opinion, it is better than tables, providing much more flexibility with the design, not just cleaner code. Table layouts typically tend to stagnate, whereas with CSS, new designs can be developed quickly and efficiently. There are some quirks (as always) but most problems have solutions (or at least good hacks), and the situation today is much better than before, with IE 5.5 and older browsers on their way out. > With this solution, it actually moves it to the end, so that the right, > left and then center content would be shown. At least in the current table > layout, you get left then center. So we are back to what are the true > benefits of a CSS only solution? I don't think this matters too much. Typically, mobile devices etc. are the only ones with these issues, since non-CSS browsers are pretty much dead. the CSS way is to define different stylesheets for different kinds of media. Floating columns are quite commonly used to create multi-columned layouts. Right floats *have* to come before non-floats if they are to be displayed at the same level. There are tricks to get such columns to work exactly as you need it. In my opinion, the effort is worth it. See http://www.csszengarden.com/ for some really amazing stuff with CSS. > Also, we are starting to see some very nice themes come out for Geeklog. I > would hate to see each of them break on the next release and I'm afraid > that could be the result if the right / left blocks are both in the header. > If this could be implemented as an option so that legacy themes can still > work, I think that would be an acceptable approach. I'm not saying that CSS is the best option for Geeklog, but I think it should move towards CSS even if it breaks some stuff. The best way to do it would probably be to release preview versions of the new code and and give people time to update their design code. That being said, there *have* been times when I've shifted from a pure CSS to a table layout out of sheer frustration. :-) -- Ramnath R Iyer From oliver at spiesshofer.com Tue Sep 18 10:41:25 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Tue, 18 Sep 2007 22:41:25 +0800 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <0JOK00AOEDX17OP0@mta5.srv.hcvlny.cv.net> References: <46EF3C50.5000006@spiesshofer.com> <000001c7f9aa$f248c3c0$d6da4b40$@com> <46EF5BEF.4070908@spiesshofer.com> <0JOJ0001ITAGOO81@mta1.srv.hcvlny.cv.net> <46EF62CD.10804@spiesshofer.com> <46EF6715.8010605@spiesshofer.com> <0JOJ0029HWPTGL01@mta5.srv.hcvlny.cv.net> <46EF72A5.10805@spiesshofer.com> <0JOK00AOEDX17OP0@mta5.srv.hcvlny.cv.net> Message-ID: <46EFE395.5070204@spiesshofer.com> Well whatever it displays in my version, in you version it displays an error. Oliver Joe Mucchiello wrote: > At 02:39 AM 9/18/2007, Oliver Spiesshofer wrote: >> I am not forgetting the content. I simply named it "stories". >> You still need a default value for stories/content, to show the >> stories if nothing is given. > > I disagree. Only index.php should display the standard > story/centerblock content. If you call this proposed function with > $CONTENT = '' you should get an empty center area. > > > ---- > Joe Mucchiello > Throwing Dice Games > http://www.throwingdice.com > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > From joe at ThrowingDice.com Tue Sep 18 10:55:45 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Tue, 18 Sep 2007 10:55:45 -0400 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <46EFE395.5070204@spiesshofer.com> References: <46EF3C50.5000006@spiesshofer.com> <000001c7f9aa$f248c3c0$d6da4b40$@com> <46EF5BEF.4070908@spiesshofer.com> <0JOJ0001ITAGOO81@mta1.srv.hcvlny.cv.net> <46EF62CD.10804@spiesshofer.com> <46EF6715.8010605@spiesshofer.com> <0JOJ0029HWPTGL01@mta5.srv.hcvlny.cv.net> <46EF72A5.10805@spiesshofer.com> <0JOK00AOEDX17OP0@mta5.srv.hcvlny.cv.net> <46EFE395.5070204@spiesshofer.com> Message-ID: <0JOK00C85K6GOEG0@mta3.srv.hcvlny.cv.net> Blank. After all, the "there are no stories in the option you've chosen" error has a switch in the $_CONF to turn it off. If the dev wanted an error message, he would put the message into the $CONTENT variable. We are forgetting a few things in our spec: title and headercode: function COM_displayPage($content, $parts = Array(), $options = Array()) { } where: $parts can be 'header' => 1 or 0, 'footer' => 1 or 0, 'left' => 1 or 0, 'right' => 1 or 0, 'menu' => 1 or 0 $options can be 'title' => 'the title of the page' 'headercode' => 'HTML that goes in the section.' 'msg' => a number or Array('msg' => number, 'plugin' => pluginname), At 10:41 AM 9/18/2007, Oliver Spiesshofer wrote: >Well whatever it displays in my version, in you version it displays an error. > >Oliver > >Joe Mucchiello wrote: >>At 02:39 AM 9/18/2007, Oliver Spiesshofer wrote: >>>I am not forgetting the content. I simply named it "stories". >>>You still need a default value for stories/content, to show the >>>stories if nothing is given. >> >>I disagree. Only index.php should display the standard >>story/centerblock content. If you call this proposed function with >>$CONTENT = '' you should get an empty center area. > >---- >Joe Mucchiello >Throwing Dice Games >http://www.throwingdice.com From joe at ThrowingDice.com Tue Sep 18 10:49:55 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Tue, 18 Sep 2007 10:49:55 -0400 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <146606.34214.qm@web707.biz.mail.mud.yahoo.com> References: <146606.34214.qm@web707.biz.mail.mud.yahoo.com> Message-ID: <0JOK0078WM7SA980@mta4.srv.hcvlny.cv.net> At 09:38 AM 9/18/2007, Tony Bibbs wrote: >In the end I think we should support using straight CSS with DIV's >and Tables. We do a lot of this stuff at work and what we find is >that generally the Header/Footer and body content are put in their >own TD tags and within them we do a lot of DIV's. It's pretty much >how we strike a balance between overdoing it with tables and trying >to make the most use of CSS. > >So maybe we can have a config file switch or a switch in the theme's >functions.php that lets the theme developer decide? I don't think >this has to be all or nothing...I think we could accommodate either methods. I'm no CSS expert but if order of appearance in the output matters, then we just need a config option that handles order of appearance. Then we don't care if the theme is CSS or TABLE based: $_CONF['layout_order'] = Array('header', 'left', 'center', 'right', 'footer'); // if we use Oliver's single function OR $_CONF['layout_order'] = Array('siteheader' => Array('header', 'left'), 'sitefooter' => Array('right','footer')); // using siteHeader/siteFooter and center is assumed to go between the two arrays Then in the theme's functions.php, it can reassign them as needed. OR Just let the theme specify the templates entirely: $_CONF['layout_templates'] = Array('main' => 'something.thtml', 'header' => 'header.thtml', 'footer' => 'footer.thtml', 'left-blocks' => 'left-blocks.thtml', ....etc.); $_CONF['layout_parse'] = Array('header', 'left-blocks', 'right-blocks', 'footer', 'main'); // specifies the order in which the parts will be parsed. (Again, assuming Oliver's single layout function. With header and footer in two functions, just add another array level: $_CONF['layout_templates'] => Array('siteheader' => Array(...), 'sitefooter' => Array(...)); ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From joe at ThrowingDice.com Tue Sep 18 11:42:27 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Tue, 18 Sep 2007 11:42:27 -0400 Subject: [geeklog-devel] Plugin Order Hack In-Reply-To: <0JOK00C85K6GOEG0@mta3.srv.hcvlny.cv.net> References: <46EF3C50.5000006@spiesshofer.com> <000001c7f9aa$f248c3c0$d6da4b40$@com> <46EF5BEF.4070908@spiesshofer.com> <0JOJ0001ITAGOO81@mta1.srv.hcvlny.cv.net> <46EF62CD.10804@spiesshofer.com> <46EF6715.8010605@spiesshofer.com> <0JOJ0029HWPTGL01@mta5.srv.hcvlny.cv.net> <46EF72A5.10805@spiesshofer.com> <0JOK00AOEDX17OP0@mta5.srv.hcvlny.cv.net> <46EFE395.5070204@spiesshofer.com> <0JOK00C85K6GOEG0@mta3.srv.hcvlny.cv.net> Message-ID: <0JOK00IQCMCA7Z80@mta5.srv.hcvlny.cv.net> I have a plugin ordering hack for 1.4.1 where you can set the order in which plugins load (admin area is similar to the block admin look). If I upgrade it to CVS will someone check it in? ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From mjervis at gmail.com Tue Sep 18 11:57:19 2007 From: mjervis at gmail.com (Michael Jervis) Date: Tue, 18 Sep 2007 16:57:19 +0100 Subject: [geeklog-devel] Plugin Order Hack In-Reply-To: <0JOK00IQCMCA7Z80@mta5.srv.hcvlny.cv.net> References: <46EF3C50.5000006@spiesshofer.com> <0JOJ0001ITAGOO81@mta1.srv.hcvlny.cv.net> <46EF62CD.10804@spiesshofer.com> <46EF6715.8010605@spiesshofer.com> <0JOJ0029HWPTGL01@mta5.srv.hcvlny.cv.net> <46EF72A5.10805@spiesshofer.com> <0JOK00AOEDX17OP0@mta5.srv.hcvlny.cv.net> <46EFE395.5070204@spiesshofer.com> <0JOK00C85K6GOEG0@mta3.srv.hcvlny.cv.net> <0JOK00IQCMCA7Z80@mta5.srv.hcvlny.cv.net> Message-ID: <7b42e7470709180857k50b3bcc0nfb9fbb88492637c@mail.gmail.com> Joe, I'll take a look at this with your other patches. I'm trying to get time to look at the other two patches from you (templates + com_stripslashes) but haven't managed to re-build my environment cleanly yet, sorry. Mike On 18/09/2007, Joe Mucchiello wrote: > I have a plugin ordering hack for 1.4.1 where you can set the order > in which plugins load (admin area is similar to the block admin > look). If I upgrade it to CVS will someone check it in? > > ---- > Joe Mucchiello > Throwing Dice Games > http://www.throwingdice.com > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > -- Michael Jervis mjervis at gmail.com 504B03041400000008008F846431E3543A820800000006000000060000007765 62676F642B4F4D4ACF4F0100504B010214001400000008008F846431E3543A82 0800000006000000060000000000000000002000000000000000776562676F64 504B05060000000001000100340000002C0000000000 From joe at ThrowingDice.com Tue Sep 18 12:07:08 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Tue, 18 Sep 2007 12:07:08 -0400 Subject: [geeklog-devel] Plugin Order Hack In-Reply-To: <7b42e7470709180857k50b3bcc0nfb9fbb88492637c@mail.gmail.com> References: <46EF3C50.5000006@spiesshofer.com> <0JOJ0001ITAGOO81@mta1.srv.hcvlny.cv.net> <46EF62CD.10804@spiesshofer.com> <46EF6715.8010605@spiesshofer.com> <0JOJ0029HWPTGL01@mta5.srv.hcvlny.cv.net> <46EF72A5.10805@spiesshofer.com> <0JOK00AOEDX17OP0@mta5.srv.hcvlny.cv.net> <46EFE395.5070204@spiesshofer.com> <0JOK00C85K6GOEG0@mta3.srv.hcvlny.cv.net> <0JOK00IQCMCA7Z80@mta5.srv.hcvlny.cv.net> <7b42e7470709180857k50b3bcc0nfb9fbb88492637c@mail.gmail.com> Message-ID: <0JOK00AGLNHGVKR0@mta2.srv.hcvlny.cv.net> Mark has been running gllabs.org on the new template library. He has a stats page from his use of xdebug showing the slight improvements: http://www.gllabs.org/staticpages/index.php?page=cachetemplate (I'm hoping you don't mind my posting that, Mark.) I'm running the com_stripslashes hack on my calendar test website as my webhost is php4 with magic_quotes on. The reason I asked about the plugin hack is that I have to rewrite parts of it for CVS as there are some significant changes there and I don't want to waste my time if it probably won't make it into 1.5. Joe At 11:57 AM 9/18/2007, Michael Jervis wrote: >Joe, > >I'll take a look at this with your other patches. > >I'm trying to get time to look at the other two patches from you >(templates + com_stripslashes) but haven't managed to re-build my >environment cleanly yet, sorry. > >Mike ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From mevans at ecsnet.com Tue Sep 18 12:14:25 2007 From: mevans at ecsnet.com (Mark R. Evans) Date: Tue, 18 Sep 2007 11:14:25 -0500 Subject: [geeklog-devel] Plugin Order Hack In-Reply-To: <0JOK00AGLNHGVKR0@mta2.srv.hcvlny.cv.net> References: <46EF3C50.5000006@spiesshofer.com> <46EF6715.8010605@spiesshofer.com> <0JOJ0029HWPTGL01@mta5.srv.hcvlny.cv.net> <46EF72A5.10805@spiesshofer.com> <0JOK00AOEDX17OP0@mta5.srv.hcvlny.cv.net> <46EFE395.5070204@spiesshofer.com> <0JOK00C85K6GOEG0@mta3.srv.hcvlny.cv.net> <0JOK00IQCMCA7Z80@mta5.srv.hcvlny.cv.net> <7b42e7470709180857k50b3bcc0nfb9fbb88492637c@mail.gmail.com> <0JOK00AGLNHGVKR0@mta2.srv.hcvlny.cv.net> Message-ID: <50aae8730709180914w9195af6i961bc885d2f84878@mail.gmail.com> >>http://www.gllabs.org/staticpages/index.php?page=cachetemplate >> (I'm hoping you don't mind my posting that, Mark.) Nope, that is why I put it online so you could send anyone there that is interested. I will do some additional profiling later this week to see how it affects specific plugins, for example, Media Gallery and Forum. I'll also look at memory differences too. I doubt there is much difference, but you never know till you look. Thanks! Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: From dracul01 at gmail.com Tue Sep 18 02:21:42 2007 From: dracul01 at gmail.com (Damien Hodgkin) Date: Tue, 18 Sep 2007 02:21:42 -0400 Subject: [geeklog-devel] Atompub clients? In-Reply-To: <20070917210638.872120417@smtp.haun-online.de> References: <20070917210638.872120417@smtp.haun-online.de> Message-ID: <200709180221.46512.dracul01@gmail.com> On Monday 17 September 2007 5:06 pm, Dirk Haun wrote: > Does anyone know of some more clients for the Atom Publishing Protocol? I believe, don't quote me, that ScribeFire for Firefox supports it. I will give it a try as soon as I can get a chance. If someone beats me to testing it though my feelings won't be hurt :) > I'm using two for my tests: appfs (the file system) and Atomic (a > Firefox extension). Both have their quirks and sometimes it's not clear > whether what I'm seeing is a bug or not. So having a larger sample would > help. > > Apparently, Windows Live Writer also supports Atompub. But from a quick > Google search, it's not even clear to me what that is :-) > > bye, Dirk -- Best Regards, Damien ------------- "I only have two braincells left, one is missing, and the other is putting up flyers!" -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From dirk at haun-online.de Tue Sep 18 17:14:49 2007 From: dirk at haun-online.de (Dirk Haun) Date: Tue, 18 Sep 2007 23:14:49 +0200 Subject: [geeklog-devel] Atompub clients? Message-ID: <20070918211449.450081213@smtp.haun-online.de> (this was supposed to go to the list) Damien Hodgkin wrote: >I believe, don't quote me, that ScribeFire for Firefox supports it. Yeah, you mentioned it on IRC the other day. I had a quick look and saw a note about the Atom API in the About box but couldn't find a way to actually point it to the introspection URL. So if anyone can confirm that it does (or does not) support Atompub ... bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From oliver at spiesshofer.com Tue Sep 18 23:37:16 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Wed, 19 Sep 2007 11:37:16 +0800 Subject: [geeklog-devel] Setup issues with the DB-driven config Message-ID: <46F0996C.6040109@spiesshofer.com> Hi all, I think we should think about an emergency switch for debugging to config.php for problems with a setup. If someone turns out with an empty page and a generic error after install (dtrumb just reported that example), the only way to get root debug running is by editing the database. I think we should have some file that one can edit to enable the debug function w/o editing the database. Oliver From joe at ThrowingDice.com Wed Sep 19 01:32:27 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Wed, 19 Sep 2007 01:32:27 -0400 Subject: [geeklog-devel] HACK request for CVS In-Reply-To: <46F0996C.6040109@spiesshofer.com> References: <46F0996C.6040109@spiesshofer.com> Message-ID: <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> Can this be done? Add a parameter to PLG_replaceTags: function PLG_replaceTags($content, $plugin = '', $extra = '') And later: $newtag = array ( 'module' => $module, 'tag' => $moduletag, 'tagstr' => $tag, 'startpos' => $start_pos, 'length' => $taglength, 'parm1' => str_replace (']', '', $tagid), 'parm2' => $label, 'extra' => $extra Finally, go to the 10 or so core calls to PLG_replaceTags and add the extra parameter as appropriate: PLG_replaceTags($story_text, '', Array('source' => 'story', 'id' => $sid)); PLG_replaceTags($comment, '', Array('source' => 'comment', 'id' => $cid)); PLG_replaceTags($content, '', Array('source' => 'staticpage', 'id' => $sp_id)); PLG_replaceTags($blockcontent, '', Array('source' => 'block', 'id' => $bid)); PLG_replaceTags($description, '', Array('source' => 'calendar', 'id' => $eid)); Any chance that can happen? ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From oliver at spiesshofer.com Wed Sep 19 01:39:15 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Wed, 19 Sep 2007 13:39:15 +0800 Subject: [geeklog-devel] HACK request for CVS In-Reply-To: <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> References: <46F0996C.6040109@spiesshofer.com> <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> Message-ID: <46F0B603.10200@spiesshofer.com> Generally, yes, but.... could I see a CVS diff file which shows the complete edit as intended? could I see a short descritption what this is for and how the user/admin is working with it? maybe even some documentation for the wiki? thanks! Oliver Joe Mucchiello wrote: > Can this be done? > > Add a parameter to PLG_replaceTags: > > function PLG_replaceTags($content, $plugin = '', $extra = '') > > And later: > > $newtag = array ( > 'module' => $module, > 'tag' => $moduletag, > 'tagstr' => $tag, > 'startpos' => $start_pos, > 'length' => $taglength, > 'parm1' => str_replace (']', '', $tagid), > 'parm2' => $label, > 'extra' => $extra > > Finally, go to the 10 or so core calls to PLG_replaceTags and add the > extra parameter as appropriate: > > PLG_replaceTags($story_text, '', Array('source' => 'story', 'id' > => $sid)); > PLG_replaceTags($comment, '', Array('source' => 'comment', 'id' > => $cid)); > PLG_replaceTags($content, '', Array('source' => 'staticpage', > 'id' => $sp_id)); > PLG_replaceTags($blockcontent, '', Array('source' => 'block', > 'id' => $bid)); > PLG_replaceTags($description, '', Array('source' => 'calendar', > 'id' => $eid)); > > Any chance that can happen? > > ---- > Joe Mucchiello > Throwing Dice Games > http://www.throwingdice.com > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > From geeklog at mystral-kk.net Wed Sep 19 08:00:11 2007 From: geeklog at mystral-kk.net (geeklog at mystral-kk.net) Date: Wed, 19 Sep 2007 21:00:11 +0900 (JST) Subject: [geeklog-devel] Geeklog made XHTML Message-ID: <36824.192.168.1.22.1190203211.squirrel@www.s215.xrea.com> Hi all, dengen, one of Geeklog.jp members, converted the core code of Geeklog-1.5 (geeklog-cvs-nightly.tar.gz of Sep. 17) into XHTML. Since he currently has no access to the Geeklog mailing lists, I am writing for him. You can see online demo at http://www.trybase.com/~sun/ The modified core files is here: http://www.trybase.com/~sun/files/Geeklog-xhtml.tar.gz Have a look at the code and feel free to merge it into the core code. -- mystral-kk geeklog at mystral-kk.net http://mystral-kk.net From dwight at trumbower.com Wed Sep 19 09:06:19 2007 From: dwight at trumbower.com (Dwight Trumbower) Date: Wed, 19 Sep 2007 08:06:19 -0500 Subject: [geeklog-devel] Setup issues with the DB-driven config In-Reply-To: <46F0996C.6040109@spiesshofer.com> References: <46F0996C.6040109@spiesshofer.com> Message-ID: <62564dee0709190606k626e4ff5u7f26a3c7a93ec212@mail.gmail.com> Yeah that was me. I forgot the pear for cvs. I would agree that it would be nice to get in debug mode easier. Though updating the docs for this release will need to be made too and that will help. Is there any need to have the config.php with the new storing of parms in the db? That might help eliminate some confusion for users in the future. On 9/18/07, Oliver Spiesshofer wrote: > > Hi all, > > I think we should think about an emergency switch for debugging to > config.php for problems with a setup. > If someone turns out with an empty page and a generic error after > install (dtrumb just reported that example), the only way to get root > debug running is by editing the database. > I think we should have some file that one can edit to enable the debug > function w/o editing the database. > > Oliver > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > -- Have a Great Day! Dwight Trumbower -------------- next part -------------- An HTML attachment was scrubbed... URL: From kantai at gmail.com Wed Sep 19 09:31:38 2007 From: kantai at gmail.com (Aaron Blankstein) Date: Wed, 19 Sep 2007 09:31:38 -0400 Subject: [geeklog-devel] Setup issues with the DB-driven config In-Reply-To: <62564dee0709190606k626e4ff5u7f26a3c7a93ec212@mail.gmail.com> References: <46F0996C.6040109@spiesshofer.com> <62564dee0709190606k626e4ff5u7f26a3c7a93ec212@mail.gmail.com> Message-ID: <2a1a3bb50709190631kc15c9edg823573b0d6130044@mail.gmail.com> No, there is no need for config.php anymore. -- Aaron On 9/19/07, Dwight Trumbower wrote: > > Yeah that was me. I forgot the pear for cvs. I would agree that it would > be nice to get in debug mode easier. Though updating the docs for this > release will need to be made too and that will help. > > Is there any need to have the config.php with the new storing of parms in > the db? That might help eliminate some confusion for users in the future. > > On 9/18/07, Oliver Spiesshofer < oliver at spiesshofer.com> wrote: > > > > Hi all, > > > > I think we should think about an emergency switch for debugging to > > config.php for problems with a setup. > > If someone turns out with an empty page and a generic error after > > install (dtrumb just reported that example), the only way to get root > > debug running is by editing the database. > > I think we should have some file that one can edit to enable the debug > > function w/o editing the database. > > > > Oliver > > _______________________________________________ > > geeklog-devel mailing list > > geeklog-devel at lists.geeklog.net > > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > > > > > -- > Have a Great Day! > > Dwight Trumbower > _______________________________________________ > 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 joe at ThrowingDice.com Wed Sep 19 09:51:44 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Wed, 19 Sep 2007 09:51:44 -0400 Subject: [geeklog-devel] HACK request for CVS In-Reply-To: <46F0B603.10200@spiesshofer.com> References: <46F0996C.6040109@spiesshofer.com> <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> <46F0B603.10200@spiesshofer.com> Message-ID: <0JOM00DCDBVUUCN0@mta1.srv.hcvlny.cv.net> At 01:39 AM 9/19/2007, Oliver Spiesshofer wrote: >Generally, yes, but.... > >could I see a CVS diff file which shows the complete edit as intended? Will a list of files, lines and changes do? I don't run CVS and as I understand it SVN diffs and CVS diffs aren't compatible. >could I see a short descritption what this is for and how the >user/admin is working with it? It's for plugin authors. It gives context to the autotag. When plugin_autotag_mediagallery receives a request to display a picture, the extra info would tell it what kind of object is requesting the picture. Mediagallery could use this information or ignore it as it wishes. >maybe even some documentation for the wiki? Sure. I'll include something in the "diff". ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From oliver at spiesshofer.com Wed Sep 19 09:59:31 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Wed, 19 Sep 2007 21:59:31 +0800 Subject: [geeklog-devel] HACK request for CVS In-Reply-To: <0JOM00DCDBVUUCN0@mta1.srv.hcvlny.cv.net> References: <46F0996C.6040109@spiesshofer.com> <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> <46F0B603.10200@spiesshofer.com> <0JOM00DCDBVUUCN0@mta1.srv.hcvlny.cv.net> Message-ID: <46F12B43.3000203@spiesshofer.com> Sure a list of edits is enough, as long its 100% complete. Could you, before you give me the complete edit, please give me a detail how the autotag would look like? I dont want to implement something before I don't know in more detail how its going to look like. Oliver Joe Mucchiello wrote: > At 01:39 AM 9/19/2007, Oliver Spiesshofer wrote: >> Generally, yes, but.... >> >> could I see a CVS diff file which shows the complete edit as intended? > > Will a list of files, lines and changes do? I don't run CVS and as I > understand it SVN diffs and CVS diffs aren't compatible. > >> could I see a short descritption what this is for and how the >> user/admin is working with it? > > It's for plugin authors. It gives context to the autotag. When > plugin_autotag_mediagallery receives a request to display a picture, > the extra info would tell it what kind of object is requesting the > picture. Mediagallery could use this information or ignore it as it > wishes. > >> maybe even some documentation for the wiki? > > Sure. I'll include something in the "diff". > > ---- > Joe Mucchiello > Throwing Dice Games > http://www.throwingdice.com > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > From dwight at trumbower.com Wed Sep 19 08:59:33 2007 From: dwight at trumbower.com (Dwight Trumbower) Date: Wed, 19 Sep 2007 07:59:33 -0500 Subject: [geeklog-devel] CVS Install - Site name Message-ID: <62564dee0709190559w4842ae91ka23482b5d185c39c@mail.gmail.com> When installing a new site and the site name has an apostrophe, the apostrophe shows as \\\'. This how it shows in the DB. -- Have a Great Day! Dwight Trumbower -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe at ThrowingDice.com Wed Sep 19 10:07:53 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Wed, 19 Sep 2007 10:07:53 -0400 Subject: [geeklog-devel] HACK request for CVS In-Reply-To: <46F12B43.3000203@spiesshofer.com> References: <46F0996C.6040109@spiesshofer.com> <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> <46F0B603.10200@spiesshofer.com> <0JOM00DCDBVUUCN0@mta1.srv.hcvlny.cv.net> <46F12B43.3000203@spiesshofer.com> Message-ID: <0JOM00MI0CMRAD51@mta5.srv.hcvlny.cv.net> At 09:59 AM 9/19/2007, Oliver Spiesshofer wrote: >Sure a list of edits is enough, as long its 100% complete. >Could you, before you give me the complete edit, please give me a >detail how the autotag would look like? >I dont want to implement something before I don't know in more >detail how its going to look like. It's just extra data the plugin author may or may not use as part of creating the output of an autotag. It's an enhancement for future autotags. If you look at what I posted, it just adds an extra data element to an array passed into plugin_autotags_$plugin. What comes out of that function could be anything. The Geeklog plugin interfaces tend to be a bit stingy with data and context. This solves some of that. Perhaps the Wiki docs will make it more plain as there I'll explain what appears in the $extra var. I'll get that to you tonight. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From dirk at haun-online.de Wed Sep 19 14:34:38 2007 From: dirk at haun-online.de (Dirk Haun) Date: Wed, 19 Sep 2007 20:34:38 +0200 Subject: [geeklog-devel] Setup issues with the DB-driven config In-Reply-To: <2a1a3bb50709190631kc15c9edg823573b0d6130044@mail.gmail.com> References: <46F0996C.6040109@spiesshofer.com> <62564dee0709190606k626e4ff5u7f26a3c7a93ec212@mail.gmail.com> <2a1a3bb50709190631kc15c9edg823573b0d6130044@mail.gmail.com> Message-ID: <20070919183438.578048457@smtp.haun-online.de> Aaron Blankstein wrote: >No, there is no need for config.php anymore. ... on a fresh install. It does read an existing config.php during an upgrade from 1.4.1 or earlier to pre-populate the config in the database. I'll keep config.php in CVS for reference for the moment but it won't be included in the release tarball. Btw, I guess the PEAR-based install now also needs to be updated. bye, Dirk -- http://www.haun-online.de/ http://geeklog.info/ From dirk at haun-online.de Sat Sep 22 09:15:24 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 22 Sep 2007 15:15:24 +0200 Subject: [geeklog-devel] draft vs. draft_flag Message-ID: <20070922131524.2131890922@smtp.haun-online.de> Okay, I'm confused now ... In stories, we have a draft_flag field in the DB and a draft_flag checkbox in the story editor. The story class does some conversion back and forth and seems to end up with both a _draft and a _draft_flag member variable. Do we really need both? And if so, which is supposed to hold which values ('on' as in a checkbox vs. 1 as for a flag)? I was trying to map the Atompub tag to the story draft flag (and back) but I'm a bit lost now as to which I should map it to ... It's possible that the draft option in stories doesn't currently work (properly or at all) in CVS - that's my fault and the result of the above confusion. Mike? Ramnath? Help ... bye, Dirk -- http://www.haun-online.de/ http://spam.tinyweb.net/ From dirk at haun-online.de Sat Sep 22 13:17:49 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 22 Sep 2007 19:17:49 +0200 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <46EF3C50.5000006@spiesshofer.com> References: <46EF3C50.5000006@spiesshofer.com> Message-ID: <20070922171749.1766907065@smtp.haun-online.de> Oliver Spiesshofer wrote: >The issue with the solution is that the right blocks have to be in the >sourcecode _before_ the center block. Otherwise the right float does not >work. Leaving the technical issues aside for a moment: A "right blocks only" layout is often preferred since it helps a bit with search engines. I.e. "site content that comes first" == more important. Sounds like this approach would be counter-productive here. bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From casual.dodo at gmail.com Sat Sep 22 13:39:39 2007 From: casual.dodo at gmail.com (Ramnath R Iyer) Date: Sat, 22 Sep 2007 13:39:39 -0400 Subject: [geeklog-devel] draft vs. draft_flag In-Reply-To: <20070922131524.2131890922@smtp.haun-online.de> References: <20070922131524.2131890922@smtp.haun-online.de> Message-ID: <200709221339.42877.casual.dodo@gmail.com> On Saturday 22 September 2007 09:15:24 Dirk Haun wrote: > Okay, I'm confused now ... > > In stories, we have a draft_flag field in the DB and a draft_flag > checkbox in the story editor. The story class does some conversion back > and forth and seems to end up with both a _draft and a _draft_flag > member variable. I think 'draft' is what you need to map it to. No idea what $story->_draft_flag is doing there. > Do we really need both? And if so, which is supposed to hold which > values ('on' as in a checkbox vs. 1 as for a flag)? > > I was trying to map the Atompub tag to the story draft flag > (and back) but I'm a bit lost now as to which I should map it to ... Are you sure you want to do that? Even if you set the tag while publishing, I think it would have to come back as a draft_flag (as part of the content) when it is retrieved. -- Ramnath R Iyer -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From casual.dodo at gmail.com Sat Sep 22 13:40:32 2007 From: casual.dodo at gmail.com (Ramnath R Iyer) Date: Sat, 22 Sep 2007 13:40:32 -0400 Subject: [geeklog-devel] Configuration Message-ID: <200709221340.35993.casual.dodo@gmail.com> Can someone tell me how I can change the $_CONF['path_system'] value after a relocation of directories? I hunted around the DB and changed a bunch of values, but looks like I couldn't find all. -- Ramnath R Iyer -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From dirk at haun-online.de Sat Sep 22 13:42:34 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 22 Sep 2007 19:42:34 +0200 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <46EF3C50.5000006@spiesshofer.com> References: <46EF3C50.5000006@spiesshofer.com> Message-ID: <20070922174234.1117380907@smtp.haun-online.de> Oliver Spiesshofer wrote: >Still, before I do this, I would like to hear if there are any >objections to that. Okay, I've finally caught up with this thread. But I fail to see the real advantage of the proposed changes. I mean, are there any actual, immediate problems with the way things are done currently? Quite a few nice new themes have been developed recently without these changes - would they have made the theme developer's lifes (significantly) easier? Eric? Mark? Sure, a fully CSS-based layout would be nice. That's the holy grail of web development. But with all the proposed changes I wonder if it's worth it. Not to mention that I was actually hoping to enter a phase of consolidation of the code base now so we can get a release out ... bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From dirk at haun-online.de Sat Sep 22 13:44:36 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 22 Sep 2007 19:44:36 +0200 Subject: [geeklog-devel] Configuration In-Reply-To: <200709221340.35993.casual.dodo@gmail.com> References: <200709221340.35993.casual.dodo@gmail.com> Message-ID: <20070922174436.1240475375@smtp.haun-online.de> Ramnath R Iyer wrote: >Can someone tell me how I can change the $_CONF['path_system'] value after a >relocation of directories? It's in the new public_html/siteconfig.php Which, btw, also contains a few things that shouldn't be in there, IMO. Like mysqldump options ... bye, Dirk -- http://www.haun-online.de/ http://spam.tinyweb.net/ From dirk at haun-online.de Sat Sep 22 13:51:24 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sat, 22 Sep 2007 19:51:24 +0200 Subject: [geeklog-devel] draft vs. draft_flag In-Reply-To: <200709221339.42877.casual.dodo@gmail.com> References: <20070922131524.2131890922@smtp.haun-online.de> <200709221339.42877.casual.dodo@gmail.com> Message-ID: <20070922175124.1651255262@smtp.haun-online.de> Ramnath R Iyer wrote: >I think 'draft' is what you need to map it to. No idea what >$story->_draft_flag is doing there. Currently, I'm mapping it to 'draft_flag' in one direction and to 'draft' in the other (can't remember off-hand which is for GET and which for PUT/POST). That just seems wrong ... >Are you sure you want to do that? Even if you set the tag while >publishing, I think it would have to come back as a draft_flag (as part of >the content) when it is retrieved. That's what I'm trying to fix :-) Since Atompub has a draft flag, should we not make use of it? appfs even puts draft and published stories in two separate directories. bye, Dirk -- http://www.haun-online.de/ http://geeklog.info/ From oliver at spiesshofer.com Sat Sep 22 14:21:29 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Sun, 23 Sep 2007 02:21:29 +0800 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <20070922174234.1117380907@smtp.haun-online.de> References: <46EF3C50.5000006@spiesshofer.com> <20070922174234.1117380907@smtp.haun-online.de> Message-ID: <46F55D29.9030507@spiesshofer.com> Dirk, I do not insist to du this in this version. if the work is worth it or not is surely hard to judge. the current way of display (header + leftblock) + content + (rightblock + footer), it surely makes it harder to work. However, I have been thinking about this for a while now and came to the following point: There is no need for big change. The formerly proposed solution would require to run two different thtml for the same thing, depending if you use the new method or the old. I rather do the following: I move both left and right blocks into the footer, make a simple check if left or right blocks exist and put that check into the header, then assign a different class to the center that makes the margin around the center existent or not depending on the outcome. Then we even have the proper sequence of content for small-screen rendering, no right floats etc. I am not sure however if that puts a big strain on the system, or if it is even worth to call the blocks in the header and pass it via a global to the footer. Still, I think it would be good to deprecate the current practice over time and introduce a function that does the content in one go depending on variables. This could happen over 2-3 versions. If we stick to what he have now, we are never really flexible in the way to create layouts. Oliver Dirk Haun wrote: > Oliver Spiesshofer wrote: > > >> Still, before I do this, I would like to hear if there are any >> objections to that. >> > > Okay, I've finally caught up with this thread. But I fail to see the > real advantage of the proposed changes. > > I mean, are there any actual, immediate problems with the way things are > done currently? Quite a few nice new themes have been developed recently > without these changes - would they have made the theme developer's lifes > (significantly) easier? Eric? Mark? > > Sure, a fully CSS-based layout would be nice. That's the holy grail of > web development. But with all the proposed changes I wonder if it's worth it. > > Not to mention that I was actually hoping to enter a phase of > consolidation of the code base now so we can get a release out ... > > bye, Dirk > > > From joe at ThrowingDice.com Sun Sep 23 14:00:29 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Sun, 23 Sep 2007 14:00:29 -0400 Subject: [geeklog-devel] system/classes config.class.php In-Reply-To: <20070923165135.4649E10FE12@qs1489.pair.com> References: <20070923165135.4649E10FE12@qs1489.pair.com> Message-ID: <0JOU00GWM22SQN50@mta4.srv.hcvlny.cv.net> There's some great stuff in here. But I'm greedy. I want more. Once 1.5 goes live I'd like to see a project to extend this class to handle user config. Basically config->add() would need a "can users override" parameter and config->set() and unset() would need an optional $uid parameter. config->get_ui() would also need a $uid parameter. I'm sure there are other issues. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From joe at ThrowingDice.com Sun Sep 23 14:04:35 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Sun, 23 Sep 2007 14:04:35 -0400 Subject: [geeklog-devel] admin/configuration.php In-Reply-To: <20070923165135.4649E10FE12@qs1489.pair.com> References: <20070923165135.4649E10FE12@qs1489.pair.com> Message-ID: <0JOU002F129LYYJ0@mta2.srv.hcvlny.cv.net> While I'm looking at this stuff, I'm confused by the configuration.php: $config = config::create(array_key_exists('conf_group', $_POST) ? $_POST['conf_group'] : 'Core'); Shouldn't that use $_REQUEST? How does a plugin use the configuration page if it can't say: $_CONF['site_admin_url'] . '/configuration.php?conf_group=Calendar' so that the calendar configuration files end up in the database? I presumed that the reason conf_group is a parameter to the config class is that you expect plugins to tag along. I suppose the plugin could create its own calls to config->get_ui but that seems a bit redundant without a good reason. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From blanks at mit.edu Sun Sep 23 15:25:15 2007 From: blanks at mit.edu (Aaron Blankstein) Date: Sun, 23 Sep 2007 15:25:15 -0400 Subject: [geeklog-devel] admin/configuration.php In-Reply-To: <0JOU002F129LYYJ0@mta2.srv.hcvlny.cv.net> References: <20070923165135.4649E10FE12@qs1489.pair.com> <0JOU002F129LYYJ0@mta2.srv.hcvlny.cv.net> Message-ID: <2a1a3bb50709231225k191c8127s7d508b5e8d2d5c10@mail.gmail.com> I'm going to document the process for plugins to end up in the database soon, but the basic way that it works is that the create() method adds the plugin to a list of managed configurations. So, if a plugin was using the config class create() would be called before the page was loaded (somewhere in the plugin code.) The get_ui() function then uses that list to create the first row of tabs at the top. So, to get to the configuration page for Calendar, there would be a tab that the admin would click and would post the 'conf_group' variable. -- Aaron On 9/23/07, Joe Mucchiello wrote: > > While I'm looking at this stuff, I'm confused by the configuration.php: > > $config = config::create(array_key_exists('conf_group', $_POST) ? > $_POST['conf_group'] : 'Core'); > > Shouldn't that use $_REQUEST? How does a plugin use the configuration > page if it can't say: $_CONF['site_admin_url'] . > '/configuration.php?conf_group=Calendar' so that the calendar > configuration files end up in the database? I presumed that the > reason conf_group is a parameter to the config class is that you > expect plugins to tag along. > > I suppose the plugin could create its own calls to config->get_ui but > that seems a bit redundant without a good reason. > > ---- > Joe Mucchiello > Throwing Dice Games > http://www.throwingdice.com > > _______________________________________________ > 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 oliver at spiesshofer.com Sun Sep 23 23:55:58 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Mon, 24 Sep 2007 11:55:58 +0800 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <46F55D29.9030507@spiesshofer.com> References: <46EF3C50.5000006@spiesshofer.com> <20070922174234.1117380907@smtp.haun-online.de> <46F55D29.9030507@spiesshofer.com> Message-ID: <46F7354E.8000709@spiesshofer.com> Here is the current state of affairs regarding the layout: It would be quite easy to do CSS-only layouts, as I found out now. Only very minor changes are necessary to create a center-left-right HTML/CSS, one of them being to add a right_blocks_in_footer config to the left_blocks_in_footer, and the other a flag to COM_showBlocks that makes the function simply return if there are left or right blocks in the layout and therefore assign different classes to elements in either footer or header. Now the problem: If we want a layout that has the center in the html before the left and right blocks, we cannot have a footer anymore that spans the whole page as far as I could find out. The ideal layout for center-first HTML is described here: http://glish.com/css/7.asp If anyone manages to put a footer there, please tell me how. The footer would have only the width of the story, if the left/right blocks are shorter, there will be a blank space. So the only thing left over, if we want a footer, is to have a left, right, center, footer order in HTML and float everything to the left (http://css.maxdesign.com.au/floatutorial/tutorial0916.htm). This would require to display all blocks in the header, I do not really know however what those left_blocks_in_footer are doing in the config in the first place, this should be set only in the theme.... well, in an ideal world this would not be necessary anyhow since all elements would be joined together in one central function. So here is my proposal: 1. modify COM_siteHeader and COM_siteFooter so that either of them can display right and left blocks (for the left blocks, that is already the case, so why not for both?) This is to allow theme authors to really do what they want and not be forced to a certain order of the main 3 elements. This would be obsolete once we introduce step 5. 2. Add an option to simply tell if blocks are there to COM_showBlocks, so that in the header and footer, layouts of elements can differ depending on the existence of left and right blocks. 3. Use a table-free layout for the professional theme with left-right-center floated. 4. (draft) Introduce a minimal-layout where the CSS only is changed to display the center first. I am not sure how to make mobile devices to choose this by default, and how this will look like, but I will try to find a proper solution before introducing any of this. 5. (draft) Create a new function that creates all elements in one go and replaces the COM_siteHeader + center + COM_siteFooter. Both ways will be available but the aforementioned will be deprecated and removed 3-4 (?) versions later. comments, suggestions, flying axes? Oliver Oliver Spiesshofer wrote: > Dirk, > > I do not insist to du this in this version. if the work is worth it or > not is surely hard to judge. > the current way of display (header + leftblock) + content + > (rightblock + footer), it surely makes it harder to work. > However, I have been thinking about this for a while now and came to > the following point: > There is no need for big change. The formerly proposed solution would > require to run two different thtml for the same thing, depending if > you use the new method or the old. > > I rather do the following: I move both left and right blocks into the > footer, make a simple check if left or right blocks exist and put that > check into the header, then assign a different class to the center > that makes the margin around the center existent or not depending on > the outcome. Then we even have the proper sequence of content for > small-screen rendering, no right floats etc. > I am not sure however if that puts a big strain on the system, or if > it is even worth to call the blocks in the header and pass it via a > global to the footer. > > Still, I think it would be good to deprecate the current practice over > time and introduce a function that does the content in one go > depending on variables. This could happen over 2-3 versions. If we > stick to what he have now, we are never really flexible in the way to > create layouts. > > Oliver > > Dirk Haun wrote: >> Oliver Spiesshofer wrote: >> >> >>> Still, before I do this, I would like to hear if there are any >>> objections to that. >>> >> >> Okay, I've finally caught up with this thread. But I fail to see the >> real advantage of the proposed changes. >> >> I mean, are there any actual, immediate problems with the way things are >> done currently? Quite a few nice new themes have been developed recently >> without these changes - would they have made the theme developer's lifes >> (significantly) easier? Eric? Mark? >> >> Sure, a fully CSS-based layout would be nice. That's the holy grail of >> web development. But with all the proposed changes I wonder if it's >> worth it. >> >> Not to mention that I was actually hoping to enter a phase of >> consolidation of the code base now so we can get a release out ... >> >> bye, Dirk >> >> >> > > From geiss at midnightforce.com Mon Sep 24 01:21:49 2007 From: geiss at midnightforce.com (=MF=Geiss) Date: Sun, 23 Sep 2007 23:21:49 -0600 Subject: [geeklog-devel] CSS-Layout possible! In-Reply-To: <46F7354E.8000709@spiesshofer.com> References: <46EF3C50.5000006@spiesshofer.com> <20070922174234.1117380907@smtp.haun-online.de> <46F55D29.9030507@spiesshofer.com> <46F7354E.8000709@spiesshofer.com> Message-ID: <46F7496D.1060003@midnightforce.com> Hi all, Long time lurker, first time contributor. Go easy! :-) It sounds like the real question is, does one bite the bullet now or later? Personally, I would like to see now. XHTML and CSS layouts are the way to go IMHO. The landscape is changing rapidly, and I know everyone hates to hear it, but GL's layout shows its age more and more every day. If the steps aren't taken now, then when? If one waits 2-3 releases, they are very realistically talking about year(s) until a layout revisit. I have some ideas for a new default theme, basically a Frankenstein of the existing Refresh_F theme (re-worked colors, etc.) and the header background at http://www.bartelme.at. I also think the main site needs to be re-designed to be more "surfer" friendly. Let me explain. Like others have said before, the average joe coming to gl.net to check it out will get their first impression (like it or not) from the way the site looks. Too much info (especially text-based stuff) on the main page is overwhelming. There are ways to still incorporate a lot of info, but let the user experience it at their own pace. For example, I like the Extras tab toward the bottom of http://complementaryduo.com/ that expands and repositions itself at the top of the page. Something similar could be tied into the static pages in that when you set a static page to be the Extras section, its content would appear in the slide-down box. Almost like a "featured" static page. Also, more block real estate could be saved by moving login/my account info into a slide-down header similar to http://www.builtbybuffalo.com. I would be willing to proceed with work on a new theme, and gl.net re-layout, if of course I have the blessing of the core team and the help of all the wonderful people here. :-) My goal is to make GL eye catching and interesting. Yes, some of the javascript I mentioned above is eye-candy, but there needs to be a certain amount of it, if gl is going to appeal to a wider base of users. GL does a lot of things right, I think a theme's functions.php file should be put to more use with regards to selecting column layout, etc. The person who converted the GL layout to transitional XHTML already put forth a lot of effort that would be a great place to start, and it sounds like Oliver is willing to put forth additional backend effort to make it a reality. I see a need for a developer road map, as organization of teams and a clear vision for the future of GL are lacking. But other than that, it sounds like there are those willing to make it happen. They're just waiting for a green light from... somebody. What time frame are we shooting for the 1.5 release? Like I said, I am willing to put in some significant hours, but I don't want to see things drag on forever. Again, I think a clear road map and timetable would be beneficial to help everyone focus and prioritize. GL has a great core, a great forum, and a great media gallery. Now it needs a great look. ...maybe a new name and tagline... gl - the cms for the rest of us. :-) Respectfully, Eric aka "Geiss" Warren Oliver Spiesshofer wrote: > Here is the current state of affairs regarding the layout: > > It would be quite easy to do CSS-only layouts, as I found out now. > Only very minor changes are necessary to create a center-left-right > HTML/CSS, one of them being to add a right_blocks_in_footer config to > the left_blocks_in_footer, and the other a flag to COM_showBlocks that > makes the function simply return if there are left or right blocks in > the layout and therefore assign different classes to elements in > either footer or header. > > Now the problem: If we want a layout that has the center in the html > before the left and right blocks, we cannot have a footer anymore that > spans the whole page as far as I could find out. The ideal layout for > center-first HTML is described here: http://glish.com/css/7.asp If > anyone manages to put a footer there, please tell me how. The footer > would have only the width of the story, if the left/right blocks are > shorter, there will be a blank space. > > So the only thing left over, if we want a footer, is to have a left, > right, center, footer order in HTML and float everything to the left > (http://css.maxdesign.com.au/floatutorial/tutorial0916.htm). This > would require to display all blocks in the header, I do not really > know however what those left_blocks_in_footer are doing in the config > in the first place, this should be set only in the theme.... well, in > an ideal world this would not be necessary anyhow since all elements > would be joined together in one central function. > > So here is my proposal: > 1. modify COM_siteHeader and COM_siteFooter so that either of them can > display right and left blocks (for the left blocks, that is already > the case, so why not for both?) This is to allow theme authors to > really do what they want and not be forced to a certain order of the > main 3 elements. This would be obsolete once we introduce step 5. > 2. Add an option to simply tell if blocks are there to COM_showBlocks, > so that in the header and footer, layouts of elements can differ > depending on the existence of left and right blocks. > 3. Use a table-free layout for the professional theme with > left-right-center floated. > 4. (draft) Introduce a minimal-layout where the CSS only is changed to > display the center first. I am not sure how to make mobile devices to > choose this by default, and how this will look like, but I will try to > find a proper solution before introducing any of this. > 5. (draft) Create a new function that creates all elements in one go > and replaces the COM_siteHeader + center + COM_siteFooter. Both ways > will be available but the aforementioned will be deprecated and > removed 3-4 (?) versions later. > > comments, suggestions, flying axes? > > Oliver From oliver at spiesshofer.com Mon Sep 24 04:33:03 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Mon, 24 Sep 2007 16:33:03 +0800 Subject: [geeklog-devel] GL2 install report Message-ID: <46F7763F.9070401@spiesshofer.com> Hi all, I just installed GL2 from scratch. It works fine, exept those: the links plugin homescreen is blank (white page) and the plugins homescreen is returning an error: An unhandled error was encountered The Geeklog 2 - Content Management System has encountered an unexpected error. This error is most likely a bug within the system. You should report this bug to the system administrator. Be sure to keep the following information handy as the system administrator will probably ask for it. Error Message: Action: managePlugins not registered. That means either you supplied a bad action name or the corresponding view or command has not been registered yet. Error Code: 0 File: W:\path\to\Geeklog-2.x\system\libraries\Geeklog\MVCnPHP\Controller.php Line Number: 831 Stack Trace #0 W:\path\to\Geeklog-2.x\public_html\index.php(410): Geeklog_MVCnPHP_Controller->processRequest(Array) #1 {main} the help screen also: An unhandled error was encountered The Geeklog 2 - Content Management System has encountered an unexpected error. This error is most likely a bug within the system. You should report this bug to the system administrator. Be sure to keep the following information handy as the system administrator will probably ask for it. Error Message: Action: managePlugins not registered. That means either you supplied a bad action name or the corresponding view or command has not been registered yet. Error Code: 0 File: W:\path\to\Geeklog-2.x\system\libraries\Geeklog\MVCnPHP\Controller.php Line Number: 831 Stack Trace #0 W:\path\to\Geeklog-2.x\public_html\index.php(410): Geeklog_MVCnPHP_Controller->processRequest(Array) #1 {main} Soap docs also: Warning: require(/path/to/Geeklog-2.x\system\DataAccess/DAO.php) [function.require]: failed to open stream: No such file or directory in W:\path\to\Geeklog-2.x\public_html\soap\index.php on line 63 Fatal error: require() [function.require]: Failed opening required '/path/to/Geeklog-2.x\system\DataAccess/DAO.php' (include_path='.;/path/to/Geeklog-2.x\;/path/to/Geeklog-2.x\system\;/path/to/Geeklog-2.x\system\libraries\;') in W:\path\to\Geeklog-2.x\public_html\soap\index.php on line 63 Oliver From dracul01 at gmail.com Mon Sep 24 07:07:11 2007 From: dracul01 at gmail.com (Damien Hodgkin) Date: Mon, 24 Sep 2007 07:07:11 -0400 Subject: [geeklog-devel] GL2 install report In-Reply-To: <46F7763F.9070401@spiesshofer.com> References: <46F7763F.9070401@spiesshofer.com> Message-ID: <46F79A5F.2040200@gmail.com> Oliver Spiesshofer wrote: > Hi all, > > I just installed GL2 from scratch. > It works fine, exept those: > > the links plugin homescreen is blank (white page) and the plugins > homescreen is returning an error: > > An unhandled error was encountered > > The Geeklog 2 - Content Management System has encountered an > unexpected error. This error is most likely a bug within the system. > You should report this bug to the system administrator. Be sure to > keep the following information handy as the system administrator will > probably ask for it. > Error Message: Action: managePlugins not registered. That means > either you supplied a bad action name or the corresponding view or > command has not been registered yet. > Error Code: 0 > File: > W:\path\to\Geeklog-2.x\system\libraries\Geeklog\MVCnPHP\Controller.php > Line Number: 831 > > Stack Trace #0 W:\path\to\Geeklog-2.x\public_html\index.php(410): > Geeklog_MVCnPHP_Controller->processRequest(Array) > #1 {main} > > the help screen also: > > An unhandled error was encountered > > The Geeklog 2 - Content Management System has encountered an > unexpected error. This error is most likely a bug within the system. > You should report this bug to the system administrator. Be sure to > keep the following information handy as the system administrator will > probably ask for it. > Error Message: Action: managePlugins not registered. That means > either you supplied a bad action name or the corresponding view or > command has not been registered yet. > Error Code: 0 > File: > W:\path\to\Geeklog-2.x\system\libraries\Geeklog\MVCnPHP\Controller.php > Line Number: 831 > > Stack Trace #0 W:\path\to\Geeklog-2.x\public_html\index.php(410): > Geeklog_MVCnPHP_Controller->processRequest(Array) > #1 {main} > > Soap docs also: > > Warning: require(/path/to/Geeklog-2.x\system\DataAccess/DAO.php) > [function.require]: failed to open stream: No such file or directory > in W:\path\to\Geeklog-2.x\public_html\soap\index.php on line 63 > > Fatal error: require() [function.require]: Failed opening required > '/path/to/Geeklog-2.x\system\DataAccess/DAO.php' > (include_path='.;/path/to/Geeklog-2.x\;/path/to/Geeklog-2.x\system\;/path/to/Geeklog-2.x\system\libraries\;') > in W:\path\to\Geeklog-2.x\public_html\soap\index.php on line 63 > > Oliver > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > These things are being worked on, I have a limited Plugin Manager going at the moment but I don't feel it is ready to be committed to CVS as it breaks a few things. But rest assured they will be in CVS soon. Did you run the fill_db.sql file to fill your database with the test content? There should be at least 2 links showing when you goto the Links plugin's home page. How is the Content plugin working for you? Let me know what you think, I'm sure Tony would like some feedback too. Damien From oliver at spiesshofer.com Mon Sep 24 08:23:54 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Mon, 24 Sep 2007 20:23:54 +0800 Subject: [geeklog-devel] GL2 install report In-Reply-To: <46F79A5F.2040200@gmail.com> References: <46F7763F.9070401@spiesshofer.com> <46F79A5F.2040200@gmail.com> Message-ID: <46F7AC5A.6050002@spiesshofer.com> Yeah I did that. I also updated the wiki docs with the most basic things that I did to run the CVS. still, the screen is all white when I click on the links-link. Oliver Damien Hodgkin wrote: > Oliver Spiesshofer wrote: >> Hi all, >> >> I just installed GL2 from scratch. >> It works fine, exept those: >> >> the links plugin homescreen is blank (white page) and the plugins >> homescreen is returning an error: >> >> An unhandled error was encountered >> >> The Geeklog 2 - Content Management System has encountered an >> unexpected error. This error is most likely a bug within the system. >> You should report this bug to the system administrator. Be sure to >> keep the following information handy as the system administrator will >> probably ask for it. >> Error Message: Action: managePlugins not registered. That means >> either you supplied a bad action name or the corresponding view or >> command has not been registered yet. >> Error Code: 0 >> File: >> W:\path\to\Geeklog-2.x\system\libraries\Geeklog\MVCnPHP\Controller.php >> Line Number: 831 >> >> Stack Trace #0 W:\path\to\Geeklog-2.x\public_html\index.php(410): >> Geeklog_MVCnPHP_Controller->processRequest(Array) >> #1 {main} >> >> the help screen also: >> >> An unhandled error was encountered >> >> The Geeklog 2 - Content Management System has encountered an >> unexpected error. This error is most likely a bug within the system. >> You should report this bug to the system administrator. Be sure to >> keep the following information handy as the system administrator will >> probably ask for it. >> Error Message: Action: managePlugins not registered. That means >> either you supplied a bad action name or the corresponding view or >> command has not been registered yet. >> Error Code: 0 >> File: >> W:\path\to\Geeklog-2.x\system\libraries\Geeklog\MVCnPHP\Controller.php >> Line Number: 831 >> >> Stack Trace #0 W:\path\to\Geeklog-2.x\public_html\index.php(410): >> Geeklog_MVCnPHP_Controller->processRequest(Array) >> #1 {main} >> >> Soap docs also: >> >> Warning: require(/path/to/Geeklog-2.x\system\DataAccess/DAO.php) >> [function.require]: failed to open stream: No such file or directory >> in W:\path\to\Geeklog-2.x\public_html\soap\index.php on line 63 >> >> Fatal error: require() [function.require]: Failed opening required >> '/path/to/Geeklog-2.x\system\DataAccess/DAO.php' >> (include_path='.;/path/to/Geeklog-2.x\;/path/to/Geeklog-2.x\system\;/path/to/Geeklog-2.x\system\libraries\;') >> in W:\path\to\Geeklog-2.x\public_html\soap\index.php on line 63 >> >> Oliver >> _______________________________________________ >> geeklog-devel mailing list >> geeklog-devel at lists.geeklog.net >> http://eight.pairlist.net/mailman/listinfo/geeklog-devel >> > These things are being worked on, I have a limited Plugin Manager > going at the moment but I don't feel it is ready to be committed to > CVS as it breaks a few things. But rest assured they will be in CVS soon. > > Did you run the fill_db.sql file to fill your database with the test > content? There should be at least 2 links showing when you goto the > Links plugin's home page. How is the Content plugin working for you? > > Let me know what you think, I'm sure Tony would like some feedback too. > > Damien > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > From tony at tonybibbs.com Mon Sep 24 12:22:57 2007 From: tony at tonybibbs.com (Tony Bibbs) Date: Mon, 24 Sep 2007 09:22:57 -0700 (PDT) Subject: [geeklog-devel] GL2 install report Message-ID: <632182.53509.qm@web703.biz.mail.mud.yahoo.com> Oliver, Wow, was pleasantly surprised somebody installed it ;-) Obviously everything there is 100% alpha quality. My focus over the coming weeks is to solidify and clean up what is there before branching out into other areas. I'd really like to get a more polished alpha release out to start getting feedback from the community at large in the near future (Damien and I are both working on this). We'll see if we can't fix this (and all the other known issues) in the short term. --Tony ----- Original Message ---- From: Oliver Spiesshofer To: Geeklog Development Sent: Monday, September 24, 2007 3:33:03 AM Subject: [geeklog-devel] GL2 install report Hi all, I just installed GL2 from scratch. It works fine, exept those: the links plugin homescreen is blank (white page) and the plugins homescreen is returning an error: An unhandled error was encountered The Geeklog 2 - Content Management System has encountered an unexpected error. This error is most likely a bug within the system. You should report this bug to the system administrator. Be sure to keep the following information handy as the system administrator will probably ask for it. Error Message: Action: managePlugins not registered. That means either you supplied a bad action name or the corresponding view or command has not been registered yet. Error Code: 0 File: W:\path\to\Geeklog-2.x\system\libraries\Geeklog\MVCnPHP\Controller.php Line Number: 831 Stack Trace #0 W:\path\to\Geeklog-2.x\public_html\index.php(410): Geeklog_MVCnPHP_Controller->processRequest(Array) #1 {main} the help screen also: An unhandled error was encountered The Geeklog 2 - Content Management System has encountered an unexpected error. This error is most likely a bug within the system. You should report this bug to the system administrator. Be sure to keep the following information handy as the system administrator will probably ask for it. Error Message: Action: managePlugins not registered. That means either you supplied a bad action name or the corresponding view or command has not been registered yet. Error Code: 0 File: W:\path\to\Geeklog-2.x\system\libraries\Geeklog\MVCnPHP\Controller.php Line Number: 831 Stack Trace #0 W:\path\to\Geeklog-2.x\public_html\index.php(410): Geeklog_MVCnPHP_Controller->processRequest(Array) #1 {main} Soap docs also: Warning: require(/path/to/Geeklog-2.x\system\DataAccess/DAO.php) [function.require]: failed to open stream: No such file or directory in W:\path\to\Geeklog-2.x\public_html\soap\index.php on line 63 Fatal error: require() [function.require]: Failed opening required '/path/to/Geeklog-2.x\system\DataAccess/DAO.php' (include_path='.;/path/to/Geeklog-2.x\;/path/to/Geeklog-2.x\system\;/path/to/Geeklog-2.x\system\libraries\;') in W:\path\to\Geeklog-2.x\public_html\soap\index.php on line 63 Oliver _______________________________________________ geeklog-devel mailing list geeklog-devel at lists.geeklog.net http://eight.pairlist.net/mailman/listinfo/geeklog-devel From oliver at spiesshofer.com Mon Sep 24 19:36:45 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Tue, 25 Sep 2007 07:36:45 +0800 Subject: [geeklog-devel] GL2 install report In-Reply-To: <632182.53509.qm@web703.biz.mail.mud.yahoo.com> References: <632182.53509.qm@web703.biz.mail.mud.yahoo.com> Message-ID: <46F84A0D.7010207@spiesshofer.com> Tony, I was assuming that some of the stuff that I encounter was not meant to work yet. I think you mainly need a version out where people understand what is what, specially if they expect something like geeklog 1.x Oliver Tony Bibbs wrote: > Oliver, > > Wow, was pleasantly surprised somebody installed it ;-) > > Obviously everything there is 100% alpha quality. My focus over the coming weeks is to solidify and clean up what is there before branching out into other areas. I'd really like to get a more polished alpha release out to start getting feedback from the community at large in the near future (Damien and I are both working on this). > > We'll see if we can't fix this (and all the other known issues) in the short term. > > --Tony > > ----- Original Message ---- > From: Oliver Spiesshofer > To: Geeklog Development > Sent: Monday, September 24, 2007 3:33:03 AM > Subject: [geeklog-devel] GL2 install report > > Hi all, > > I just installed GL2 from scratch. > It works fine, exept those: > > the links plugin homescreen is blank (white page) and the plugins > homescreen is returning an error: > > An unhandled error was encountered > > The Geeklog 2 - Content Management System has encountered an unexpected > error. This error is most likely a bug within the system. You should > report this bug to the system administrator. Be sure to keep the > following information handy as the system administrator will probably > ask for it. > Error Message: Action: managePlugins not registered. That means > either you supplied a bad action name or the corresponding view or > command has not been registered yet. > Error Code: 0 > File: > W:\path\to\Geeklog-2.x\system\libraries\Geeklog\MVCnPHP\Controller.php > Line Number: 831 > > Stack Trace #0 W:\path\to\Geeklog-2.x\public_html\index.php(410): > Geeklog_MVCnPHP_Controller->processRequest(Array) > #1 {main} > > the help screen also: > > An unhandled error was encountered > > The Geeklog 2 - Content Management System has encountered an unexpected > error. This error is most likely a bug within the system. You should > report this bug to the system administrator. Be sure to keep the > following information handy as the system administrator will probably > ask for it. > Error Message: Action: managePlugins not registered. That means > either you supplied a bad action name or the corresponding view or > command has not been registered yet. > Error Code: 0 > File: > W:\path\to\Geeklog-2.x\system\libraries\Geeklog\MVCnPHP\Controller.php > Line Number: 831 > > Stack Trace #0 W:\path\to\Geeklog-2.x\public_html\index.php(410): > Geeklog_MVCnPHP_Controller->processRequest(Array) > #1 {main} > > Soap docs also: > > Warning: require(/path/to/Geeklog-2.x\system\DataAccess/DAO.php) > [function.require]: failed to open stream: No such file or directory in > W:\path\to\Geeklog-2.x\public_html\soap\index.php on line 63 > > Fatal error: require() [function.require]: Failed opening required > '/path/to/Geeklog-2.x\system\DataAccess/DAO.php' > (include_path='.;/path/to/Geeklog-2.x\;/path/to/Geeklog-2.x\system\;/path/to/Geeklog-2.x\system\libraries\;') > in W:\path\to\Geeklog-2.x\public_html\soap\index.php on line 63 > > Oliver > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > > From oliver at spiesshofer.com Mon Sep 24 22:37:28 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Tue, 25 Sep 2007 10:37:28 +0800 Subject: [geeklog-devel] HACK request for CVS In-Reply-To: <0JOM00MI0CMRAD51@mta5.srv.hcvlny.cv.net> References: <46F0996C.6040109@spiesshofer.com> <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> <46F0B603.10200@spiesshofer.com> <0JOM00DCDBVUUCN0@mta1.srv.hcvlny.cv.net> <46F12B43.3000203@spiesshofer.com> <0JOM00MI0CMRAD51@mta5.srv.hcvlny.cv.net> Message-ID: <46F87468.1030500@spiesshofer.com> In case you have sent something, I have not received it until now... Oliver Joe Mucchiello wrote: > At 09:59 AM 9/19/2007, Oliver Spiesshofer wrote: >> Sure a list of edits is enough, as long its 100% complete. >> Could you, before you give me the complete edit, please give me a >> detail how the autotag would look like? >> I dont want to implement something before I don't know in more detail >> how its going to look like. > > It's just extra data the plugin author may or may not use as part of > creating the output of an autotag. It's an enhancement for future > autotags. If you look at what I posted, it just adds an extra data > element to an array passed into plugin_autotags_$plugin. What comes > out of that function could be anything. The Geeklog plugin interfaces > tend to be a bit stingy with data and context. This solves some of > that. Perhaps the Wiki docs will make it more plain as there I'll > explain what appears in the $extra var. I'll get that to you tonight. > > ---- > Joe Mucchiello > Throwing Dice Games > http://www.throwingdice.com > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > From joe at ThrowingDice.com Mon Sep 24 22:44:06 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Mon, 24 Sep 2007 22:44:06 -0400 Subject: [geeklog-devel] HACK request for CVS In-Reply-To: <46F87468.1030500@spiesshofer.com> References: <46F0996C.6040109@spiesshofer.com> <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> <46F0B603.10200@spiesshofer.com> <0JOM00DCDBVUUCN0@mta1.srv.hcvlny.cv.net> <46F12B43.3000203@spiesshofer.com> <0JOM00MI0CMRAD51@mta5.srv.hcvlny.cv.net> <46F87468.1030500@spiesshofer.com> Message-ID: <0JOW00FJ4KZLCS51@mta2.srv.hcvlny.cv.net> I've been suddenly busy with other things. Perhaps by the end of the week. At 10:37 PM 9/24/2007, Oliver Spiesshofer wrote: >In case you have sent something, I have not received it until now... > >Oliver > >Joe Mucchiello wrote: >>At 09:59 AM 9/19/2007, Oliver Spiesshofer wrote: >>>Sure a list of edits is enough, as long its 100% complete. >>>Could you, before you give me the complete edit, please give me a >>>detail how the autotag would look like? >>>I dont want to implement something before I don't know in more >>>detail how its going to look like. >> >>It's just extra data the plugin author may or may not use as part >>of creating the output of an autotag. It's an enhancement for >>future autotags. If you look at what I posted, it just adds an >>extra data element to an array passed into plugin_autotags_$plugin. >>What comes out of that function could be anything. The Geeklog >>plugin interfaces tend to be a bit stingy with data and context. >>This solves some of that. Perhaps the Wiki docs will make it more >>plain as there I'll explain what appears in the $extra var. I'll >>get that to you tonight. >> >>---- >>Joe Mucchiello >>Throwing Dice Games >>http://www.throwingdice.com >>_______________________________________________ >>geeklog-devel mailing list >>geeklog-devel at lists.geeklog.net >>http://eight.pairlist.net/mailman/listinfo/geeklog-devel >> > >_______________________________________________ >geeklog-devel mailing list >geeklog-devel at lists.geeklog.net >http://eight.pairlist.net/mailman/listinfo/geeklog-devel ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From joe at ThrowingDice.com Tue Sep 25 00:33:19 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Tue, 25 Sep 2007 00:33:19 -0400 Subject: [geeklog-devel] Links plugin bugs In-Reply-To: <0JOW00FJ4KZLCS51@mta2.srv.hcvlny.cv.net> References: <46F0996C.6040109@spiesshofer.com> <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> <46F0B603.10200@spiesshofer.com> <0JOM00DCDBVUUCN0@mta1.srv.hcvlny.cv.net> <46F12B43.3000203@spiesshofer.com> <0JOM00MI0CMRAD51@mta5.srv.hcvlny.cv.net> <46F87468.1030500@spiesshofer.com> <0JOW00FJ4KZLCS51@mta2.srv.hcvlny.cv.net> Message-ID: <0JOW00AQEQ1MJH70@mta2.srv.hcvlny.cv.net> I just grabbed the nightly tarball and found the following bug on the links category admin screen. The add child, function plugin_getListField_categories($fieldname, $fieldvalue, $A, $icon_arr) case 'addchild'; if ($access == 3) { $retval = COM_createLink( $icon_arr['addchild'], /////// <<<-------- No addchild in $icon_arr "{$_CONF['site_admin_url']}/plugins/links/category.php?mode=edit&pid={$A['cid']}" ); } break; $icon_arr in ADMIN_list and ADMIN_simplelist only has entries for 'edit', 'copy' and 'list'. Also, the category editor does not handle NULL topics well. You should be able to put links into ALL topics (presumably using NULL) like the default link to geeklog.net has a NULL tid. But the drop box for the topics doesn't include an ALL position. Likewise this should probably does something special when tid is null: function plugin_getListField_categories($fieldname, $fieldvalue, $A, $icon_arr) case 'topic'; $retval = $A['tid']; break; ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From joe at ThrowingDice.com Tue Sep 25 00:54:35 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Tue, 25 Sep 2007 00:54:35 -0400 Subject: [geeklog-devel] polls plugin In-Reply-To: <0JOW00AQEQ1MJH70@mta2.srv.hcvlny.cv.net> References: <46F0996C.6040109@spiesshofer.com> <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> <46F0B603.10200@spiesshofer.com> <0JOM00DCDBVUUCN0@mta1.srv.hcvlny.cv.net> <46F12B43.3000203@spiesshofer.com> <0JOM00MI0CMRAD51@mta5.srv.hcvlny.cv.net> <46F87468.1030500@spiesshofer.com> <0JOW00FJ4KZLCS51@mta2.srv.hcvlny.cv.net> <0JOW00AQEQ1MJH70@mta2.srv.hcvlny.cv.net> Message-ID: <0JOW00610R126IG0@mta1.srv.hcvlny.cv.net> Same nightly CVS. The polls plugin is completely fubar'd. Just Edit the default poll and you find Q1 in the Q1 tab but all the answer are in the Q2 tab, and so on. Likewise if you create a poll with 3 questions Q1, Q2, Q3 and create answers like A1Q1, A2Q1, A3Q1, A1Q2, A2Q2, A3Q2, A1Q3, A2Q3, A3Q3 you get this output: 1: Q2 A1Q2 A2Q2 A3Q2 2: Q3 A1Q3 A2Q3 A3Q3 3: Q1 [Vote] Looking the HTML, it seems the questions, answer and displayed numbers don't share the same concept of array bases. One in using empty arrays name="questions[]", the other is 0-based name="answer[0][]" and of course the display is all 1 based. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From joe at ThrowingDice.com Tue Sep 25 00:55:59 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Tue, 25 Sep 2007 00:55:59 -0400 Subject: [geeklog-devel] Links plugin bugs In-Reply-To: <0JOW00AQEQ1MJH70@mta2.srv.hcvlny.cv.net> References: <46F0996C.6040109@spiesshofer.com> <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> <46F0B603.10200@spiesshofer.com> <0JOM00DCDBVUUCN0@mta1.srv.hcvlny.cv.net> <46F12B43.3000203@spiesshofer.com> <0JOM00MI0CMRAD51@mta5.srv.hcvlny.cv.net> <46F87468.1030500@spiesshofer.com> <0JOW00FJ4KZLCS51@mta2.srv.hcvlny.cv.net> <0JOW00AQEQ1MJH70@mta2.srv.hcvlny.cv.net> Message-ID: <0JOW007NCR3F8SE0@mta1.srv.hcvlny.cv.net> At 12:33 AM 9/25/2007, Joe Mucchiello wrote: >I just grabbed the nightly tarball and found the following bug on >the links category admin screen. The add child, That should be "The add child, topic and delete headings are empty" ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From oliver at spiesshofer.com Tue Sep 25 01:06:59 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Tue, 25 Sep 2007 13:06:59 +0800 Subject: [geeklog-devel] polls plugin In-Reply-To: <0JOW00610R126IG0@mta1.srv.hcvlny.cv.net> References: <46F0996C.6040109@spiesshofer.com> <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> <46F0B603.10200@spiesshofer.com> <0JOM00DCDBVUUCN0@mta1.srv.hcvlny.cv.net> <46F12B43.3000203@spiesshofer.com> <0JOM00MI0CMRAD51@mta5.srv.hcvlny.cv.net> <46F87468.1030500@spiesshofer.com> <0JOW00FJ4KZLCS51@mta2.srv.hcvlny.cv.net> <0JOW00AQEQ1MJH70@mta2.srv.hcvlny.cv.net> <0JOW00610R126IG0@mta1.srv.hcvlny.cv.net> Message-ID: <46F89773.2060407@spiesshofer.com> thanks was fixed already some time ago. Are you sure you have the current CVS and a fresh DB install? I do not know if the nightly CVS is really up to date. Oliver Joe Mucchiello wrote: > Same nightly CVS. The polls plugin is completely fubar'd. Just Edit > the default poll and you find Q1 in the Q1 tab but all the answer are > in the Q2 tab, and so on. Likewise if you create a poll with 3 > questions Q1, Q2, Q3 and create answers like A1Q1, A2Q1, A3Q1, A1Q2, > A2Q2, A3Q2, A1Q3, A2Q3, A3Q3 you get this output: > > > 1: Q2 > A1Q2 > A2Q2 > A3Q2 > 2: Q3 > A1Q3 > A2Q3 > A3Q3 > 3: Q1 > > [Vote] > > Looking the HTML, it seems the questions, answer and displayed numbers > don't share the same concept of array bases. One in using empty arrays > name="questions[]", the other is 0-based name="answer[0][]" and of > course the display is all 1 based. > > ---- > Joe Mucchiello > Throwing Dice Games > http://www.throwingdice.com > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > From oliver at spiesshofer.com Tue Sep 25 01:11:52 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Tue, 25 Sep 2007 13:11:52 +0800 Subject: [geeklog-devel] Links plugin bugs In-Reply-To: <0JOW007NCR3F8SE0@mta1.srv.hcvlny.cv.net> References: <46F0996C.6040109@spiesshofer.com> <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> <46F0B603.10200@spiesshofer.com> <0JOM00DCDBVUUCN0@mta1.srv.hcvlny.cv.net> <46F12B43.3000203@spiesshofer.com> <0JOM00MI0CMRAD51@mta5.srv.hcvlny.cv.net> <46F87468.1030500@spiesshofer.com> <0JOW00FJ4KZLCS51@mta2.srv.hcvlny.cv.net> <0JOW00AQEQ1MJH70@mta2.srv.hcvlny.cv.net> <0JOW007NCR3F8SE0@mta1.srv.hcvlny.cv.net> Message-ID: <46F89898.8060303@spiesshofer.com> You might see an issue that only english.php is on the current status but not english_utf-8.php Oliver Joe Mucchiello wrote: > At 12:33 AM 9/25/2007, Joe Mucchiello wrote: >> I just grabbed the nightly tarball and found the following bug on the >> links category admin screen. The add child, > > That should be "The add child, topic and delete headings are empty" > > > ---- > Joe Mucchiello > Throwing Dice Games > http://www.throwingdice.com > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > From joe at ThrowingDice.com Tue Sep 25 01:24:17 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Tue, 25 Sep 2007 01:24:17 -0400 Subject: [geeklog-devel] polls plugin In-Reply-To: <46F89773.2060407@spiesshofer.com> References: <46F0996C.6040109@spiesshofer.com> <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> <46F0B603.10200@spiesshofer.com> <0JOM00DCDBVUUCN0@mta1.srv.hcvlny.cv.net> <46F12B43.3000203@spiesshofer.com> <0JOM00MI0CMRAD51@mta5.srv.hcvlny.cv.net> <46F87468.1030500@spiesshofer.com> <0JOW00FJ4KZLCS51@mta2.srv.hcvlny.cv.net> <0JOW00AQEQ1MJH70@mta2.srv.hcvlny.cv.net> <0JOW00610R126IG0@mta1.srv.hcvlny.cv.net> <46F89773.2060407@spiesshofer.com> Message-ID: <0JOW00BDTSELZW11@mta4.srv.hcvlny.cv.net> The polls/functions.inc in the tarball is 5/27/07. But there are files in the tarball dated 9/24/07. For example, Dirk's checkin a couple days ago of english.php is in the tarball: 'user_login_method' => "User Login Method", So something must be wrong with whatever is making the tarball. At 01:06 AM 9/25/2007, Oliver Spiesshofer wrote: >thanks was fixed already some time ago. Are you sure you have the >current CVS and a fresh DB install? I do not know if the nightly CVS >is really up to date. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From oliver at spiesshofer.com Tue Sep 25 01:58:22 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Tue, 25 Sep 2007 13:58:22 +0800 Subject: [geeklog-devel] polls plugin In-Reply-To: <0JOW00BDTSELZW11@mta4.srv.hcvlny.cv.net> References: <46F0996C.6040109@spiesshofer.com> <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> <46F0B603.10200@spiesshofer.com> <0JOM00DCDBVUUCN0@mta1.srv.hcvlny.cv.net> <46F12B43.3000203@spiesshofer.com> <0JOM00MI0CMRAD51@mta5.srv.hcvlny.cv.net> <46F87468.1030500@spiesshofer.com> <0JOW00FJ4KZLCS51@mta2.srv.hcvlny.cv.net> <0JOW00AQEQ1MJH70@mta2.srv.hcvlny.cv.net> <0JOW00610R126IG0@mta1.srv.hcvlny.cv.net> <46F89773.2060407@spiesshofer.com> <0JOW00BDTSELZW11@mta4.srv.hcvlny.cv.net> Message-ID: <46F8A37E.9010707@spiesshofer.com> I would setup tortioseCVS if you are working in windows and simply download the current CVS instead of relying on the tarball. Oliver Joe Mucchiello wrote: > The polls/functions.inc in the tarball is 5/27/07. But there are files > in the tarball dated 9/24/07. For example, Dirk's checkin a couple > days ago of english.php is in the tarball: > 'user_login_method' => "User Login Method", > > So something must be wrong with whatever is making the tarball. > > At 01:06 AM 9/25/2007, Oliver Spiesshofer wrote: >> thanks was fixed already some time ago. Are you sure you have the >> current CVS and a fresh DB install? I do not know if the nightly CVS >> is really up to date. > > ---- > Joe Mucchiello > Throwing Dice Games > http://www.throwingdice.com > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > From dwight at trumbower.com Tue Sep 25 10:59:44 2007 From: dwight at trumbower.com (Dwight Trumbower) Date: Tue, 25 Sep 2007 09:59:44 -0500 Subject: [geeklog-devel] Project Site - Status Message-ID: <62564dee0709250759i404d0ce7n351f46d80a2e3af5@mail.gmail.com> Hello all, Currently I'm working on getting the project web site up and running. I volunteered and have been working on it the last week. The old project site was in Gforge. I'm converting the data to something a lot easier to administrate. I know there was concern when we left sourgeforge that some of the records were missed. The difference between this conversion and the sourgeforge conversion, I'm dealing directly with the database tables. With sourgeforge you had to deal with an XML file on what they wanted to give you. I'm hoping to have the conversion done by the end of this weekend, but I'M NOT PROMISING IT. I don't mind sysadmin work, just don't expect lighting speed from me. I live in the MS world, but prefer to play in the nix world. -- Have a Great Day! Dwight Trumbower Hockey Season starts this week too. :) -------------- next part -------------- An HTML attachment was scrubbed... URL: From tony at tonybibbs.com Tue Sep 25 11:37:55 2007 From: tony at tonybibbs.com (Tony Bibbs) Date: Tue, 25 Sep 2007 08:37:55 -0700 (PDT) Subject: [geeklog-devel] Project Site - Status Message-ID: <47405.1605.qm@web713.biz.mail.mud.yahoo.com> To that end (referring to your MS world comment), maybe DTS would be the easiest way to migrate the data. You've probably thought about that already. So did you decide to go with Trac? --Tony ----- Original Message ---- From: Dwight Trumbower To: Geeklog Development Sent: Tuesday, September 25, 2007 9:59:44 AM Subject: [geeklog-devel] Project Site - Status Hello all, Currently I'm working on getting the project web site up and running. I volunteered and have been working on it the last week. The old project site was in Gforge. I'm converting the data to something a lot easier to administrate. I know there was concern when we left sourgeforge that some of the records were missed. The difference between this conversion and the sourgeforge conversion, I'm dealing directly with the database tables. With sourgeforge you had to deal with an XML file on what they wanted to give you. I'm hoping to have the conversion done by the end of this weekend, but I'M NOT PROMISING IT. I don't mind sysadmin work, just don't expect lighting speed from me. I live in the MS world, but prefer to play in the nix world. -- Have a Great Day! Dwight Trumbower Hockey Season starts this week too. :) -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe at ThrowingDice.com Tue Sep 25 19:30:42 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Tue, 25 Sep 2007 19:30:42 -0400 Subject: [geeklog-devel] Anonymous CVS access In-Reply-To: <46F8A37E.9010707@spiesshofer.com> References: <46F0996C.6040109@spiesshofer.com> <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> <46F0B603.10200@spiesshofer.com> <0JOM00DCDBVUUCN0@mta1.srv.hcvlny.cv.net> <46F12B43.3000203@spiesshofer.com> <0JOM00MI0CMRAD51@mta5.srv.hcvlny.cv.net> <46F87468.1030500@spiesshofer.com> <0JOW00FJ4KZLCS51@mta2.srv.hcvlny.cv.net> <0JOW00AQEQ1MJH70@mta2.srv.hcvlny.cv.net> <0JOW00610R126IG0@mta1.srv.hcvlny.cv.net> <46F89773.2060407@spiesshofer.com> <0JOW00BDTSELZW11@mta4.srv.hcvlny.cv.net> <46F8A37E.9010707@spiesshofer.com> Message-ID: <0JOY00L7R6PBTRQ0@mta3.srv.hcvlny.cv.net> At 01:58 AM 9/25/2007, Oliver Spiesshofer wrote: >I would setup tortioseCVS if you are working in windows and simply >download the current CVS instead of relying on the tarball. Okay, now CVS won't work for me: $ cvs -d:ext:anonymous at cvs.geeklog.net:/cvsroot/geeklog co Geeklog-1.x cvs checkout: warning: unrecognized response `'ssh' is not recognized as an internal or external command,' from cvs server cvs checkout: warning: unrecognized response `operable program or batch file.' from cvs server cvs [checkout aborted]: end of file from server (consult above messages if any) When I user pserver to sourceforge, it works correctly so I don't think it's on my end. But who knows. $ cvs -d:pserver:anonymous at cvsgui.cvs.sourceforge.net:/cvsroot/cvsgui login Logging in to :pserver:anonymous at cvsgui.cvs.sourceforge.net:2401:/cvsroot/cvsgui CVS password: cvs [login aborted]: received interrupt signal But of course, that doesn't help with the geeklog.net site: $ cvs -d:pserver:anonymous at cvs.geeklog.net:/cvsroot/geeklog login Logging in to :pserver:anonymous at cvs.geeklog.net:2401:/cvsroot/geeklog CVS password: ******* cvs [login aborted]: /cvsroot/geeklog: no such repository Any thoughts? The CVS isn't very helpful and the forum post mentioned on the CVS static page has paths that don't match the paths above. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From dirk at haun-online.de Wed Sep 26 01:57:07 2007 From: dirk at haun-online.de (Dirk Haun) Date: Wed, 26 Sep 2007 07:57:07 +0200 Subject: [geeklog-devel] Anonymous CVS access In-Reply-To: <0JOY00L7R6PBTRQ0@mta3.srv.hcvlny.cv.net> References: <46F0996C.6040109@spiesshofer.com> <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> <46F0B603.10200@spiesshofer.com> <0JOM00DCDBVUUCN0@mta1.srv.hcvlny.cv.net> <46F12B43.3000203@spiesshofer.com> <0JOM00MI0CMRAD51@mta5.srv.hcvlny.cv.net> <46F87468.1030500@spiesshofer.com> <0JOW00FJ4KZLCS51@mta2.srv.hcvlny.cv.net> <0JOW00AQEQ1MJH70@mta2.srv.hcvlny.cv.net> <0JOW00610R126IG0@mta1.srv.hcvlny.cv.net> <46F89773.2060407@spiesshofer.com> <0JOW00BDTSELZW11@mta4.srv.hcvlny.cv.net> <46F8A37E.9010707@spiesshofer.com> <0JOY00L7R6PBTRQ0@mta3.srv.hcvlny.cv.net> Message-ID: <20070926055707.2007463476@smtp.haun-online.de> Joe Mucchiello wrote: >Okay, now CVS won't work for me: Do you have CVS_RSH=ssh in your environment? bye, Dirk -- http://www.haun-online.de/ http://geeklog.info/ From joe at ThrowingDice.com Wed Sep 26 02:30:46 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Wed, 26 Sep 2007 02:30:46 -0400 Subject: [geeklog-devel] Anonymous CVS access In-Reply-To: <20070926055707.2007463476@smtp.haun-online.de> References: <46F0996C.6040109@spiesshofer.com> <0JOL009I9OROJV31@mta4.srv.hcvlny.cv.net> <46F0B603.10200@spiesshofer.com> <0JOM00DCDBVUUCN0@mta1.srv.hcvlny.cv.net> <46F12B43.3000203@spiesshofer.com> <0JOM00MI0CMRAD51@mta5.srv.hcvlny.cv.net> <46F87468.1030500@spiesshofer.com> <0JOW00FJ4KZLCS51@mta2.srv.hcvlny.cv.net> <0JOW00AQEQ1MJH70@mta2.srv.hcvlny.cv.net> <0JOW00610R126IG0@mta1.srv.hcvlny.cv.net> <46F89773.2060407@spiesshofer.com> <0JOW00BDTSELZW11@mta4.srv.hcvlny.cv.net> <46F8A37E.9010707@spiesshofer.com> <0JOY00L7R6PBTRQ0@mta3.srv.hcvlny.cv.net> <20070926055707.2007463476@smtp.haun-online.de> Message-ID: <0JOY00MKAQ5G8PZ0@mta3.srv.hcvlny.cv.net> As I don't use CVS style archives normally, it didn't dawn on me that ext: means an external ssh program. As I'm on windows, I don't really have an external ssh. So changing that to ssh: solved my problem. Perhaps the CVS page might mention that for CVS noobs like myself. And this links/functions.inc is from sept 11. Much better. Joe At 01:57 AM 9/26/2007, Dirk Haun wrote: >Joe Mucchiello wrote: > > >Okay, now CVS won't work for me: > >Do you have > >CVS_RSH=ssh > >in your environment? > >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 ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From oliver at spiesshofer.com Wed Sep 26 06:27:25 2007 From: oliver at spiesshofer.com (Oliver Spiesshofer) Date: Wed, 26 Sep 2007 18:27:25 +0800 Subject: [geeklog-devel] Geeklog Document structure Message-ID: <46FA340D.2030200@spiesshofer.com> Hi all, I sometimes come across the necessity to store a variety of documents in HTML such as manuals, specification docs, regulations, etc. Then I realize, that there is no really professional way to do this in Geeklog. The static pages store the right kind of document, but lack a way to group items together in a tree-hierarchy, and to automatically create a menu for that that can be comfortably browsed to find things in a larger amount of documents. So what to do? I thought that the easiest thing might be to add such a tree-directory function to the static pages just as we did now for the links in CVS. However I also thought that we are duplicating efforts here, we have the topics for the stories, the categories for the links, and if we start those for the static pages as well its all terribly decentralized. Tags wont do the trick because they do not offer a good way to navigate, rather a good help for searching. So a centralized hierarchical topic-plugin might do the trick. A central function that provides a tree-structure and a menu in a block, and a good admin-interface that allows to add static pages, links, events and static pages to it - basically a subtopic feature where what belongs to a topic is managed by the plugin instead of the story/links/elements added, and display those in short lists instead of spreading them all over the page so things can be found by clicking through the tree. Then however, it might be better to try to enable hierarchical topics right away. we would have to store a parent-topic-id for each topic, revamp the topicblock to display the hierarchy and allow all elements such as events to show only in certain topics, and find out a way how to easier list items that are only now available but not before like the short lists mentioned above. I once thought to convert my multilanguage-faq into a general document storage, but thought the static pages are doing a fine job while they only lack structure. now i was wondering if you had any ideas what to do best. thanks! Oliver From joe at ThrowingDice.com Wed Sep 26 13:58:04 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Wed, 26 Sep 2007 13:58:04 -0400 Subject: [geeklog-devel] Geeklog Document structure In-Reply-To: <46FA340D.2030200@spiesshofer.com> References: <46FA340D.2030200@spiesshofer.com> Message-ID: <0JOZ007AELZ0MGH0@mta1.srv.hcvlny.cv.net> At 06:27 AM 9/26/2007, Oliver Spiesshofer wrote: >So a centralized hierarchical topic-plugin might do the trick. A >central function that provides a tree-structure and a menu in a >block, and a good admin-interface that allows to add static pages, >links, events and static pages to it - basically a subtopic feature >where what belongs to a topic is managed by the plugin instead of >the story/links/elements added, and display those in short lists >instead of spreading them all over the page so things can be found >by clicking through the tree. I'd love to see this. In fact, I'll do it as part of the calendar bounty if you like. As a full categories plugin, it requirements are a bit more extensive than just provide categories like the links plugin or topics: * Manage multiple independent hierarchical categories. * Objects can be in multiple categories in the same hierarchy. * Objects can be categorized in multiple hierarchies. * A category contains a unique (within a branch) name, an optional long description and full GL permissions. Support for extended data should be provided. Topic icons should be supported but not required. * Support "uncategorized" conditions (in conjunction with the next item) * Concepts like "default" and "archive" could be managed by the category manager, on a per object basis. * Support topic titles in multiple languages as well as categories restricted by language. (Language is one of the reasons an object can be in multiple hierarchies.) * Full extension API with callbacks for * Attaching an object type to a hierarchy * Notice when categories in linked hierarchies are added, deleted, moved or changed * Ability to create, modify, destroy hierarchies/categories and category/object relationships from code * Managed block menus for each hierarchy either as a whole or per object (the phpblock parameter checkin earlier this year will make this easier) * "Directory" pages where the category plugin manages lists/trees of objects * Updated advanced search options. (Probably a secondary project taken on when/if topics are replaced by this plugin) * SQL-based "flat hierarchies" for system generated categories: like users in group X, or stories alphabetically by title (A version 2 requirement, no doubt) I have the handling of ad hoc objects somehwat well object-ized in my almost released Tags plugin. So porting it to a category plugin would be easy. I already need to write a category object for the calendar bounty. If it could help all of GL, so much the better. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From garymoncrieff at googlemail.com Wed Sep 26 14:06:42 2007 From: garymoncrieff at googlemail.com (Gary Moncrieff) Date: Wed, 26 Sep 2007 19:06:42 +0100 Subject: [geeklog-devel] Geeklog Document structure In-Reply-To: <0JOZ007AELZ0MGH0@mta1.srv.hcvlny.cv.net> References: <46FA340D.2030200@spiesshofer.com> <0JOZ007AELZ0MGH0@mta1.srv.hcvlny.cv.net> Message-ID: Joe, please do this I very much have a use for it at the moment, I'm setting up Geeklog as a repository for our course materials (sick of emailing stuff to students basically) and a hierarchical topic section would be perfect for help notes etc Regards Dazzy On 26/09/2007, Joe Mucchiello wrote: > > At 06:27 AM 9/26/2007, Oliver Spiesshofer wrote: > >So a centralized hierarchical topic-plugin might do the trick. A > >central function that provides a tree-structure and a menu in a > >block, and a good admin-interface that allows to add static pages, > >links, events and static pages to it - basically a subtopic feature > >where what belongs to a topic is managed by the plugin instead of > >the story/links/elements added, and display those in short lists > >instead of spreading them all over the page so things can be found > >by clicking through the tree. > > I'd love to see this. In fact, I'll do it as part of the calendar > bounty if you like. > > As a full categories plugin, it requirements are a bit more extensive > than just provide categories like the links plugin or topics: > > * Manage multiple independent hierarchical categories. > * Objects can be in multiple categories in the same hierarchy. > * Objects can be categorized in multiple hierarchies. > * A category contains a unique (within a branch) name, an optional > long description and full GL permissions. Support for extended data > should be provided. Topic icons should be supported but not required. > * Support "uncategorized" conditions (in conjunction with the next item) > * Concepts like "default" and "archive" could be managed by the > category manager, on a per object basis. > * Support topic titles in multiple languages as well as categories > restricted by language. (Language is one of the reasons an object can > be in multiple hierarchies.) > * Full extension API with callbacks for > * Attaching an object type to a hierarchy > * Notice when categories in linked hierarchies are added, > deleted, moved or changed > * Ability to create, modify, destroy hierarchies/categories and > category/object relationships from code > * Managed block menus for each hierarchy either as a whole or per > object (the phpblock parameter checkin earlier this year will make this > easier) > * "Directory" pages where the category plugin manages lists/trees of > objects > * Updated advanced search options. (Probably a secondary project > taken on when/if topics are replaced by this plugin) > * SQL-based "flat hierarchies" for system generated categories: like > users in group X, or stories alphabetically by title (A version 2 > requirement, no doubt) > > I have the handling of ad hoc objects somehwat well object-ized in my > almost released Tags plugin. So porting it to a category plugin would > be easy. I already need to write a category object for the calendar > bounty. If it could help all of GL, so much the better. > > ---- > Joe Mucchiello > Throwing Dice Games > http://www.throwingdice.com > > _______________________________________________ > 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 dwight at trumbower.com Wed Sep 26 14:54:11 2007 From: dwight at trumbower.com (Dwight Trumbower) Date: Wed, 26 Sep 2007 13:54:11 -0500 Subject: [geeklog-devel] Project Site - Status In-Reply-To: <47405.1605.qm@web713.biz.mail.mud.yahoo.com> References: <47405.1605.qm@web713.biz.mail.mud.yahoo.com> Message-ID: <62564dee0709261154s13b6b5f2p37190766c13f65b2@mail.gmail.com> I'm going to convert it to Mantis. On 9/25/07, Tony Bibbs wrote: > > To that end (referring to your MS world comment), maybe DTS would be the > easiest way to migrate the data. You've probably thought about that > already. So did you decide to go with Trac? > > --Tony > > ----- Original Message ---- > From: Dwight Trumbower > To: Geeklog Development > Sent: Tuesday, September 25, 2007 9:59:44 AM > Subject: [geeklog-devel] Project Site - Status > > Hello all, > > Currently I'm working on getting the project web site up and running. I > volunteered and have been working on it the last week. The old project site > was in Gforge. I'm converting the data to something a lot easier to > administrate. > > I know there was concern when we left sourgeforge that some of the records > were missed. The difference between this conversion and the sourgeforge > conversion, I'm dealing directly with the database tables. With sourgeforge > you had to deal with an XML file on what they wanted to give you. > > I'm hoping to have the conversion done by the end of this weekend, but I'M > NOT PROMISING IT. > > I don't mind sysadmin work, just don't expect lighting speed from me. I > live in the MS world, but prefer to play in the nix world. > > -- > Have a Great Day! > > Dwight Trumbower > > Hockey Season starts this week too. :) > > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel > > -- Have a Great Day! Dwight Trumbower -------------- next part -------------- An HTML attachment was scrubbed... URL: From WebSiteMaster at cogeco.net Wed Sep 26 14:35:51 2007 From: WebSiteMaster at cogeco.net (Web Site Master) Date: Wed, 26 Sep 2007 14:35:51 -0400 Subject: [geeklog-devel] Geeklog Document structure In-Reply-To: <0JOZ007AELZ0MGH0@mta1.srv.hcvlny.cv.net> References: <46FA340D.2030200@spiesshofer.com> <0JOZ007AELZ0MGH0@mta1.srv.hcvlny.cv.net> Message-ID: This definitely should take over all tree structures in GL like Topics, Links, etc. It's something that has been missing for a while. I would also suggest a sort order would also be needed for each category since alphabetically isn't always wanted (user defined). How do you get around linking to objects without hard coding for them? A few more API plugin functions are needed in general that allow for returning, what linkable objects a plugin has and a link to a object if an ID is given. -----Original Message----- From: geeklog-devel-bounces at lists.geeklog.net [mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of Joe Mucchiello Sent: September-26-07 1:58 PM To: Geeklog Development Subject: Re: [geeklog-devel] Geeklog Document structure At 06:27 AM 9/26/2007, Oliver Spiesshofer wrote: >So a centralized hierarchical topic-plugin might do the trick. A >central function that provides a tree-structure and a menu in a >block, and a good admin-interface that allows to add static pages, >links, events and static pages to it - basically a subtopic feature >where what belongs to a topic is managed by the plugin instead of >the story/links/elements added, and display those in short lists >instead of spreading them all over the page so things can be found >by clicking through the tree. I'd love to see this. In fact, I'll do it as part of the calendar bounty if you like. As a full categories plugin, it requirements are a bit more extensive than just provide categories like the links plugin or topics: * Manage multiple independent hierarchical categories. * Objects can be in multiple categories in the same hierarchy. * Objects can be categorized in multiple hierarchies. * A category contains a unique (within a branch) name, an optional long description and full GL permissions. Support for extended data should be provided. Topic icons should be supported but not required. * Support "uncategorized" conditions (in conjunction with the next item) * Concepts like "default" and "archive" could be managed by the category manager, on a per object basis. * Support topic titles in multiple languages as well as categories restricted by language. (Language is one of the reasons an object can be in multiple hierarchies.) * Full extension API with callbacks for * Attaching an object type to a hierarchy * Notice when categories in linked hierarchies are added, deleted, moved or changed * Ability to create, modify, destroy hierarchies/categories and category/object relationships from code * Managed block menus for each hierarchy either as a whole or per object (the phpblock parameter checkin earlier this year will make this easier) * "Directory" pages where the category plugin manages lists/trees of objects * Updated advanced search options. (Probably a secondary project taken on when/if topics are replaced by this plugin) * SQL-based "flat hierarchies" for system generated categories: like users in group X, or stories alphabetically by title (A version 2 requirement, no doubt) I have the handling of ad hoc objects somehwat well object-ized in my almost released Tags plugin. So porting it to a category plugin would be easy. I already need to write a category object for the calendar bounty. If it could help all of GL, so much the better. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com _______________________________________________ geeklog-devel mailing list geeklog-devel at lists.geeklog.net http://eight.pairlist.net/mailman/listinfo/geeklog-devel __________ NOD32 2550 (20070925) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com From joe at ThrowingDice.com Wed Sep 26 15:44:53 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Wed, 26 Sep 2007 15:44:53 -0400 Subject: [geeklog-devel] Multi-Hierarchy Category Maintainance Plugin Idea (was Re: Geeklog Document structure) In-Reply-To: References: <46FA340D.2030200@spiesshofer.com> <0JOZ007AELZ0MGH0@mta1.srv.hcvlny.cv.net> Message-ID: <0JOZ00DBYQX1VUF1@mta5.srv.hcvlny.cv.net> Thinking further, as a plugin, this really doesn't need core support. If you turn off the standard topics menu, you can plugin your own categorization menu. The trick is creating a fake "article" plugin to handle categorization of stories. I'm going to write the calendar category code as a separate plugin (initially supporting one hierarchy, obviously) and then I can expand it into something like static pages later. Once it's running perhaps they'll think about pulling it into core and using it for stories/topics and the links plugin at a later date. Daz, I'll post something to calendar dev site to see if anyone there is opposed to hierarchical event categories. I left out a couple features: * Option to create tables specific to each object (or certain objects) for speed considerations. * Option to add field to the object's table when only one hierarchy is attached to it. (Again, for speed considerations) Joe At 02:06 PM 9/26/2007, Gary Moncrieff wrote: >Joe, please do this I very much have a use for it at the moment, I'm >setting up Geeklog as a repository for our course materials (sick of >emailing stuff to students basically) and a hierarchical topic >section would be perfect for help notes etc > >Regards > >Dazzy ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From joe at ThrowingDice.com Wed Sep 26 15:49:24 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Wed, 26 Sep 2007 15:49:24 -0400 Subject: [geeklog-devel] Multi-Hierarchy Category Maintainance Plugin Idea (was Re: Geeklog Document structure) In-Reply-To: References: <46FA340D.2030200@spiesshofer.com> <0JOZ007AELZ0MGH0@mta1.srv.hcvlny.cv.net> Message-ID: <0JOZ00D6SR4KKSD0@mta1.srv.hcvlny.cv.net> At 02:35 PM 9/26/2007, Web Site Master wrote: >How do you get around linking to objects without hard coding for them? A >few more API plugin functions are needed in general that allow for >returning, what linkable objects a plugin has and a link to a object if an >ID is given. Callback functions are wonderful things. You create a stub function that call STORY_render_article or SP_render_content for you. The real trick is getting around system staples like COM_getTopicSql() One thing that would make this easier would be if stories were moved to an article plugin. There is so much code in core that says "if (this is a story) { do story stuff; } else { call plugin_api; }". All those ifs disappear with a story or article plugin. ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From info at heatherengineering.com Wed Sep 26 21:56:32 2007 From: info at heatherengineering.com (Heather Engineering) Date: Thu, 27 Sep 2007 10:56:32 +0900 Subject: [geeklog-devel] Multi-Hierarchy Category Maintainance Plugin Idea (was Re: Geeklog Document structure) In-Reply-To: <0JOZ00DBYQX1VUF1@mta5.srv.hcvlny.cv.net> References: <46FA340D.2030200@spiesshofer.com> <0JOZ007AELZ0MGH0@mta1.srv.hcvlny.cv.net> <0JOZ00DBYQX1VUF1@mta5.srv.hcvlny.cv.net> Message-ID: I suggested this kind of thing late last year as "gNode" to Tom (WebSiteMaster), and actually started on it, but this code is too outdated and not working right now. Also, I have another plugin for a (hopefully) large project with a major archive (name is off-record pending approval) that I'm hoping to get going soonish, called "Documents", which is a hierarchical manager for academic primary documents. To get to the point, if anyone wants a tarball, it's still a bit of a mess as I'm juggling too many things at the moment, but the basic hierarchical stuff from "Documents" might be of use to someone. Contact me with your email for a tarball. It's my first OO plugin, so don't laugh at the (surely many) obvious mistakes. :-) There is a base "Node" class, which is extended by different types for each level of the tree. Alternatively, the stuff from Links should also be a useful starting point. And you're welcome to the "gNode" name if anyone wants it. (I went through a dromedarian phase.) Even more off topic than usual: if there are developers interested in co-operating on the development of Documents, please let me know. In particular, I have been told by a professional DB researcher that I should be using XML for the DB, as records will easily enter the millions of entries and much data is optional/irregular at each level, so if there is anyone experienced in XML databases interested in this, please let me know. It is a major archive so could turn into an interesting project if I can organise financing or hardware/ bandwidth sponsorship. Cheers, Euan. On 2007/09/27, at 4:44, Joe Mucchiello wrote: > Thinking further, as a plugin, this really doesn't need core > support. If you turn off the standard topics menu, you can plugin > your own categorization menu. The trick is creating a fake > "article" plugin to handle categorization of stories. I'm going to > write the calendar category code as a separate plugin (initially > supporting one hierarchy, obviously) and then I can expand it into > something like static pages later. Once it's running perhaps > they'll think about pulling it into core and using it for stories/ > topics and the links plugin at a later date. > > Daz, I'll post something to calendar dev site to see if anyone > there is opposed to hierarchical event categories. > > I left out a couple features: > * Option to create tables specific to each object (or certain > objects) for speed considerations. > * Option to add field to the object's table when only one hierarchy > is attached to it. (Again, for speed considerations) > > Joe > > At 02:06 PM 9/26/2007, Gary Moncrieff wrote: >> Joe, please do this I very much have a use for it at the moment, >> I'm setting up Geeklog as a repository for our course materials >> (sick of emailing stuff to students basically) and a hierarchical >> topic section would be perfect for help notes etc >> >> Regards >> >> Dazzy > > ---- > Joe Mucchiello > Throwing Dice Games > http://www.throwingdice.com > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://eight.pairlist.net/mailman/listinfo/geeklog-devel From dirk at haun-online.de Thu Sep 27 16:00:00 2007 From: dirk at haun-online.de (Dirk Haun) Date: Thu, 27 Sep 2007 22:00:00 +0200 Subject: [geeklog-devel] Project Site - Status In-Reply-To: <62564dee0709261154s13b6b5f2p37190766c13f65b2@mail.gmail.com> References: <47405.1605.qm@web713.biz.mail.mud.yahoo.com> <62564dee0709261154s13b6b5f2p37190766c13f65b2@mail.gmail.com> Message-ID: <20070927200000.549490377@smtp.haun-online.de> (gah, this was supposed to go to the list) Dwight Trumbower wrote: >I'm going to convert it to Mantis. Btw, Mantis supports sponsoring of bugs[1]. An option to vote for bugs is under development[2] - for six years now ... bye, Dirk [1] [2] -- http://www.geeklog.net/ http://geeklog.info/ From joe at ThrowingDice.com Sun Sep 30 09:52:34 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Sun, 30 Sep 2007 09:52:34 -0400 Subject: [geeklog-devel] [geeklog-cvs] Geeklog-1.x/system/classes story.class.php, 1.14, 1.15 In-Reply-To: <20070930133211.1CAFA10FE15@qs1489.pair.com> References: <20070930133211.1CAFA10FE15@qs1489.pair.com> Message-ID: <0JP6001UEPA6OPF0@mta3.srv.hcvlny.cv.net> At 09:32 AM 9/30/2007, Dirk Haun wrote: >*** 1451,1455 **** > { > global $_CONF; >! require_once($_CONF['path_system'] . 'lib-security.php'); > return SEC_hasAccess($this->_owner_id, $this->_group_id, > $this->_perm_owner, $this->_perm_group, > $this->_perm_members, $this->_perm_anon); >--- 1446,1452 ---- > { > global $_CONF; >! >! require_once $_CONF['path_system'] . 'lib-security.php'; >! > return SEC_hasAccess($this->_owner_id, $this->_group_id, > $this->_perm_owner, $this->_perm_group, > $this->_perm_members, $this->_perm_anon); >*************** Wouldn't the better modification be to remove the require_once entirely? lib-security.php is included by lib-common.php. It comes directly after lib-database.php ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com From dirk at haun-online.de Sun Sep 30 12:12:33 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sun, 30 Sep 2007 18:12:33 +0200 Subject: [geeklog-devel] [geeklog-cvs] Geeklog-1.x/system/classes story.class.php, 1.15, 1.16 In-Reply-To: <20070930155943.EE57E10FE14@qs1489.pair.com> References: <20070930155943.EE57E10FE14@qs1489.pair.com> Message-ID: <20070930161233.150107735@smtp.haun-online.de> Dirk Haun wrote: >Modified Files: > story.class.php >Log Message: >Handle app:draft <-> draft_flag translation in lib-webservices; minor >hack to handle checkbox-values when using the webservices API (..) >! } elseif (($array[$key] === 'on') || ($array[$key] === 1)) { > // If it's a checkbox that is on > $this->{$varname} = 1; Okay, so it's not pretty but both the form-based submits and the webservices calls go through loadFromArgsArray() and _loadBasics() and at that level, it's impossible to tell where it came from and whether to expect 'on' (from a checkbox in a form) or 1 (from the webservices call). The translation from 'on' to 1 (and back) should probably be handled somewhere else entirely, but for the moment I'm just happy that appfs finally lists draft stories in its "drafts" directory. If this is in conflict with someone's sense of aesthetics, feel free to change it (but make sure you test it with an Atompub client) ... bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From dirk at haun-online.de Sun Sep 30 12:23:23 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sun, 30 Sep 2007 18:23:23 +0200 Subject: [geeklog-devel] [geeklog-cvs] Geeklog-1.x/system/classes story.class.php, 1.14, 1.15 In-Reply-To: <0JP6001UEPA6OPF0@mta3.srv.hcvlny.cv.net> References: <20070930133211.1CAFA10FE15@qs1489.pair.com> <0JP6001UEPA6OPF0@mta3.srv.hcvlny.cv.net> Message-ID: <20070930162323.805563928@smtp.haun-online.de> Joe Mucchiello wrote: >Wouldn't the better modification be to remove the require_once >entirely? lib-security.php is included by lib-common.php. It comes >directly after lib-database.php I didn't check why the require_once was there - I was just trying to make the code more readable ... But yeah, I don't see why it should be needed there. bye, Dirk -- http://www.haun-online.de/ http://spam.tinyweb.net/ From dirk at haun-online.de Sun Sep 30 12:51:15 2007 From: dirk at haun-online.de (Dirk Haun) Date: Sun, 30 Sep 2007 18:51:15 +0200 Subject: [geeklog-devel] Configuration GUI on PHP 4? Message-ID: <20070930165115.344259363@smtp.haun-online.de> Can anyone confirm that the configuration GUI works on PHP 4? Whenever I try to make a change via admin/configuration.php (anything), I get a Warning: Invalid argument supplied for foreach() in .../system/classes/ config.class.php on line 504 and the change is not saved. Works fine on my other box with PHP 5. These are fresh installs from CVS from this morning. bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/ From blanks at mit.edu Sun Sep 30 17:00:24 2007 From: blanks at mit.edu (Aaron Blankstein) Date: Sun, 30 Sep 2007 17:00:24 -0400 Subject: [geeklog-devel] Configuration GUI on PHP 4? In-Reply-To: <20070930165115.344259363@smtp.haun-online.de> References: <20070930165115.344259363@smtp.haun-online.de> Message-ID: <2a1a3bb50709301400p2f96fccraacadf6e8303f7f1@mail.gmail.com> I'll look into it sometime this week - the last time I tested it on PHP 4 was a while back -- aaron On 9/30/07, Dirk Haun wrote: > > Can anyone confirm that the configuration GUI works on PHP 4? > > Whenever I try to make a change via admin/configuration.php (anything), > I get a > > Warning: Invalid argument supplied for foreach() in .../system/classes/ > config.class.php on line 504 > > and the change is not saved. Works fine on my other box with PHP 5. > These are fresh installs from CVS from this morning. > > 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 joe at ThrowingDice.com Sun Sep 30 19:47:29 2007 From: joe at ThrowingDice.com (Joe Mucchiello) Date: Sun, 30 Sep 2007 19:47:29 -0400 Subject: [geeklog-devel] Configuration GUI on PHP 4? In-Reply-To: <20070930165115.344259363@smtp.haun-online.de> References: <20070930165115.344259363@smtp.haun-online.de> Message-ID: <0JP7004WNGTQ8V30@mta5.srv.hcvlny.cv.net> I thought 1.5 was going to be the break off point of PHP4 support. It seems like its release will be close to the end-of-life date of PHP4. Or are you planning for it to be the last Geeklog compatible with PHP4? Either method works. I just assumed when 1.4.2 became 1.5, it would also drop PHP4 support. I may have just read something into that. At 12:51 PM 9/30/2007, Dirk Haun wrote: >Can anyone confirm that the configuration GUI works on PHP 4? ---- Joe Mucchiello Throwing Dice Games http://www.throwingdice.com