PDA

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


AcoDe
10 May 2009, 17:23
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
10 May 2009, 17:41
picture?
Thanks! :]

TheLastSuperman
10 May 2009, 17:41
Nice idea, tagged... maybe in the future but again, good intentions and use for others :D

AcoDe
10 May 2009, 17:43
Thx A lot soon ver 2.0

snowlion
11 May 2009, 11:18
nice idea, thanks

Kaleem
11 May 2009, 13:57
Some will appeal and some wi curse the livin hell outta you. Good thought though.

AcoDe
12 May 2009, 06:05
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 :)