Webmastersite.net
Register Log In

Limiting users to their own links

Comments on Limiting users to their own links

Nicky32
Member

Usergroup: Customer
Joined: Sep 27, 2005
Location: Canada

Total Topics: 12
Total Comments: 32
Nicky32
Posted Oct 07, 2005 - 12:57 AM:

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?

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 07, 2005 - 6:17 PM:

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 ."'");
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.