Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2001
Posts: 8
Junior Member
Junior Member
Offline
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.

Sponsored Links
Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
The first doesn't exist, the other two maybe.

Joined: May 2001
Posts: 6,708
Member
Member
Offline
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
Offline
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
Offline
Joined: May 2001
Posts: 6,708
I don't think you can sperate anything for a specific user.

Sponsored Links
Joined: Dec 2000
Posts: 47
Member
Member
Offline
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 ]


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)