Version 3.4.8

This commit is contained in:
Neo committed 2025-12-19 00:42:42 -08:00
1 parent b45ea0dffb
commit c603205a25
1398 files changed
+36675 -31023

No files matched your search

@@ -1256,7 +1256,7 @@ $memberNames = implode( $mems, ', ' );
<div class='ipsBox_withphoto'>
<ul class='ipsList_inline right'>
<if test="weAreSupmod:|:$this->memberData['g_is_supmod'] == 1 && $member['member_id'] != $this->memberData['member_id']">
<li><a href='{parse url="app=core&amp;module=modcp&amp;do=editmember&amp;auth_key={$this->member->form_hash}&amp;mid={$member['member_id']}&amp;pf={$member['member_id']}" base="public"}' class='ipsButton_secondary'>{$this->lang->words['edit_member']}</a></li>
<li><a href='{parse url="app=core&amp;module=modcp&amp;do=editmember&amp;mid={$member['member_id']}&amp;pf={$member['member_id']}" base="public"}' class='ipsButton_secondary'>{$this->lang->words['edit_member']}</a></li>
</if>
<if test="notus:|:$this->memberData['member_id'] AND $this->memberData['member_id'] != $member['member_id'] && $this->settings['friends_enabled'] AND $this->memberData['g_can_add_friends']">
<if test="addfriend:|:IPSMember::checkFriendStatus( $member['member_id'] )">
@@ -1961,7 +1961,7 @@ html, body {
<div class='ipsBox_withphoto'>
<ul class='ipsList_inline right'>
<if test="weAreSupmod:|:$this->memberData['g_is_supmod'] == 1 && $friend['member_id'] != $this->memberData['member_id']">
<li><a href='{parse url="app=core&amp;module=modcp&amp;do=editmember&amp;auth_key={$this->member->form_hash}&amp;mid={$friend['member_id']}&amp;pf={$friend['member_id']}" base="public"}' class='ipsButton_secondary'>{$this->lang->words['supmod_edit_member']}</a></li>
<li><a href='{parse url="app=core&amp;module=modcp&amp;do=editmember&amp;mid={$friend['member_id']}&amp;pf={$friend['member_id']}" base="public"}' class='ipsButton_secondary'>{$this->lang->words['supmod_edit_member']}</a></li>
</if>
<if test="notus:|:$this->memberData['member_id'] AND $this->memberData['member_id'] != $friend['member_id'] && $this->settings['friends_enabled'] AND $this->memberData['g_can_add_friends']">
<if test="addfriend:|:IPSMember::checkFriendStatus( $friend['member_id'] )">
@@ -2110,7 +2110,7 @@ html, body {
src: '{$this->settings['public_dir']}js/3rd_party/cropper/cropper.uncompressed.js'
}));
</script>
<form method='post' enctype="multipart/form-data" action="{parse url="app=members&amp;module=profile&amp;section=photo&amp;do=save" base="public"}" id='photoEditorForm' name='photoEditorForm'>
<form method='post' enctype="multipart/form-data" action="{parse url="app=members&amp;module=profile&amp;section=photo&amp;do=save&amp;secure_key={$this->member->form_hash}" base="public"}" id='photoEditorForm' name='photoEditorForm'>
<h3>{$this->lang->words['pe_title']}</h3>
<div class='ipsBox'>
<div class='fixed_inner'>
@@ -2231,7 +2231,7 @@ html, body {
<if test="canEditUser:|:($this->memberData['member_id'] && $member['member_id'] == $this->memberData['member_id']) || $this->memberData['g_is_supmod'] == 1 || ($this->memberData['member_id'] && $member['member_id'] != $this->memberData['member_id'])">
<ul class='topic_buttons'>
<if test="weAreSupmod:|:$this->memberData['g_is_supmod'] == 1 && $member['member_id'] != $this->memberData['member_id']">
<li><a href='{parse url="app=core&amp;module=modcp&amp;do=editmember&amp;auth_key={$this->member->form_hash}&amp;mid={$member['member_id']}&amp;pf={$member['member_id']}" base="public"}'>{$this->lang->words['supmod_edit_member']}</a></li>
<li><a href='{parse url="app=core&amp;module=modcp&amp;do=editmember&amp;mid={$member['member_id']}&amp;pf={$member['member_id']}" base="public"}'>{$this->lang->words['supmod_edit_member']}</a></li>
</if>
<if test="weAreOwner:|:$this->memberData['member_id'] && $member['member_id'] == $this->memberData['member_id']">
<li><a href='{parse url="app=core&amp;module=usercp&amp;tab=core" base="public"}'>{$this->lang->words['edit_profile']}</a></li>
@@ -3467,7 +3467,7 @@ var msg = "$_message";
<div>
<fieldset class='ipsPad_half row2'>
<div class='left ipsUserPhoto' style='margin-right:4px;'>
<img src="{$fbUserData['pic_square']}" alt="" />
<img src="{$fbUserData['photo']}" alt="" />
</div>
<div class='desc'>
{$this->lang->words['fb_logged_in_as']} <strong>{$fbUserData['name']}</strong>
@@ -3484,12 +3484,12 @@ var msg = "$_message";
<input class='input_check' type='checkbox' value='1' name='fbc_s_pic' value='1' <if test="fbSyncPic:|:$this->memberData['fbc_s_pic'] > 0">checked='checked'</if> id='fbc_s_pic' /><label for='fbc_s_pic'>{$this->lang->words['fb_sync_photo']}</label><br />
<span class='desc lighter'>{$this->lang->words['fb_sync_photo_info']}</span>
</li>
<if test="canUpdateStatus:|:$this->memberData['can_updated_status']">
<if test="canUpdateStatus:|:$this->memberData['can_updated_status'] AND $perms['publish_actions']['data'][0]['status'] == 'granted'">
<li class='field checkbox'>
<input class='input_check' type='checkbox' value='1' name='fbc_s_status' value='1' <if test="fbSyncStatus:|:$this->memberData['fbc_s_status'] > 0">checked='checked'</if> id='fbc_s_status' /><label for='fbc_s_status'>{$this->lang->words['fb_sync_status']}</label>
</li>
</if>
<if test="statusImportGroup:|: ! $this->memberData['gbw_no_status_import']">
<if test="statusImportGroup:|: ! $this->memberData['gbw_no_status_import'] AND $perms['user_status']['data'][0]['status'] == 'granted'">
<li class='field checkbox'>
<input class='input_check' type='checkbox' value='1' name='fbc_si_status' value='1' <if test="fbSyncStatus:|:$this->memberData['fbc_si_status'] > 0">checked='checked'</if> id='fbc_si_status' /><label for='fbc_si_status'>{$this->lang->words['fb_sync_status_in']}</label>
</li>
@@ -3511,18 +3511,15 @@ var msg = "$_message";
<h3 class='ipsType_subtitle'>{$this->lang->words['fbp_title']}</h3>
<ul>
<li class='field checkbox'>
<img src="{$this->settings['img_url']}/<if test="pImgE:|:$perms['email']">accept.png<else />cross.png</if>" style='vertical-align:top' alt='' />&nbsp;{$this->lang->words['fbp_email_access']}
<if test="pCheckE:|:!$perms['email']">&nbsp;(<fb:prompt-permission perms="email">{$this->lang->words['fbp_request']}</fb:prompt-permission>)</if>
<img src="{$this->settings['img_url']}/<if test="pImgE:|:$perms['email']['data'][0]['status'] == 'granted'">accept.png<else />cross.png</if>" style='vertical-align:top' alt='' />&nbsp;{$this->lang->words['fbp_email_access']}
<p class='desc' style='left:0px'>{$this->lang->words['fbp_email_access_desc']}</p>
</li>
<li class='field checkbox'>
<img src="{$this->settings['img_url']}/<if test="pImgPS:|:$perms['publish_stream']">accept.png<else />cross.png</if>" style='vertical-align:top' alt='' />&nbsp;{$this->lang->words['fbp_publish_stream']}
<if test="pCheckPS:|:!$perms['publish_stream']">&nbsp;(<fb:prompt-permission perms="publish_stream">{$this->lang->words['fbp_request']}</fb:prompt-permission>)</if>
<img src="{$this->settings['img_url']}/<if test="pImgPS:|:$perms['publish_actions']['data'][0]['status'] == 'granted'">accept.png<else />cross.png</if>" style='vertical-align:top' alt='' />&nbsp;{$this->lang->words['fbp_publish_stream']}
<p class='desc' style='left:0px'>{$this->lang->words['fbp_publish_stream_desc']}</p>
</li>
<li class='field checkbox'>
<img src="{$this->settings['img_url']}/<if test="pImgRS:|:$perms['read_stream']">accept.png<else />cross.png</if>" style='vertical-align:top' alt='' />&nbsp;{$this->lang->words['fbp_read_stream']}
<if test="pCheckRS:|:!$perms['read_stream']">&nbsp;(<fb:prompt-permission perms="read_stream">{$this->lang->words['fbp_request']}</fb:prompt-permission>)</if>
<img src="{$this->settings['img_url']}/<if test="pImgRS:|:$perms['user_status']['data'][0]['status'] == 'granted'">accept.png<else />cross.png</if>" style='vertical-align:top' alt='' />&nbsp;{$this->lang->words['fbp_read_stream']}
<p class='desc' style='left:0px'>{$this->lang->words['fbp_read_stream_desc']}</p>
</li>
</ul>
@@ -3536,6 +3533,13 @@ var msg = "$_message";
</div>
<br />
</if>
<if test="fbMissingPerms:|:$missingPerms === TRUE">
<h3 class='ipsType_subtitle'>{$this->lang->words['fb_permissions']}</h3>
<p class='desc'>{$this->lang->words['fb_permissions_desc']}</p>
<br />
<p><input type='button' class='input_submit alt' id='fbc_permissions' value='{$this->lang->words['fb_permissions_review']}' /></p>
<br />
</if>
<h3 class='ipsType_subtitle'>{$this->lang->words['fb_disassociate']}</h3>
<p class='desc'>{$this->lang->words['fb_disassociate_desc']}</p>
<if test="fbDefaultEmail:|:strstr( $this->memberData['email'], '@proxymail.facebook.com' )">
@@ -3553,14 +3557,38 @@ var msg = "$_message";
</div>
<script type="text/javascript">
$('fbc_remove').observe( 'click', usercp_remove );
$('fbc_permissions').observe( 'click', usercp_perms );
function usercp_remove(){
window.location = ipb.vars['base_url'] + 'app=core&module=usercp&tab=core&area=facebookRemove&do=custom&secure_key=' + ipb.vars['secure_hash'];
}
function usercp_perms(){
FB.login( function( response ) {
if ( response.authResponse ) {
window.location = ipb.vars['base_url'] + 'app=core&module=usercp&tab=core&area=facebook&do=show&saved=1';
}
}, {scope: 'email,publish_actions,user_status', auth_type: 'rerequest'});
}
</script>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '{$this->settings['fbc_appid']}',
xfbml : true,
version : 'v2.1'
});
};
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/{$this->settings['fb_locale']}/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
</if>
</if>]]></template_content>
<template_name>membersFacebookConnect</template_name>
<template_data>$fbuid, $fbUserData, $linkedMemberData, $perms</template_data>
<template_data>$fbuid, $fbUserData, $linkedMemberData, $perms, $missingPerms=FALSE</template_data>
<template_removable>0</template_removable>
<template_user_added>0</template_user_added>
<template_user_edited>0</template_user_edited>
@@ -4380,7 +4408,7 @@ if ( $('sig_htmlstatus') )
</if>
<if test="hasNotifyForMod:|:count($notifications)">
<br />
<a href='{parse url="app=core&amp;module=usercp&amp;area=markNotification&amp;do=mark&amp;mark=all" base="public"}' id='ack_pm_notification' class='input_submit left'>{$this->lang->words['notificationlog_mar']}</a>
<a href='{parse url="app=core&amp;module=usercp&amp;area=markNotification&amp;do=mark&amp;mark=all&amp;k={$this->member->form_hash}" base="public"}' id='ack_pm_notification' class='input_submit left'>{$this->lang->words['notificationlog_mar']}</a>
<div class='moderation_bar rounded with_action'>
<input type="submit" class="input_submit alt" value="{$this->lang->words['ndel_selected']}" />
</div>