I'm setting up a directory where I will be the only one initially adding all links. I will attach an email address to each link. If the owner of a site signs up to be a paid member, I want him to be be able to edit only those links that have his email address. Then I probably also want to approve each change.
Is this built into the system, or does it require a lot of custom coding?
You want to make links that have a certain email become owned by the member with that email when they register at a later date. First note that most people have many emails so you'll have to somehow tell them which one to register with. But if you still want to do it, it'd be a customization in register.php after $amember->id = $id; where you add $db->update('linkstable', 'ownerid', $amember->id, "email='". $amember->email ."'");
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Limiting users to their own links
Member
Usergroup: Customer
Joined: Sep 27, 2005
Location: Canada
Total Topics: 12
Total Comments: 32
I'm setting up a directory where I will be the only one initially adding all links. I will attach an email address to each link. If the owner of a site signs up to be a paid member, I want him to be be able to edit only those links that have his email address. Then I probably also want to approve each change.
Is this built into the system, or does it require a lot of custom coding?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You want to make links that have a certain email become owned by the member with that email when they register at a later date. First note that most people have many emails so you'll have to somehow tell them which one to register with. But if you still want to do it, it'd be a customization in register.php after $amember->id = $id; where you add $db->update('linkstable', 'ownerid', $amember->id, "email='". $amember->email ."'");