The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
How to make things like this
I have long been looking for ways to make like this but I did not meet This example I show |
|
#2
|
||||
|
||||
|
Try this (assuming you are using the standard postbit legacy).
In your postbit_legacy template, search for:- Code:
$post[message] Code:
<if condition="$post['usergroupid'] == 8"> <div style="background-color:red;color:#fff;">This user has been banned and all posted content hidden</div> <else /> $post[message] </if> |
|
#3
|
||||
|
||||
|
Thanks, this helps me a lot
--------------- Added [DATE]1495969001[/DATE] at [TIME]1495969001[/TIME] --------------- Quote:
If for version 4.xx, is it the same? |
|
#4
|
||||
|
||||
|
Sorry for interfering...
If we restrict everything from banned users, in other words we urge them to make a new registration, something that we do not want.
|
| Благодарность от: | ||
| In Omnibus | ||
|
#5
|
||||
|
||||
|
I agree. It makes more sense to place them in global ignore or to use something like Joe's Miserable Users mod and redirect them to a site they can't spam like google.com
|
| Благодарность от: | ||
| Stratis | ||
|
#6
|
||||
|
||||
|
Quote:
For vb4 this should work. In postbit_legacy search for: Code:
{vb:raw post.message}
Code:
<vb:if condition="$post['usergroupid'] == 8">
<div style="background-color:red;color:#fff;">This user has been banned and all posted content hidden</div>
<vb:else />
{vb:raw post.message}
</vb:if>
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|