SupermanInNY
Verified User
- Joined
- Sep 28, 2004
- Messages
- 419
Hi All,
I'm stuck on trying to build a simple plugin code:
I'm trying to build a plugin that shows the list of users.
When I'm in an Admin level, it needs to show only the Resellers.
When I'm in a Reseller Level, it should show only the users below it
While this is very simple in logic, I can't get it work.
I want to avoid using "username and password" in the plugin code. It should capture what level you are connecting through and identify itself to show the users below your level.
I don't care if it is in perl or PHP, I just need to get this basic functionality running.
I was wondering if anyone can assist me to get it started.
Also, where should the httpsocket.php file reside? this should be shared for all levels, so is there a 'public' area it can be put and then included?
Where did I get stuck?
I tried all sorts of samples that were shown here, but I get either a blank page or an array with just one entry in it.
Thanks,
-Alon.
I'm stuck on trying to build a simple plugin code:
I'm trying to build a plugin that shows the list of users.
When I'm in an Admin level, it needs to show only the Resellers.
When I'm in a Reseller Level, it should show only the users below it
While this is very simple in logic, I can't get it work.
I want to avoid using "username and password" in the plugin code. It should capture what level you are connecting through and identify itself to show the users below your level.
I don't care if it is in perl or PHP, I just need to get this basic functionality running.
I was wondering if anyone can assist me to get it started.
Also, where should the httpsocket.php file reside? this should be shared for all levels, so is there a 'public' area it can be put and then included?
Where did I get stuck?
I tried all sorts of samples that were shown here, but I get either a blank page or an array with just one entry in it.
Thanks,
-Alon.