blue-sky
(blue-sky)
29.Октябрь.2024 02:34:16
1
Когда пользователь входит в систему, если он не настроил «preferences->profile->location», я хочу, чтобы сайт перенаправлял его на «preferences->profile->location» для настройки. Как это сделать? Кто-нибудь знает?
ondrej
29.Октябрь.2024 11:34:07
2
Вы можете использовать компонент темы, подобный этим, чтобы изменить домашнюю страницу по умолчанию.
Можно ли добавить в группу людей, у которых не настроено местоположение, и указать preferences - profile - location в качестве URL?
Overview
When installed and added to the active theme, this theme component enables you to control the ‘homepage’, allowing it to be different from the set of pages Discourse allows by default, as well as having different groups have different “homepages” (e.g., group members care only or mostly about a particular category). This can be for all users, anon (non-logged in), mobile users, or according to a user’s primary group. Initially developed by @pfaffman . See User-specific Discourse home pag…
Well, @hellekin thought that this deserved its own topic. I’m not quite sure it’s ready for such, but here it is. I’ll have a look at stuff early next week and try to make sure that it looks like something that other people could really use.
As he said:
Drew-ART
(Drew)
20.Ноябрь.2025 00:33:15
3