|
 | | |
| Autor | Správa |
JanoF
 Správca fóra
 Založený: 01.05.2005 Príspevky: 8732 Bydlisko: Bratislava Vek: 27
 | Zaslal: So 14.10.06 14:51 |   |
| kód: | ##############################################################
## MOD Title: Anti spam-bots
## MOD Author: Weird Alexis < alexisbietti@gmail.com > (Alexis BIETTI) http://www.artefact.zik.mu/
## MOD Description: This mod hides e-mail addresses of members to spam-bots and anonymous users.
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 1 Minute
## Files To Edit: /groupcp.php, /memberlist.php, /viewtopic.php, /includes/usercp_viewprofile.php
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes: This mod was tested on phpBB version 2.0.4 *only*.
##
##############################################################
## MOD History:
##
## 2004-10-24 - Version 1.0.0
## - Initial version. Hides e-mail in topics, member list, profiles and groups.
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
/groupcp.php
#
#-----[ FIND ]------------------------------------------
#
if ( !empty($row['user_viewemail']) || $group_mod )
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( empty($userdata['user_id']) || ($userdata['user_id'] == ANONYMOUS) )
{
if ( !empty($row['user_viewemail']) )
{
$email_img = '<img src="' . $images['icon_email'] . '" alt="' . $lang['Hidden_email'] . '" title="' . $lang['Hidden_email'] . '" border="0" />';
}
else
{
$email_img = ' ';
}
$email = ' ';
}
else if ( !empty($row['user_viewemail']) || $group_mod )
#
#-----[ OPEN ]------------------------------------------
#
/memberlist.php
#
#-----[ FIND ]------------------------------------------
#
if ( !empty($row['user_viewemail']) || $userdata['user_level'] == ADMIN )
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( empty($userdata['user_id']) || ($userdata['user_id'] == ANONYMOUS) )
{
if ( !empty($row['user_viewemail']) )
{
$email_img = '<img src="' . $images['icon_email'] . '" alt="' . $lang['Hidden_email'] . '" title="' . $lang['Hidden_email'] . '" border="0" />';
}
else
{
$email_img = ' ';
}
$email = ' ';
}
else if ( !empty($row['user_viewemail']) || $userdata['user_level'] == ADMIN )
#
#-----[ OPEN ]------------------------------------------
#
/viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
if ( !empty($postrow[$i]['user_viewemail']) || $is_auth['auth_mod'] )
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( empty($userdata['user_id']) || ($userdata['user_id'] == ANONYMOUS) )
{
if ( !empty($postrow[$i]['user_viewemail']) )
{
$email_img = '<img src="' . $images['icon_email'] . '" alt="' . $lang['Hidden_email'] . '" title="' . $lang['Hidden_email'] . '" border="0" />';
}
else
{
$email_img = ' ';
}
$email = ' ';
}
else if ( !empty($postrow[$i]['user_viewemail']) || $is_auth['auth_mod'] )
#
#-----[ OPEN ]------------------------------------------
#
/includes/usercp_viewprofile.php
#
#-----[ FIND ]------------------------------------------
#
if ( !empty($profiledata['user_viewemail']) || $userdata['user_level'] == ADMIN )
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( empty($userdata['user_id']) || ($userdata['user_id'] == ANONYMOUS) )
{
if ( !empty($profiledata['user_viewemail']) )
{
$email_img = '<img src="' . $images['icon_email'] . '" alt="' . $lang['Hidden_email'] . '" title="' . $lang['Hidden_email'] . '" border="0" />';
}
else
{
$email_img = ' ';
}
$email = ' ';
}
else if ( !empty($profiledata['user_viewemail']) || $userdata['user_level'] == ADMIN )
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM |
|
_________________ Skrinka: Nexus Morpho & Enermax UCTB12P | Zdroj: Enermax EMG800AWT 800W | Základná doska: Asus Rampage III Gene | Procesor: Intel Core i7 990X Extreme Edition 3.46 GHz & Scythe Susanoo SCSO-1000 | Pamäť: Kingston HyperX XMP 24 GB DDR3 1600 MHz | Grafická karta: Asus GeForce GT 440 1 GB DDR3 & Thermalright HR-03 | Pevný disk: Intel SSD 510 Series 250 GB & Hitachi Deskstar 5K4000 4000 GB | Optická mechanika: Plextor PX-820SA | Čítačka kariet: Akasa AK-ICR-11 | Klávesnica: Logitech G19 | Myš: Logitech G9x & Razer Kabuto | Monitor: 24" LCD Eizo FlexScan S2431WE | Reproduktory: Logitech Z-2300 | Operačný systém: Microsoft Windows 7 & FreeBSD 9 | Záložný zdroj: APC Back-UPS ES 700 | Spotreba: Idle - 200W / Burn - 400W | Mobil: Nokia N9 64 GB | |
       |
 |
|
Nemôžete pridávať nové témy do tohto fóra. Nemôžete odpovedať na témy v tomto fóre. Nemôžete upravovať svoje príspevky v tomto fóre. Nemôžete mazať svoje príspevky v tomto fóre. Nemôžete hlasovať v tomto fóre.
|
| |