Back to vBulletin 3.8 Template Modifications

direct banned users to new window(DBU)
Mod Version: 1.00, by AcoDe

vB Version: 3.8.x Rating: (1 vote - 3.00 average) Installs: 8
Released: 10 May 2009 Last Update: Never Downloads: 29
Not Supported Template Edits Translations  

What is he doing?

This mini-mode allow you to direct banned users at you forum, into a specific URL.
for example:
you have a forum that in this forum the banned users can appeal on there ban reason.

Installation
  1. Go to your AdminCP
  2. Styles & Templates
  3. Style Manager
  4. Edit Template
  5. header
**You can change or delete the line optional**
in the the first line add:
PHP Code:
<!-- Start of DBU -->
<if 
condition="$forumid != Change to you appeal forum" id>//optinal
<if condition="$bbuserinfo[usergroupid] == 8">
     <
script language="JavaScript" type="text/javascript">
     
/*<![CDATA[*/
     
var df confirm(" Do you want to appeal you ban reason?");
     if (
df)
     {
       
open("Full URL To Direct");
     }
     else
     {
       
alert("If user press cancel message")
     }
     
/*]]>*/
     
</script>
</if></if>
<!-- 
End of DBU --> 
you can also delete the else:

PHP Code:
<!-- Start of DBU -->
<if 
condition="$forumid != Change to you appeal forum id">//optinal
<if condition="$bbuserinfo[usergroupid] == 8">
     <
script language="JavaScript" type="text/javascript">
     
/*<![CDATA[*/
     
var df confirm(" Do you want to appeal you ban reason?");
     if (
df)
     {
       
open("Full URL To Direct");
     }
     
/*]]>*/
     
</script>
</if></if>
<!-- 
End of DBU --> 


Remember to "Install"

Download

File Type: %1$s DBU_Install.txt (1.6 KB, 32 downloads)

Supporters / CoAuthors

  • AcoDe
  • GZA3

vblts.ru supports vBulletin®, 2022-2024