How To Limit User Changes

7 posts by 2 authors in: Forums > CMS Builder
Last Post: June 24, 2010   (RSS)

Re: [theugpa] How To Limit User Changes

By Jason - June 23, 2010

Hi,

You can display information that cannot be edited by user "separator" fields. However, if you set a user's permission to be able to access the "User Accounts" section, they have access to all fields as it's seen as giving them administrative access.

One solution would be to set up a separate .php page that just outputted user information and could be linked to from CMS Builder. That way no fields can be edited.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] How To Limit User Changes

By (Deleted User) - June 23, 2010

Can I have a little more detail on how to do that. I don't allow the client to have access to the user accounts page. I have tried using a seperater but that does not do anything. Any other advice?

Re: [theugpa] How To Limit User Changes

By Jason - June 23, 2010

Hi,

Are you trying to show information that's stored in the accounts page from a section other than the "User Accounts" section?

If so, there is a work around we can try.
Let me know.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] How To Limit User Changes

By (Deleted User) - June 23, 2010 - edited: June 23, 2010

I have only created a CID (Customer ID) text field. It shows on the user account but they can change the number. I need to add four more simular fields as well. It does not really matter where the information is stored on the database, so long as it can be shown on the user account page. I can setup the data any where needed but will probably need instructions on how to do so.

Re: [theugpa] How To Limit User Changes

By Jason - June 23, 2010

Hi,

If you could let me know which section in your cms you want clients to be able to view information and email me your CMS Login and FTP details to jason@interactivetools.com I can see what can be done.

Remember, only email this information, don't post it to the forum.

thanks.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [theugpa] How To Limit User Changes

By Jason - June 24, 2010

Hi,

I've added 3 html separators to the "User Account" Section. These are used to display user information (cid, username,fullname). Now, to make sure that nothing else is displayed in the "My Account" section, go to the User Account section editor. Click on "Modify" for each field. At the bottom of the page there is a checkbox that says "My Account - Show this field in "My Account" section". Uncheck this field for each field you DON'T want to display in the "My Account" page.

I also had to alert your CMS Builder code to allow HTML separators to display user information.
(cmsAdmin/lib/menus/default/edit_functions.php. I added the line "global $CURRENT_USER;" to the _showseparator function).

This information now displays on the "My Account" page, but can't be edited.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/