Forum categories

Плагин "UserTopicsList" для Cotonti CMF/CMS

Расширение позволяет на странице профиля пользователя и/или на отдельной странице, выводить все темы (топики) на форуме, которые были им созданы.

webitproff
webitproff • 2024-12-12 09:23 #267

Плагин для Cotonti CMF/CMS - "UserTopicsList"

 

Расширение позволяет на странице профиля пользователя и/или на отдельной странице, выводить все темы (топики) на форуме, которые были созданы этим пользователем.

 (Бета-версия, предварительная версия, которая может содержать ошибки или проблемы с производительностью)

 

За основу был взят этот плагин, который выводит последние посты в темах, а не просто темы.

Скачать с github плагин "UserTopicsList".

Установка:

Залить в папку с плагинами, установить в админке.

в свой шаблон users.details.tpl в нужном месте добавить тег

			<!-- IF {PHP.cot_plugins_active.usertopicslist} -->
				{USERS_DETAILS_USERTOPICSLIST}
			<!-- ENDIF -->

в header.tpl или в другом нужном месте ссылку на самостоятельную страницу со списком

<!-- IF {PHP.cot_plugins_active.usertopicslist} -->
	<a href="{PHP|cot_url('usertopicslist')}">{PHP.L.usertopicslist_meta_title}</a>
<!-- ENDIF -->

Бета-версия.

This post was edited by webitproff (2024-12-24 07:42, 1 year ago)
1/1/0

🗿

🧙‍♂️ Well met, good traveler! Fate has guided your steps to our humble realm. Here, wise sages and masters of the coding craft ⚒️📜 gather to unravel the mysteries of the code ✨⚙️, share their knowledge, and add new chapters to our chronicles.
⬅️ To the left lie ancient scrolls 📚 filled with forgotten wisdom. ⬆️ Straight ahead, friendly folk offer counsel 💬 to those in need. ➡️ To the right, you may become a chronicler ✍️ yourself, sharing your craft and leaving words of wisdom for those yet to come.
📝 Delay no longer—tell us the name by which you are known, complete the rite of registration 🛡️, and join our fellowship!
🏰 Our brotherhood holds no secret initiation, yet many halls remain closed to wandering guests, for some knowledge 💎 is reserved for those who choose to walk this path beside us.