Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Mod// User Banned
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Mod// User Banned

 Post Reply Post Reply
Author
YaGMuR_PreNSi View Drop Down
Groupie
Groupie
Avatar

Joined: 26 May 2005
Location: Turkey
Status: Offline
Points: 71
Post Options Post Options   Thanks (0) Thanks(0)   Quote YaGMuR_PreNSi Quote  Post ReplyReply Direct Link To This Post Topic: Mod// User Banned
    Posted: 14 March 2007 at 11:12am

Hi Web Wiz Forum Users

example: www.yagmurprensi.net/forum
User: Fatih
Pass: deneme

Mod Version: 1.3
WWF Version: 8.x
DownLoad:
www.yagmurprensi.net/mod/UyeBan.rar
Setup:
Open common.asp
---[FIND]---
'Redirect to the forum closed page
 Response.Redirect("forum_closed.asp" & strQsSID1)
End If
 
--[add below]--
'******************************************
'***       Kullanıcı Banned     ****
'******************************************
'YaGMuRPreNSi Kullanıcı Banlama Modu
'wWw.YaGMuRPreNSi.NeT // WebWizTurk.CoM
dim UserBanned
If blnBanned AND UserBanned = False AND blnAdmin = False Then
 
 'Reset server objects
 Call closeDatabase()
 
 'Redirect to the forum closed page
 Response.Redirect("ban.asp")
End If
 

move the "ban.asp" file to your forum's main folder

 
Open language_files/language_file_inc.asp
---[FIND]---
Const strTxtSuspendUser =
---[change]---
Const strTxtSuspendUser = "Ban Member"
--[FIND]--
Const strTxtAdminNotes =
--[CHANGE]--

Const strTxtAdminNotes ="banning reason"

Open forum_posts.asp
--[FIND]--
strGuestUsername = sarryPosts(19,intCurrentRecord)
--[add below]--
dim intBan
strSQL="SELECT tblAuthor.Banned FROM tblAuthor WHERE author_ID =" & lngUserID
rsCommon.Open strSQL, adoCon
  intBan = rsCommon("Banned")
rsCommon.close
 
--[FIND]--
<a href="member_profile.asp?PF=<% =lngUserID %>&FID=<% = intForumID & strQsSID2 %>"><% = strUsername %></a>
   <br /><% = strGroupName %>
   <br /><img src="<% If strRankCustomStars <> "" Then Response.Write(strRankCustomStars) Else Response.Write(strImagePath & intRankStars & "_star_rating.gif") %>" alt="<% = strGroupName %>"/>
   <br />
---[change]---
<a href="member_profile.asp?PF=<% =lngUserID %>&FID=<% = intForumID & strQsSID2 %>"><% = strUsername %></a>
  
   <%
   if intBan = True then
   Response.Write("<strike><font color='red'><b>ßanned</b></font></strike> <br><img src='" & strImagePath & "0_star_rating.gif' alt='Üye Forumdan Banlanmıştır'><br>")
 Else
   %>
   <br /><% = strGroupName %>
   <br /><img src="<% If strRankCustomStars <> "" Then Response.Write(strRankCustomStars) Else Response.Write(strImagePath & intRankStars & "_star_rating.gif") %>" alt="<% = strGroupName %>"/>
   <br />
   <% End If %>
 
 

save and close

 
 
 
MSN and Mail admin@yagmurprensi.net

My WWF: www.FatihAytekin.com
Back to Top
marzalli View Drop Down
Newbie
Newbie
Avatar

Joined: 15 June 2007
Location: Turkey
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote marzalli Quote  Post ReplyReply Direct Link To This Post Posted: 06 February 2008 at 10:38pm
thanx fatih :)
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.