Topic: Different template for guests and users
I must be blind because I'm not seeing where I can setup a slightly different template for guests vs. users.
Can someone point me to this info? Thanks!
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Different template for guests and users
I must be blind because I'm not seeing where I can setup a slightly different template for guests vs. users.
Can someone point me to this info? Thanks!
Go to your Admin -> Options -> and then look for Default Style. Does this help?
I must be blind, too, because when I change the style and save it, the style does not change. But I haven't really looked into it, I guess it's because I was logged in as admin!? :-)
I would expect it to be in the user group area, editing Guests. but there isn't an option to pick the style for guests.
The default style set in admin -> Options is the style guests and new users will see. Once registered users can change their style in their profiles. There is no facility for choosing one default style for guests and a different default style for new registered users so that would have to be a modification.
Thanks Paul. I'm surprised no one has come up with one yet.
I'm not a fan of having Google ads for registered users, but I'll gladly show them to guests - hence the need for 2 styles.
Why not then check if user is logged in, if not show ad, if logged in do not show ad.
if( $pun_user['is_guest'] ) { show ad }
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Different template for guests and users
Powered by PunBB, supported by Informer Technologies, Inc.