I'm trying to get some log functionality working in order to create
maillists. It works for the superuser, but not for normal members.
I have the page action.email_list with the following code:
--------------------------------------------------------------------------------------------
!{:title}
email list: {p}
[if !inpage log.{p} {id}]`
[form][submit SUBSCRIBE]
[session log {id}]
[session nextpage {p}&action={action}]
[form]
[else]`
[form][submit UNSUBSCRIBE]
[session log "{id} delimiter='
' flags='remove'"]
[session nextpage {p}&action={action}]
[form]
[if]`
[if admin]
[form]
List owner: [text owner width=32 {:owner}]
[session savedata owner]
[session nextpage {p}&action={action}]
[submit SAVE]
[form]
[if]
[if ingroup {:owner}]
[form]
[box elist cols=64 rows=16][(source log.{p})]
[box]
[submit 'edit']
[session target log.{p}]
[session edit '{=elist}']
[session nextpage {p}&action={action}]
[form]
[if]
--------------------------------------------------------------------------------------------
Which works great for the superuser, but normal users click the
subscribe button, and nothing happens. The form is submitted, and
quietly ignores the log command. Neither subscribing nor unsubscribing
works.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---