Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2001
Posts: 25
User
User
Joined: Apr 2001
Posts: 25
hi,
some usability-issue:
does anybody know a way of sending a user back to the page he was viewing when he was not yet logged in?

example:
user is reading an article and wants to post a comment - he is not logged in, so he clicks on "login" and enters username+password - and then he is returned to the article he was reading, and is now able to post his comment.

currently it is difficult for him to find the article again

thanx in advance!

Sponsored Links
Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550
>currently it is difficult for him to find the article again

The easists thing would be to click back on the browser 2-3 times until he is at the article, and then reload the page.

Joined: Apr 2001
Posts: 25
User
User
Joined: Apr 2001
Posts: 25
that's true - but i would prefer an option to send the user back.

optionally i could think of a link "return to the original article you were viewing"
javascript:history.back(-3) or something like that... but this is far from elegant...

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
Are you using cookies? If so, then registered users should automaticly log in once they go to your forum (unless they have their browser set to block cookies).

Cookies don't get set for unregistered users, so it might be a little difficult to keep track of where they were...

Joined: Apr 2001
Posts: 25
User
User
Joined: Apr 2001
Posts: 25
yes, we use cookies on our board.
it's no problem with registered users who want to be remembered.

my intention was to help new users making comments.
we used to have a little hack where the login-box would open in a new window and a reload of the original window after submission of user-id and password.
but the multiple windows were a bit disturbing, users tended to get lost.

Sponsored Links
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Well the user is tracked via cookies on where they are so currently until they register they are not tracked as Dalantech mentioned. There is no data to write into the table.

Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
You'll have to implement some kind of history tracking via cookies or sessions to get this working. I use something similar for my global usermanagement system. It's based on sessions, but it's doable for cookies also.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)