News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Template edition only for members

Started by Hero2019, March 08, 2019, 01:00:20 PM

Previous topic - Next topic

Hero2019

I would like to see a template edition only for registered users.
Guests should not be able to see it. What should I do, please?

Many Thanks.

Arantor

What do you mean by 'template edition'?

Hero2019

the output in a template only visible to registered users.

Arantor

Sorry, still have no idea what you're trying to do.

The usual methodology is to have the same template for both types of users and just have a test against $context['user']['is_guest'] to show or hide content.

Hero2019


Bigguy

I think he wants a different theme for guests than members.

Hero2019

It's about this MOD.

http://custom.simplemachines.org/mods/index.php?mod=3597

This will also be displayed for guests. And I would like to prevent the only registered user can see the top statistics.

Bigguy

That mod is a little old. It may not work with your version of SMF. Do you have it installed already. ??

Hero2019

Yes, I have to adjust the mod for 2.1. I just want to see the guest not see it.

Kindred

1- there is no permission in that mod, AFAIK.
2- Support for specific mods should be requested in the topic dedicated to supporting that specific mod, not general support.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: