![]() |
Rules when you open a new thread
1 Attachment(s)
Many people have asked how to insert rules that can be displayed when the member starts a new thread.
In style manager, open the editor templates -> editor_toolbar_on. At the very top of the file, above the line $vBeditTemplate[clientscript], insert this code: Code:
<if condition="THIS_SCRIPT == 'newthread'"> Code:
<li>Rules</li> Sample https://vborg.vbsupport.ru/external/2009/05/158.jpg PS: sorry for my english :D Original modification in Italian version available here. Cionfs of Cionfs'Forum CMS PS: Thanks to ctrlbrk for translation :) |
Not functionally for me.
|
Brilliant, thank you.
|
Quote:
|
Quote:
|
How would i make it show only for a certain forum?
|
You can use before code
Code:
<if condition="in_array($forum['forumid'], array(X,X,X,X))"> Code:
</if> |
hi i dont under stand whare i put this in the template can any one tell me ??
and whare do i put the code so it only shows in serting forums Code:
<if condition="in_array($forum['forumid'], array(104,108,102,308,27,106,107,109,294,263))"> Code:
<if condition="THIS_SCRIPT == 'newthread'"> |
Quote:
Quote:
Code:
<if condition="in_array($forum['forumid'], array(104,108,102,308,27,106,107,109,294,263))"> |
thanks very much that did the trick :)
|
All times are GMT. The time now is 03:52 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|