UQ13A Posted December 23, 2009 Author Share Posted December 23, 2009 i know. i was just letting you know that that's why your mod's weren't getting the desired information. now you need to work it out where the mod's have global access to the users table. Sorry but you got me confused im new at php, i guess i should have mentioned thatat the begging Quote Link to comment Share on other sites More sharing options...
ignace Posted December 23, 2009 Share Posted December 23, 2009 Why would you disallow people to view other people's ticket? I have used support a few times now and they sometimes redirect me to another person's ticket to provide me with a possible solution. Atleast Steam did that when I had some trouble with my videocard and L4D. Another option is to use something like: Q3T47H-4S4S37-34TSK7-4Q37YT No idea how this is called Steam uses it and Microsoft uses it to identify components or something. Quote Link to comment Share on other sites More sharing options...
mrMarcus Posted December 23, 2009 Share Posted December 23, 2009 Why would you disallow people to view other people's ticket? I have used support a few times now and they sometimes redirect me to another person's ticket to provide me with a possible solution. Atleast Steam did that when I had some trouble with my videocard and L4D. Another option is to use something like: Q3T47H-4S4S37-34TSK7-4Q37YT No idea how this is called Steam uses it and Microsoft uses it to identify components or something. probably to prevent the accidental disclosure of sensitive information. otherwise, you could have somebody watching in on your ticket. a thought would be (and possibly what Steam deploys), would be to have the option for the ticket/thread to go 'live' once it's been 'closed' (or at the moderators discretion). Quote Link to comment Share on other sites More sharing options...
UQ13A Posted December 23, 2009 Author Share Posted December 23, 2009 probably to prevent the accidental disclosure of sensitive information. otherwise, you could have somebody watching in on your ticket. a thought would be (and possibly what Steam deploys), would be to have the option for the ticket/thread to go 'live' once it's been 'closed' (or at the moderators discretion). Yes exactly i dont want other people viewing other peoples tickets which contain sensitive information what if i make a seperate action for moderators, like normal users have tickets.php?view=ID for mods i use tickets.php?read=ID and for tickets.php?read i only limit it for user_level >= 2 would that work? Quote Link to comment Share on other sites More sharing options...
UQ13A Posted December 23, 2009 Author Share Posted December 23, 2009 Solved it all i need was this if (($ticketOwner == $username) || ($user[user_level]>="2")) { works like a charm thanks for the help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.