The Arcive of vBulletin Modifications Site. |
|
Rules when you reply to a thread Details »»
|
|||||||||||||||||||||||||
Many people have asked how to insert the rules when the members reply (not in quick reply) to a thread.
Now how do you explain. Open editor_toolbar_on template and add above all this code: Code:
<if condition="THIS_SCRIPT == 'newreply'"> <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> Code:
<li>Rules</li> Sample ![]() PS: sorry for my english ![]() Original modification in Italian version available here. Cionfs of Cionfs'Forum CMS Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
nice thanks
|
|
#3
|
|||
|
|||
|
Great mod thanks and installed
|
|
#4
|
|||
|
|||
|
Nice Hack, But If I want to show different rules in different forum ..
Any Idea How ..? |
|
#5
|
||||
|
||||
|
Use this code
Code:
<if condition="$forum[forumid] == X"> <if condition="THIS_SCRIPT == 'newreply'"> <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> </if>
|
|
#6
|
||||
|
||||
|
hello!
i put like this in my editor_toolbar_on template: Code:
<if condition="THIS_SCRIPT == 'newthread'"> <if condition="$show['member']"> <strong>Hello $bbuserinfo[musername]! Your message here:</strong><br /> <ul> <li><b> rule 1. </b></li> <li><b> rule 2. </b></li> <li><b> rule 3. </b></li> </ul> </if> </if> <else /> <if condition="THIS_SCRIPT == 'newreply'"> <if condition="$show['member']"> <strong>Hello $bbuserinfo[musername]! Your message here:</strong><br /> <ul> <li><b> rule 4. </b></li> <li><b> rule 5. </b></li> <li><b> rule 6. </b></li> </ul> </if> </if> regards and thanks for mod macc |
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
||||
|
||||
|
Very good!!!, Thank you for taking the time to post this mod. Very helpful on my forum. Installed
|
![]() |
|
|