AmigaLink hat geschrieben:1: The button must shown to the users who have the permission to look the Second Profilepage. If not, you have a bug in your installation.
All my users have the permission to look the Second Profle Page, because all my users have automatically the registered users permission in that option of the Second Profile Page in the Preferences Profile, this is part of the installation of the Mod, you put that in the installation, Am I right ?.
Also I did very well the installation of the Mod, so is not a problem of my board.
AmigaLink hat geschrieben:2: Normaly is the permission given to "nowbody" and not to "registered users".
If not, the user has changed the preference of his Second Profilepage.
Yeah that is right that is the permission of the nowbody and I am very sure that the user don't change that because the user tell me this problem and I logged in the board with his nick and went to his Profile and there I saw that everything was fine and the permission was "registered users" in the Extra Information option of the Preferences Profile.
That is the reason because I don't know why when I put the Extra Information the extra information button don't appears in the viewtopic, because I go to my profile and see the option "allow view for:" is in
registered users and this problem is for all my users because in all the profiles of my users are "allow view for:
registered users", because this is automacally and also that is want to change for all my users,
registered users to anonymous users in the option (allow view for: ), I think is something in this part:
- Code: Alles auswählen
// <!-- BEGIN easyUCP -->
$second_page_allowed = false;
if ( $postrow[$i]['user_allow_viewprofile_2'] != '-2' )
{
if ( $postrow[$i]['user_allow_viewprofile_2'] == '-1' || $userdata['user_level'] == ADMIN ) // Gäste
{
$second_page_allowed = true;
}
else if ( $userdata['session_logged_in'] && $row['user_allow_viewprofile_2'] == '0' || $userdata['user_level'] == MOD ) // User
{
$second_page_allowed = true;
}
else
{
$second_page_allowed = false;
}
}
if ( $second_page_allowed )
{
$temp_url = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$poster_id&page=2");
$second_profile_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_extra'] . '" alt="' . $lang['Second_profilepage'] . '" title="' . $lang['Second_profilepage'] . '" border="0" /></a>';
$second_profile = '<a href="' . $temp_url . '">' . $lang['Second_profilepage'] . '</a>';
}
else
{
$second_profile_img = '';
$second_profile = '';
}
// <!-- END easyUCP -->