Back to vBulletin 3.8 Template Modifications

Rules when you open a new thread
Mod Version: 1.00, by cionfs

vB Version: 3.8.x Rating: (3 votes - 4.67 average) Installs: 45
Released: 03 May 2009 Last Update: Never Downloads: 2
Not Supported Template Edits Re-usable Code Translations  

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'">
<if condition="$show['member']">
<strong>Hello $bbuserinfo[username]! We ask that you follow these simple rules:</strong><br />
<ul>
<li>First rules. </li>
<li>Second rules. </li>
<li>Third rules. </li>
</ul>
</if>
</if>
For add new rules add a new line with the code

Code:
<li>Rules</li>
NB: Obviously, the text "Message:" always appear above the rules. To delete or modify the search for phrases.

Sample



PS: sorry for my english

Original modification in Italian version available http://www.cionfs.it/forum/vbulletin-e-vbseo-italia-vf19/guida-inserire-le-regole-di-scrittura-allapertura-di-un-nuovo-topic-vt5765.html.

Cionfs of http://www.cionfs.it/forum/

PS: Thanks to ctrlbrk for translation

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024