| | |
| 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 15:03 | |
|
Kód: ############################################################# ## MOD Title: Remove Signature From Guests ## MOD Author: FuNEnD3R < admin@funender.com > (Thomas Jonas) http://www.funender.com ## MOD Description: This Mod will remove signatures from being viewed by users ## who are not logged in. ## MOD Version: 1.0.1 ## ## Installation Level: Easy ## Installation Time: 1 Minute ## Files To Edit: viewtopic.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: Linking to websites with a low PR or unrelated content ## from your site may lower the importance of your webpage. This will remove any links or ## unrelated text from guests (search engine bots) to improve the quality of your site. ## When a user logs into your forum the signatures will be viewable again. ## ## Another minor thing this helps (for those who care about this) sometimes someone's ## signature would result in bad HTML for the viewtopic table when using the HTML 4.01 validator tool. ## Removing the signatures from guests will prevent an error from someone's signature. ## ## You can view www.funender.com for a demo ## ############################################################## ## MOD History: ## ## 2005-5-03 - Version 1.0.1 ## - First Release ## ## ############################################################## ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ##############################################################
# #-----[ OPEN ]------------------------------------------ #
viewtopic.php
# #-----[ FIND ]------------------------------------------ #
$user_sig = ( $postrow[$i]['enable_sig'] && $postrow[$i]['user_sig'] != '' && $board_config['allow_sig'] ) ? $postrow[$i]['user_sig'] : '';
# #-----[ IN-LINE FIND ]------------------------------------------ #
&& $board_config['allow_sig']
# #-----[ IN-LINE AFTER, ADD ]------------------------------------------ #
&& $userdata['session_logged_in']
# #-----[ 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
|
|