From geeklog-modules-admin at lists.geeklog.net Sat Jun 7 21:51:22 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Sat, 7 Jun 2003 21:51:22 -0400 Subject: [geeklog-modules] PLG_showCenterBlock Message-ID: <000a01c32d60$76956b40$9a0a10ac@xpbl1> Dirk, I had a few questions upon reviewing the new PLG_showCenterBlock API. Looking at the function in lib-plugins: I see you are calling the function more then once. You are setting a flag so that you only build the array $PLG_bufferCenterAPI with the names of the plugin centerblock functions once. It appears that all plugins (centerblock functions) will need to trap for $where, $page and $topic and only return a formatted block once so that it will not appear more then once. If $where is 0 then that can optionally replace the entire page. The idea appears that we may only want the centerblock to appear on 1 page or in 1 topic and that they are optional. Thanks, Blaine -------------- next part -------------- An HTML attachment was scrubbed... URL: From geeklog-modules-admin at lists.geeklog.net Sat Jun 7 23:59:09 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Sat, 7 Jun 2003 23:59:09 -0400 Subject: [geeklog-modules] New Plugin API's for UserSettings Message-ID: <000c01c32d72$507c9750$9a0a10ac@xpbl1> Dirk, These new API's are certainly what we needed to integrate the plugins and blocks better. I've been working on the Messenger Plugin and added the functions to add the user option to control email notifications. There are two sets of functions as I can see - PLG_profileVariablesEdit => to just add a new fields - PLG_profileBlocksEdit => to add a new block Both of these styles are called when editing User->Account Information With VariablesEdit, we would need to modify the stock template files to add our new field HTML With BlocksEdit, we would specify our own template files and shows up as a new block There is also a equivelent Display routines when the user profile is viewed by another user. In this case, I may not want to add the function as another user does not need to see my default notification setting. I could add the logic to only show this setting if it was my profile or user was root - maybe I will do that. Wanted to just confirm your intent and my understanding was correct. We will need to revisit the Developers Handbook as there are quite a few changes ;) -------------- next part -------------- An HTML attachment was scrubbed... URL: From geeklog-modules-admin at lists.geeklog.net Sun Jun 8 05:03:43 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Sun, 8 Jun 2003 11:03:43 +0200 Subject: [geeklog-modules] PLG_showCenterBlock In-Reply-To: <000a01c32d60$76956b40$9a0a10ac@xpbl1> References: <000a01c32d60$76956b40$9a0a10ac@xpbl1> Message-ID: <20030608090343.23068@smtp.haun-online.de> Blaine wrote: >You are setting a flag so that you only build >the array $PLG_bufferCenterAPI with the names of the plugin centerblock >functions once. Yes, to minimize the number of SQL requests. Since the function is called 4 times and the plugin configuration isn't likely to change during that time, it doesn't make sense to do 4 SQL requests ... >It appears that all plugins (centerblock functions) will need to trap >for $where, $page and $topic and only return a formatted block once so >that it will not appear more then once. If $where is 0 then that can >optionally replace the entire page. Yep. >The idea appears that we may only want the centerblock to appear on 1 >page or in 1 topic and that they are optional. You could also return different blocks. For example, with the Static Pages plugin 1.3 you could now set up one block to be displayed at the top of the page and another at the bottom. bye, Dirk -- http://www.haun-online.de/ http://www.macosx-faq.de/ From geeklog-modules-admin at lists.geeklog.net Sun Jun 8 05:03:45 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Sun, 8 Jun 2003 11:03:45 +0200 Subject: [geeklog-modules] New Plugin API's for UserSettings In-Reply-To: <000c01c32d72$507c9750$9a0a10ac@xpbl1> References: <000c01c32d72$507c9750$9a0a10ac@xpbl1> Message-ID: <20030608090345.15258@smtp.haun-online.de> Blaine wrote, >Wanted to just confirm your intent and my understanding was correct. You got it :-) >We will need to revisit the Developers Handbook as there are quite a few >changes ;) I'd also suggest that any variables that plugins add to the stock templates (via the VariablesEdit/Display functions) start with the plugin's name to avoid name collisions (e.g. {forum_number_of_posts}). bye, Dirk -- http://www.haun-online.de/ http://www.haun.info/ From geeklog-modules-admin at lists.geeklog.net Sun Jun 15 21:49:52 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Sun, 15 Jun 2003 21:49:52 -0400 Subject: [geeklog-modules] geeklog hack tutorial? Message-ID: <000201c333a9$94388ed0$0501a8c0@holyland2001.com> Hey all, I am a relatively experienced geeklog user. I know PHP reasonably well and am very comfortable operating Linux in general. Now, I love Geeklog - its slick, fast, attractive and adaptable. But, it doesn't have any e-commerce plugins or hacks (that I can find). The other alternative is to use OSCommerce which has all the e-commerce tools that anyone could want, and more. But, it ugly as heck and hard to design themes for. Plus, its e-commerce overkill for my needs. I also need a billing solution and a support ticket solution. Now, having been frustrated for months not being able to keep Geeklog AND get my e-commerce hacks/ plugins I am forced to try my hand at weaving one or more of these applications together. I have already started (typical techie fashion) to outline the variables that will need to be replaced in the billing application (which is what I will start with) and what variables I will need to add to this from Geeklog - Things like lib-common,php, $uid, etc. Now, I know that with time I will get this working (im very stubborn and have no other viable option that suits my needs right now), but I was wondering if any of the developers or other plugins/hack writers have put together a 'guide' or how-to that might shorten my work load by listing the major components of geeklog and their function so that I can clearly map out my 'game plan'? Any suggestions along these lines are welcome! Luke -------------- next part -------------- An HTML attachment was scrubbed... URL: From geeklog-modules-admin at lists.geeklog.net Sun Jun 15 22:58:53 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Sun, 15 Jun 2003 22:58:53 -0400 Subject: [geeklog-modules] geeklog hack tutorial? References: <000201c333a9$94388ed0$0501a8c0@holyland2001.com> Message-ID: <007901c333b3$38447940$9a0a10ac@xpbl1> MessageLuke, Have you checked out the plugin developers guide. It's referenced on the main geeklog.net site - upper left block. What level of integration are you trying to achieve? - integrated user and security authentication between products: Check out the 4images integration - integrated look, wrapping geeklog around the OSCommerce app - Full plugin level integration (user, security, menu, header/footer, search install/de-install etc ...) Blaine ----- Original Message ----- From: geeklog-modules-admin at lists.geeklog.net To: geeklog-modules at lists.geeklog.net Sent: Sunday, June 15, 2003 9:49 PM Subject: [geeklog-modules] geeklog hack tutorial? Hey all, I am a relatively experienced geeklog user. I know PHP reasonably well and am very comfortable operating Linux in general. Now, I love Geeklog - its slick, fast, attractive and adaptable. But, it doesn't have any e-commerce plugins or hacks (that I can find). The other alternative is to use OSCommerce which has all the e-commerce tools that anyone could want, and more. But, it ugly as heck and hard to design themes for. Plus, its e-commerce overkill for my needs. I also need a billing solution and a support ticket solution. Now, having been frustrated for months not being able to keep Geeklog AND get my e-commerce hacks/ plugins I am forced to try my hand at weaving one or more of these applications together. I have already started (typical techie fashion) to outline the variables that will need to be replaced in the billing application (which is what I will start with) and what variables I will need to add to this from Geeklog - Things like lib-common,php, $uid, etc. Now, I know that with time I will get this working (im very stubborn and have no other viable option that suits my needs right now), but I was wondering if any of the developers or other plugins/hack writers have put together a 'guide' or how-to that might shorten my work load by listing the major components of geeklog and their function so that I can clearly map out my 'game plan'? Any suggestions along these lines are welcome! Luke -------------- next part -------------- An HTML attachment was scrubbed... URL: From geeklog-modules-admin at lists.geeklog.net Tue Jun 24 09:43:50 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Tue, 24 Jun 2003 13:43:50 +0000 Subject: [geeklog-modules] Theme Ideas Message-ID: <20030624134024.M93552@pigstye.net> This is not directly related to Geeklog but I ran across this website and thought of Geeklog Theme Development http://www.strangebanana.com/generator.aspx Go there and everytime you hit refresh you get a different website design, all generated automatically. By the way, see one you like and you can steal it for you own. -- Tom Willett tomw at pigstye.net From geeklog-modules-admin at lists.geeklog.net Tue Jun 24 09:59:54 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Tue, 24 Jun 2003 08:59:54 -0500 Subject: [geeklog-modules] Theme Ideas In-Reply-To: <20030624134024.M93552@pigstye.net> References: <20030624134024.M93552@pigstye.net> Message-ID: <3EF8595A.4030608@tonybibbs.com> Another good one is http://www.oswd.org --Tony geeklog-modules-admin at lists.geeklog.net wrote: > This is not directly related to Geeklog but I ran across this website and > thought of Geeklog Theme Development > > http://www.strangebanana.com/generator.aspx > > Go there and everytime you hit refresh you get a different website design, > all generated automatically. By the way, see one you like and you can steal > it for you own. > > -- > Tom Willett > tomw at pigstye.net > _______________________________________________ > geeklog-modules mailing list > geeklog-modules at lists.geeklog.net > http://lists.geeklog.net/listinfo/geeklog-modules From geeklog-modules-admin at lists.geeklog.net Thu Jun 26 22:16:17 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Thu, 26 Jun 2003 22:16:17 -0400 Subject: [geeklog-modules] Javascript Functions Message-ID: <000901c33c52$178a24a0$9a0a10ac@xpbl1> What would be the recommended way to include Javascript functions in plugins? 1) Have users add the function to the template header.thtml file ? 2) Output it before calling COM_siteHeader - messes up the Tags and HTML 3) Echo out a then the JS script and - Messes up the HTML as well Whats the easiest and best way to support this ? - I suggest we come up with a way to extend COM_siteHeader so that it can be passed the name of a JS script to include as it's building the header page BTW: While looking at COM_siteHeader, I saw that there is the feature to replace the complete header with your own function. Neat - has anyone seen this implemented - maybe not because I believe it's broken. There is a problem is with this code - it's checking for a non-existing $_CONF variable $function = $_CONF['layout'] . '_siteHeader'; From geeklog-modules-admin at lists.geeklog.net Fri Jun 27 00:53:32 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Thu, 26 Jun 2003 21:53:32 -0700 Subject: [geeklog-modules] Re: [geeklog-devel] Javascript Functions In-Reply-To: <000901c33c52$178a24a0$9a0a10ac@xpbl1> Message-ID: <4D958801-A85B-11D7-A20D-003065C8311C@techtracker.com> I use the custom layout site header for VersionTracker (http://www.versiontracker.com). I did need to fix the variable call, but other than that it works like a charm. Go to the versiontracker site, select a product, all the feedback is served by GL. On Thursday, June 26, 2003, at 07:16 PM, Blaine Lang wrote: > What would be the recommended way to include Javascript functions in > plugins? > > 1) Have users add the function to the template header.thtml file ? > 2) Output it before calling COM_siteHeader - messes up the Tags and > HTML > 3) Echo out a then the JS script and - Messes up the > HTML as > well > > Whats the easiest and best way to support this ? > - I suggest we come up with a way to extend COM_siteHeader so that it > can be > passed the name of a JS script to include as it's building the header > page > > BTW: > While looking at COM_siteHeader, I saw that there is the feature to > replace > the complete header with your own function. Neat - has anyone seen this > implemented - maybe not because I believe it's broken. > > There is a problem is with this code - it's checking for a non-existing > $_CONF variable > $function = $_CONF['layout'] . '_siteHeader'; > > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > http://lists.geeklog.net/listinfo/geeklog-devel From geeklog-modules-admin at lists.geeklog.net Fri Jun 27 14:16:35 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Fri, 27 Jun 2003 14:16:35 -0400 Subject: [geeklog-modules] Javascript Functions References: <000901c33c52$178a24a0$9a0a10ac@xpbl1> Message-ID: <001801c33cd8$3ffc2ec0$6459f7a5@lm76> I ran into the very same problem quite awhile ago and didn't want to load all javascripts and style sheets on every single page. Plus, I had some pages I didn't want indexed by robots. I fixed the COM_siteHeader routine which you pointed out here on mine, but decided back then it was not flexible enough to meet my need. So, I created a new global $_CONF variable, a new template variable, and a metatag table. Then I wrote a small routine, called in lib-common.php, to do a table lookup for the respective page and substitute my new template variable in header.thtml with the javascript, style sheet, and metatags for that page. Is this the best way? Don't know...maybe, maybe not, but at least it allows me to get around Geeklog's inability to handle dynamic headers. I can keep my pages light and not load unnecessary code/style sheets on each one. ----- Original Message ----- From: To: Cc: Sent: Thursday, June 26, 2003 10:16 PM Subject: [geeklog-modules] Javascript Functions What would be the recommended way to include Javascript functions in plugins? 1) Have users add the function to the template header.thtml file ? 2) Output it before calling COM_siteHeader - messes up the Tags and HTML 3) Echo out a then the JS script and - Messes up the HTML as well Whats the easiest and best way to support this ? - I suggest we come up with a way to extend COM_siteHeader so that it can be passed the name of a JS script to include as it's building the header page BTW: While looking at COM_siteHeader, I saw that there is the feature to replace the complete header with your own function. Neat - has anyone seen this implemented - maybe not because I believe it's broken. There is a problem is with this code - it's checking for a non-existing $_CONF variable $function = $_CONF['layout'] . '_siteHeader'; _______________________________________________ geeklog-modules mailing list geeklog-modules at lists.geeklog.net http://lists.geeklog.net/listinfo/geeklog-modules From geeklog-modules-admin at lists.geeklog.net Sat Jun 28 09:46:44 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Sat, 28 Jun 2003 09:46:44 -0400 Subject: [geeklog-modules] New Plugin API for extending Header information Message-ID: <007201c33d7b$b654fa40$9a0a10ac@xpbl1> We now have PLG_getHeaderCode as a function that is called in COM_siteHeader. Any plugins can now return information that will be added to the header.thtml in the {plg_headercode} section. Adding a check in your plugin function for the source of the script, can ensure we are only adding the extra information when needed. This is great to now easily and cleanly add JS functions but could be used to add other Meta Tags. Example of a plugin function --- CODE BEGINS --- /** * Returns the items for this plugin that should appear on the main menu */ function plugin_getHeaderCode_fmpro() { global $_CONF, $HTTP_SERVER_VARS; // Compare actual path to the plugin script that needs this extra Javascript and header code // Sort out any differences in directory slashes $ENV_PATH = strtolower(str_replace('\\', '/', $HTTP_SERVER_VARS['PATH_TRANSLATED'])); $pluginscript = strtolower(str_replace('\\', '/',$_CONF['path_html'] . 'fmpro/index.php')); if ( $ENV_PATH == $pluginscript) { return ''; } } From geeklog-modules-admin at lists.geeklog.net Mon Jun 30 11:37:15 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Mon, 30 Jun 2003 11:37:15 -0400 Subject: [geeklog-modules] who's new module Message-ID: <008401c33f1d$7bd82470$07fea8c0@jasmine> where can i find the "who's new" module that lists newly added users? I can't seem to find where to download it. -------------- next part -------------- An HTML attachment was scrubbed... URL: From geeklog-modules-admin at lists.geeklog.net Mon Jun 30 11:46:56 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Mon, 30 Jun 2003 17:46:56 +0200 Subject: [geeklog-modules] who's new module In-Reply-To: <008401c33f1d$7bd82470$07fea8c0@jasmine> References: <008401c33f1d$7bd82470$07fea8c0@jasmine> Message-ID: <20030630154656.24215@smtp.haun-online.de> >where can i find the "who's new" module that lists newly added users? I >can't seem to find where to download it. bye, Dirk -- http://www.haun-online.de/ http://mypod.de/ From geeklog-modules-admin at lists.geeklog.net Mon Jun 30 12:07:11 2003 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Mon, 30 Jun 2003 12:07:11 -0400 Subject: [geeklog-modules] who's new module References: <008401c33f1d$7bd82470$07fea8c0@jasmine> <20030630154656.24215@smtp.haun-online.de> Message-ID: <000d01c33f21$aaaad960$07fea8c0@jasmine> thanks, that worked. www.wfzimmerman.com ----- Original Message ----- From: To: Sent: Monday, June 30, 2003 11:46 AM Subject: Re: [geeklog-modules] who's new module > >where can i find the "who's new" module that lists newly added users? I > >can't seem to find where to download it. > > > > bye, Dirk > > > -- > http://www.haun-online.de/ > http://mypod.de/ > > _______________________________________________ > geeklog-modules mailing list > geeklog-modules at lists.geeklog.net > http://lists.geeklog.net/listinfo/geeklog-modules >