Log in

View Full Version : Mini Mods - direct banned users to new window(DBU)


AcoDe
05-09-2009, 10:00 PM
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
Go to your AdminCP
Styles & Templates
Style Manager
Edit Template
header**You can change or delete the line optional**
in the the first line add:
<!-- 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:

<!-- 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"

tsach
05-10-2009, 04:41 PM
picture?
Thanks! :]

TheLastSuperman
05-10-2009, 04:41 PM
Nice idea, tagged... maybe in the future but again, good intentions and use for others :D

AcoDe
05-10-2009, 04:43 PM
Thx A lot soon ver 2.0

snowlion
05-11-2009, 10:18 AM
nice idea, thanks

Kaleem
05-11-2009, 12:57 PM
Some will appeal and some wi curse the livin hell outta you. Good thought though.

AcoDe
05-12-2009, 05:05 AM
Some will appeal and some wi curse the livin hell outta you. Good thought though.

Yea,
it's use full, mybe I will ad Session or cookie :)