:. کدهای کاربردی در قالب های ویبولتین .:

Silver PC

Well-Known Member
سلام ،

منظور از عنوان تاپیک : هک هایی که فایل xml ندارند و به صورت کد در قالب سایت به کار می روند

** حتما ذکر شود برای چه ورژنی از vBulletin هستش !

موفق باشید !:rose:
 

Silver PC

Well-Known Member
عنوان : تغییر رنگ فیلدهای تنظیمات Change the fieldset color

کاربرد برای vBulletn 3.7 :

جهت تغییر رنگ صفحه تنظیمات مراحل زیر را طی کنید

1. وارد admincp شوید . سپس به قسمت استایل و قالب و سپس مدیریت استایل ها بروید :

AdminCp>Style & Templates>Style Manager​

استایل مورد نظر خود را انتخاب نمایید . سپس به قسمت پایین صفحه و قسمت css های اصلی مراجعه کنید و کد زیر را در انتهای کدهای ان قسمت کپی کنید :

کد:
fieldset{border:1px solid #343635;padding:5px;-moz-border-radius:0px}

عکس ضمیمه . نمایی از این تغییر میباشد
 

پیوست ها

  • fieldset-1.jpg
    fieldset-1.jpg
    17.7 کیلوبایت · بازدیدها: 6

Silver PC

Well-Known Member
عنوان : نمایش تنها پست اول یک تاپیک برای مهمان ها

کاربرد برای vBulletin 3.8

با استفاده از این روش میتوانید کاری کنید که فقط پست اول هر تاپیک برای مهمان ها نمایش داده شود

و برای دیدن بقیه باید عضو سایت گردد

در قسمت استایل ها و قالب ها => جستجو در استایل >> قالب postbit_legacy را در استایل یا استایل های مربوطه جستجو نمایید

سپس وارد محیط کدهای قالب شوید
این کد را پیدا کنید

کد:
<div id="post_message_$post[postid]" class="overflow_parent"><div class="overflow_child">$post[message]</div></div>

این کد را به جای آن قرار دهید

کد:
<if condition="$show['member']">
		<div id="post_message_$post[postid]" class="overflow_parent"><div class="overflow_child">$post[message]</div></div>
		
		
		<else />
		
		
		<if condition="$post[postcount] == 1">
		<div id="post_message_$post[postid]" class="overflow_parent"><div class="overflow_child">$post[message]</div></div>
		</if>
		<else />
		<if condition="$show['guest']">
		<if condition="$post[postcount] != 1">
		<br><br>برای مشاهده محتوای پست ها حتما باید عضو سایت باشید. اگر عضو سایت هستید وارد شوید در غیر این صورت جهت ثبت نام <a href=register.php>لطفا کلیک کنید</a>
		<br><br>
		</if></if></if>
 

پیوست ها

  • firstpostgurst.jpg
    firstpostgurst.jpg
    77.2 کیلوبایت · بازدیدها: 11

Silver PC

Well-Known Member
عنوان : کد برای ساخت بند متحرک

کاربرد برای vBulletin 3.8

کنترل پنل سایت + استایلها + جستجو در استایل + footer یا header رو جستجو کنید و کد زیر رو در اونجا کپی کنید

نکتـه:
به جای ادرس عکس لینک مسیر عکس رو بزارید و به جای لینک باید ادرس لینکی رو که میخواید به اونجا وارد شه بدید

اینم کد :

کد:
<P align=center>
<MARQUEE onmouseover=this.stop() onmouseout=this.start() scrollAmount=3
scrollDelay=20 width=982 height=82><A href="ادرس لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="ادرس عکس" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src=" ادرس عکس" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="ادرس عکس" width=160 border=0></TD><TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="ادرس عکس" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="ادرس عکس" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="ادرس عکس" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="ادرس عکس" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="ادرس عکس" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="ادرس عکس" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="ادرس لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="ادرس عکس" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="ادرس لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="ادرس لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="ادرس عکس" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="ادرس لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="ادرس عکس" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="ادرس لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="ادرس لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="ادرس عکس" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="ادرس لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="ادرس عکس" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="ادرس لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="ادرس عکس" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="ادرس لینک" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="ادرس عکس" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"><A href="ادرس لینک روی عکس" target=_blank><IMG onmouseover="this.filters.alpha.opacity='100'" style="FILTER: alpha(opacity=75); moz-opacity: 70%" onmouseout="this.filters.alpha.opacity='75'" height=70 alt="" src="ادرس عکس" width=160 border=0></TD> <TD style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" width="4%"></TABLE><CENTER></CENTER><DIV></DIV></A></MARQUEE></P></BODY></HTML>
 

Silver PC

Well-Known Member
عنوان : کد گذاشتن فلش در ویبی

کاررد برای vBulletin 3.8

جهت گذاشتن فقط کافیست ادرس عکس مورد نظر را تغییر دهید

کد:
<td style="font-style: normal; font-variant: normal; font-weight: bold; font-size: 13pt; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; color:#333333; text-decoration:none£»" >
<a title="mihanit" target="_blank" href="http://www.3at-3at.com">
<EMBED align=center src=http://www.m-3n.net/vb/m3n1yers/misc/colok.swf width=170 height=70 
type=audio/x-pn-realaudio-plugin LOOP="true"></td>
 

Silver PC

Well-Known Member
عنوان : نوار بار اضافی Extra Navbar

کاربرد برای vBulletin 3.8


برای ایجاد یک نوار بار اضافی مانند عکس ضمیمه کافی است مراحل زیر را دنبال کنید

به قسمت استایل ها بروید استایل مورد نظر خود را انتخاب کنید در قسمت قالب های استایل به قالب navbar را وارد شوید

کد زیر را در آن بیابید:
<!-- / nav buttons bar -->
زیر کد بالا این کد را کپی کنید:

کد:
<!-- nav buttons bar -->
<!-- PAGENAV POPUP -->

    <div class="vbmenu_popup" id="pagenav_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">

        <tr>
            <td class="thead" nowrap="nowrap">Go to Page...</td>
        </tr>
        <tr>
            <td class="vbmenu_option" title="nohilite">
            <form action="http://www.hdgfx.com/" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
                <input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
                <input type="button" class="button" id="pagenav_ibtn" value="Go" />

            </form>
            </td>
        </tr>
        </table>
    </div>

<style type="text/css">
.adv{margin:0 auto;}
.adv td{padding:0;}
.adv a{padding:6px 0 3px;height:20px;display:block;text-align:center;text-decoration:none;}.adv a:hover{background-color:#000000;}.adv a span{display:none;}
</style>
<table class="tborder adv" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"><tr>

<td class="alt1" width="11%">
<a href="http://sitelink.com">Your Link here?</a>

</td>

<td class="alt1" width="14%">
<a href="http://sitelink.com">Your Link here?</a></td>

<td class="alt1" width="12%">
<a href="http://sitelink.com">Your Link here?</a></td>

<td class="alt1" width="16%">
<a href="http://sitelink.com">Your Link here?</a></td>

<td class="alt1" width="15%">
<a href="http://sitelink.com">Your Link here?</a></td>

<td class="alt1" width="14%">
<a href="http://sitelink.com">Your Link here?</a></td>

<td class="alt1" width="18%">
<a href="http://sitelink.com">Your Link here?</a></td>

</tr>
</table>
 

پیوست ها

  • 2h2p7ir.jpg
    2h2p7ir.jpg
    8.8 کیلوبایت · بازدیدها: 15

Silver PC

Well-Known Member
عنوان : تغییر حالت postbit به شکل جدید Postbit Legacy Redone

کاربرد برای vBulletin 3.8

جهت تغییر شکل posbit به صورت عکس ضمیمه

کافی است کد زیر را در استایل مورد نظرتان در قالب postbit_legacy آن کپی کنید

توصیه میشه قبل از کپی کردن کد بجای کد قبلی , یک کپی بگیرید.

عکس های مورد نظر در فایل ضمیمه را نیز در مسیر های گفته شده در پوشه images فروم خود در هاست خود آپلود نمایید.

کد:
$template_hook[postbit_start]
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
    <if condition="$show['announcement']">
        <td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
            <img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
            <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
        </td>
    <else />
        <td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[right]: 0px" $post[scrolltothis]>
            <!-- status icon and date -->
            <a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
            $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
            $post[firstnewinsert]
            <!-- / status icon and date -->
        </td>
        <td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px" align="$stylevar[left]" valign="middle">
<table width="100%" cellpadding="0" cellspacing="0"><tr><td align="left" valign="middle" style="font-weight:normal">
<!-- controls -->
        <if condition="$post['editlink']">
            <img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
            <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
        </if>
        <if condition="$post['forwardlink']">
            &nbsp;&nbsp;<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
        </if>
        <if condition="$post['replylink']">
            &nbsp;&nbsp;<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
        </if>
        <if condition="$show['multiquote_post']">
            &nbsp;&nbsp;<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
        </if>
        <if condition="$show['quickreply'] AND !$show['threadedmode']">
            &nbsp;&nbsp;<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
        </if>
</td><td align="right" valign="middle" style="font-weight:normal">
            <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
            <if condition="$show['inlinemod']">
                <input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
            </if>
</td></tr></table>
</td>

<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px" align="center">$post[iplogged]</td>
    </if>
</tr>
<tr valign="top">
    <td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">

            <div id="postmenu_$post[postid]">
                <if condition="$show['profile']">
                <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
                <else />
                $post[musername]
                </if>
            </div>
                               <if condition="$show['avatar']">
                <div class="smallfont">
                    &nbsp;<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
                </div>
            </if>
            <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
            <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
            $template_hook[postbit_userinfo_left]

            <div class="smallfont">
                &nbsp;<br />

                $template_hook[postbit_userinfo_right_after_posts]
                <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
                <if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
<if condition="$show['moderated']">
            <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
        </if>
        <if condition="$show['spam']">
            <img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
        </if>
        <if condition="$show['deletedpost']">
            <if condition="$show['managepost']">
                <a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
            <else />
                <img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
            </if>
        </if>
        <if condition="$show['redcard']">
            <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
        <else />
            <if condition="$show['yellowcard']">
                <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
            </if>
</if>
                $template_hook[postbit_userinfo_right]
            </div>

    </td>
    <if condition="$show['moderated']">
    <td class="alt2" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
    <else />
    <td class="alt1" id="td_post_$post[postid]" style="border-$stylevar
: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
    </if>
        $template_hook[postbit_messagearea_start]
        <if condition="$show['messageicon'] OR $post['title']">
            <!-- icon and title -->
            <div class="smallfont">
                <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
                <if condition="$post['title']"><strong>$post[title]</strong></if>
            </div>
            <hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
            <!-- / icon and title -->
        </if>

        <!-- message -->
        <div id="post_message_$post[postid]">
            $ad_location[ad_showthread_firstpost_start]
            $post[message]
        </div>
        <!-- / message -->

        <if condition="$show['attachments']">
        <!-- attachments -->
            <div style="padding:$stylevar[cellpadding]px">

            <if condition="$show['thumbnailattachment']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attached_thumbnails]</legend>
                    <div style="padding:$stylevar[formspacer]px">
                    $post[thumbnailattachments]
                    </div>
                </fieldset>
            </if>

            <if condition="$show['imageattachment']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attached_images]</legend>
                    <div style="padding:$stylevar[formspacer]px">
                    $post[imageattachments]
                    </div>
                </fieldset>
            </if>

            <if condition="$show['imageattachmentlink']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attached_images]</legend>
                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                    $post[imageattachmentlinks]
                    </table>
                    </fieldset>
            </if>

            <if condition="$show['otherattachment']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attached_files]</legend>
                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                    $post[otherattachments]
                    </table>
                </fieldset>
            </if>

            <if condition="$show['moderatedattachment']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attachments_pending_approval]</legend>
                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                    $post[moderatedattachments]
                    </table>
                </fieldset>
            </if>

            </div>
        <!-- / attachments -->
        </if>

        $template_hook[postbit_signature_start]
        $ad_location[ad_showthread_firstpost_sig]

        <if condition="$post['signature']">
        <!-- sig -->
            <div>
                --------------------<br />
                $post[signature]
            </div>
        <!-- / sig -->
        </if>

        $template_hook[postbit_signature_end]

        <if condition="$show['postedited']">
        <!-- edit note -->
            <div class="smallfont">
                <hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
                <em>
                    <if condition="$show['postedithistory']">
                        <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>
                    <else />
                        <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>
                    </if>
                    <if condition="$post['edit_reason']">
                        $vbphrase[reason]: $post[edit_reason]
                    </if>
                </em>
            </div>
        <!-- / edit note -->
        </if>
</td>
<td class="thead" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px" rowspan="2" align="center" width="30">
    $post[onlinestatus]
        <if condition="$show['reputationlink']">
            <br /><br /><span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
            <if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
        </if>
        <if condition="$show['infractionlink']"><br /><br /><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
        <if condition="$show['reportlink']"><br /><br /><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[icqicon]<br /><br />$post[aimicon]<br /><br />$post[msnicon]<br /><br />$post[yahooicon]<br /><br />$post[skypeicon]
</td>
</tr>
<tr>
    <td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">        
        &nbsp;
    </td>
    <if condition="$show['moderated']">
    <td class="alt2" align="$stylevar[left]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
    <else />
    <td class="alt1" align="$stylevar[left]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar
: 0px; border-top: 0px">
    </if>
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<div class="smallfont">$vbphrase[posts]: <strong>$post[posts]</strong> <if condition="$post['field2']">| $vbphrase[location_perm]: <strong>$post[field2]</strong> </if><if condition="$post['joindate']">| $vbphrase[join_date]: <strong>$post[joindate]</strong> </if><if condition="$post['age']">| <strong>$vbphrase[age]: $post[age]</strong></if></div>
        
        $template_hook[postbit_controls]
        <!-- / controls -->
    </td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
    <table cellpadding="4" cellspacing="1" border="0">
    <tr>
        <td class="thead">$post[username]</td>
    </tr>
    <if condition="$show['profile']">
        <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
    </if>
    <if condition="$show['pmlink']">
        <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
    </if>
    <if condition="$show['emaillink']">
        <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
    </if>
    <if condition="$show['homepage']">
        <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
    </if>
    <if condition="$show['search']">
        <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
    </if>
    <if condition="$post['userid'] AND $show['member']">
    <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
    </if>
    $template_hook[postbit_user_popup]
    </table>
</div>
<!-- / post $post[postid] popup menu -->
 

پیوست ها

  • Postbit Legacy Redone.zip
    8.4 کیلوبایت · بازدیدها: 11

Silver PC

Well-Known Member
عنوان : نمایش گروه های کاربری در زیر سایت Usergroup Legend

کاربرد برای vBulletn 3.8

جهت نمایش گروه های کاربری در زیر انجمن مانند عکس ضمیمه . میتوانید بدون نصب هک با روزش زیر این کار را انجام دهید

در استایل مورد نظر خود قالب forumhome را جستجو کنید

سپس در قالب پیدا شده عبارت زیر را جستجو کنید:

کد:
<div>$activeusers</div>

در زیر آن کد زیر را قرار دهید:

کد:
<br>
<center>______________________________________________________________________________________________________________________________________________________________________<br>
<b>~ User Legend ~</b>
<br>


<span style="color: #FF0000;">JCsrs Founders</span> ~
<span style="color: #009900;">JCsrs Staff</span> ~
<span style="color: #3300CC;">Club Members</span> ~
<span style="color: #FF9900;">Sponosrs</span> ~
Registered Users ~
<span style="text-decoration: line-through;font-weight: color: black;">Banned</span></center>
 

پیوست ها

  • Userlegend.jpg
    Userlegend.jpg
    50.9 کیلوبایت · بازدیدها: 10

Silver PC

Well-Known Member
عنوان : نمایش تیم فوتبال باشگاه های اروپا هر کاربر

کاربرد برای vBulletin 3.8

آموزش نمایش تیم باشگاه های فوتبال اروپا در پروفایل شخی و ارسال پست برای این کار شما فایل ضمیمه را دانلود بکنید و فلدر team-euro را در مسیر امیج خود اپلود بکنید ..

به تنظیمات فيلدهاي مشخصات كاربر برید و گذینه افزودن فيلد مشخصات براي كارب را انتخاب بکنید و سپس گزینه Single Select Menu را انتخاب بکنید ..
در عنوان اسم مورد نظر خودتون رو بنویسید مثلا تیم باشگاه های اروپا
در قسمت توضیح هم طلب مورد نظر خودتون رو قرار بدید
و در تنظیمات محتویات فایل team-euro List را کپی بکنید
تنظیمات دیگر را هر گونه که دوست دارید تغییر بدهید و سپس به استایل مورد نظر خودتون برید و این تغییر کوچیک را قرار بدهید

وارد بخش های postbit_legacy و postbit بشید و این کد را جستجو بکنید

کد:
<div>
$vbphrase[posts]: $post[posts]
</div>

در زیرش قرار بدهید

کد:
<!-- / team-euro start -->
<div>
<if condition="$post[fieldx]"><img src="images/team-euro/$post[fieldx].gif"></if>
</div>
<!-- / team-euro end -->

نکته شماره فیلد هست که تو کد من نوشته شده X ولی شما وقتی فیلدتون رو می سازین باید ببینین شماره ش چنده . امکان داره 9 باشه یا ... که تو کد باید تغییر بدین
 

پیوست ها

  • team-euro.txt
    266 بایت · بازدیدها: 0
  • team-euro.zip
    166.9 کیلوبایت · بازدیدها: 0

Silver PC

Well-Known Member
عنوان : افزودن ساعت عقربه ای بالای انجمن

کاربرد برای vBulletin 4.0

جهت قرار دادن ساعت عقربه ای آنالوگ به قسمت forumhome باید مراحل زیر را طی کنید

به قسمت استایل بروید
در استایل مورد نظر FORUMHOME را سرچ کنید و این قالب را بیابید

در قالب FORUMHOME عبارت زیر را جستجو کنید:

کد:
{vb:raw navbar}

کد زیر را زیر آن قرار دهید:

کد:
<!-- Clock -->
<div align="center">   
<SCRIPT LANGUAGE="JavaScript">var clocksize='45';</SCRIPT>
<SCRIPT SRC="http://gheos.net/js/clock.js"></SCRIPT>
</div>
<!-- / Clock -->
 

Silver PC

Well-Known Member
عنوان : افزودن دکمه ایجاد تاپیک جدید در صفحه نمایش پست

کاربرد برای vBulletin 4.0

برای این کار در تنظیمات استایل خود . قالب Showthread را بیابید

در آن کد زیر را جستجو کنید:

کد:
<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}" 
class="textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a>
			<img style="display:none" id="progress_newreplylink_top" src="images/misc/progress.gif"  alt="" />

پس از آن کد , کد زیر را قرار دهید

کد:
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw thread.forumid}" rel="nofollow" class="textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a>

سپس کد زیر را مجدد جستجو کنید

کد:
<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}" 
			class="textcontrol" id="newreplylink_bottom"
			><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a>

کد زیر را در زیر کد پیدا شده قرار دهید

کد:
&nbsp <span style="padding-left:140px">
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw thread.forumid}" rel="nofollow" class="textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a></span>
 

پیوست ها

  • screenshot.jpg
    screenshot.jpg
    41.7 کیلوبایت · بازدیدها: 8

جدیدترین ارسال ها

بالا