############################################################## ## MOD Title: Hide WWW links from users not Logged In ## MOD Author: Kevin < N/A > (N/A) http://www.tacktech.com ## MOD Description: This is a simple program to Hide WWW links from users not Logged In ## MOD Version: 1.0.0 ## ## Installation Level: Easy ## Installation Time: 5 Minutes ## Files To Edit: memberlist.php, privmsg.php, viewtopic.php, includes/usercp_viewprofile.php ## Included Files: (N/A) ## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2 ############################################################## ## For security purposes, please check: http://www.phpbb.com/mods/ ## for the latest version of this MOD. Although MODs are checked ## before being allowed in the MODs Database there is no guarantee ## that there are no security problems within the MOD. No support ## will be given for MODs not found within the MODs Database which ## can be found at http://www.phpbb.com/mods/ ############################################################## ## Author Notes: Hide WWW links from users not Logged In ############################################################## ## MOD History: ## ## 2006-09-23 - Version 1.0.0 ## - Hide WWW Links When User Not Logged ## ############################################################## ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ############################################################## # #-----[ OPEN ]------------------------------------------ # memberlist.php # #-----[ FIND ]------------------------------------------ # $www_img = ( $row['user_website'] ) ? '' . $lang['Visit_website'] . '' : '; # #-----[ BEFORE, ADD ]------------------------------------------ # if ( $userdata['session_logged_in'] ) { # #-----[ FIND ]------------------------------------------ # $www = ( $row['user_website'] ) ? '' . $lang['Visit_website'] . '' : '; # #-----[ AFTER, ADD ]------------------------------------------ # } else { $www_img = ' '; $www = ' '; } # #-----[ OPEN ]------------------------------------------ # privmsg.php # #-----[ FIND ]------------------------------------------ # $www_img = ( $privmsg['user_website'] ) ? '' . $lang['Visit_website'] . '' : '; # #-----[ BEFORE, ADD ]------------------------------------------ # if ( $userdata['session_logged_in'] ) { # #-----[ FIND ]------------------------------------------ # $www = ( $privmsg['user_website'] ) ? '' . $lang['Visit_website'] . '' : '; # #-----[ AFTER, ADD ]------------------------------------------ # } else { $www_img = ' '; $www = ' '; } # #-----[ OPEN ]------------------------------------------ # viewtopic.php # #-----[ FIND ]------------------------------------------ # $www_img = ( $postrow[$i]['user_website'] ) ? '' . $lang['Visit_website'] . '' : '; # #-----[ BEFORE, ADD ]------------------------------------------ # if ( $userdata['session_logged_in'] ) { # #-----[ FIND ]------------------------------------------ # $www = ( $postrow[$i]['user_website'] ) ? '' . $lang['Visit_website'] . '' : '; # #-----[ AFTER, ADD ]------------------------------------------ # } else { $www_img = ' '; $www = ' '; } # #-----[ OPEN ]------------------------------------------ # includes/usercp_viewprofile.php # #-----[ FIND ]------------------------------------------ # $www_img = ( $profiledata['user_website'] ) ? '' . $lang['Visit_website'] . '' : ' '; # #-----[ BEFORE, ADD ]------------------------------------------ # if ( $userdata['session_logged_in'] ) { # #-----[ FIND ]------------------------------------------ # $www = ( $profiledata['user_website'] ) ? '' . $profiledata['user_website'] . '' : ' '; # #-----[ AFTER, ADD ]------------------------------------------ # } else { $www_img = ' '; $www = ' '; } # #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ # # EoM