Webmastersite.net
Register Log In

Loging in to edit link
Should you just see you link when you login

Comments on Loging in to edit link

mel
Member

Usergroup: Customer
Joined: Dec 16, 2006

Total Topics: 9
Total Comments: 29
mel
Posted Jan 30, 2007 - 1:32 PM:

Hi everyone,

Still running tests prior to final design stage:

When an owner of a link logs in to edit their link,
after login should they be taken directly to their
link details page?

When I run this test you are taken to the category
where the link in question is and then have to click
on the edit button to be taken to the actual page
where you can edit the details

Is this correct?

If this is correct, is there a way that they can be taken
directly to their link details without having to click on
the edit button?

Or have I got one of the settings wrong in the manage
usergroups area?

Mel
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 03, 2007 - 10:18 AM:

There isn't normally any way for somoene to find how to edit their link without already being logged in, making it a non-issue. passing the url as returnto in the form might make it redirect, not sure.
mel
Member

Usergroup: Customer
Joined: Dec 16, 2006

Total Topics: 9
Total Comments: 29
mel
Posted Feb 03, 2007 - 11:21 AM:

Paul wrote:
There isn't normally any way for somoene to find how to edit their link without already being logged in, making it a non-issue. passing the url as returnto in the form might make it redirect, not sure.


Hi Paul,

My idea was not to have a login box on every page but instead:

Either a button which when clicked on takes them to the login form
on a seperate page - which I have tested and it works - but they
still need to go through the listings in the category they are listed
in to find their listing with the ' edit ' image against it

OR

A text link alongside for example the comments link in each individual
listing with the text saying something like ' edit link '

Failing that, I suppose that I can give instructions on the login page
that once logged in they will need to scroll down until they find their
link flagged up with the edit sign

It's no great problem, I was just trying to make it as slick as possible
for them to edit their link

Mel
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 03, 2007 - 4:57 PM:

Use the direct link to the 'edit' page, that'll bring up the no permission page which has a login. Then in the 'no permission' template's form:
<input type="hidden" name="returnto" value="{CURRENTURL}">

Again, it's untested.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Feb 03, 2007 - 10:21 PM:

mel wrote:


Hi Paul,

Failing that, I suppose that I can give instructions on the login page
that once logged in they will need to scroll down until they find their
link flagged up with the edit sign

It's no great problem, I was just trying to make it as slick as possible
for them to edit their link

Mel


You could send them direct to their options page after logging in - their link(s) are shown there so they don't have to hunt for them. Do this under Admin > Miscellaneous > Manage Redirects.

mel
Member

Usergroup: Customer
Joined: Dec 16, 2006

Total Topics: 9
Total Comments: 29
mel
Posted Feb 04, 2007 - 8:02 AM:

Paul wrote:
Use the direct link to the 'edit' page, that'll bring up the no permission page which has a login. Then in the 'no permission' template's form:
<input type="hidden" name="returnto" value="{CURRENTURL}">

Again, it's untested.



Added the hidden input to the noaccess.tpl

Result it displays message you are now logged in and then redirects
you back to the login page again - so it is returning but not
to the link itself
mel
Member

Usergroup: Customer
Joined: Dec 16, 2006

Total Topics: 9
Total Comments: 29
mel
Posted Feb 04, 2007 - 8:20 AM:

babrees wrote:


You could send them direct to their options page after logging in - their link(s) are shown there so they don't have to hunt for them. Do this under Admin > Miscellaneous > Manage Redirects.



Is this a Member or Link variable - could not see anything with the word options in
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Feb 04, 2007 - 9:21 AM:

mel wrote:
Is this a Member or Link variable - could not see anything with the word options in


Neither, it's not a variable smiling face It's the member's home options page.

In your admin go to > Miscellaneous > Manage Redirects and where it says "After a user logs in, send them to" enter profile.php?action=memberhome&id={MEMBERID}

This will take them to their options page where their links are listed.
mel
Member

Usergroup: Customer
Joined: Dec 16, 2006

Total Topics: 9
Total Comments: 29
mel
Posted Feb 04, 2007 - 10:38 AM:

babrees wrote:
Neither, it's not a variable It's the member's home options page.In your admin go to > Miscellaneous > Manage Redirects and where it says "After a user logs in, send them to" enter profile.php?action=memberhome&id={MEMBERID}This will take them to their options page where their links are listed.


Thanks that works fine another 250hrs as a trainee and I might really start getting to grips with this powerful scriptsmiling face
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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