[MOD DB][2.0.6-2.0.4] Profile Control Panel v 2.0.0

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
User avatar
Ptirhiik
Registered User
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm
Contact:

Post by Ptirhiik » Thu Oct 16, 2003 10:35 pm

After having investigate, I was unable to reproduce this. I've checked on your site, and the sid is well passed in the form, so I can't figure why it isn't correctly get back : probably something due to phpBB 2.0.6 under certain condition (anonymous particulary). At this time, the best to do is to remove from profilcp_sendpassword.php those line :

Code: Select all

	// session id check
	if ($sid == '' || $sid != $userdata['session_id'])
	{
		message_die(GENERAL_ERROR, 'Invalid_session');
	}
I will keep to trace this thing, although I can't figure yet where the sid disappear.

g-funk
Registered User
Posts: 34
Joined: Tue Sep 09, 2003 5:58 pm

Post by g-funk » Fri Oct 17, 2003 6:33 am

Hi Deriel

I had the same problem with the sid check. Could you please try what happens if you send a private message with notification on and when you send a mail over the board. I had it there as well.

Cya
G-Funk

User avatar
Dio2
Registered User
Posts: 94
Joined: Sun Jun 15, 2003 5:02 pm

Post by Dio2 » Fri Oct 17, 2003 3:44 pm

Hi, back to a question about the contacts for phone numbers - in the 1.0.3 version

On the Public Page I can see the text for the phone numbers but there is No "Contact" section to add them.

I check the tables the and re-check the install, but still nothing. I also check the new 1.0.3 zip file and there does not seem to be a php or tpl file in it. I is still in the lang_extend_profile_control_panel.php file but under the old mod_profile_control_public_contact.php name
  • // update profile : public informations : contact info (mod_profile_control_public_contact.php)
    $lang['Home_phone'] = 'Home phone';
    $lang['Home_fax'] = 'Home fax';
    $lang['Work_phone'] = 'Work phone';
    $lang['Work_fax'] = 'Work fax';
    $lang['Cellular'] = 'Cellular';
    $lang['Pager'] = 'Pager';
Has this option been dropped? Or am I missing a file in the zip?

User avatar
Ptirhiik
Registered User
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm
Contact:

Post by Ptirhiik » Fri Oct 17, 2003 4:53 pm

The option is still there, using now a map, under the Profile/Your profile/Public information/Contact :). The map (def_usermaps.php) is named : profile_prefer.base.Contact. Check also your language pack is up-to-date.
Last edited by Ptirhiik on Fri Oct 17, 2003 4:55 pm, edited 1 time in total.

eviluncledave
Registered User
Posts: 17
Joined: Thu Jul 03, 2003 4:03 am
Location: Back of milk carton
Contact:

Post by eviluncledave » Fri Oct 17, 2003 4:54 pm

Are you missing the profile->your profile->contact menu in the user profile control panel? The fields can't be edited from the "public" tab as the mod is now.

[edit]
Lol, I was too slow. Please delete this post.... ;)

User avatar
Dio2
Registered User
Posts: 94
Joined: Sun Jun 15, 2003 5:02 pm

Post by Dio2 » Fri Oct 17, 2003 5:48 pm

Ptirhiik - RPGnet-fr wrote: The option is still there, using now a map, under the Profile/Your profile/Public information/Contact :). The map (def_usermaps.php) is named : profile_prefer.base.Contact. Check also your language pack is up-to-date.


profile_prefer.base.Contact is listed in the maps.

Language file is from PCP 1.0.3, but says 1.0.2 at the top?
Down loaded the zip and says same thing. :(

User avatar
Dio2
Registered User
Posts: 94
Joined: Sun Jun 15, 2003 5:02 pm

Post by Dio2 » Fri Oct 17, 2003 5:50 pm

PCP Shows this:

Public information
--------------------------------------------------------------------------------
» Personal informations
» Messengers
» Web informations


Contact is missing

User avatar
Ptirhiik
Registered User
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm
Contact:

Post by Ptirhiik » Fri Oct 17, 2003 5:55 pm

Check the title of the map exists in your language file, and that you have no other mod_settings_profile_control_panel than the one provided with the mod v 1.0.3, and also the fields are created in the users table.

User avatar
Dio2
Registered User
Posts: 94
Joined: Sun Jun 15, 2003 5:02 pm

Post by Dio2 » Fri Oct 17, 2003 6:09 pm

Ptirhiik - RPGnet-fr wrote: Check the title of the map exists in your language file, and that you have no other mod_settings_profile_control_panel than the one provided with the mod v 1.0.3, and also the fields are created in the users table.


Tables have the entries.
mod_settings_profile_control_panel is the one with PCP 1.0.3

Here is the Lang file,
  • <?php
    /***************************************************************************
    * lang_extend_profile_control_panel.php [English]
    * -----------------------------------------------
    * begin : 28/09/2003
    * copyright : Ptirhiik
    * email : ptirhiik@clanmckeen.com
    *
    * version : 1.0.2 - 28/09/2003
    *
    ***************************************************************************/

    /***************************************************************************
    *
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public License as published by
    * the Free Software Foundation; either version 2 of the License, or
    * (at your option) any later version.
    *
    ***************************************************************************/

    if ( !defined('IN_PHPBB') )
    {
    die("Hacking attempt");
    }

    $lang['Lang_extend_profile_control_panel'] = 'Profile Control Panel language pack';

    // admin part
    if ( $lang_extend_admin )
    {
    }

    // who's online
    $lang['Admin_founder_online_color'] = '%sBoard Founder%s';
    $lang['User_online_color'] = '%sUser%s';

    // topic or privmsg display
    $lang['Add_to_friend_list'] = 'Add to your friend list';
    $lang['Remove_from_friend_list'] = 'Remove from your friend list';
    $lang['Add_to_ignore_list'] = 'Add to your ignore list';
    $lang['Remove_from_ignore_list'] = 'Remove from your ignore list';
    $lang['Happy_birthday'] = 'Happy Birthday !';
    $lang['Ignore_choosed'] = 'You have choosen to ignore this user';
    $lang['Online'] = 'Online';
    $lang['Offline'] = 'Offline';
    $lang['Hidden'] = 'Hidden';
    $lang['Gender'] = 'Gender';
    $lang['Male'] = 'Male';
    $lang['Female'] = 'Female';
    $lang['No_gender_specify'] = 'Unknown';
    $lang['Age'] = 'Age';
    $lang['Do_not_allow_pm'] = 'This user doesn\'t accept private messages';

    // main entry (profile.php)
    $lang['Click_return_profilcp'] = 'Click %sHere%s to return to the profile';

    // birthday popup (profile_birthday.php)
    $lang['Birthday'] = 'Birthday';
    $lang['birthday_msg'] = 'Hi %s, <br /><br /><br /> %s is glad to whish you an Happy Birthday !';

    // home panel (profilcp_home.php)
    $lang['profilcp_index_shortcut'] = 'Home';
    $lang['profilcp_index_pagetitle'] = 'Private Profile home';

    // home panel : mini buddy list (functions_profile.php)
    $lang['Friend_list'] = 'Friend list';
    $lang['Friend_list_of'] = 'Friend of';
    $lang['Ignore_list'] = 'Ignore list';
    $lang['Ignore_list_of'] = 'Ignored by';
    $lang['Nobody'] = 'Nobody';
    $lang['Always_visible'] = 'Always visible to this user';
    $lang['Not_always_visible'] = 'This user won\'t see you online when you\'ll be in hidden mode';

    // home panel : watched topics (functions_profile.php)
    $lang['Stop_watching_selected_topics'] = 'Stop watching the selected topics';
    $lang['New_subscribed_topic'] = 'Subscribed Topics';
    $lang['Submit_period'] = 'See topics since';

    // buddy list (profilcp_buddy.php)
    $lang['profilcp_buddy_shortcut'] = 'Buddy list';
    $lang['profilcp_buddy_pagetitle'] = 'Buddy list';
    $lang['profilcp_buddy_friend_shortcut'] = 'Friend list';
    $lang['profilcp_buddy_friend_pagetitle'] = 'Edit your Friend list';
    $lang['profilcp_buddy_ignore_shortcut'] = 'Ignore list';
    $lang['profilcp_buddy_ignore_pagetitle'] = 'Edit your Ignore list';
    $lang['profilcp_buddy_list_shortcut'] = 'All the members';
    $lang['profilcp_buddy_list_pagetitle'] = 'Member list';
    $lang['Click_return_privmsg'] = 'Click %sHere%s to return to the private message';
    $lang['profilcp_buddy_could_not_add_user'] = 'The user you selected does not exist.';
    $lang['profilcp_buddy_could_not_anon_user'] = 'You cannot make Anonymous a buddy member.';
    $lang['profilcp_buddy_add_yourself'] = 'You can\'t add yourself to your buddy lists';
    $lang['profilcp_buddy_already'] = 'User is already in the buddy list';
    $lang['profilcp_buddy_ignore'] = 'Addition impossible : this user ignores you';
    $lang['profilcp_buddy_you_admin'] = 'Being an admin or moderator, you can\'t ignore people';
    $lang['profilcp_buddy_admin'] = 'You can\'t ignore admins or moderators';
    $lang['User_fields'] = 'User fields list';
    $lang['Friend'] = 'Friend';
    $lang['Comp_LE'] = 'is less than';
    $lang['Comp_EQ'] = 'is equal to';
    $lang['Comp_NE'] = 'is different from';
    $lang['Comp_GE'] = 'is greater than';
    $lang['Comp_IN'] = 'includes';
    $lang['Comp_NI'] = 'doesn\'t include';
    $lang['Sort_none'] = 'Unsorted';
    $lang['date_entry'] = 'YYYYMMDD';

    // update profile (profilcp_profil.php)
    $lang['profilcp_profil_shortcut'] = 'Profile';
    $lang['profilcp_profil_pagetitle'] = 'Profile Edition';
    $lang['profilcp_prefer_shortcut'] = 'Your profile';
    $lang['profilcp_prefer_pagetitle'] = 'Your profile preferences';
    $lang['profilcp_signature_shortcut'] = 'Signature';
    $lang['profilcp_signature_pagetitle'] = 'Signature';
    $lang['profilcp_avatar_shortcut'] = 'Avatar';
    $lang['profilcp_avatar_pagetitle'] = 'Avatar';

    // update profile : preferences - functions (mod_profile_control_panel.php)
    $lang['Other'] = 'Other...';
    $lang['Friend_only'] = 'Only friends';

    // update profile : public informations : web info (mod_profile_control_public_web.php)
    $lang['profilcp_profil_base_shortcut'] = 'Public information';
    $lang['Web_info'] = 'Web informations';

    // update profile : public informations : real info (mod_profile_control_public_real.php)
    $lang['Real_info'] = 'Personal informations';
    $lang['Realname'] = 'Real name';
    $lang['Date_error'] = 'day %d, month %d, year %d is not a valid date';

    // update profile : public informations : messengers info (mod_profile_control_public_messengers.php)
    $lang['Messangers'] = 'Messengers';

    // update profile : public informations : contact info (mod_profile_control_public_contact.php)
    $lang['Home_phone'] = 'Home phone';
    $lang['Home_fax'] = 'Home fax';
    $lang['Work_phone'] = 'Work phone';
    $lang['Work_fax'] = 'Work fax';
    $lang['Cellular'] = 'Cellular';
    $lang['Pager'] = 'Pager';

    // update profile : preferences - preferences panel ("Your profile")
    $lang['Profile_control_panel'] = 'Profile Settings';

    // update profile : preferences - i18n panel (mod_profile_control_panel_international.php)
    $lang['Profile_control_panel_i18n'] = 'Internationalization';
    $lang['summer_time'] = 'Are you in a daylight saving zone ?';

    // update profile : preferences - notification panel (mod_profile_control_panel_notification.php)
    $lang['Profile_control_panel_notification'] = 'Notification';

    // update profile : preferences - posting panel (mod_profile_control_panel_posting.php)
    $lang['Profile_control_panel_posting'] = 'Posting';

    // update profile : preferences - privacy panel (mod_profile_control_panel_privacy.php)
    $lang['Profile_control_panel_privacy'] = 'Privacy';
    $lang['View_user'] = 'Show me online';
    $lang['Public_view_pm'] = 'Accept private message';
    $lang['Public_view_website'] = 'Display my web informations';
    $lang['Public_view_messengers'] = 'Display my messengers references';
    $lang['Public_view_real_info'] = 'Display my personnal informations';

    // update profile : preferences - reading panel (mod_profile_control_panel_reading.php)
    $lang['Profile_control_panel_reading'] = 'Reading';
    $lang['Public_view_avatar'] = 'Display avatars';
    $lang['Public_view_sig'] = 'Display signatures';
    $lang['Public_view_img'] = 'Display images';

    // update profile : preferences - profile preferences
    $lang['profile_prefer'] = 'Profile options';

    // update profile : preferences - system panel (mod_profile_control_panel_system.php)
    $lang['Profile_control_panel_system'] = 'System';
    $lang['summer_time_set'] = 'Is it summer time ? (add +1 hour to local time)';
    $lang['Forum_rules'] = 'Forum rules topic id';

    // update profile : preferences - admin part (mod_profile_control_panel_admin.php)
    $lang['profilcp_admin_shortcut'] = 'Administration';
    $lang['User_deleted'] = 'User was successfully deleted.';
    $lang['User_special'] = 'Special admin-only fields';
    $lang['User_special_explain'] = 'These fields are not able to be modified by the users. Here you can set their status and other options that are not given to users.';
    $lang['User_status'] = 'User is active';
    $lang['User_allow_email'] = 'Can send emails';
    $lang['User_allow_pm'] = 'Can send Private Messages';
    $lang['User_allow_website'] = 'Can show his web info';
    $lang['User_allow_messanger'] = 'Can share his messengers adresses';
    $lang['User_allow_real'] = 'Can show his personal informations';
    $lang['User_allowavatar'] = 'Can display avatar';
    $lang['User_allow_sig'] = 'Can display his signature';
    $lang['Rank_title'] = 'Rank Title';
    $lang['User_delete'] = 'Delete this user';
    $lang['User_delete_explain'] = 'Click here to delete this user; this cannot be undone.';
    $lang['No_assigned_rank'] = 'No special rank assigned';
    $lang['User_self_delete'] = 'You can delete your account being a board administrator';

    // update profile : signature (profilcp_profile_signature.php)
    $lang['profilcp_sig_preview'] = 'Signature preview';

    // display profile (profilcp_public.php)
    $lang['profilcp_public_shortcut'] = 'Public';
    $lang['profilcp_public_pagetitle'] = 'Public display';
    $lang['profilcp_public_base_shortcut'] = 'Base info';
    $lang['profilcp_public_base_pagetitle'] = 'Profile base informations';
    $lang['profilcp_public_groups_shortcut'] = 'Groups';
    $lang['profilcp_public_groups_pagetitle'] = 'Groups this user belong to';

    // update profile : preferences - home panel (mod_profile_control_panel_home.php)
    $lang['Profile_control_panel_home'] = 'Profile Home panel';
    $lang['Profile_control_panel_home_buddy'] = 'Buddy lists';
    $lang['Buddy_friend_display'] = 'Display my friend list on home panel';
    $lang['Buddy_ignore_display'] = 'Display my ignore list on home panel';
    $lang['Buddy_friend_of_display'] = 'Display "Friend of" list on home panel';
    $lang['Buddy_ignored_by_display'] = 'Display "Ignored by" list on home panel';

    $lang['Profile_control_panel_home_privmsg'] = 'Private messages';
    $lang['Privmsgs_per_page'] = 'Number of private messages displayed per page on home panel';

    $lang['Profile_control_panel_home_wtopics'] = 'Watched topics';
    $lang['Watched_topics_per_page'] = 'Number of topics watched displayed per page on home panel';

    // display profile : base info (profilcp_public_base.php)
    $lang['Unavailable'] = 'Unavailable';
    $lang['Last_visit'] = 'Last visit time';
    $lang['User_posts'] = 'User posts';
    $lang['User_post_stats'] = '%s posts, %.2f%% of total, %.2f posts per day';
    $lang['Most_active_topic'] = 'Most active topic';
    $lang['Most_active_topic_stat'] = '%s posts, %.2f%% of the topic, %.2f%% of the forum';
    $lang['Most_active_forum'] = 'Most active forum';
    $lang['Most_active_forum_stat'] = '%s posts, %.2f%% of the forum, %.2f%% of total';

    // register (profilcp_register.php)
    $lang['profilcp_register_shortcut'] = 'Registering';
    $lang['profilcp_register_pagetitle'] = 'Registration informations';
    $lang['profilcp_email_title'] = 'Email address';
    $lang['profilcp_email_confirm'] = 'Confirm your Email address';
    $lang['anti_robotic'] = 'Control picture';
    $lang['anti_robotic_explain'] = 'This control is designed to prevent the flooding by the register robots';
    $lang['profilcp_password_explain'] = 'You must confirm your current password if you wish to change it';
    $lang['Agree_rules'] = 'By checking this box, you declare having taken knowledge of the terms, and agree with them';
    $lang['profilcp_username_missing'] = 'Username missing';
    $lang['profilcp_email_not_matching'] = 'Emails doesn\'t match';
    $lang['Robot_flood_control'] = 'The control image doesn\'t match what you\'ve typed in';
    $lang['Disagree_rules'] = 'You have declared you disagree with the rules used on this board, so you won\'t be able to register.';

    ?>

User avatar
Ptirhiik
Registered User
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm
Contact:

Post by Ptirhiik » Fri Oct 17, 2003 6:21 pm

The map use the language entry key 'Contact', which stands in lang_main.php (original phpBB file). Check if yours includes this key.

User avatar
Dio2
Registered User
Posts: 94
Joined: Sun Jun 15, 2003 5:02 pm

Post by Dio2 » Fri Oct 17, 2003 6:29 pm

Ptirhiik - RPGnet-fr wrote: The map use the language entry key 'Contact', which stands in lang_main.php (original phpBB file). Check if yours includes this key.


This is the entry in lang_main.php

$lang['Contact'] = 'Contact';

User avatar
Ptirhiik
Registered User
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm
Contact:

Post by Ptirhiik » Fri Oct 17, 2003 6:37 pm

So check other settings : at least real information (realname, birthday and so) have to be available. Check also all files mentioned in the header of the mod, especially the mods_settings one, are in place and up-to-date :).

User avatar
Dio2
Registered User
Posts: 94
Joined: Sun Jun 15, 2003 5:02 pm

Post by Dio2 » Fri Oct 17, 2003 6:40 pm

Ptirhiik - RPGnet-fr wrote: So check other settings : at least real information (realname, birthday and so) have to be available.


In lang_main.php? Or PCP? If PCP they are there, just no Contact

User avatar
Dio2
Registered User
Posts: 94
Joined: Sun Jun 15, 2003 5:02 pm

Post by Dio2 » Fri Oct 17, 2003 7:20 pm

OK all files deleted and reinstalled - still same problem :(

User avatar
Dio2
Registered User
Posts: 94
Joined: Sun Jun 15, 2003 5:02 pm

Post by Dio2 » Fri Oct 17, 2003 8:18 pm

Dio2 wrote: OK all files deleted and reinstalled - still same problem :(


Found the problem - all those values are set to NULL if I change that in the tables it shows up -

Mod install shows:
ALTER TABLE phpbb_users ADD user_home_phone VARCHAR(20);
ALTER TABLE phpbb_users ADD user_home_fax VARCHAR(20);
ALTER TABLE phpbb_users ADD user_work_phone VARCHAR(20);
ALTER TABLE phpbb_users ADD user_work_fax VARCHAR(20);
ALTER TABLE phpbb_users ADD user_cellular VARCHAR(20);
ALTER TABLE phpbb_users ADD user_pager VARCHAR(20);

I deleted them and added:
ALTER TABLE phpbb_users ADD user_home_phone VARCHAR(20) NOT NULL;
ALTER TABLE phpbb_users ADD user_home_fax VARCHAR(20) NOT NULL;
ALTER TABLE phpbb_users ADD user_work_phone VARCHAR(20) NOT NULL;
ALTER TABLE phpbb_users ADD user_work_fax VARCHAR(20) NOT NULL;
ALTER TABLE phpbb_users ADD user_cellular VARCHAR(20) NOT NULL;
ALTER TABLE phpbb_users ADD user_pager VARCHAR(20) NOT NULL;

Now it all works - :D

Locked

Return to “[2.0.x] MODs in Development”