هک معرفی گروه های کاربری Usergroup Legend on Mouseover ( زیبا و جدید )
آخرین زمان حضور: Mar 2018


نگارش: 4.x.x امتیاز:
نصب شده: 0 بار

زمان انتشار: 2011/03/07 بروزرسانی: هرگز دریافت شده: 0 بار





درود.
با این هک یک بخش جدید به انتهای انجمن شما اضافه میشود که شامل چند مربع رنگی ( به رنگ های گروه های کاربری شما ) که وقتی ماوس روی آن می رود نام گروه را نمایش میدهد .
نصب :
مرحله اول : به ادمین سی پی => زبان و لغت => اضافه کردن لغت جدید بروید .
ذخیره کنید !کد:نوع لغت: Global محصول: vBulletin Varname یا نام متغیر: usergroup_legend نوشته : معرفی گروه کاربری
مرحله دوم : به ادمین سی پی بروید .
مرحله سوم : به جستجوی قالب --> FORUMHOME بروید .
پیدا کنید :
زیر آن اضافه کنید :کد:<!-- what's going on box -->
پیدا کنید :کد:<script type="text/javascript"> <!-- setup_memberlegend = function(tobj) { prefix = '' suffix = '' if (tobj.getAttribute('ital')) { prefix += '<em>' suffix += '</em>' } if (tobj.getAttribute('undr')) { prefix += '<u>' suffix += '</u>' } if (tobj.getAttribute('bold')) { prefix += '<b>' suffix += '</b>' } if (tobj.getAttribute('line')) { prefix += '<s>' suffix += '</s>' } if (tobj.getAttribute('clr')) { prefix += '<span style="color:' + tobj.getAttribute('clr') + ';">' suffix += '</span>' } fetch_object('memberlegend').innerHTML = prefix + tobj.getAttribute('group') + suffix } --> </script>
زیر آن اضافه کنید :کد:<!-- end logged-in users -->
برای تغییر رنگ ها باید clr="کد رنگ" و background:کد رنگ; هر قسمت رو عوض کنید .کد:<!-- Usergroup Legend --> <div id="wgo_legend" class="wgo_subblock section"> <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:rawphrase usergroup_legend, {vb:raw vboptions.bbtitle}}" />{vb:rawphrase usergroup_legend, {vb:raw vboptions.bbtitle}}</h3> </div> <div> <div style="float:right; width:18px; height:2px"></div> <div style="float:right;"> </div> <div class="alt2" style="float:right;height:12px;width:12px;padding:0px;" group="مدیر کل" clr="#DC143C" bold="y" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object('memberlegend').innerHTML = ''"> <div style="height:12px;width:12px;background:#DC143C;"></div> </div> <div style="float:right;"> </div> <div class="alt2" style="float:right;height:12px;width:12px;padding:0px;" group="مدیر ارشد" bold="y" clr="#0D3CEB" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object('memberlegend').innerHTML = ''"> <div style="height:12px;width:12px;background:#0D3CEB;"></div> </div> <div style="float:right;"> </div> <div class="alt2" style="float:right;height:12px;width:12px;padding:0px;" group="مدیر" bold="y" clr="#339933" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object('memberlegend').innerHTML = ''"> <div style="height:12px;width:12px;background:#339933;"></div> </div> <div style="float:right;"> </div> <div class="alt2" style="float:right;height:12px;width:12px;padding:0px;" group="کاربر ویژه" bold="y" clr="#FF9933" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object('memberlegend').innerHTML = ''"> <div style="height:12px;width:12px;background:#FF9933;"></div> </div> <div style="float:right;"> </div> <div class="alt2" style="float:right;height:12px;width:12px;padding:0px;" group="کاربر" bold="y" clr="#000000" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object('memberlegend').innerHTML = ''"> <div style="height:12px;width:12px;background:#000000;"></div> </div> <div style="float:right"> </div> <div class="alt2" style="float:right;height:12px;width:12px;padding:0px;" group="کاربر اخراجی" ital="y" line="y" clr="#FF00FF" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object ('memberlegend').innerHTML = ''"> <div style="height:12px;width:12px;background:#FF00FF;"></div> </div> <div style="float:right;width:10px;height:1px;"> </div> <div style="float:right;" id="memberlegend"></div> </div> <br><br> <!-- End Usergroup Legend -->
کد رنگ ها در html-color-codes.com موجود هست .
موفق باشید .
منبع : وی بی ایران
علاقه مندی ها (Bookmarks)