- انجمن دیتالایف انجین
- ← مطالب دارای بیشترین رای
مطالب دارای بیشترین رای
#81763 خروجی Rss
ارسال شده توسط
mrmsr
در 1394/06/11 ساعت 17:06
#85681 آپلود تصویر و فایل در ساب دامنه
ارسال شده توسط
Majid_h
در 1396/03/04 ساعت 20:18
سلام
برای اینکه مسیر آپلود فایل ها رو تغییر بدید تا از قابلیت cookie-free domains استفاده کنید.
می تونید از دو روش اقدام کنید.
روش اول :
باید فایل های زیر رو ویرایش کنید.
Ajax/upload.php
inc/upload.php
classes/uploads/upload.class.php
و متغیرهایی که مربوط به قسمت فراخوانی تصاویر هستند مثل :
$img_url یا $file_link یا $data_url که با کد زیر مقدار دهی شدند رو پیدا کنید و بجای کد زیر
$config['http_home_url']
آدرس مد نظر خودتون رو قرار بدید در داخل '' قرار بدید.
'/http://cdn.mysite.com'
روش دوم: پیشنهاد میشود.
فایل inc/options.php رو باز کنید و در خط 845 این کد رو پیدا کنید
showRow( $lang['opt_sys_hu'], $lang['opt_sys_hud'], "<input type=text style=\"width:100%;\" name=\"save_con[http_home_url]\" value=\"{$config['http_home_url']}\">" );
بعد از این کد، کد زیر رو قرار بدید
showRow( 'آدرس آپلود فایل ها', 'مثلا : /http://cdn.mysite.com', "<input type=text style=\"width:100%;\" name=\"save_con[http_home_cdn_url]\" value=\"{$config['http_home_cdn_url']}\">" );
حالا مثل روش اول فایل ها رو باز کنید اما در مرحله آخر بجای
$config['http_home_url']
از کد
$config['http_home_cdn_url']
استفاده کنید.
از این طریق می توانید لینک رو از بخش تنظیمات سیستم تغییر دهید.
- 4
#83737 اتصال سرور دانلود به دیتالایف IMP Download Servers v1.0
ارسال شده توسط
ezal
در 1395/01/12 ساعت 15:23
سلام دوست من
به جای اینکه کلی دردسر بکشید و پولتونو تبدیل به دلار کنید و بفرستید برای یه شخصیت کارتونی که ایران هم نیست و اسم و فامیلش رو هیچکی نمیدونه
و نگران باشید که ماژول رو تحویل میده یا نه و وقتی نیاز به پشتیبانی داشتید به جای جواب چندتا توهین بشنوید! همون مبلغ رو بدید یکی از ماژول نویس ها تا ماژول رو حتی بهتر براتون بنویسن و پشتیبانی هم داشته باشید ![]()
- 4
#83597 تغییر کلمه ادامه مطلب
ارسال شده توسط
حمید یوسفی
در 1394/12/28 ساعت 04:03
از داخل پوشه قالبتون فایل shortstory.tpl رو باز کنید، کلمه مد نظرتون رو پیدا کنید و اون رو جایگزین کنید.
- 4
#83586 چرا هنوز دیتالایف انجین 11 فارسی منتشر نشده ؟
ارسال شده توسط
Mohammad_1ta
در 1394/12/27 ساعت 18:52
شما مثل این که زیادی بیکاری یا زیادی حوصلت زیاده من حدود 1 ماهه منتظر نسخه 11 هستم و اصلا حوضله نصب نسخه 10.6 رو ندارم.
دوست عزیز، حدود 10 روز هست که نسخش اومده بیرون. همون لحظه که نمیشه کاراش رو انجام داد.!!
با کمک تیم مدیریت، فارسی سازی سیستم و قالب تموم شده. تا لحظاتی دیگر روی سایت قرار میگیره...
موفق باشید.
- 4
#83520 ریسپانسیو کردن قالب
ارسال شده توسط
amin_blog
در 1394/12/20 ساعت 11:35
ببخشید من پاسخ رو ارسال کردم ارسال دوستمون رو ندیدم . به دلایلی که دوستمون گفتن پاسخ رو برداشتم.
- 4
#83416 دوستونه کردن قالب NEWS
ارسال شده توسط
amin_blog
در 1394/12/14 ساعت 23:08
سلام دوستا من هر کاری کردم نتونستم قالب news رو برای 10.6 دو ستونه کنم دوستام یکم کمکم کردن ولی نشد سخت بود
![]()
![]()
![]()
![]()
![]()
![]()
میشه کمک کنید بگید کجاش رو باید عوض کنم درست بشه توی css خیلی زور زدم نشد
این قالب بصورت پیشفرض دو ستونه هست،اگر منظورتون سه ستونه کردن این قالب هست
1- کد های زیر رو جایگزین کدهای main.tpl کن.
<!DOCTYPE html>
<html xml:lang="fa" lang="fa">
<head>
{headers}
<link media="screen" href="{THEME}/style/styles.css" type="text/css" rel="stylesheet" />
<link media="screen" href="{THEME}/style/engine.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="{THEME}/js/libs.js"></script>
</head>
<body>
{AJAX}
<div class="modal">
<div class="modal-bg"></div>
<div class="modal-box">
<div class="modal-title"><div>ورود به سایت</div><span class="modal-close"></span></div>
<div class="modal-content">تست</div>
</div>
</div>
<header class="header">
<div class="topbar">
<div class="wrapper">
<div class="right">
امروز: {today}
</div>
<div class="left">
{login}
</div>
</div>
</div>
<h1>دیتالایف انجین فارسی</h1>
<h2>سیستم مدیریت محتوای</h2>
</header>
<nav class="navigation">
<ul>
<li><a href="/">صفحه نخست</a></li>
<li class="sub">
<a href="#">منوی کشویی</a>
<ul>
<li><a href="#">منوی اول</a></li>
<li><a href="#">منوی دوم</a></li>
<li><a href="#">منوی سوم</a></li>
<li><a href="#">منوی چهارم</a></li>
<li><a href="#">منوی پنجم</a></li>
</ul>
</li>
<li><a href="/index.php?do=rules">قوانین سایت</a></li>
<li><a href="/index.php?">درباره ما</a></li>
<li><a href="/index.php?do=feedback">تماس با ما</a></li>
</ul>
</nav>
<div class="wrapper">
<aside class="sidebar">
<section class="section">
<form action="" name="searchform" method="post">
<input type="text" id="story" name="story" style="width: 190px;" placeholder="جستجو در اخبار...">
<input type="submit" value="Go">
<input type="hidden" name="do" value="search" />
<input type="hidden" name="subaction" value="search" />
</form>
</section>
<section class="section">
<header class="section-title"><span>دسته بندی اخبار</span></header>
{include file="engine/modules/category.php"}
</section>
<section class="section">
<header class="section-title"><span>برترین مطالب</span></header>
<ul>
{include file="engine/modules/3news.php?mod=topnews&template=topnews&from=0&limit=10"}
</ul>
</section>
<section class="section">
<header class="section-title"><span>تقویم مطالب</span></header>
{include file="engine/modules/calendar.php?mod=calendar"}
</section>
<section class="section">
<header class="section-title"><span>خلاصه آمار سایت</span></header>
{include file="engine/modules/siteinfo.php"}
</section>
<section class="section">
<header class="section-title"><span>لینک دوستان</span></header>
<ul>
{include file="engine/modules/obmen.php"}
</ul>
</section>
</aside>
<section class="main">
{info}
{content}
</section>
<aside class="sidebar">
<section class="section">
بلاک اضافی
</section>
<section class="section">
<header class="section-title"><span>سلام</span></header>
بلاک اضافی
</section>
<section class="section">
<header class="section-title"><span>علیک</span></header>
<ul>
بلاک اضافی
</ul>
</section>
<section class="section">
<header class="section-title"><span>تقویم مطالب</span></header>
بلاک اضافی
</section>
<section class="section">
<header class="section-title"><span>خلاصه آمار سایت</span></header>
بلاک اضافی
</section>
<section class="section">
<header class="section-title"><span>لینک دوستان</span></header>
<ul>
بلاک اضافی
</ul>
</section>
</aside>
</div>
<footer>
<div class="footer">
<div class="wrapper">
<div class="footer-column">
<div class="footer-content">
<h5><span>مطالب تصادفی</span></h5>
<ul>
{include file="engine/modules/3news.php?mod=randnews&template=randnews&from=0&limit=4"}
</ul>
</div>
</div>
<div class="footer-column">
<div class="footer-content">
<h5><span>تگ های مطالب سایت</span></h5>
<div class="tags">
{tags}
</div>
</div>
</div>
<div class="footer-column">
<div class="footer-content">
<h5><span>درباره سایت...</span></h5>
<p class="justify">
در این مکان می توانید توضیحی در رابطه با وب سایت خود بنویسید.<br/>جهت ویرایش این متن، به فایل <span class="en">main.tpl</span> قالب خود مراجعه کنید.
</p>
</div>
</div>
</div>
</div>
<div class="copyright">
<div class="wrapper">
<div class="right">
سیستم قدرت گرفته از: <a href="http://www.datalifeengine.ir" target="_blank">دیتالایف انجین</a>
</div>
<div class="left">
Copyright © 2015 by Datalife Engine, All rights reserved.
</div>
</div>
</div>
</footer>
</body>
</html>
2- کدهای زیر رو جایگزین کدهای موجود در style/styles.css کن:
*,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
*:focus { outline: 0; }
@font-face { font-family: 'yekan'; src: url('../fonts/dle.eot') format('eot'), url("../fonts/dle.woff") format("woff"), url('../fonts/dle.ttf') format('truetype');}
html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input { margin: 0; padding: 0; }
body { direction: rtl; background: #ebebeb; color: #505050; line-height: 20px; word-wrap: break-word; font-family: 'yekan', 'b yekan', tahoma; font-size: 15px; }
h1, h2, h3, h4, h5 { line-height: normal; font-weight: normal; }
a { color: #000; text-decoration: none; transition: .2s; }
a:hover { color: #0087AD; }
img{border:none;vertical-align:middle; }
img::selection{ background: transparent; }
img::-moz-selection{ background: transparent; }
::selection{ background:#5587AD; color:#fff; text-shadow:1px 1px 0 #000; }
::-webkit-input-placeholder { color: #aaa; direction: rtl; text-align: right; }
::-moz-placeholder { color: #aaa; direction: rtl; text-align: right; }
:-ms-input-placeholder { color: #aaa; direction: rtl; text-align: right; }
input, button, textarea, select { border: 1px solid #e0e0e0; background: #fff; font-family: 'yekan', 'b yekan', tahoma; font-size: 14px; transition: .3s; }
input:focus { border: 1px solid #aaa; }
input[type=checkbox] { vertical-align: middle; }
li { list-style-type: none; }
.left { float: left; }
.right { float: right; }
.taleft { text-align: left; }
.taright { text-align: right; }
.center { text-align: center; }
.justify { text-align: justify; }
.valign { vertical-align: middle; }
.ltr { text-align: left; }
.rtl { text-align: right; }
.en { font-family: tahoma !important; }
.oh { overflow: hidden; }
.clear, .clr { clear: both; }
.wrapper { width: 1160px; margin: 0 auto; overflow: hidden; }
.topbar { background: #0087AD; border-bottom: 1px solid #017C9E; height: 40px; color: #fff; }
.topbar .wrapper { height: 40px; }
.topbar .right { padding-top: 8px; }
.topbar .left a { display: inline-block; float: left; padding: 7px 10px 7px 14px; background: #017DA0; color: #fff; border-right: 1px solid #008AB1; border-left: 1px solid #008AB1; height: 40px; }
.topbar .left a img { margin-left: 5px; vertical-align: middle; }
.topbar .left a:hover { background: #333; }
.header { background: #fff; text-align: center; }
.header h1 { color: #0087AD; font-size: 32px; padding: 30px 0 0 0; }
.header h2 { color: #bbb; font-size: 17px; padding-bottom: 40px; }
.navigation { background: #fff; text-align: center; margin-bottom: 35px; box-shadow: 0 3px 3px rgba(0,0,0,0.03); z-index: 100; width: 100%; top: 0; transition: .3s; }
.navigation ul { border-top: 1px solid #ebebeb; }
.navigation li { display: inline-block; position: relative; }
.navigation li.sub > a:after { content: ' '; display: block; margin: 5px 4px 0 0; width: 16px; height: 16px; float: left; background-image: url('../images/down.png'); background-repeat: no-repeat; opacity: 0.6; }
.navigation li a { display: block; padding: 14px 20px 18px 20px; font-size: 14px; }
.navigation ul li ul { position: absolute; z-index: 2; visibility: hidden; opacity: 0; right: 0; background: #fff; top: 82px; min-width: 200px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); transition: .3s; }
.navigation ul li:hover ul { visibility: visible; opacity: 1; top: 52px; }
.navigation ul li ul li { display: block; text-align: right; border-bottom: 1px solid #ebebeb; }
.navigation ul li ul li:last-child { border: none; }
.navigation ul li ul li a { padding: 8px 20px 12px 20px; }
.sidebar { width: 290px; float:right; }
.main { width: 550px; float: right;margin-left: 15px; margin-right: 15px; }
.section { background: #fff; padding: 15px 25px; margin-bottom: 34px; box-shadow: 0 2px 2px rgba(0,0,0,.04); }
.section-title { color: #444; margin-bottom: 12px; font-size: 17px; border-bottom: 1px solid #ebebeb; padding-bottom: 12px; }
.section-main-title { color: #444; margin-bottom: 12px; border-bottom: 1px solid #ebebeb; padding-bottom: 6px; }
.section-title span , .section-main-title span { border-bottom: 1px solid #0087AD; padding-bottom: 5px; }
.section-main-title h3 { font-size: 19px; }
.section-main-title h3 span { padding-bottom: 6px; }
.section-main-title a { color: #444; }
.section-footer { overflow: hidden; font-size: 14px; color: #888; border-top: 1px solid #efefef; margin-top: 15px; padding-top: 10px; }
.section-footer a { color: #0087AD; }
.sidebar .section ul li { list-style-type: none; border-bottom: 1px dashed #e8e8e8; }
.sidebar .section ul li:last-child { border: 0; }
.sidebar .section ul li a { padding: 8px 0; display: block; font-size: 14px; }
.sidebar input[type=text] { width: 252px; padding: 2px 10px 4px 10px; margin: 8px 0; border-radius: 3px; }
.sidebar input[type=submit] { width: 40px; padding: 2px 10px 4px 10px; margin: 8px 4px 8px 0; background: #0087AD; color: #fff; border-color: #0087AD; border-radius: 3px; cursor: pointer; transition: .3s; }
.sidebar input[type=submit]:hover { background: #1B8DC5; }
.ratebox { position: absolute; left: 20px; top: 25px; }
#fullnews { position: relative; }
#fullnews .section-main-title { width: 100%; margin-right: 64px; }
.fullnews-date { position: absolute; background: #0087AD; color: #fff; height: 46px; width: 46px; margin-left: 20px; text-align: center; }
.fullnews-date span { display: block; font-size: 14px; }
.news-footer .left span { display: inline-block; padding: 0 12px 2px 0; }
.news-footer .left strong { font-weight: normal; color: #333; }
.read-more { background: #0087AD; color: #fff; padding: 0 16px 3px 16px; border-radius: 3px; }
.read-more:hover { background: #333; color: #fff; }
/* w w w . d a t a l i f e e n g i n e . i r */
.footer { background: #202020; padding: 35px 0 0; color: #959595; overflow: hidden; }
.footer-column { width: 33.3%; float: right; margin-bottom: 30px; }
.footer-column h5 { color: #fff; border-bottom: 1px solid #333; font-size: 17px; padding-bottom: 8px; margin-bottom: 15px; }
.footer-column h5 span { border-bottom: 1px solid #0087AD; padding-bottom: 8px; }
.footer-content { width: 80%; }
.footer-content li { border-bottom: 1px dashed #333; }
.footer-content li:last-child { border: 0; }
.footer-content li a { display: block; padding: 6px 0; color: #888; }
.footer-content li a:hover { color: #fff; }
.tags { color: #202020; }
.tags a { border: 1px solid #333; color: #888; font-size: 13px; margin: 0 0 8px 4px; padding: 2px 8px; display: inline-block; }
.tags a:hover { border-color: #0087AD; color: #fff; background: #0087AD; }
.copyright { background: #111111; overflow: hidden; color: #777; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid #303030; }
.copyright a { color: #0087AD; }
.copyright .left { font-family: verdana; font-size: 13px; direction: ltr; }
.tableform { background-color: #f7f7f7; margin-top: 15px; border: 1px solid #E8E8E8; padding: 10px; box-shadow: inset 0 0 0 1px #FFF; }
.tableform.no-margin { margin: 0; }
.tableform select { width: 100%; font-family: 'yekan', tahoma; font-size: 13px; padding: 3px 8px; color: #333; border: 1px solid #DBDBDB; }
.tableform td { padding: 10px; }
.tableform tr { border-bottom: 1px solid #DDD; }
.important , .impot { color: #e12312; font-size: 12px !important; font-family: tahoma; vertical-align: middle; }
.submit , .bbcodes { background: #0087AD; border: 0; font-size: 14px; padding: 2px 18px 4px 18px; color: #FFF; transition: .3s; }
.submit:hover , .bbcodes:hover { background: #3498db; }
.f_input , .xprofile input[type=text] { border: 1px solid #DBDBDB; background-color: #FFF; width: 100%; padding: 4px 8px; font-family: 'yekan', tahoma; font-size: 13px; color: #333; transition: .3s; }
.f_textarea{width:100% !important;margin-top:0 !important;height:124px !important;}
.f_textarea { background-color: #FFF; border: 1px solid #DBDBDB; padding: 3px 8px; font-family: 'yekan', tahoma; font-size: 13px; color: #333; }
.f_input:focus , .f_textarea:focus { border-color: #A6A6A6; }
.f_input:disabled { background: #E7E7E7; color: #969696; border: 1px solid #CDCDCD; }
.f_input.en { padding: 8px 8px; }
.f_input.en::-webkit-input-placeholder { direction: ltr !important; text-align: left !important; }
.f_input.en::-moz-placeholder { direction: ltr !important; text-align: left !important; }
.f_input.en::-ms-input-placeholder { direction: ltr !important; text-align: left !important; }
.isa_info, .isa_success, .isa_warning, .isa_error { margin: 0 0 10px 0; padding: 12px; }
.isa_info { color: #00529B; background-color: #BDE5F8; border: 1px solid #81CAED; }
.isa_success { color: #4F8A10; background-color: #DFF2BF; }
.isa_warning { color: #9F6000; background-color: #FEEFB3; border: 1px solid #E8CE4B; }
.isa_error { color: #D8000C; background-color: #FFBABA; }
.isa_info i, .isa_success i, .isa_warning i, .isa_error i { margin: 6px 10px 6px 16px; font-size: 2em; vertical-align: middle; }
.comments { overflow: hidden; margin-bottom: 10px; }
.comments .cm-info { float: right; width: 114px; text-align: center; font-size: 13px; }
.comments .avatar { width: 114px; background: #FFF; padding: 7px 5px; border: 1px solid #E0E0E0; border-radius: 8px; }
.comments .author { display: inline-block; padding: 3px 10px; background: #0087AD; margin: 0 -10px 10px 0; color: #fff; font-family: tahoma; font-size: 12px; }
.comments .author a { color: #fff; }
.comments .date { display: inline-block; padding: 2px 6px 4px 6px; background: #C7C7C7; position: absolute; left: 48px; top: 10px; color: #666; text-shadow: 0 1px 0 #BABABA; }
.comments .reply { position: absolute; display: block; background: #00AD60; color: #fff; padding: 0px 10px 6px 10px; top: 10px; left: 0; text-align: center; }
.comments .delete { position: absolute; display: block; background: #FF3D2C; top: 10px; left: 0; text-align: center; }
.comments .section { float: left; width: 640px; min-height: 116px; padding: 10px; position: relative; line-height: 18px; font-size: 13px; margin: 0; }
.comments .section:after, .comments .section:before { left: 100%; top: 57px; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; }
.comments .section:after { border-color: rgba(255, 255, 255, 0); border-left-color: #fff; border-width: 13px; margin-top: -13px; }
.comments .section:before { border-color: rgba(223, 223, 223, 0); border-left-color: #E0E0E0; border-width: 14px; margin-top: -14px; }
.comments .cm-bt a { background: #fff; border-radius: 4px; padding: 0 1px; margin: 2px; display: inline-block; width: 22px; height: 22px; }
.comments .cm-bt img { }
.modal { display: none; position: absolute; z-index: 1000000; }
.modal-bg { background: #fff; opacity: 0.8; position: fixed; width: 100%; height: 100%; top: 0; right: 0; z-index: 9999999; }
.modal-box { position: fixed; z-index: 99999999; top: 50%; right: 50%; background: #333; border-radius: 4px; width: 360px; height: 260px; margin-top: -130px; margin-right: -180px; box-shadow: 0 0 8px 0 rgba(0,0,0,0.25); transition: .5s cubic-bezier(0.2, 1.12, 0.62, 1.35); -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; backface-visibility: hidden; -webkit-transform: perspective(600) scale(0.5) rotateX(-90deg); -moz-transform: perspective(600) scale(0.5) rotateX(-90deg); transform: perspective(600) scale(0.5) rotateX(-90deg); -webkit-transform-origin: center; -moz-transform-origin: center; transform-origin: center; }
.modal-title { position: relative; background: #0087AD; padding: 5px 12px 9px 12px; border-bottom: 1px solid #01A1CE; color: #fff; font-size: 17px; border-radius: 4px 4px 0 0; }
.modal-content { padding: 8px 12px; color: #fff; }
.modal-close { position: absolute; top: 7px; left: 7px; width: 20px; height: 20px; background: url('../images/close.png') center center no-repeat; cursor: pointer; transition: .3s; }
.modal-close:hover { background-color: rgba(255,255,255,.2); opacity: .5; }
.login-box { color: #DEDEDE; font-size: 13px; }
.login-desc { padding-bottom: 8px; }
.login-box input[type=text], .login-box input[type=password] { width: 100%; margin: 6px 0; color: #fff; background: #4C4C4C; border-radius: 3px; border: none; padding: 2px 8px 6px 8px; border-bottom: 1px solid #2B2B2B; }
.login-box label { display: inline-block; margin: 6px 0; }
.login-box label input { margin-left: 6px; }
.login-box input[type=submit] { background: #2cc36b; color: #fff; border: none; padding: 0 20px 5px 20px; border-radius: 4px; margin-top: 8px; cursor: pointer; }
.login-box input[type=submit]:hover { background: #2ecc71; }
.login-box .left a { display: inline-block; color: #fff; margin-top: 10px; }
.user-panel-box a { color: #fff; font-size: 13px; }
.user-panel-box .avatar { float: right; width: 120px; text-align: center; margin-top: 10px; }
.user-panel-box .user-info { float: right; width: 210px; padding-top: 10px; }
.user-panel-box .user-info li { list-style-type: none; }
.user-panel-box .user-info li a { color: #fff; display: block; padding: 2px 6px 6px 6px; background: #3C3C3C; border-radius: 3px; margin-bottom: 2px; }
.pm_status { float: left; direction: ltr; border: 1px solid #DFDFDF; padding: 0px; background-color: #F5F5F5; width: 49%; height: 150px; margin-bottom: 10px; }
.pm_status_head { border-bottom: 1px solid #DFDFDF; font-size: 14px; background: #E8E8E8; padding: 3px 0 6px 0; text-align: center; color: #6E6E6E; }
.pm_status_content { padding: 10px; font-size: 13px; color: #333; direction: rtl; }
.pm_status_content a { background: #D2D2D2; border-radius: 4px; padding-top: 24px; width: 102px; height: 70px; margin: 12px 4px 0 4px; text-align: center; float: right; box-shadow: 0 1px 0 rgba(0,0,0,.2); }
.pm_info { clear: both; float: left; margin-top: 6px; }
.pm_info .ignore { background: #4D4D4D; padding: 1px 8px 5px 8px; display: inline-block; color: #FFF; font-size: 13px; }
.pm_info .complaint { background: #FF8F31; padding: 1px 8px 5px 8px; display: inline-block; color: #FFF; font-size: 13px; margin: 0 4px; }
.pm_info .replys { background: #39D179; padding: 1px 8px 5px 8px; display: inline-block; color: #fff; font-size: 13px; }
.userinfo { position: relative; }
.userinfo tr td { background: #f6f6f6; padding: 4px 6px 6px 6px; }
.userinfo .rtd2 { background: #f6f6f6; padding: 4px 6px 6px 6px; }
.userinfo tr:nth-child(even) td { background: #efefef; }
.userinfo .fa-check-circle { margin-left: 4px; color: #38C200; padding: 0 0 2px 0; }
.userinfo .fa-times { margin-left: 4px; color: #C20000; padding: 0 0 2px 0; }
.userinfo .fa-rss { margin-right: 4px; color: #FA7B00; padding: 0 0 2px 0; }
.userinfo table { border-left: 1px solid #DADADA; border-top: 1px solid #DADADA; margin-bottom: 10px; }
.userinfo .avatar { position: absolute; left: 0px; }
.userinfo .avatar img { padding: 0 14px 14px 0; background-color: #FFF; border-bottom: 1px solid #DADADA; border-right: 1px solid #DADADA; }
.page-navigation { background: #FFF; border: 1px solid #D7D7D7; margin: 10px 0; font-size: 13px; padding: 14px; overflow: hidden; }
.page-navigation a { color: #FFF; display: inline-block; background: #51B1CC; padding: 1px 0 0 0; width: 26px; height: 26px; white-space: nowrap; text-align: center; }
.page-navigation a:hover { background: #333; }
.page-navigation span { color: #FFF; display: inline-block; background: #C5C5C5; padding: 1px 0 0 0; width: 26px; height: 26px; white-space: nowrap; text-align: center; }
.pages-arrows a , .pages-arrows span { width: auto; padding: 2px 10px; }
.pages-arrows i { padding: 2px 0 0 0; }
.siteinfo { overflow: hidden; }
.siteinfo-title { border-bottom: 2px solid #333; padding-bottom: 5px; margin-bottom: 8px; }
.siteinfo-right { float: right; padding: 0 0 5px 0; width: 50%; color: #989898; }
.siteinfo-left { float: right; padding: 0 0 5px 0; width: 50%; color: #989898; }
- 4
#82513 رفع محدودیت تگ مطالب
ارسال شده توسط
hamid7107
در 1394/10/07 ساعت 22:07
با سلام خدمت دوستان عزیز
در دیتالایف در بخش تگهای مطالب محدودیت در درج تعداد کاراکتر وجود دارد "(255)"
شما phpmyadmin رو باز کن، دیتابیسی رو که دیتالایف انجینو درش نصب کردی انتخاب کن، از بالای صفحه روی SQL کلیک کن، کد زیر رو توی فیلد مربوطه قرار بده:
ALTER TABLE dle_post MODIFY tags varchar(1200);
بعد روی GO کلیک کن.
موفق باشید ![]()
- 4
#82385 تنظیمات
ارسال شده توسط
Eh3an
در 1394/09/30 ساعت 17:12
اینم نوار ابزار
فایل main.tpl رو ویرایش کنین و کد زیر رو پیدا کنید:
<div id="toolbar" class="wwide">
<div class="wrapper"><div class="dpad">
{login}
<span class="htmenu"><a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://datalifeengine.ir');">صفحه خانگی</a><span>|</span><a href="#" rel="sidebar" onclick="window.external.AddFavorite(location.href,'datalifeengine.ir'); return false;">افزودن به علاقه مندی ها</a></span>
</div></div>
<div class="shadow"> </div>
</div>
به کد زیر تغییر بدید :
[group=5]
<div id="toolbar" class="wwide">
<div class="wrapper"><div class="dpad">
{login}
<span class="htmenu"><a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://datalifeengine.ir');">صفحه خانگی</a><span>|</span><a href="#" rel="sidebar" onclick="window.external.AddFavorite(location.href,'datalifeengine.ir'); return false;">افزودن به علاقه مندی ها</a></span>
</div></div>
<div class="shadow"> </div>
</div>
[/group]
- 4
#83610 کنترل و تغییر اندازه فونت fullstory با جاوا اسکریپت (توسط کاربر)
ارسال شده توسط
jamaldanlod
در 1394/12/29 ساعت 12:13
سلام
به جای قسمت پایین:
<p>
<a href="javascript:decreaseFontSize();">کاهش اندازه فونت</a>
<a href="javascript:increaseFontSize();">افزایش اندازه فونت</a>
<a href="javascript:defultFontSize();">اندازه فونت پیش فرض</a>
{short-story}
<br>
{full-story}
</p>
این رو جایگزین کن:
<div class="fchange">
<a href="javascript:decreaseFontSize();">کاهش اندازه فونت</a>
<a href="javascript:increaseFontSize();">افزایش اندازه فونت</a>
<a href="javascript:defultFontSize();">اندازه فونت پیش فرض</a>
{short-story}
<br>
{full-story}
</div>
داخل کد جاوا هم دنبال کد زیر بگرد(چند بار هم تکرار شده، همه رو جایگزین کنید):
document.getElementsByTagName('p')
این کد رو جایگزینش کن:
document.getElementsByClassName("fchange")
- 4
- انجمن دیتالایف انجین
- ← مطالب دارای بیشترین رای
- قوانین انجمن


