• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: assign user level

assign user level 4 years 4 months ago #39741

Hi,

I've looked everywhere and cannot find what i need.

After a user has submitted a form.

i would like to add the user to another access level that is have created.

Below gets the current access level:
//<code>
$user = JFactory::getUser();
print_r ($user->getAuthorisedViewLevels());
return;
//</code>

i'd like to be able to $user->setAuthorisedViewLevel(5);

and then the user would be added to that access level.

Any help would be much appreciated
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!