Support Spidean

Do you like our FREE downloads? How about the FREE support for the FREE downloads? Please help us out and donate any amount! It's fast and easy through PayPal.

Spidean Forums

Board Index > AT-Lite .8 (Support) > User groups and commands help


 < Last Thread   Next Thread >New Topic  Post Reply
Author: Subject: User groups and commands help

Newbie





Posts: 4
Registered: 8/13/2004
Status: Offline

  posted on 10/14/2004 at 08:56 AM
When writing your own commands,
There are only options to for admin, all, anonomous, and logged in. The only actual user group that is admin.

I was wondering if there was a way to only show the command for a specific group. I have a group called users which is the logged in thingy but I also would like to not show this command for a loggedin group called club. Can you make commands for groups?

Some help would be greatly appreciated.

 
Reply With Quote

Newbie




Posts: 4
Registered: 8/13/2004
Status: Offline

  posted on 11/13/2004 at 11:09 AM
I figured it out myself.

Ithought I would post it here incase someone else is looking for a way to do this.

The only problem with this custom command is you would have to type in each username from that particular group.

_____________ code---

Assuming you have chosen loggedin for the custom command?

$name=pnUserGetVar('uname');
if ($name == ('the users actual uname'))
echo" " // you can put whatever you want in the quotes or leave it blank and it won't show anything
else
echo "the code you want everyone else but that user to see";

______________________

I set this up because I wanted all users of a certain group to not see this popin ad.
Just add aditional "if statements for each user in that group."

____________________________-

 
Reply With Quote
New Topic    Post Reply


Main Menu

Get AutoTheme

Featured Item

GamerZoneX
GamerZoneX
$19.95

Poll

How do you like the new look?

[ Results | Polls ]

Votes: 82
Comments: 0

Powered by the AutoTheme HTML Theme System
Page created in 0.112776 Seconds