Posted on: 2007/12/11 19:48
Re: Add user to a specific group.
Best regardings Mark!
First of all thanks for the link, I already use the Smartprofile and I need a lot the solutions that U developed! God blees U man! =D
Forgive my bad English, I try to do my best, but I know that isn´t enough. =D
Well let me explain about my environment on this site:
I got 5 groups who work on this site:
It´s for a Brazilian University, It´s an application form. Here in Brazil, to went to university U need to make a test with others students, the bests on the tests are able to study.
So, I have this form where people interested, can fill to do that test, so when he finish to fill the form and activate the account, he is on the Registered group. Ok! But only if he pay the "Subscribe Tax", he has the right to do the test, people ho has the right to do the test are in the Subscribed group.
Only the 2 members of the "Financial" group receive the report from the bank informing what users ID pay the tax. So they have to put that users in the "Subscribed" group to allow they to do the tests. But they also generate a report (made by hand) where they need some data from the custom fields. So, I setup the right permission in order to they see that fields.
What I want is: Hack SmartProfile, to allow The "Financial" group easily get that data (already working with smartprofile with right permisssions) and put the users on the "Subscribed" group. It´s almost everthing done, including the hacks on the SmartProfile to show the button "Mark as Subscribed" on the users profiles only to "Financial" group. But now, I don´t know what to put in that button to move the users from "registered" to "subscribed".
Basically, that´s it! :)