Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 04:05:47 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149621 Posts in 21098 Topics by 7537 Members
Latest Member: lotte2
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Adding users, not in groups  (Read 363 times)
mikejd

Offline Offline

Posts: 140


« on: March 11, 2010, 10:34:38 AM »

I have a site which includes a directory of clients and have been asked if each client could be given an individual page for their business which they are able to update. I don't think I can create a group of users for the clients as all would have access to all pages, and creating a group for each client seems like overkill.

I am wondering if I can create users who are not members of any group but are given permissions to edit pages and upload images and are only given access to a single page. Or perhaps someone can suggest another way to do it.

Mike
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6819


WWW
« Reply #1 on: March 11, 2010, 10:59:42 AM »

Every User needs to be member of a group. You would need to create extra groups for this kind of staff.

Have a look at http://www.mywebsitebaker.com/ which shows this kind of "directory" quite nicely.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

pcwacht
AddOn Development
*
Offline Offline

Posts: 2814



WWW
« Reply #2 on: March 11, 2010, 11:22:03 AM »

Depends on the number of clients
If it is less then hundred, create the groups

If it is way more  maybe some additional programming would be handy

1 - create a usergroup wich has normal rights (no backend rights)
2 - create a page per user with it's username
3 - create a droplet wich show 'edit-this-page' if logged in username equals pagename and links to your own edit script for editing the content of that page (if it is a normal wysiwyg page)

Have fun,
John
Logged

http://www.ictwacht.nl = Dutch ICT info
http://www.pcwacht.nl = My first
both still work in progress, since years.....
JC

Offline Offline

Posts: 56


« Reply #3 on: April 03, 2010, 09:50:52 AM »

Hi,

@pcwacht
Is there a lot of programming required to make what you are suggesting? I would find this very handy, but I'm no programmer so I can't tell if it would be a difficult thing to do or not..
Ideally the User should go to his "preference"-page and there get the option to make a personal page that has the same name as the username of that person just like you recomended.

ciao,
JC
Logged
pcwacht
AddOn Development
*
Offline Offline

Posts: 2814



WWW
« Reply #4 on: April 03, 2010, 10:41:04 AM »

It all depends on what you want in the frontend, per user, and what a user can change

Most simple idea would be to create a news page for these user-pages
create an item per user
Next in the frontend, if logged in user equals the item name he/she can change the short and long content through a droplet

droplet would need to have - pseudocode
if logged in user doens NOT have a matching post-item-name -> create post-item with username
if logged in user equals post-item-name -> show edit
if edit is clicked -> show editable content
if save is clicked -> update content

By using a newspage listing of these user-pages would be a breeze.

Don't know how much coding is involved. The testing allways set you hourss back Wink

Have fun,
John

Logged

http://www.ictwacht.nl = Dutch ICT info
http://www.pcwacht.nl = My first
both still work in progress, since years.....
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!