Raphael Ritz | 28 Mar 09:24
Picon
Favicon

Re: plone usernames starting with digits

Steven McDonald wrote:
> Hello
> 
>    It  seems that I can not create a usename that starts with a digit. 
> Is there a reason for this? Can it be configured otherwise? We have a 
> group that would like to create a user called 8pi, it is a name they 
> have used on many other accounts and would like to keep it for their 
> plone site for consistency.
> 
> Thanks
> Steve McDonald
> 

Python 2.3.5 (#1, Jun 15 2005, 14:15:25)
[GCC 3.4.3 20050227 (Red Hat 3.4.3-22.fc3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> class A:
...     pass
...
 >>> a = A()
 >>> a.8pi = 'foo'
   File "<stdin>", line 1
     a.8pi = 'foo'
       ^
SyntaxError: invalid syntax
 >>> setattr(a, '8pi', 'foo')
 >>> a.8pi
   File "<stdin>", line 1
     a.8pi
       ^
(Continue reading)

Cuff, Patrick | 28 Mar 16:47
Picon

How To Configure Plone So Members Can Post News and Events?

Hi all (sorry for the repost -- the original didn't have a subject)

Sorry if this question has already been answered, but I couldn't find a
solution in the archives or the Plone documentation.

I'd like to configure my Plone site so that anyone who logs in (Members?)
can post both News and Events items. I'd also like these items to be
published automatically (i.e., not have to be reviewed or go through a
workflow). Can this be done? If so, how?

Thanks,

-- Patrick

Ben Hussey | 28 Mar 17:27
Picon

Re: How To Configure Plone So Members Can Post News and Events?

  1. Go into the security tab in the root folder in the ZMI
  2. For both of the following uncheck acquire and click the last four columns in the row:
          
  •    ATContentTypes: Add News Item
  •    ATContentTypes: Add Event
     3.  This can also be done or individual folders

To skip the 'publishing' part for only certain items would involve quite a lot of work creating a new workflow but to do it for all items is fairly easy (as follows)

  1. Expand portal_workflow on the left hand side and click on plone_workflow and click on the states tab at the top
  2. Select Published and press the set initial state at the bottom
  3. If you want to make it so that you cannot come out of the published state click on 'published' back in the states tab and unselect all the boxes
If you delete states that are not needed, make sure there are no documents in that state as it causes errors

Hope that helped

Ben Hussey


On 28/03/06, Cuff, Patrick <Patrick.Cuff-3Vxp1VOjlx5Wk0Htik3J/w@public.gmane.org> wrote:
Hi all (sorry for the repost -- the original didn't have a subject)

Sorry if this question has already been answered, but I couldn't find a
solution in the archives or the Plone documentation.

I'd like to configure my Plone site so that anyone who logs in (Members?)
can post both News and Events items. I'd also like these items to be
published automatically (i.e., not have to be reviewed or go through a
workflow). Can this be done? If so, how?

Thanks,


-- Patrick

_______________________________________________
Setup mailing list
Setup-G3yHMj00SlOLbbK5bonKug@public.gmane.org
http://lists.plone.org/mailman/listinfo/setup

Yahong Wu | 28 Mar 18:37
Favicon

password reset tool and CMF Member error

Greets,

I got validateSingleEmailAddress attribute error when I tried to reset user's password. 

The following are the tools I am using:

Plone version: 2.1.2
Zope 2.8.5-final
CMFMember 1.1-beta2
PasswordResetTool 0.3.0 

Here is the traceback:

Traceback (innermost last):
  Module ZPublisher.Publish, line 113, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 40, in call_object
  Module Products.CMFCore.FSPythonScript, line 108, in __call__
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.CMFCore.FSPythonScript, line 163, in _exec
  Module None, line 3, in mail_password
   - <FSPythonScript at /nshap/mail_password>
   - Line 3
  Module Products.CMFMember.tools.registration, line 93, in mailPassword
  Module Products.CMFMember.content.member, line 1287, in mailPassword
  Module Products.CMFPlone.PloneTool, line 183, in validateSingleEmailAddress
AttributeError: validateSingleEmailAddress

I am pretty new to plone, please shed some light on how to set up user password reset.
I would appreciate it very much!

ywu

Gmane