هاست لینوکس

آخرین بسته‌ی MyBB: نسخه‌ی 1.8.27 MyBB منتشر شد


امتیاز موضوع:
  • 0 رأی - میانگین امتیازات: 0
  • 1
  • 2
  • 3
  • 4
  • 5
تغییر در قالب اعلانات انجمن و به هم ریختگی فوتر
#1
سلام

من به قالب اعلانات انجمنم (headerannounce) این کد رو اضاف کرد :

کد:
[align=left]<style type="text/css">

#dhtmltooltip{
position: absolute;
width: 150px;
border: 2px solid black;
padding: 2px;
background-color: lightyellow;
visibility: hidden;
z-index: 100;
/*Remove below line to remove shadow. Below line should always appear last within this CSS*/
filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
}

</style>


<div id="dhtmltooltip"></div>

<script type="text/javascript">

/***********************************************
* Cool DHTML tooltip script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

var offsetxpoint=-60 //Customize x offset of tooltip
var offsetypoint=20 //Customize y offset of tooltip
var ie=document.all
var ns6=document.getElementById && !document.all
var enabletip=false
if (ie||ns6)
var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function ddrivetip(thetext, thecolor, thewidth){
if (ns6||ie){
if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
tipobj.innerHTML=thetext
enabletip=true
return false
}
}

function positiontip(e){
if (enabletip){
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
//Find out how close the mouse is to the corner of the window
var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20

var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000

//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<tipobj.offsetWidth)
//move the horizontal position of the menu to the left by it's width
tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
else if (curX<leftedge)
tipobj.style.left="5px"
else
//position the horizontal position of the menu where the mouse is positioned
tipobj.style.left=curX+offsetxpoint+"px"

//same concept with the vertical position
if (bottomedge<tipobj.offsetHeight)
tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
else
tipobj.style.top=curY+offsetypoint+"px"
tipobj.style.visibility="visible"
}
}

function hideddrivetip(){
if (ns6||ie){
enabletip=false
tipobj.style.visibility="hidden"
tipobj.style.left="-1000px"
tipobj.style.backgroundColor=''
tipobj.style.width=''
}
}

document.onmousemove=positiontip

</script>



<br>
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr>
<td class="thead" align="center"><span lang="fa"><b>دوره های آموزشی مجازی</b></span></td>
</tr>
<tr>
<td class="trow1">
<p align="center">
<a href="showthread.php?tid=2874" onMouseover="ddrivetip('آموزش فتوشاپ CS5<br>مدرس: hnoordoost')";
onMouseout="hideddrivetip()" target="_blank"><img src="upload/09/ps.png"></a>&nbsp;&nbsp;&nbsp;&nbsp;
<a href="showthread.php?tid=2790" onMouseover="ddrivetip('آموزش نصب و راه اندازی ماژول GPS GT720-F<br>مدرس: H A M I D')";
onMouseout="hideddrivetip()" target="_blank"><img src="upload/09/avr.png"></a>&nbsp;&nbsp;&nbsp;&nbsp;
<a href="showthread.php?tid=2270" onMouseover="ddrivetip('آموزش اکسل مایکروسافت<br>مدرس: رضا')";
onMouseout="hideddrivetip()" target="_blank"><img src="upload/09/excel.png"></a>&nbsp;&nbsp;&nbsp;&nbsp;

</a></table>
        <div id="content">[/align]

الان فوتر انجمن یه مشکل پیدا کرده : ببینید : www.lianportal.com

دوستان لطفا یاری کنید..
پوسته فوق العاده زیبای مجید آنلاین - LianPortalVJ
ورژن دوم قالب لیان پرتال

نصب مای بی بی + قالب لیان پرتال V2 + نصب و کانفیگ ۱۰ پلاگین به انتخاب شما = جهت استعلام قیمت پیام خصوصی بفرستید
پاسخ
#2
1.کنترل پنل مدیریت >> قالب و پوسته >> قالب ها >> قالب های گروه بندی نشده >> headerannounce

سپس گزینه ی بازگردانی به نسخه ی اصلی.

2.کنترل پنل مدیریت >> قالب و پوسته >> قالب ها >> footer templates >> سپس Footer_templates

سپس گزینه ی بازگردانی به نسخه ی اصلی.

3.کنترل پنل مدیریت >> قالب و پوسته >> قالب ها >> footer templates>> کپی رایت رو اصلاح کنیدو عبارت ترجمه توسط سایت مربوطه رو اضافه کنید.
پاسخ
 سپاس شده توسطalireza013 (۱۳۸۹/۱۲/۱۰، ۱۴:۲۱:۰۷ عصر)
#3
ممنون از پاسختون دوست خوبم.
اما اگه من بازگردانی به نسخه اصلی بزنم که هرچی گذاشتم از بین میره!

نمیخوام که کلا ریستش کنم.فقط میخوام فوتر درست بشه.headerannounce هم به همین صورت باقی بمونه.
پوسته فوق العاده زیبای مجید آنلاین - LianPortalVJ
ورژن دوم قالب لیان پرتال

نصب مای بی بی + قالب لیان پرتال V2 + نصب و کانفیگ ۱۰ پلاگین به انتخاب شما = جهت استعلام قیمت پیام خصوصی بفرستید
پاسخ
#4
به نسخه ی اصلی بازگردانی کنید و سپس کد :
کد:
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1400"></script>
{$stylesheets}
<script type="text/javascript">
<!--
    var cookieDomain = "{$mybb->settings['cookiedomain']}";
    var cookiePath = "{$mybb->settings['cookiepath']}";
    var cookiePrefix = "{$mybb->settings['cookieprefix']}";
    var deleteevent_confirm = "{$lang->deleteevent_confirm}";
    var removeattach_confirm = "{$lang->removeattach_confirm}";
    var loading_text = '{$lang->ajax_loading}';
    var saving_changes = '{$lang->saving_changes}';
    var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
    var my_post_key = "{$mybb->post_code}";
    var imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/shoutbox.js?ver=1400"></script>


رو جایگزین :

کنترل پنل مدیریت >> قالب و پوسته >> قالب ها >> قالب های گروه بندی نشده >> headerannounce کنیدو

قبل از جایگزینی حتما کدها را داخل نات پد کپی کنید و سپس از داخل نات پد به داخل headerannounce وارد کنید.
پاسخ
 سپاس شده توسطalireza013 (۱۳۸۹/۱۲/۱۰، ۱۸:۴۳:۳۵ عصر) ، Pars (۱۳۸۹/۱۲/۱۳، ۲۲:۵۶:۱۱ عصر) ، شماره مجازی (۱۴۰۱/۸/۲۶، ۰۱:۵۰:۳۶ صبح) ، گراف مسنجر (۱۴۰۱/۱۰/۳، ۰۴:۱۲:۴۷ صبح) ، چارتر ۴۲۴ (۱۴۰۲/۹/۱۲، ۱۵:۱۲:۵۰ عصر)


پرش به انجمن:


کاربرانِ درحال بازدید از این موضوع: 1 مهمان