Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 8
I posted a question about this in the 5.x section. It probably makes more sense to post it here.

Is it possible to have different templates display for different members? It would probably be based on a field in the profile.
I'd like to be able to have different header and footer info based on a profile field. The user would need to be logged in to get the special template.

I could use this to have a banner-free version of the forum available to some members.

Another point brought up in that thread was that it could also make it possible for members to choose different design templates.

Sponsored Links
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
This is possible, in theory, but would require about twice the disk space for storing the cache for the additional style template copies...


UBB.classic: Love it or hate it, it was mine.
Joined: Mar 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 8
Thanks, Charles. I wouldn't really be worried about the disk space. As long as it didn't cause any performance issues.

What would happen to the size of the cache if we had 6 or seven different templates available?

Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Each additional template would double the original space use. If your cache used 200 megs when fully built with one template, it would use 400 with two, 600 with three, etc.

Of course, a fully built cache is not very likely.


UBB.classic: Love it or hate it, it was mine.
Joined: Jun 2000
Posts: 8
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 8
It is a great idea, but for me I need only the color templete for my user to choose in there display like windows setting>

smile laugh

Sponsored Links
Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
I am waiting on ubb6 to come out of beta to try to work it into a full mod but it is very easy to do this. It just uses a cookie to point to the style sheet you want the user to use which can be picked from a list. I will probably be asking for help from one of the resident pros in tying to tie it in to the ubb profile settings but I have it working as a standalone cgi script for now. Just a couple small bugs to work out.... The only extra server space this method requires is for multiple style sheets which are tiny smile

[ March 13, 2001: Message edited by: freakscene ]


jeremiah
Joined: Mar 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 8
This would be really cool. cool

Joined: Jan 2000
Posts: 114
Member
Member
Offline
Joined: Jan 2000
Posts: 114
I have a hack related to this running on my UBB6 test board that allows the user to select their language, though it's a bit out of date, what with all the wordlet changes. It uses a secondary cache for all display pages, but uses a central one for everything else, like the search indexes. I'm planning on modifying it so that the user can change their template choice as well, just waiting for UBB6 to come out of beta before I do any more work on it.

Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
i just actually made a hack that can make a diffrent forum look visually diffrent like the html can change for a forum!

Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
Leshrac I am really interested in your language choosing feature,

Since I am doing the french translation (available in french support forum) I would be mostly interested to offer people a way of having different language choices.

thanks


Do you believe in love at first sight,
or should I walk by again?
Sponsored Links

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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)