| | |
| Stránka: 1 z 1
| [ Príspevok: 1 ] | |
Autor | Správa |
---|
Registrovaný: 01.05.05 Príspevky: 13348 Témy: 1496 Bydlisko: Bratislava | Napísal JanoF: 14.10.2006 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
_________________ Streacom DA2 | SilverStone Titanium SX800-LTI 800W | ASRock X299E-ITX/ac | Intel Core i9-9980XE & be quiet! Dark Rock TF | Kingston HyperX Impact 64 GB DDR4 2666 MHz | NVIDIA Titan RTX 24 GB | Intel SSD Optane 905P 480 GB NVMe U.2 & Intel SSD 750 1,2 TB NVMe U.2 & Intel SSD 660p 2 TB NVMe M.2 & Seagate BackUp Plus Portable 56 TB USB | 55" 4K OLED Dell Alienware AW5520QF & 24" LCD EIZO FlexScan EV2451 | Ergotron LX Wall Mount Keyboard Arm | Logitech Craft | Logitech G603 | Logitech F710 | Harman Kardon Sabre SB 35 & Sennheiser RS 175 | Microsoft Windows 7 Ultimate | APC Back-UPS ES 700 | Lenovo ThinkPad X250 | iPhone X 256 GB & Pitaka Aramid | SilverStone ML05B Milo | Corsair SF600 SFX 600W | ASRock X99E-ITX/ac | Intel Xeon E5-2683 v4 & NOCTUA NH-L12S | Kingston HyperX Savage 32 GB DDR4 2400 MHz | NVIDIA GeForce GT 710 1 GB | Intel SSD Optane Memory 32 GB NVMe M.2 & Intel SSD 730 240 GB SATA | Ubuntu Server |
|
| Stránka: 1 z 1
| [ Príspevok: 1 ] | |
| Nemôžete zakladať nové témy v tomto fóre 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
|
|