Forums / General / Give user other rights...

Give user other rights...

Author Message

Jerry Jalava

Friday 18 July 2003 4:09:28 am

Hi,

I'd like to know what would be the best way to archive this:
When users register to the site, their account goes to user group "Registered" and if they want they can by additional features in the site, so when they have paid their user info moves from "registered" to "Paid" user group... Both of the groups have different roles and permissions.

Now I just need to know what would be the best way to move the user data from group to another...
Workflow? (Not very familiar) Module? PHP? (This one would be easy, if eZ would support PHP better...)

Thanks,
Jerry

Bård Farstad

Friday 18 July 2003 4:43:05 am

eZ publish is written in PHP. How can eZ publish support PHP better? You have the full source code in PHP also.

BTW: What you are describing can be done with workflows after payment in the shopping module. And yes, workflows are programmed in PHP. We actually use this here on ez.no.

--bård

Documentation: http://ez.no/doc

Jerry Jalava

Friday 18 July 2003 8:02:06 am

Hi Bård,

What I meant about supporting PHP "better" was easier use in templates... ;)

But thanks for your answer, I try to study the workflows...

Regards,
Jerry

Bård Farstad

Friday 18 July 2003 10:08:49 am

Ok, the way to use PHP in templates is via operators. We could have added a function like {php} {/php}, but we will not do that. This goes against our software philosophy.

--bård

Documentation: http://ez.no/doc

Alex Jones

Friday 18 July 2003 11:33:38 am

Jerry, you may want to check out this related thread: http://ez.no/developer/ez_publish_3/forum/general/php_support_in_templates

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>