![]() |
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 :)
|
cionfs,
If I may -- here is a better English translation that you may wish to include for the installation instructions: Quote:
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: --- HTH, Mike |
Thank you :)
|
Nice mod. I would like to enable this, but only for new memberĀ“s first post. Is it possible, and how?
Thanks |
For members in first post
Code:
<if condition="$show['member']"> |
Quote:
Installed |
Man, this would make an EXCELLENT installable product!
My idea:
Last, but not least: THANK YOU FOR THIS HACK! :up: :up: :up: |
I'm trying to install this hack on a v3.6.12 vBulletin board, but it is just not working...
I've get the following hack installed, and wonder if this the problem resides there, or if this hack is just not for v3.6.12...??? :confused: Cyb - Prevent Newbies from Posting to Wrong Forum https://vborg.vbsupport.ru/showthread.php?t=122994 Please HELP! :eek: :( |
Quote:
|
Quote:
Would it be difficult to implement it so it could work on v3.6.12? :confused: Thank you! :up: :up: |
Quote:
Does not appear? |
Quote:
|
Quote:
Code:
<if condition="THIS_SCRIPT == 'newthread'"> |
Thanks for this nice mod.
|
Is there a way to set this DIFFERENTLY for each forum section?
|
Thank done...
|
Grazi cionfs ottima mod!^^
|
Can we have this for 4.0.x ? That'll be awsome!.
|
|
Amazing!!!
|
@ cionfs thx bro , working well , any chance in vb4 ?
|
All times are GMT. The time now is 06:19 AM. |
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:
|