You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 48 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - How to direct a user to his/her specific page? [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
mejayne
Nuke Soldier
Nuke Soldier


Joined: Jan 03, 2005
Posts: 11


PostPosted: Sun Jan 22, 2006 1:56 am Reply with quoteBack to top

Hi, I run a fire department website that keeps records of each members training hours. Right now, I have a list of the members' names, and when Member "Bob" clicks on his name, a login box (via htaccess) pops up for him to log in. What I'd like to do is get rid of the htaccess, and once "Bob" logs into the main site, and clicks on his name in the list, it will direct him to his specific training page. The problem I'm having is, when any member is logged in, without the htaccess, they can access any members training.

To put it shortly, I need a script that will pull "Bob's" username when he is logged in, and allow him to view his training page, but will not allow any other logged in member to access it.

I've searched and searched, but cannot seem to find exactly what I'm wanting. Please help! It'd be much appreciated. Very Happy
Find all posts by mejayneView user's profileSend private message
spottedhog
Captain
Captain


Joined: Apr 30, 2004
Posts: 566


PostPosted: Sun Jan 22, 2006 4:41 am Reply with quoteBack to top

I have not seen a module that is page specific to a member either..... I do have an idea though that will work....

You could create a Forum board for each member, and make that board only available to the specific member and moderator/admin.

Maybe it is not the easiest or cleanest, but it would work.

_________________
SMF-Nuke admin

SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
Find all posts by spottedhogView user's profileSend private messageSend e-mailVisit poster's website
mejayne
Nuke Soldier
Nuke Soldier


Joined: Jan 03, 2005
Posts: 11


PostPosted: Sun Jan 22, 2006 10:02 am Reply with quoteBack to top

This sounds like a good work-around, but unfortunately, the pages I need to call, the Training pages, are all html, which complicates things a big more. I could convert them to php, I know, but they're updated so often that that would become a hassle real quick. I'll continue working with the htaccess authorization until I can come up with something. Thank you for the prompt relpy though Smile
Find all posts by mejayneView user's profileSend private message
spottedhog
Captain
Captain


Joined: Apr 30, 2004
Posts: 566


PostPosted: Sun Jan 22, 2006 10:58 am Reply with quoteBack to top

You can put html in the forums...... not a problem.....

try it here.......

_________________
SMF-Nuke admin

SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
Find all posts by spottedhogView user's profileSend private messageSend e-mailVisit poster's website
mejayne
Nuke Soldier
Nuke Soldier


Joined: Jan 03, 2005
Posts: 11


PostPosted: Sun Jan 22, 2006 11:58 am Reply with quoteBack to top

I'll try it out. I can do it through the forums, with html, I know that. I personally find forums to be a bit ugly though, especially with tables and stuff. I'll work on mine though..see how tight I can get the permissions for it. Thanks for the reply
Find all posts by mejayneView user's profileSend private message
mejayne
Nuke Soldier
Nuke Soldier


Joined: Jan 03, 2005
Posts: 11


PostPosted: Fri Apr 21, 2006 12:12 am Reply with quoteBack to top

I actually built the module myself, and got it working.
Basically, I put a link in Your_Account to link to modules/training/$user.php. Then I have files named for each user with their username.php. In these files, it checks for the username, then directs them to modules/training/hours/username.htm. If they are trying to access the wrong user's files, they get redircted to modules/training/hours/notyou.htm. It works great, and I can dump the updated htm files in the folder without having to rewrite everything every time. I thought I'd post this in case someone else out there is looking for something similar. Very Happy
Find all posts by mejayneView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.174 Seconds - 321 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::