Re: [pmwiki-users] 2 fox questions

2007-09-21 Thread Hans
Thursday, September 20, 2007, 10:12:44 PM, Jon Haupt wrote: So, what I'd like to know is if there's a way to do this: # add filter function $FoxFilterFunctions['FoxVerifyEmail'] = 'FoxVerifyEmailFilter'; function FoxVerifyEmailFilter($pagename, $fields) { if($fields['email']==) {

Re: [pmwiki-users] 2 fox questions

2007-09-20 Thread Hans
Wednesday, September 19, 2007, 6:38:38 PM, Jon Haupt wrote: Again, a special filter function could be created which would handle the email varification of the email field and handles the posting accordingly. It could be built with a comparison of the email field value with a regex pattern for

Re: [pmwiki-users] 2 fox questions

2007-09-20 Thread Hans
Thursday, September 20, 2007, 9:51:49 AM, Hans wrote: The filter function will abort the posting if no valid email address is provided. To prevent aborting just comment the 'FoxAbort' line in the code, then fox will post valid email addresses, and replace any non-valid ones with a blank

Re: [pmwiki-users] 2 fox questions

2007-09-20 Thread sti
Hans wrote: Wednesday, September 19, 2007, 6:38:38 PM, Jon Haupt wrote: Again, a special filter function could be created which would handle the email varification of the email field and handles the posting accordingly. It could be built with a comparison of the email field value with a

Re: [pmwiki-users] 2 fox questions

2007-09-20 Thread Jon Haupt
So, what I'd like to know is if there's a way to do this: # add filter function $FoxFilterFunctions['FoxVerifyEmail'] = 'FoxVerifyEmailFilter'; function FoxVerifyEmailFilter($pagename, $fields) { if($fields['email']==) { $fields['email'] = noemail } return $fields; } In my particular case,

[pmwiki-users] 2 fox questions

2007-09-19 Thread Jon Haupt
I am still enjoying Fox and its capabilities. I have two questions: First, in configuration, when you're delineating where Fox can edit/delete/etc. to, would it be possible to specify that the page in question be created within a certain time frame? I would like to close commenting after 30

Re: [pmwiki-users] 2 fox questions

2007-09-19 Thread Hans
Wednesday, September 19, 2007, 4:10:08 PM, Jon Haupt wrote: First, in configuration, when you're delineating where Fox can edit/delete/etc. to, would it be possible to specify that the page in question be created within a certain time frame? I would like to close commenting after 30 days, as

Re: [pmwiki-users] 2 fox questions

2007-09-19 Thread Jon Haupt
On 9/19/07, Hans [EMAIL PROTECTED] wrote: Wednesday, September 19, 2007, 4:10:08 PM, Jon Haupt wrote: First, in configuration, when you're delineating where Fox can edit/delete/etc. to, would it be possible to specify that the page in question be created within a certain time frame? I