8, January 2009

Suggesting a Feature..... - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: Suggesting a Feature.....
« previous next »
Pages: [1] Print

Author Topic: Suggesting a Feature.....  (Read 1080 times)
World Wide Whale
***
Gender: Female
Posts: 154
1052 credits
Members referred : 0



« on: Oct 09, 2007, 09:36:56 PM »

I have been using your AccessUser_Class for ages & I love it.   Grin

It would be really great if you added a feature (or explained how to add the feature) that would send a user after log-in to a specific page just for them.  I have been researching how to do it for a while, but haven't found anything yet.   Cool

For example when 'charles' logs in it will take him directly to "root/charles/index.htm" or something like that. 

I of course would have to set the code where I had to activate the users account, then add their directory to the database, so it would know where to send them, but I could add that in inside my MySQL Admin, so it wouldn't have to be added to the admin page.

Thanks!
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6557
40174 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Oct 09, 2007, 10:02:31 PM »

just store the file (location) in the user (profile record) and use this address for this var:
$obj->main_page = 'the page';


Last blog : Just a better Internet portal provided by Google
World Wide Whale
***
Gender: Female
Posts: 154
1052 credits
Members referred : 0



« Reply #2 on: Oct 09, 2007, 10:15:58 PM »

just store the file (location) in the user (profile record) and use this address for this var:
$obj->main_page = 'the page';

OK, so I should store the location in the users table (I am guessing with in a new field?!)

Then I put 'var: $obj->main_page = 'the page';' where exactly....

I am sorry, I don't know if I am catching on....
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6557
40174 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Oct 09, 2007, 10:33:47 PM »

yes do it this way, maybe you can use the users Id or name as a key for the target page (this way the page is always the same and you don't need to add some new db field)


Last blog : Just a better Internet portal provided by Google
World Wide Whale
***
Gender: Female
Posts: 154
1052 credits
Members referred : 0



« Reply #4 on: Oct 09, 2007, 10:38:28 PM »

I think I will use 'extra info' now that I think about it.  I don't need it to keep up with when they logged in last.  What is the tmp_mail column for?

Where do I need to put the "var: $obj->main_page = 'the page';" at?  and will it be just like it is here, or will I need to replace generics with specifics?
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6557
40174 credits
Members referred : 374


It's time to use PHP5!


« Reply #5 on: Oct 09, 2007, 10:45:10 PM »



Where do I need to put the "var: $obj->main_page = 'the page';" at?  and will it be just like it is here, or will I need to replace generics with specifics?
after you create the object on the login page (obj is the object name)


Last blog : Just a better Internet portal provided by Google
World Wide Whale
***
Gender: Female
Posts: 154
1052 credits
Members referred : 0



« Reply #6 on: Oct 09, 2007, 10:52:26 PM »

What should go into 'the page', how do I tell it to pull from the correct part of the db?
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6557
40174 credits
Members referred : 374


It's time to use PHP5!


« Reply #7 on: Oct 10, 2007, 07:56:10 AM »

What should go into 'the page', how do I tell it to pull from the correct part of the db?

sorry? please check the examples first, what you asking is not special


Last blog : Just a better Internet portal provided by Google
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7211
Tags : access user class Log In redirect to specific page Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: Suggesting a Feature.....
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Jan 08, 2009, 07:50:54 PM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 38.654
Total Topics: 7.772
Total Members: 4.659
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: sardiniasarena

21 Guests, 6 Users online :

17 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2009 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.