- الرئيسية
- ما الجديد !
-
الصفحات▼
الصفحات
أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .
عندي مشكلة صورة الوسام العضو لا تظهر في ستايل ديف بوينت
-
-
[مجابه] عندي مشكلة صورة الوسام العضو لا تظهر في ستايل ديف بوينت18-04-2017 03:31 مساءً
-
kiimoxمعلومات الكاتبعضو
- انضم في :
- 19-03-2017
- رقم العضوية :
- 7168
- المشاركات :
- 33
- الجنس:
- تاريخ الميلاد :
- 13-8-1998
- قوة السمعة:
- 0
- موقعي:
- زيارة موقعي
-
المشاركة الأصلية كتبت بواسطة: Soliman ضع محتوى قالب : profile
<style>
.RD-navbar-default{display: none;}
</style>
<!-- RD-DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD-->
{if {$GroupInfo['profile_photo']}}
<link rel="stylesheet" href="{$ForumAdress}applications/core/plupload/jquery_ui_plupload/css/jquery-ui.css" type="text/css" />
<link rel="stylesheet" href="{$ForumAdress}applications/core/plupload/jquery_ui_plupload/css/jquery_ui_plupload.css" type="text/css" media="screen" />
<style>
#drag_position {display:none;}
#el_ement {cursor:move; height:200px; list-style:none;}
#draggable {
border-radius: 4px 4px 0px 0px;
padding: 15px;
color: #fff;
position: relative;
height:200px;
}
.draggable {padding: 0px; margin: 0px; }
.cover_photo{
background-color: #F6F1F1;
background-image:url({$image_path}/loading.gif);
background-repeat: no-repeat;
background-position:center;
text-align:center;
width: 100%; height:200px;
}
#cover_photo_position {
position:absolute;
background: rgba(0, 0, 0, 0.5) none repeat scroll 0% 0%;
opacity: 0.6;
color: #FFF;
}
</style>
<script type="text/javascript">
$(document).ready(function(drag) {
$("#element").draggable({
containment: '#draggable',
scroll: false
}).mousemove(function(){
var coord = $(this).position();
var width = $(this).width();
var height = $(this).height();
$("li.position").text( "(" + coord.left + "," + coord.top + ")" );
$("li.size").text( "(" + width + "," + height + ")" );
var data = {};
data['left'] = coord.left;
data['top'] = coord.top;
data['width'] = width;
data['height'] = height;
data['layout'] = 1;
var AjaxState = {ajaxSend : $("#cover_photo_position_status")};
$.post("{$ForumAdress}includes/upload.php",data,function( data ) {$("#cover_photo_position_status" ).html( data );});
})
});
</script>
<script type="text/javascript" src="{$ForumAdress}applications/core/plupload/plupload_full_min.js"></script>
<script type="text/javascript" src="{$ForumAdress}applications/core/plupload/jquery_ui_plupload/jquery_ui_plupload.js"></script>
<script type="text/javascript" src="applications/core/plupload/i18n/{$_CONF['info_row']['content_language']}.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#pbb_upload_photo').click(function(){
$(this).next('#pbb_dialog_upload_photo').slideToggle();
$("#pbb_dialog_upload_photo").css('display', 'block');
$(this).toggleClass('dialog_upload_photo');
if ($(this).hasClass('dialog_upload_photo')) $(this).find('s').html('?')
else $(this).find('s').html('?')
})
$('#dialog_close').click(function(){
$(this).next('#pbb_dialog_upload_photo').slideToggle();
$("#pbb_dialog_upload_photo").css('display', 'none');
$(this).toggleClass('dialog_upload_photo');
if ($(this).hasClass('dialog_upload_photo')) $(this).find('s').html('?')
else $(this).find('s').html('?')
})
$("#filelist_browse").click(function(){
$("#cover_browse").click();
$(this).toggleClass('acover_photo');
if ($(this).hasClass('acover_photo')) $(this).find('s').html('?')
else $(this).find('s').html('?')
})
});
</script>
{if {$MemberInfo['profile_cover_photo']} != ''}
<link rel="stylesheet" href="{$ForumAdress}applications/core/plupload/jquery_ui_plupload/css/jquery-ui.css" type="text/css" />
<link rel="stylesheet" href="{$ForumAdress}applications/core/plupload/jquery_ui_plupload/css/jquery_ui_plupload.css" type="text/css" media="screen" />
{$lang['upload_cover_photo']}
</li>
</li>
{template}profile_cover_photo_upload{/template}
{/if}
{if {$_CONF['member_permission']}}
<?php if($PowerBB->_CONF['template']['MemberInfo']['username'] != $PowerBB->_CONF['member_row']['username']){ ?>
[*]
{if {$is_friend}}
<a class="app_button Button_overlaid" id="remove_friend">
[/i] {$lang['friends']}
</a>
{else}
}]
{$lang['add_friend']}
{/if}
</li>
{/if}
{/if}
{template}stuff_profile{/template}
<small>
{$lang['posts']}
{$MemberInfo['posts']}
</small>
<small>
{$lang['user_invite']}
{$MemberInfo['invite_num']}
</small>
<small>
{$lang['visitor_num']}
{$MemberInfo['visitor']}
</small>
[i]
<small>
{$lang['user_reputation']}
{$MemberInfo['reputation']}
</small>
{if {$superadministrators}}
<?php if($PowerBB->_CONF['template']['MemberInfo']['username'] != $PowerBB->_CONF['member_row']['username']){ ?>
{template}login_admittance{/template}
{/if}
{/if}
{if {$while['extrafield']}}
{if is_array({$while['extrafield']})==true }
{$lang['Additional_information']}
{Des::while}{extrafield}
{$extrafield['name']}
<?php if($PowerBB->_CONF['template']['MemberInfo'][$PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag']]){ ?>
<?php $PowerBB->_CONF['template']['MemberInfo'][$PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag']] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['MemberInfo'][$PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag']],'html'); ?>
<?php echo $PowerBB->_CONF['template']['MemberInfo'][$PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag']]; ?>
<?php }else{ ?>
{$lang['did_not_say']}
<?php } ?>
{/Des::while}
{/if}
{/if}
{if {$MemberInfo['profile_viewers']} == '1'}
{$lang['profile_viewers']}
{if {$no_viewers}}
{$lang['no_profile_viewers']}
{else}
{$lang['last_20_visits_profile']}
{/if}
{Des::while}{viewersList}
}]
{$viewersList['username']}
{if {$show_visit_number}}
({$viewersList['viewer_user_counter']})
{/if}
{/Des::while}
<?php $PowerBB->_CONF['template']['_CONF']['lang']['this_page_visited_guest'] = str_ireplace('{1}',$PowerBB->_CONF['template']['view_page_num'],$PowerBB->_CONF['template']['_CONF']['lang']['this_page_visited_guest']); ?>
{$lang['this_page_visited_guest']}
{/if}
{if {$_CONF['info_row']['allow_apsent']} == '1'}
{if {$MemberInfo['away']} == 1}
{$MemberInfo['username']}
{$lang['Absent_now']}
{$lang['Reason_for_absence']}
{$MemberInfo['away_msg']}
{/if}
{/if}
{if {$Awards_nm} > '0'}
{$lang['awards']}:{$Awards_nm}
{Des::while}{AwardsList}
{$AwardsList['award']}
{/Des::while}
{/if}
<!-- RD-DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD-->
<script type="text/javascript">
// Initialize the widget when the DOM is ready
$(function() {
$("#filelist").plupload({
// General settings
runtimes : 'html5,flash,silverlight,html4',
url : '{$ForumAdress}includes/upload.php',
unique_names: true,
// User can upload no more then 20 files in one go (sets multiple_queues to false)
max_file_count: 1,
chunk_size: '1mb',
// Resize images on clientside if we can
resize : {
width : 700,
height : 300,
quality : 90,
crop: true // crop to exact dimensions
},
filters : {
// Maximum file size
max_file_size : '1mb',
// Specify what files to browse for
mime_types: [
{title : "Image files", extensions : "jpg,gif,png,jpeg"}
]
},
// Rename files by clicking on their titles
rename: true,
// Sort files
sortable: true,
prevent_duplicates: true,
init : {
FilesAdded: function(up, files) {
var max_files = 1;
plupload.each(files, function(file) {
if (up.files.length > max_files) {
alert("{$lang['cover_photo_chaos_single_file']}");
up.removeFile(file);
}
});
if (up.files.length >= max_files) {
$('#pickfiles').hide();
}
},
FilesRemoved: function(up, files) {
if (up.files.length < max_files) {
$('#pickfiles').fadeIn();
}
}
},
// Enable ability to drag'n'drop files onto the widget (currently only HTML5 supports that)
dragdrop: true,
// Views to activate
views: {
list: false,
thumbs: true, // Show thumbs
active: 'thumbs'
},
// Flash settings
flash_swf_url : '{$ForumAdress}applications/core/plupload/Moxie.swf',
// Silverlight settings
silverlight_xap_url : '{$ForumAdress}applications/core/plupload/Moxie.xap'
});
});
</script>
الساعة الآن 02:18 AM