Results 1 to 6 of 6

Thread: [BETA] Moderator Ban User

  1. #1
    Join Date
    Sep 2003
    Posts
    3,040

    Default [BETA] Moderator Ban User

    MOD Title: Moderator Ban User

    MOD Version: 1.0.0

    MOD Description: This MOD will allow moderators to ban/un ban abusers with out admin privilege.

    You can download it from

    http://www.netfreehost.com/mod/moderator_ban_user.zip

    MOD Header:

    Code:
    ###############################################
    ## MOD Title: Moderator Ban User
    ## MOD Author: Yujin Boby < info [at] netfreehost.com > (N/A) http://www.netfreehost.com
    ## MOD Description: 	Allows moderators to Ban/Unban abusers
    ## MOD Version: 	1.0.0 [phpBB 2.0.x]
    ## 
    ## Installation Level: 	Easy 
    ## Installation Time: 	5 Minutes
    ## Files To Edit (2): 	viewtopic.php
    ##                      viewforum.php
    ## Included Files:      ban.php
    ###############################################
    ## Author Notes: 
    ##
    ##	This mod allow moderators to ban, unban abusers
    ## 
    ###############################################
    ## MOD History: 
    ##
    ##   2005-08-12 - Version 1.0.0 
    ##      - Initial Release 
    ## 
    ###############################################
    ## Before Adding This MOD To Your Forum, You Should Back Up All
    ## Files Related To This MOD 
    ###############################################
    
    # 
    #-----[ OPEN ]------------------------------------------ 
    # 
    
    viewtopic.php
    
    # 
    #-----[ FIND ]------------------------------------------ 
    # 
    
    $s_auth_can .= sprintf($lang['Rules_moderate'], "<a href=\"modcp.$phpEx?" . POST_FORUM_URL . "=$forum_id&amp;sid=" . $userdata['session_id'] . '">', '</a>');
      
    # 
    #-----[ AFTER, ADD ]------------------------------------------ 
    # 
    
    $s_auth_can .= "
    You can <a href=\"ban.php?sid=" . $userdata['session_id'] . "\">ban abuser in this forum</a>";
    
    
    # 
    #-----[ OPEN ]------------------------------------------ 
    # 
    
    viewforum.php
    
    # 
    #-----[ FIND ]------------------------------------------ 
    # 
    
    $s_auth_can .= sprintf($lang['Rules_moderate'], "<a href=\"modcp.$phpEx?" . POST_FORUM_URL . "=$forum_id&amp;start=" . $start . "&amp;sid=" . $userdata['session_id'] . '">', '</a>');
      
    # 
    #-----[ AFTER, ADD ]------------------------------------------ 
    # 
    
    $s_auth_can .= "
    You can <a href=\"ban.php?sid=" . $userdata['session_id'] . "\">ban abuser in this forum</a>";
    
    # 
    #-----[ COPY ]------------------------------------------------- 
    #
    
    copy ban.php to /
    
    #
    #-----[ OPEN ]------------------------------------------
    #
    
    ban.php
    
    # 
    #-----[ FIND ]------------------------------------------ 
    # 
    
    [email protected]
    
    # 
    #-----[ REPLACE WITH ]------------------------------------------ 
    # 
    
    Email address of admin
    
    # 
    #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
    # 
    # EoM
    Regards,

    Yujin
    Become PHP Expert in 30 days
    FreeMarriage.com - Free Online Matrimonial
    FlashWebHost.com - Professional Web Hosting, Designing.

  2. #2
    Join Date
    Dec 2004
    Posts
    330

    Default

    How to use it. I have phpBB forum. I want to give moderators some priviledges exactly like this. Please help.

  3. #3
    Join Date
    Mar 2005
    Posts
    408

    Default

    yea..how to use it...since netfreehost don't allow and one to access the forum database via ftp to upload anything...it's meaningless...!

  4. #4
    Join Date
    Dec 2004
    Location
    Jordan
    Posts
    156

    Default

    nice ... but really i think moderator shouldnt been givin this
    ability ... it's nice but also it's dangerous

  5. #5
    Join Date
    Oct 2005
    Posts
    6

    Default

    Quote Originally Posted by sawanbanna
    yea..how to use it...since netfreehost don't allow and one to access the forum database via ftp to upload anything...it's meaningless...!
    u have to edit the files for adding a new MOD. sometimes it needs to update some DB tables

  6. #6
    Join Date
    Aug 2005
    Posts
    237

    Default

    I am agree with mns2k, it'd good, but it's dangerous too.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •