changes in the language file
$lang_main_menu .... add
'my_buddy_lnk' => 'My Friends',
$lang_get_pic_data.... replace with
$lang_get_pic_data = array(
'n_comments' => 'comments: %s',
'n_votes_main' => 'votes: %s',
'n_votes' => '(%s votes)',
'n_rating' => 'rating: %s/5',
'n_views' => 'views: %s',
'n_votes' => '(%s votes)',
'posted' => 'posted by: ',
);
add a new entry
// ------------------------------------------------------------------------- //
// File theme.php
// ------------------------------------------------------------------------- //
$lang_loginform = array(
'friends' => 'Friends',
'request' => 'request(s)',
'active' => 'active',
'welcome' => 'Welcome back',
'user' => 'Username',
'pass' => 'Password',
'remember' => 'Remember me',
'pms' => 'Private Messages: ',
'unread_total' => ' unread, total ',
);
$lang_admin_php add
'th_ex' => 'Exact',
'wm_bottomright' => 'Bottom right',
'wm_bottomleft' => 'Bottom left',
'wm_topleft' => 'Up left',
'wm_topright' => 'Up Right',
'wm_center' => 'Center',
'wm_both' => 'Both',
'wm_original' => 'Original',
'wm_resized' => 'Resized',
new:
// ------------------------------------------------------------------------- //
// File avatar_manage.php
// ------------------------------------------------------------------------- //
if (defined('AVATAR_PHP')) $lang_avatar = array(
'manage' => 'Manage your avatar',
'select' => 'Select an avatar from your already uploaded images',
'stats' => 'Please make a selection',
'available_pics' => 'You can chose from',
'pictures' => 'pictures',
'remove_avatar' => 'Remove current avatar',
'remove' => 'To remove the current avatar mark the checkbox and hit \'Remove\'.',
'title' => 'Title:',
'img_name' => 'Image name:',
'date_posted' => 'Date posted:',
'selected' => 'Selected',
'do_nothing' => '-- make selection --',
'set_avatar' => 'Set as avatar',
'go' => 'Go',
'upload_first' => 'You need to to upload at least one picture before starting the manager',
'title_a' => 'Pic Title ascending',
'title_d' => 'Pic Title decending',
'image_name_a' => 'Image Name ascending',
'image_name_d' => 'Image Name decending',
'date_a' => 'Upload Date ascending',
'date_d' => 'Upload Date decending',
'u_pics_on_p_pages' => '%d pictures on %d page(s)',
'sort_by' => 'Sort by',
);
// ------------------------------------------------------------------------- //
// File subscribe.php
// ------------------------------------------------------------------------- //
if (defined('SUBSCRIBE_PHP')) $lang_subscribe = array(
'sub' => 'Subscribe',
'no' => 'No Subscribtions',
'sub_already' => 'You are already subscribed to this picture',
'sub_succ' => 'You successfully subscribed to this picture',
'sub_not' => 'You are not subscribed to this picture',
'sub_removed' => 'Your subscribtion has been removed',
'manage' => 'Manage your subscribtions',
'stats' => 'Statistics',
'cur_sub_text' => 'You are currently subscribed to',
'pictures' => 'pictures',
'unsubscribe_all' => 'Unsubscribe from all pictures',
'go' => 'Go',
'subscribtions' => 'Subscribtions',
'remove' => 'To remove all subscribtions mark the checkbox and hit \'Remove\'.',
'remove_submit' => 'Remove all subscribtions',
'check' => 'check/ uncheck all',
'sub_first' => 'You need to be subscribed to at least one picture to start the manager',
'do_nothing' => '-- make selection --',
'delete_selected' => 'unsubscribe',
'selected' => 'Selected',
'check' => 'check/ uncheck all',
'title' => 'Title:',
'img_name' => 'Image name:',
'uploader' => 'Uploader:',
'date_posted' => 'Date posted:',
'title_a' => 'Pic Title ascending',
'title_d' => 'Pic Title decending',
'owner_name_a' => 'Uploader Name ascending',
'owner_name_d' => 'Uploader Name decending',
'image_name_a' => 'Image Name ascending',
'image_name_d' => 'Image Name decending',
'date_a' => 'Upload Date ascending',
'date_d' => 'Upload Date decending',
'u_subscr_on_p_pages' => '%d subscribtions on %d page(s)',
'sort_by' => 'Sort by',
);
// ------------------------------------------------------------------------- //
// File buddy_manage.php
// ------------------------------------------------------------------------- //
if (defined('BUDDY_PHP'))
{
$lang_buddy = array(
'your_buddies' => 'Manage your buddies',
'no_user' => 'There are no users in this box',
'continue' => 'CONTINUE',
'blocked' => 'Sorry, you can not request friendship. That user blocked you!',
'already_buddies' => 'You are already buddies!',
'adding_request' => 'Adding now your request!',
'self' => 'Are you that lonely that you need to send a friendship request to yourself?',
'request_already_sent' => 'You have already requested friendship. This request is still pending!',
'already_requested' => ' has already requested friendship!',
'added' => 'The user(s) have been added to your buddy list!',
'link' => 'buddy_manage.php',
'denied' => 'Buddy request denied and user blocked!',
'deleted' => 'The selected user(s) have been deleted from your buddy list',
'req_deleted' => 'Buddy request(s) have been deleted',
'chose_other' => 'Please chose another box',
'selected' => 'Selected users: ',
'GO' => 'Go',
'switch' => 'Switch to',
'check_profile' => 'Check profile',
'user_album' => 'User album',
'last_uploads' => 'Last uploads',
'last_comments' => 'Last comments',
'users_in' => 'Users in',
'users' => 'Users',
'blocked_users' => 'Blocked users',
'active' => 'Active friends',
'I_requested' => 'I want to be friends with',
'buddy_requested' => 'Users that want to be my friends',
'blocked_users_short' => 'blocked',
'active_short' => 'active',
'I_requested_short' => 'my requests',
'buddy_requested_short' => 'others requesting',
'contains' => 'contains',
'users_sm' => 'users',
'in_total' => 'In total there are',
'in_list' => '(blocked, requesting, active) in your lists.',
'accept' => 'Accept request',
'deny' => 'Deny request',
'delete_blocked' => 'Delete blocked',
'delete_buddies' => 'Delete buddies',
'rem_request' => 'Remove request',
'make_selection' => 'Make selection',
'on' => 'online',
'off' => 'offline',
'email_subject_request' => 'wants to be your buddy at',
'email_subject_deny' => 'denied your buddy request at',
'email_subject_accept' => 'accepted your buddy request at',
'email_subject_delete' => 'removed you from hir buddy list',
'buddy_name_a' => 'Buddy Name ascending',
'buddy_name_d' => 'Buddy Name decending',
'date_a' => 'Date ascending',
'date_d' => 'Date decending',
'u_buddies_on_p_pages' => '%d buddies on %d page(s)',
);
$lang_buddy_email_request = <<<EOT
Hello {USER_NAME},
{BUDDY} wants to add you to his/ her buddy list.
Please click here to log in to accept or deny the request!
<a href="{LINK}">{LINK}</a>
{ADMIN}
EOT;
$lang_buddy_email_accept = <<<EOT
Hello {USER_NAME},
{BUDDY} accepted your request. You have added this user to your buddy list.
Please click here to check your buddy manager!
<a href="{LINK}">{LINK}</a>
{ADMIN}
EOT;
$lang_buddy_email_deny = <<<EOT
Hello {USER_NAME},
{BUDDY} has declined your request to add him/ her to your buddy list.
{ADMIN}
EOT;
}
// ------------------------------------------------------------------------- //
// File pms.php
// ------------------------------------------------------------------------- //
if (defined('PMS_PHP'))
{
$lang_pms = array(
// Common
'Messages' => 'Messages',
'Message' => 'Message',
'Save message' => 'Save message',
'Send' => 'Send',
// Messages
'Inbox' => 'Inbox',
'Outbox' => 'Outbox',
'switch' => 'Switch to',
'Box0' => 'Switch to Sent',
'Box1' => 'Switch to Inbox',
'Action' => 'Action',
'Reply' => 'Reply',
'Delete' => 'Delete',
'Quote' => 'Quote',
'Date' => 'Date',
'Status' => 'Messages status:',
'Subject' => 'Subject',
'Sender' => 'Sender',
'Receiver' => 'Receiver',
'Private Messages'=> 'Private Messages',
'PrivateMessage'=> 'Private Message',
'PrivMesIn'=> 'Private messages in',
'New message' => 'Send new message',
'managefolder' => 'Manage folder',
'Delete messages comply' => 'Are you sure you want to delete the selected messages?',
'delete' => 'delete',
'markread' => 'mark as read',
'markunread' => 'mark as unread',
'Read redirect' => 'All messages marked as read. Redirecting...',
'Mark all' => 'Mark all messages as read',
'markmessages' => 'Mark / unmark all messages in that time periode',
'markmessages_all' => 'Mark / unmark all messages',
// Viewtopic
'PM' => 'PM',
'maxmsg' => 'Maximum number of messages you can store',
// Profile
'Quick message' => 'Send private message',
'Show smilies' => 'Show smilies',
// Send or delete message
'Send to' => 'Send to',
'Send a message' => 'Send a message',
'Deletemessage' => 'Delete message',
'Del redirect' => 'Message deleted, redirecting...',
'Sent redirect' => 'Messages sent to user, redirecting...',
// Errors and messages
'No messages' => 'No messages',
'New messages' => 'There are new messages',
'No user' => 'There\'s no user with that username.',
'Full inbox' => 'Your inbox is full!',
'Inbox full' => 'Users inbox is full, you can not send you message to the user.',
'Sent full' => 'Can\'t save message to Sent, your box is full.',
'Flood start' => 'At least',
'Flood end' => 'seconds have to pass between sends. Please wait a little while and try send the message again.',
'No subject' => 'No subject',
'o_board_title' => 'Private Messages',
'Write message legend' => 'Write your message and submit',
'Subject' => 'Subject',
'Message' => 'Message',
'Hide smilies' => 'Hide smilies',
'Options' => 'Options',
'go' => 'Go',
'No message' => 'No message',
'Too long message' => 'Too long message',
'BBCode' => 'BBCode',
'img tag' => 'Image tag',
'Smilies' => 'Smilies',
'on' => 'on',
'off' => 'off',
'Bad request' => 'Bad request',
'No permission' => 'No permission',
'Image link' => 'Image link',
'Go back' => 'Go back',
'Pages' => 'Pages',
'Normal icon' => '<!-- -->',
'New icon' => 'You have new messages',
'Today' => 'Today',
'Yesterday' => 'Yesterday',
'Link separator' => ' :: ',
'Settings' => 'Settings',
'selectedmessages' => 'Selected messages',
'unreadmsg' => 'unread message',
'readmsg' => 'read message',
'reapliedmsg' => 'replied to message',
'posted_a' => 'Date ascending',
'posted_d' => 'Date decending',
'sender_a' => 'Sender ascending',
'sender_d' => 'Sender decending',
'u_messages_on_p_pages' => '%d messages on %d page(s)',
);
$lang_pms_notify_email = <<<EOT
Hello {USER_NAME},
You have received a new private message at {SITE_NAME} from
{SENDER_NAME}. Please click here to log in and read it:
<a href="{LINK}">{LINK}</a>
If you don't want to receive these notification emails anymore
just update your profile and unmark the 'Notify me on new private
messages' checkbox.
{ADMIN}
EOT;
}
changes in config....
'Themes settings'
array('Display login form', 'enable_loginform', 1),
'Album list view',
array('Use mini thumb as category lead image','mini_as_category_lead',1), //cpg1.4
'Thumbnail view',
array('Display pic rating below the thumbnail', 'display_pic_rating', 1), //cpg1.3.0
array('Display number of votes below the thumbnail', 'display_pic_voting', 1),
array('Display info right of thumb (or below)', 'info_block_align', 1),
'Files and thumbnails settings', --> (change the forst entry, it's already existing, the others are new)
array('Max dimension (width) of a thumbnail <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&as=admin_picture_thumbnail_max-dimension&ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
array('Height of a thumbnail (if you use exact)', 'thumb_height', 0),
array('Enable Mini Thumbs', 'enable_mini_thumbs', 1),
array('Mini Thumb Width', 'mini_thumb_width', 0),
array('Mini Thumb Height', 'mini_thumb_height', 0),
New settings
'Thumb Sharpening',
array('Enable Unsharp Mask', 'enable_unsharp', 1),
array('Amount', 'unsharp_amount', 0),
array('Radius', 'unsharp_radius', 0),
array('Threshold', 'unsharp_threshold', 0),
'Image watermarking',
array('Watermark Image', 'enable_watermark', 1),
array('Where to place the watermark', 'where_put_watermark', 18),
array('Which files to watermark', 'which_files_to_watermark', 19),
array('Which file to use for watermark', 'watermark_file', 0),
array('Transparency 0-100 for entire image', 'watermark_transparency', 0),
array('Set color transparent x (GD2 only)', 'watermark_transparency_featherx', 0),
array('Set color transparent y (GD2 only)', 'watermark_transparency_feathery', 0),
'Private messaging',
array('Enable private messaging', 'pms_enabled', 1),
array('Make links clickable', 'pms_make_links', 1),
array('Enable smilies in private messages', 'pms_smilies', 1),
array('Enable BBCode', 'pms_message_bbcode', 1),
array('Enable image tag', 'pms_message_img_tag', 1),
array('Enable email notification', 'pms_enable_email', 1),
array('Messages user can store', 'pms_messages', 0),
array('Date format', 'pms_date_format', 0),
array('Time format', 'pms_time_format', 0),
array('Flood protection, seconds till new pm can be sent', 'pms_post_flood', 0),
'Buddies',
array('Enable Buddy List', 'enable_buddy', 1),
array('Email users if request/ accepted', 'enable_buddy_email', 1),
array('Private albums but buddies can view', 'enable_buddy_private_view', 1),
array('Display buddy album, last comments, last uploads (resource intensive)', 'buddy_enhanced_display', 1),
'Performance settings',
// array('Enable the ban list (2 more queries)', 'enable_bans', 1),
array('Display buddy status info when logged in (2q)', 'display_buddy_status', 1), //cpg1.3.0
array('Display pm status info when logged in (2q)', 'display_pms_status', 1), //cpg1.3.0
// array('Enable gallery statistics (6 queries)','enable_stats',1),
// array('Use fast stats - private pics counted too - saves quite some resources - stats need to be enabled','fast_stats',1),
'User settings',
array('Enable user notification on comments', 'enable_user_notification', 1), //cpg1.3.0
array('Enable User Avatar (Mini Thumbs Required)', 'enable_avatar', 1),
$lang_db_input_php ... change the first line to
if (defined('DB_INPUT_PHP')) { $lang_db_input_php = array(
and at the end of it replace the ); with
'user_comment_notify_subject' => 'Someone commented on a picture you are subscribed to at ', //cpg1.3.0
);
$lang_db_owner_comment_notify_email = <<<EOT
Hello {USER_NAME},
{COMMENTER_NAME} just commented on a pic from {OWNER_NAME}
with the title {PIC_TITLE}.
You will not get any more notifications regarding this pic till you
visit the site.
To read the comment click <a href="{IMAGE_LINK}">{IMAGE_LINK}</a>
To unsubscribe click <a href="{UNSUBSCRIBE_LINK}">{UNSUBSCRIBE_LINK}</a>
Best regards,
{ADMIN}
EOT;
}
$lang_delete_php add
'mini_thumb' => 'mini thumb',
'orig_pic' => 'original image',
$lang_picinfo add
'download_URL' => 'Direct Link',
'movie_player' => 'Play the file in your standard application',
$lang_display_comments add
'unsubscribe' => 'Unsubscribe comment notification',
'subscribe' => 'Get notified about new comments',
$lang_modifyalb_php add
'me_and_buddies' => 'Me and my buddies',
$lang_register_php add
'notify_pm' => 'Notify me on new private messages', //cpg1.3.0
'manage_avatar' => '<a href="avatar_manage.php">Manage avatar</a>',
'auto_subscribe_post' => 'Automatically subscribe to pictures you posted',
'auto_subscribe_comment' => 'Automatically subscribe to pictures you commented',
'manage_subscriptions' => '<a href="subscribtion_manage.php">Manage subscribtions</a>',
'enable_admin_email' => 'Allow admin emails (buddy etc.)',
'on' => 'online',
'off' => 'offline',
$lang_util_php add
'update_thumb' => 'Only thumbnails (mini and regular)',
'update_full_normal_thumb' => 'Everything... full sized, resized and thumbs',
'update_full_normal' => 'Both resized and full sized (if a orig copy is available)',
'update_full' => 'Just full sized (if a orig copy is available)',
'delete_back' => 'Delete original image backup (if you do that you can not undo watermarking)',