
Best regards,
Wolf
deb8 wrote: One more question. Do I need to do anything in this list? It seems to be working ok.
IMPORTANT ***** If you are NOT using EasyMOD to install User Shield, you MUST update the CONFIG table by following these instructions *****
Code: Select all
// User Stealth mod - start
$lang['Sort_Inactive'] = 'Non-active only';
$lang['Select'] = 'Select';
$lang['Select_all'] = 'Select All';
$lang['Divider'] = '::';
$lang['Unselect_all'] = 'Unselect All';
$lang['Activate'] = 'Activate selected';
$lang['Delete'] = 'Delete selected';
$lang['Inactive_selected_num'] = 'A total of ';
$lang['Inactive_activated'] = 'Selected inactive member has been activated successfully!';
$lang['Inactives_activated'] = 'selected inactive members have been activated successfully!';
$lang['Inactive_deleted'] = 'Selected inactive member has been deleted successfully!';
$lang['Inactives_deleted'] = 'selected inactive members have been deleted successfully!';
$lang['No_check_selected'] = 'Sorry for stating the obvious but, you must select at least 1 inactive member.';
$lang['Click_return_memberlist'] = 'Click %sHere%s to return to the Memberlist';
$lang['Click_return_index'] = 'Click %sHere%s to return to the Index';
$lang['Row_returned'] = ' row fetched ...';
$lang['Rows_returned'] = ' rows fetched ...';
$lang['No_data'] = 'There is currently no "non-activated" members in the USERS table to display.';
$lang['Non_active_on_index'] = ' and %s %s%s%s registered user';
$lang['Non_actives_on_index'] = ' and %s %s%s%s registered users';
$lang['Non_active_link'] = 'non-active';
$lang['Non_active_explain'] = 'View non-active registered users only';
$lang['Newest_user_winac'] = 'The newest activated registered user is <b>%s%s%s</b>';
$lang['Username_inactive_url_error'] = 'This user is either inactive or non-existant.';
// User Stealth mod - end
Code: Select all
#
#-----[ FIND ]------------------------------------------
#
break;
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
// User Stealth mod - start
$hide_inactive_on = ( $board_config['username_hide_inac']) ? ( $userdata['user_level'] == ADMIN ) ? ( $mode == 'inactive') ? $non_activated : 'AND user_active >= 0' : 'AND user_active = 1' : 'AND user_active >= 0';
// User Stealth mod - end
Code: Select all
break;
}
Code: Select all
## templates/whatever/index_body.tpl,
## templates/whatever/memberlist_body.tpl,
## templates/whatever/admin/board_config_body.tpl.
Spike_6502 wrote: A few hours ago I went for User Shield... placed install_user_shield_v1_2_1.txt in the top directory, as directed by you in an earlier post.
1) Despite all a-OKs and greens from EasyMOD I could see no User Shield around 8O ;
2) I then read the contents of install_user_shield_v1_2_1.txt;
3) I checked the impacted files: none had been modified, contradicting the OKs from EM... hummm....;
install_user_shield_v1.2.1.txt wrote: ##############################################################
## Author Notes:
## - Ability to turn ON or OFF all features of this mod through the ACP.
## - Hides username references and profile data until activated - from guests, registered users and moderators.
## For Administrators only:
## - Ability to fetch from the Index or Memberlist a filtered list of "non-activated" registered users.
## - Ability to manage "non-activated" registered users through this filtered list (activate or delete in bulk).
## Additional MOD information:
## - Released for, and tested on, phpBB2 v2.0.21 [subSilver].
## - Tested on FF 1.5, Opera 8.5 and IE 6.
## - Numerous installations with EasyMOD version 0.3.0 were successful and took on average less than 30 seconds.
## - This mod is based on " defender-uk's " excellent "Active members Only" mod.
## - Ty!http://www.phpbb-amod.co.uk/
## - It includes proposed fixes/enhancements by CJ Greiner, ChrissySkyking and BlueRook.
## - Support is offered through this mod's release thread at phpbb.com.
## Available languages:
## - English
## Beta testers:
## - cherokee red
##############################################################
Spike_6502 wrote: 5) I read file update_config_v1_2_1.php and did the database change myself;
Spike_6502 wrote: NB: useful infos for mere mortals doing the manual thing (like me)... file install_user_shield_v1_2_1.txt contains a sort of long "To do" list of changes that EM executes automatically. Basically one can simply do them by hand with even a simple text editor and it's all straightforward except for one point: certain changes must be repeated across the whole file. --> Take a look at this excerpt from install_user_shield_v1_2_1.txt regarding changes to memberlist.php:
You will find more than one:Code: Select all
# #-----[ FIND ]------------------------------------------ # break; } # #-----[ AFTER, ADD ]------------------------------------------ # // User Stealth mod - start $hide_inactive_on = ( $board_config['username_hide_inac']) ? ( $userdata['user_level'] == ADMIN ) ? ( $mode == 'inactive') ? $non_activated : 'AND user_active >= 0' : 'AND user_active = 1' : 'AND user_active >= 0'; // User Stealth mod - end
Thus, every time you find that break followed by braces you should add the appropriate lines.Code: Select all
break; }
Spike_6502 wrote: However, may I humbly suggest that you post somewhere explanations and recommendations on how to set up User Shield for non-subSilver users?