|
|
Joined: Mar 2001
Posts: 8
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 8 |
Is there a hack available to give different user types different templates?
I'd like to have different header info and such available based on the type of user.
I'd also like to make some functions available only to specific types of users. Avatars for example.
|
|
|
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
Joined: Sep 2000
Posts: 1,304 |
The first doesn't exist, the other two maybe.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I don't think the other 2 are possible either.
|
|
|
|
Joined: Mar 2001
Posts: 8
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 8 |
I figured it would be a major undertaking since static html files are created instead of dynamic files.
I was hoping that someone had come up with a creative way to do this.
I figured it would be something along the lines of a call in the header, similar to ad code, that would check to see if it's a particular type of user and then either display a banner ad or not based on that.
My main goal here is to be able to turn banner ads off for some users but leave them on for others.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I don't think you can sperate anything for a specific user.
|
|
|
|
Joined: Dec 2000
Posts: 47
Member
|
Member
Joined: Dec 2000
Posts: 47 |
it could be done I guess, but needs some coding, you could use something on the line 16 lets say the value is "noads" for making sure no ads are displayed. So something like this could be written..
unless ($thisprofile[15] eq "noads") { print >>ADS; }
and so on...
[ June 28, 2001 08:51 PM: Message edited by: Techguy ]
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|