You can subscribe to this list here.
2001 |
Jan
|
Feb
(1) |
Mar
(265) |
Apr
(166) |
May
(25) |
Jun
(17) |
Jul
(20) |
Aug
(47) |
Sep
(6) |
Oct
(14) |
Nov
(66) |
Dec
(64) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(109) |
Feb
(64) |
Mar
(34) |
Apr
(23) |
May
(64) |
Jun
(9) |
Jul
(13) |
Aug
(6) |
Sep
(33) |
Oct
(272) |
Nov
(67) |
Dec
(75) |
2003 |
Jan
(264) |
Feb
(244) |
Mar
(171) |
Apr
(119) |
May
(54) |
Jun
(93) |
Jul
(51) |
Aug
(48) |
Sep
(14) |
Oct
(49) |
Nov
(47) |
Dec
(15) |
2004 |
Jan
(13) |
Feb
(27) |
Mar
(18) |
Apr
(44) |
May
(35) |
Jun
(24) |
Jul
(39) |
Aug
(142) |
Sep
(35) |
Oct
(34) |
Nov
(49) |
Dec
(24) |
2005 |
Jan
(60) |
Feb
(71) |
Mar
(19) |
Apr
(27) |
May
(68) |
Jun
(4) |
Jul
(30) |
Aug
(10) |
Sep
(23) |
Oct
(24) |
Nov
(13) |
Dec
(6) |
2006 |
Jan
(4) |
Feb
(46) |
Mar
(64) |
Apr
(18) |
May
(16) |
Jun
(37) |
Jul
(7) |
Aug
(19) |
Sep
(9) |
Oct
(8) |
Nov
(3) |
Dec
(23) |
2007 |
Jan
(25) |
Feb
(21) |
Mar
(32) |
Apr
(36) |
May
(12) |
Jun
(1) |
Jul
(7) |
Aug
(15) |
Sep
(13) |
Oct
(1) |
Nov
|
Dec
|
2008 |
Jan
(3) |
Feb
(5) |
Mar
(1) |
Apr
(2) |
May
|
Jun
(1) |
Jul
(2) |
Aug
(7) |
Sep
|
Oct
(5) |
Nov
(1) |
Dec
|
2009 |
Jan
(7) |
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: Shaun M. <sh...@ae...> - 2005-02-03 07:03:17
|
Over the last few days I've been working with a site with lots of html in blocks, announcements and page sections and I've been occasionally coming up against phpWebSite's insistence or not of converting breaks/linefeeds to <br /> tags. It's most annoying in forms and tables. In textsettings.php you can switch it off, but it's still handy for users so they don't have to type html so that's not an option really. Is there a middle way? Is was wondering what the effect would be of allowing a SMART setting which checked the content for tags such as the ones in $allowed_tags and then if found, switched off the conversion? It should be a fairly simple change in the core but I was wondering if it was that simple, had I overlooked something. ;-) |
From: Tom G. <me...@me...> - 2005-02-03 01:15:39
|
Scott Sherrill wrote: > > To me that's says the table cache got corrupted in phpwebsite. Is > that what others are seeing? If I recreate that table from scratch am > I in trouble? > http://dev.mysql.com/doc/mysql/en/repair-table.html I don't use the cache myself. Tom |
From: Matthew M. <ma...@tu...> - 2005-02-01 21:12:28
|
Ya just create a new table if it is missing. Better yet, turn cache off as well (conf/cache.php). I don't think it really adds much. On Tue, 2005-02-01 at 15:44 -0500, Scott Sherrill wrote: > running phpwebsite 0.9.3 > > server hiccupped, and was brought down uncleanly. When it came back up > I am getting the message in the browser when accessing my website: > > DB Error: unknown error > select * from cache where mod_title = 'menuman' and id = > '509949adb0c67181e35d167e9e503eaf' [nativecode=1016 ** Can't open file: > 'cache.MYD'. (errno: 145)] > > To me that's says the table cache got corrupted in phpwebsite. Is that > what others are seeing? If I recreate that table from scratch am I in > trouble? > > Any thoughts or fix suggestions would be greatly appreciated. > > Thanks as always - > > Scott > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers -- Matthew McNaney Electronic Student Services Appalachian State University http://phpwebsite.appstate.edu |
From: Scott S. <sc...@ha...> - 2005-02-01 20:44:26
|
running phpwebsite 0.9.3 server hiccupped, and was brought down uncleanly. When it came back up I am getting the message in the browser when accessing my website: DB Error: unknown error select * from cache where mod_title = 'menuman' and id = '509949adb0c67181e35d167e9e503eaf' [nativecode=1016 ** Can't open file: 'cache.MYD'. (errno: 145)] To me that's says the table cache got corrupted in phpwebsite. Is that what others are seeing? If I recreate that table from scratch am I in trouble? Any thoughts or fix suggestions would be greatly appreciated. Thanks as always - Scott |
From: Ton O. <ton...@he...> - 2005-01-25 19:50:43
|
I've made a few hacks for menumanager and blockmaker and in those hacks I used the following code: $pagecatids = $_SESSION["OBJ_fatcat"]->getModulesCategories('pagemaster', $my_currentpage_id); A page can have more than one category so $pagecatids here is an array. Maybe this one works? Ton. -----Oorspronkelijk bericht----- Van: php...@li... [mailto:php...@li...] Namens yawstick Verzonden: dinsdag 25 januari 2005 15:15 Aan: php...@li... Onderwerp: Re: [Phpwebsite-developers] formating amd themes The page_id is working and am using it to switch styles in the example below is there not another method of retrieving the category > Maybe it has something to do with the line just before it: that the current > page_id isn't retrieved correctly. You could also use this one to retrieve > the current page_id: > $my_pageid=(int)$_REQUEST['PAGE_id'] > > Regards, > Ton Oosterhoff > > > -----Oorspronkelijk bericht----- > Van: php...@li... > [mailto:php...@li...] Namens yawstick > Verzonden: dinsdag 25 januari 2005 4:04 > Aan: php...@li... > Onderwerp: Re: [Phpwebsite-developers] formating amd themes > > I've learned quite a bit about theme.php theme.tpl style sheets and even > found the function getElementCatId in fatcat. I have been able to change > style sheets and even the logo image but had to do it using the page id. > Most of this is derived from the example of Ton Oosterhoff, which included > the syntax for retrieving the page id and page category. The page category > one always comes back empty, as I have added $THEME varibles to show the > results in the web page. So if you could enlighten me as to the proper calls > to get the page category for the current page I would greatly appreciate it. > > $THEME["is_user"] = $_SESSION['OBJ_user']->isUser() ; > $THEME["page_id"] = $_SESSION["SES_PM_page"]->id ; > > // get the page id: > $my_pageid = $_SESSION["SES_PM_page"]->id; > > ******* the line below always comes back empty could comment on the > correctness of the syntax ***** > > $THEME["page_category"] = > $_SESSION["OBJ_fatcat"]->getElementCatId($my_pageid) ; > > // get the category of this page: > //$my_category = $_SESSION["OBJ_fatcat"]->getElementCatId($my_pageid); > > $my_category = $_SESSION["SES_PM_page"]->id; > > switch ($my_category){ > case "3": > $my_style = "page1.css"; > break; > case "6": > $my_style = "midnight.css"; > break; > default: > $my_style = "classic.css"; > } > > // output it to the template... > $THEME["my_style"] = $my_style; > > switch ($my_style){ > case "midnight.css": > $logo = "logo1.jpg"; > break; > case "modernist.css": > $logo = "logo2.jpg"; > break; > case "classic.css": > $logo = "logo.jpg"; > break; > } > $THEME["logo"] =$logo; > > ?> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Phpwebsite-developers mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers |
From: Ton O. <ton...@he...> - 2005-01-25 18:27:48
|
It's in conf/textsettings.php Ton -----Oorspronkelijk bericht----- Van: php...@li... [mailto:php...@li...] Namens yawstick Verzonden: dinsdag 25 januari 2005 16:36 Aan: php...@li... Onderwerp: [Phpwebsite-developers] html allow I saw something on this once before but cant remember where the setting is for setting what html tags are permitted in the web page text entry boxes. Thanks Paul ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Phpwebsite-developers mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers |
From: Shaun M. <sh...@ae...> - 2005-01-25 17:02:18
|
On 25 Jan 2005, at 15:35, yawstick wrote: > I saw something on this once before but cant remember where the > setting is > for setting what html tags are permitted in the web page text entry > boxes. In /conf/textsettings.php Just don't add script tags. Or use Eloi's hack to allow users and admins to have different sets of tags. Shaun aegis design - http://www.aegisdesign.co.uk |
From: yawstick <yaw...@ch...> - 2005-01-25 15:36:17
|
I saw something on this once before but cant remember where the setting is for setting what html tags are permitted in the web page text entry boxes. Thanks Paul |
From: yawstick <yaw...@ch...> - 2005-01-25 14:14:45
|
The page_id is working and am using it to switch styles in the example below is there not another method of retrieving the category > Maybe it has something to do with the line just before it: that the current > page_id isn't retrieved correctly. You could also use this one to retrieve > the current page_id: > $my_pageid=(int)$_REQUEST['PAGE_id'] > > Regards, > Ton Oosterhoff > > > -----Oorspronkelijk bericht----- > Van: php...@li... > [mailto:php...@li...] Namens yawstick > Verzonden: dinsdag 25 januari 2005 4:04 > Aan: php...@li... > Onderwerp: Re: [Phpwebsite-developers] formating amd themes > > I've learned quite a bit about theme.php theme.tpl style sheets and even > found the function getElementCatId in fatcat. I have been able to change > style sheets and even the logo image but had to do it using the page id. > Most of this is derived from the example of Ton Oosterhoff, which included > the syntax for retrieving the page id and page category. The page category > one always comes back empty, as I have added $THEME varibles to show the > results in the web page. So if you could enlighten me as to the proper calls > to get the page category for the current page I would greatly appreciate it. > > $THEME["is_user"] = $_SESSION['OBJ_user']->isUser() ; > $THEME["page_id"] = $_SESSION["SES_PM_page"]->id ; > > // get the page id: > $my_pageid = $_SESSION["SES_PM_page"]->id; > > ******* the line below always comes back empty could comment on the > correctness of the syntax ***** > > $THEME["page_category"] = > $_SESSION["OBJ_fatcat"]->getElementCatId($my_pageid) ; > > // get the category of this page: > //$my_category = $_SESSION["OBJ_fatcat"]->getElementCatId($my_pageid); > > $my_category = $_SESSION["SES_PM_page"]->id; > > switch ($my_category){ > case "3": > $my_style = "page1.css"; > break; > case "6": > $my_style = "midnight.css"; > break; > default: > $my_style = "classic.css"; > } > > // output it to the template... > $THEME["my_style"] = $my_style; > > switch ($my_style){ > case "midnight.css": > $logo = "logo1.jpg"; > break; > case "modernist.css": > $logo = "logo2.jpg"; > break; > case "classic.css": > $logo = "logo.jpg"; > break; > } > $THEME["logo"] =$logo; > > ?> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers |
From: Ton O. <ton...@he...> - 2005-01-25 07:29:21
|
Maybe it has something to do with the line just before it: that the current page_id isn't retrieved correctly. You could also use this one to retrieve the current page_id: $my_pageid=(int)$_REQUEST['PAGE_id'] Regards, Ton Oosterhoff -----Oorspronkelijk bericht----- Van: php...@li... [mailto:php...@li...] Namens yawstick Verzonden: dinsdag 25 januari 2005 4:04 Aan: php...@li... Onderwerp: Re: [Phpwebsite-developers] formating amd themes I've learned quite a bit about theme.php theme.tpl style sheets and even found the function getElementCatId in fatcat. I have been able to change style sheets and even the logo image but had to do it using the page id. Most of this is derived from the example of Ton Oosterhoff, which included the syntax for retrieving the page id and page category. The page category one always comes back empty, as I have added $THEME varibles to show the results in the web page. So if you could enlighten me as to the proper calls to get the page category for the current page I would greatly appreciate it. $THEME["is_user"] = $_SESSION['OBJ_user']->isUser() ; $THEME["page_id"] = $_SESSION["SES_PM_page"]->id ; // get the page id: $my_pageid = $_SESSION["SES_PM_page"]->id; ******* the line below always comes back empty could comment on the correctness of the syntax ***** $THEME["page_category"] = $_SESSION["OBJ_fatcat"]->getElementCatId($my_pageid) ; // get the category of this page: //$my_category = $_SESSION["OBJ_fatcat"]->getElementCatId($my_pageid); $my_category = $_SESSION["SES_PM_page"]->id; switch ($my_category){ case "3": $my_style = "page1.css"; break; case "6": $my_style = "midnight.css"; break; default: $my_style = "classic.css"; } // output it to the template... $THEME["my_style"] = $my_style; switch ($my_style){ case "midnight.css": $logo = "logo1.jpg"; break; case "modernist.css": $logo = "logo2.jpg"; break; case "classic.css": $logo = "logo.jpg"; break; } $THEME["logo"] =$logo; ?> ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Phpwebsite-developers mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers |
From: yawstick <yaw...@ch...> - 2005-01-25 03:03:42
|
I've learned quite a bit about theme.php theme.tpl style sheets and even found the function getElementCatId in fatcat. I have been able to change style sheets and even the logo image but had to do it using the page id. Most of this is derived from the example of Ton Oosterhoff, which included the syntax for retrieving the page id and page category. The page category one always comes back empty, as I have added $THEME varibles to show the results in the web page. So if you could enlighten me as to the proper calls to get the page category for the current page I would greatly appreciate it. $THEME["is_user"] = $_SESSION['OBJ_user']->isUser() ; $THEME["page_id"] = $_SESSION["SES_PM_page"]->id ; // get the page id: $my_pageid = $_SESSION["SES_PM_page"]->id; ******* the line below always comes back empty could comment on the correctness of the syntax ***** $THEME["page_category"] = $_SESSION["OBJ_fatcat"]->getElementCatId($my_pageid) ; // get the category of this page: //$my_category = $_SESSION["OBJ_fatcat"]->getElementCatId($my_pageid); $my_category = $_SESSION["SES_PM_page"]->id; switch ($my_category){ case "3": $my_style = "page1.css"; break; case "6": $my_style = "midnight.css"; break; default: $my_style = "classic.css"; } // output it to the template... $THEME["my_style"] = $my_style; switch ($my_style){ case "midnight.css": $logo = "logo1.jpg"; break; case "modernist.css": $logo = "logo2.jpg"; break; case "classic.css": $logo = "logo.jpg"; break; } $THEME["logo"] =$logo; ?> |
From: Mike N. <mh...@us...> - 2005-01-24 16:00:21
|
On Mon, 2005-01-24 at 07:37, Mike Noyes wrote: > On Mon, 2005-01-24 at 07:23, Shaun Murray wrote: > > On 24 Jan 2005, at 15:23, Mike Noyes wrote: > > > Shaun, > > > None of the settings needed to mirror a website should be stored in the > > > database. The branch_sites table (branchDir, branchHttp) is already a > > > problem. > > > > > > Try mirroring phpWebSite 0.10.0, and you'll see what I'm concerned > > > with. > > > > > > > Mirror? > > > > Didn't know we could mirror. > > Shawn, Shaun, Sorry for the spelling error. :-( > I can give you the instructions for this, but it's not a simple task > anymore. Master: Setup a periodic mysqldump. Mirror: Modify conf/config.php, conf/branch/branchname.php, branchname/index.php, and branch_sites table. Setup rsync to exclude modified files, and create custom branch_sites table. Cron rsync remote site, import latest mysqldump, import custom branch_sites, and you should be operational. -- Mike Noyes <mhnoyes at users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ SF.net Projects: ffl, leaf, phpwebsite, phpwebsite-comm, sitedocs |
From: Mike N. <mh...@us...> - 2005-01-24 15:32:32
|
On Mon, 2005-01-24 at 07:23, Shaun Murray wrote: > On 24 Jan 2005, at 15:23, Mike Noyes wrote: > > Shaun, > > None of the settings needed to mirror a website should be stored in the > > database. The branch_sites table (branchDir, branchHttp) is already a > > problem. > > > > Try mirroring phpWebSite 0.10.0, and you'll see what I'm concerned > > with. > > > > Mirror? > > Didn't know we could mirror. Shawn, I've done exactly that for years with the LEAF project website. Note: these two sites aren't in sync right now. I need to modify the old cron script to account for 0.10.0. http://leaf-project.org/ http://leaf.steinkuehler.net/ I can give you the instructions for this, but it's not a simple task anymore. -- Mike Noyes <mhnoyes at users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ SF.net Projects: ffl, leaf, phpwebsite, phpwebsite-comm, sitedocs |
From: Shaun M. <sh...@ae...> - 2005-01-24 15:23:31
|
On 24 Jan 2005, at 15:23, Mike Noyes wrote: > Shaun, > None of the settings needed to mirror a website should be stored in the > database. The branch_sites table (branchDir, branchHttp) is already a > problem. > > Try mirroring phpWebSite 0.10.0, and you'll see what I'm concerned > with. > Mirror? Didn't know we could mirror. Shaun aegis design - http://www.aegisdesign.co.uk |
From: Mike N. <mh...@us...> - 2005-01-24 15:18:35
|
On Sun, 2005-01-23 at 14:35, Shaun Murray wrote: > Also, one of the things that was better in phpWebSite 0.8x was that > most of the config was done in the control panel, including the text > filtering, swear words etc. +1 > A web based front end to the config files that wrote the config in the > database would be very useful and would have the advantage of letting > branches have a different config to the main site. And it wouldn't get > wiped out on an update unless you're careful with the config directory. -1 Shaun, None of the settings needed to mirror a website should be stored in the database. The branch_sites table (branchDir, branchHttp) is already a problem. Try mirroring phpWebSite 0.10.0, and you'll see what I'm concerned with. -- Mike Noyes <mhnoyes at users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ SF.net Projects: ffl, leaf, phpwebsite, phpwebsite-comm, sitedocs |
From: Wendall C. <wen...@to...> - 2005-01-24 01:17:38
|
+1 I think it was discussed before that config files we overused. There are many advantages to having configurations in the database, as well as disadvantages. Overall, I think it is clearly more advantageous having the configuration information in the database with direct access via the control panel. I really like the simplicity of the main config file. I rarely use other configuration files, since I always try to change things via the CP first. It is somewhat annoying to find several other configuration files that control things that aren't readily apparent or available to branch sites. However, looking at some of the other CMS systems out there, as well as other PHP applications, the config file is really daunting and incredibly complex and obscure when everything under the sun is in it. Why not keep the main config file simple, all other configuration settings in the database and accessible via the control panel? Makes sense to me anyhow. Wendall On Sun, 2005-01-23 at 22:35 +0000, Shaun Murray wrote: > On 23 Jan 2005, at 21:02, Wendall Cada wrote: > > > IIRC it is already using the pear mail class. It does need a config > > however. I've had a problem before with the pear class where the > > straight php function worked better, since I could set things in > > php.ini. Having a configurable mail would be much nicer. Maybe even a > > CP > > page with config setting for mail. > > > > The PEAR class defaults to using mail() anyway I think but at one point > it didn't work in safe mode for the same reasons that it doesn't work > in the odd module that uses mail() still. There's no one consistent way > that mail is handled in the modules. > > Also, one of the things that was better in phpWebSite 0.8x was that > most of the config was done in the control panel, including the text > filtering, swear words etc. > > A web based front end to the config files that wrote the config in the > database would be very useful and would have the advantage of letting > branches have a different config to the main site. And it wouldn't get > wiped out on an update unless you're careful with the config directory. > > There's probably a bunch RFEs already for this, at least one from me, > but it's the kind of thing that needs changing in the core and probably > in a bunch of modules as well. > > Shaun > aegis design - http://www.aegisdesign.co.uk > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers |
From: Shaun M. <sh...@ae...> - 2005-01-23 22:35:48
|
On 23 Jan 2005, at 21:02, Wendall Cada wrote: > IIRC it is already using the pear mail class. It does need a config > however. I've had a problem before with the pear class where the > straight php function worked better, since I could set things in > php.ini. Having a configurable mail would be much nicer. Maybe even a > CP > page with config setting for mail. > The PEAR class defaults to using mail() anyway I think but at one point it didn't work in safe mode for the same reasons that it doesn't work in the odd module that uses mail() still. There's no one consistent way that mail is handled in the modules. Also, one of the things that was better in phpWebSite 0.8x was that most of the config was done in the control panel, including the text filtering, swear words etc. A web based front end to the config files that wrote the config in the database would be very useful and would have the advantage of letting branches have a different config to the main site. And it wouldn't get wiped out on an update unless you're careful with the config directory. There's probably a bunch RFEs already for this, at least one from me, but it's the kind of thing that needs changing in the core and probably in a bunch of modules as well. Shaun aegis design - http://www.aegisdesign.co.uk |
From: Wendall C. <wen...@to...> - 2005-01-23 21:03:27
|
IIRC it is already using the pear mail class. It does need a config however. I've had a problem before with the pear class where the straight php function worked better, since I could set things in php.ini. Having a configurable mail would be much nicer. Maybe even a CP page with config setting for mail. Wendall On Sun, 2005-01-23 at 20:54 +0000, Shaun Murray wrote: > We could probably do with ditching the php mail() function and > replacing it with a class that extended the pear mail and mail_mime > classes with an easier to use config setting to select if it used > mail(), smtp, sendmail or whatever. > > Shaun > aegis design - http://www.aegisdesign.co.uk > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers |
From: Shaun M. <sh...@ae...> - 2005-01-23 20:54:54
|
We could probably do with ditching the php mail() function and replacing it with a class that extended the pear mail and mail_mime classes with an easier to use config setting to select if it used mail(), smtp, sendmail or whatever. Shaun aegis design - http://www.aegisdesign.co.uk |
From: Greg T. <gt-...@ta...> - 2005-01-23 01:07:02
|
There are a couple of bugs that could be causing this. In particular, this can happen when Safe Mode is enabled in the PHP environment. You can see that bug (and patch) here: https://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1089617&group= _id=3D15539&atid=3D115539 I have seen one other report of this, apparently caused by something other than Safe Mode, but I don't remember what that was. Check the mailing list archives for it if you don't find a bug listed: https://sourceforge.net/mailarchive/forum.php?forum_id=3D34704 Greg On Sat, 2005-01-22 at 17:28 -0500, Tony Miller wrote: > I have a problem on a new signup on my website using phpws 0.10.0. When = a=20 > new user signs up, it tells them... >=20 > A Problem Occurred > =09 > Sorry but there is a problem with our email. Please try again later. >=20 > But it mails the password out successfully. This is a bit of a problem=20 > since people will be inclined to try again and again. You can see this=20 > bug in action at:=20 >=20 > http://thebe.jtan.com/~ircd_/phpwebsite/branches/cigardiary/index.php >=20 > Any help would be appreciated. >=20 > -Tony >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers |
From: Tony M. <to...@ht...> - 2005-01-22 22:29:07
|
I have a problem on a new signup on my website using phpws 0.10.0. When a new user signs up, it tells them... A Problem Occurred Sorry but there is a problem with our email. Please try again later. But it mails the password out successfully. This is a bit of a problem since people will be inclined to try again and again. You can see this bug in action at: http://thebe.jtan.com/~ircd_/phpwebsite/branches/cigardiary/index.php Any help would be appreciated. -Tony |
From: Ton O. <ton...@he...> - 2005-01-20 20:11:27
|
The example is more like a sort of Proof-of-concept. You have to change a few things to make it work for your situation. Here is what it does. First it gets the id of the current page. Then it gets the category_id (!! so not the category name!!) of the current page by calling the fatcat function getElementCatId. The case"3" and case"4" refer to this category id. So if you created the categories category_1 and category_2 you have to lookup the corresponding id's of these categories in the mod_fatcat_categories. regards, Ton Oosterhoff. -----Oorspronkelijk bericht----- Van: php...@li... [mailto:php...@li...] Namens yawstick Verzonden: woensdag 19 januari 2005 23:53 Aan: php...@li... Onderwerp: Re: [Phpwebsite-developers] formating amd themes Thanks for your help I've been playing with your example but have not been able to get it to work. I have the following in the thempe.php from your example. $THEME["EXAMPLE"] = $_SESSION['OBJ_user']->isUser() ; $THEME["user"] = $_SESSION["SES_PM_page"]->id ; $THEME["category"] = $_SESSION["OBJ_fatcat"]->getElementCatId($my_pageid) ; // get the page id: $my_pageid = $_SESSION["SES_PM_page"]->id; // get the category of this page: $my_category = $_SESSION["OBJ_fatcat"]->getElementCatId($my_pageid); switch ($my_category){ case "3": $my_style = "page1.css"; break; case "4": $my_style = "page2.css"; break; default: $my_style = "style.css"; } // output it to the template... $THEME["my_style"] = $my_style; I added some things trying to trouble shoot it. The category seems to be coming back empty even though I have added several categories and set them in the page. The case "3" and case "4" are from examining the data in the mod_catcat_catgegories table. Where would you find the variables like $_SESSION["OBJ_fatcat"]->getElementCatId($my_pageid) Thanks Paul ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Phpwebsite-developers mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers |
From: Tony M. <to...@ht...> - 2005-01-20 04:47:11
|
I apologize if this is a silly question, but it has me stumped. I have recently started using the classes found in List.php for building an on the fly query list, an example of which can be found here: http://thebe.jtan.com/~ircd_/phpwebsite/branches/cigardiary/index.php?module=cigardiary&CD_MAN_OP=query At the bottom is my new list which was modified from the one I found in the new version of Skeleton. The query works ok (trust me, it's in the middle of being built), but what doesn't work is the "ordering buttons" at the top of the list which are supposed to be able to change the ordering of the columns. Can someone give me some troubleshooting hints on why I'm getting a blank screen when I click one of those buttons. The links look wierd with two &&'s together on the URL line, but I have no clue on where to find that link code to correct it (if I am able to correct it at all). Thanks, -Tony -- Hometown Enterprises Internet Services Professional, affordable web design and hosting. http://www.hteis.com/ |
From: yawstick <yaw...@ch...> - 2005-01-19 22:53:16
|
Thanks for your help I've been playing with your example but have not been able to get it to work. I have the following in the thempe.php from your example. $THEME["EXAMPLE"] = $_SESSION['OBJ_user']->isUser() ; $THEME["user"] = $_SESSION["SES_PM_page"]->id ; $THEME["category"] = $_SESSION["OBJ_fatcat"]->getElementCatId($my_pageid) ; // get the page id: $my_pageid = $_SESSION["SES_PM_page"]->id; // get the category of this page: $my_category = $_SESSION["OBJ_fatcat"]->getElementCatId($my_pageid); switch ($my_category){ case "3": $my_style = "page1.css"; break; case "4": $my_style = "page2.css"; break; default: $my_style = "style.css"; } // output it to the template... $THEME["my_style"] = $my_style; I added some things trying to trouble shoot it. The category seems to be coming back empty even though I have added several categories and set them in the page. The case "3" and case "4" are from examining the data in the mod_catcat_catgegories table. Where would you find the variables like $_SESSION["OBJ_fatcat"]->getElementCatId($my_pageid) Thanks Paul |
From: Ton O. <ton...@he...> - 2005-01-19 19:07:24
|
I have made an example of selecting a style sheet based on the category of the current page. You can find it here: http://www.oosterhoff.nu/pws/index.php?module=documents&JAS_DocumentManager_ op=viewDocument&JAS_Document_id=9 tonynl -----Oorspronkelijk bericht----- Van: php...@li... [mailto:php...@li...] Namens yawstick Verzonden: woensdag 19 januari 2005 19:00 Aan: php...@li... Onderwerp: Re: [Phpwebsite-developers] formating amd themes > The .tpl files in that directory are simple html templates with tags > that indicate where the TITLE should be and other info. By editing the > copy, you then customize the layout for your uses without the originals > getting changed. Thanks a bunch I had selected the wrong template in pagemaster for the page with out knowing what its was doing > > > Not currently without a fair chunk of php added to themes theme.php and > an understanding of how the module works. > I was looking at the w3c theme.php. would a variation of that work where the .css file was selected conditionally depending on which user created it instead of via a link on the page? Could it all be done in the theme.php file? Thanks Again Paul ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Phpwebsite-developers mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers |