Marquel World Information Technology

We allready update to new theme & 2 GDesign custom theme coming up. Stay tuned for more updates coming soon By: Admin Kosmyn and the rest of the staff of this support forum
ChatBox

You are not connected. Please login or register

Maw1[Tut] 2 Level bar Gunny Empty [Tut] 2 Level bar Gunny Sun Jan 27, 2013 3:40 pm

  • Moderator
Maw
Moderator
First topic message reminder:

Demo:
[Tut] 2 Level bar Gunny 3410
Info:
pressure the lvl of Ice fox http://www.cntt-k3.org/t1539-topic bar should be used with vewtopic_ngang for many in the topic area under http://www.cntt-k3.org/t7077- topic Here I share are three horizontal lv + 1 level Gunny ^ ^






Method: [Reply to see the hidden text]


Step 1: to vewtopic_body find the following code:
Code:
[color=#323232][font=monospace]<script type="text/javascript"> / / <! [CDATA [ [/font][/color]
[color=#323232][font=monospace]var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR} AddThis /', _ati = '{PATH_IMG_FA} AddThis / '{ADDTHIS_LANG}, addthis_localize = {share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS},", print: "{L_PRINT}", more: "{L_MORE}"}; [/font][/color]
[color=#323232][font=monospace]$ (function () { [/font][/color]
[color=#323232][font=monospace]  _atc.cwait = 0; [/font][/color]
[color=#323232][font=monospace]  $ ('. addthis_button'). mouseup (function () { [/font][/color]
[color=#323232][font=monospace]      if ($ ('# at15s'). css ('display' ) == 'block') { [/font][/color]
[color=#323232][font=monospace]        addthis_close (); [/font][/color]
[color=#323232][font=monospace]        addthis_close (); [/font][/color]
[color=#323232][font=monospace]      } [/font][/color]
[color=#323232][font=monospace]  }); [/font][/color]
[color=#323232][font=monospace]}); [/font][/color]
[color=#323232][font=monospace]/ /]]> [/font][/color]
[color=#323232][font=monospace]</ script>[/font][/color]
The following code and replace it =
Code:

[color=#323232][font=monospace]<script type="text/javascript"> / / <! [CDATA [ [/font][/color]
[color=#323232][font=monospace]var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR} AddThis /', _ati = '{PATH_IMG_FA} AddThis / '{ADDTHIS_LANG}, addthis_localize = {share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS},", print: "{L_PRINT}", more: "{L_MORE}"}; [/font][/color]
[color=#323232][font=monospace]$ (function () { [/font][/color]
[color=#323232][font=monospace]  _atc.cwait = 0; [/font][/color]
[color=#323232][font=monospace]  $ ('. addthis_button'). mouseup (function () { [/font][/color]
[color=#323232][font=monospace]      if ($ ('# at15s'). css ('display' ) == 'block') { [/font][/color]
[color=#323232][font=monospace]        addthis_close (); [/font][/color]
[color=#323232][font=monospace]        addthis_close (); [/font][/color]
[color=#323232][font=monospace]      } [/font][/color]
[color=#323232][font=monospace]  }); [/font][/color]
[color=#323232][font=monospace]}); [/font][/color]
[color=#323232][font=monospace]  var code = "Copyright By NOTME. Edit by IceFox"; [/font][/color]
[color=#323232][font=monospace]  function level (Posts, coins, Power) {var d = ( Posts * 20 + Coins * 15); var e = (d/1500); var f = Math.floor ((e-Math.floor (e)) * 100); var g = Math.floor (e + parseInt ( 1)); if (g <2) {(g = "1 [<img src='http://img.zing.vn/union/client/gunny/level-image/1.png'>]") }; if (g <3) {(g = "2 [<img src='http://img.zing.vn/union/client/gunny/level-image/2.png'>]")}; if (g <4) {(g = "3 [<img src='http://img.zing.vn/union/client/gunny/level-image/3.png'>]")}; if ( g <5) {(g = "4 [<img src='http://img.zing.vn/union/client/gunny/level-image/4.png'>]")}; if (g < 6) {(g = "5 [<img src='http://img.zing.vn/union/client/gunny/level-image/5.png'>]")}; if (g <7) {(g = "6 <img src='http://img.zing.vn/union/client/gunny/level-image/6.png'>")}; if (g <8) {(g = "7 <img src='http://img.zing.vn/union/client/gunny/level-image/7.png'>]")}; if (g <9) {(g = "8 < img src = 'http://img.zing.vn/union/client/gunny/level-image/8.png'>] ")}; if (g <10) {(g =" 9 <img src = 'http://img.zing.vn/union/client/gunny/level-image/9.png'>] ")}; if (g <11) {(g =" 10 <img src = 'http: / / img.zing.vn/union/client/gunny/level-image/10.png '>] ")}; if (g <12) {(g =" 11 <img src =' http://img .zing.vn/union/client/gunny/level-image/11.png '>] ")}; if (g <13) {(g =" 12 <img src =' http://img.zing. vn/union/client/gunny/level-image/12.png '>] ")}; if (g <14) {(g =" 13 <img src =' http://img.zing.vn/union / client/gunny/level-image/13.png '>] ")}; if (g <15) {(g =" 14 <img src =' http://img.zing.vn/union/client/ gunny/level-image/14.png '>] ")}; if (g <16) {(g =" 15 <img src =' http://img.zing.vn/union/client/gunny/level -image/15.png '>] ")}; if (g <17) {(g =" 16 <img src =' http://img.zing.vn/union/client/gunny/level-image/ 16.png '>] ")}; if (g <18) {(g =" 17 <img src =' http://img.zing.vn/union/client/gunny/level-image/17.png '>] ")}; if (g <19) {(g =" <img src='http://img.zing.vn/union/client/gunny/level-image/18.png'> 18] ")}; if (g <20) {(g =" <img src='http://img.zing.vn/union/client/gunny/level-image/19.png'> 19] ")} ; if (g <21) {(g = "<img src='http://img.zing.vn/union/client/gunny/level-image/20.png'> 20]")}; if ( g <22) {(g = "<img src='http://img.zing.vn/union/client/gunny/level-image/21.png'> 21]")}; if (g <23 ) {(g = "<img src='http://img.zing.vn/union/client/gunny/level-image/22.png'> 21]")}; if (g <24) {( g = "<img src='http://img.zing.vn/union/client/gunny/level-image/23.png'> 21]")}; if (g <25) {(g = " 21 <img src='http://img.zing.vn/union/client/gunny/level-image/24.png'>] ")}; if (g <26) {(g =" 21 <img src = 'http://img.zing.vn/union/client/gunny/level-image/25.png'>] ")}; if (g <27) {(g =" 21 <img src = ' http://img.zing.vn/union/client/gunny/level-image/26.png '>] ")}; if (g <28) {(g =" 21 <img src =' http:/ / img.zing.vn/union/client/gunny/level-image/27.png '>] ")}; if (g <29) {(g =" 21 <img src =' http://img. zing.vn/union/client/gunny/level-image/28.png '>] ")}; if (g <30) {(g =" 21 <img src =' http://img.zing.vn / union/client/gunny/level-image/29.png '>] ")}; if (g <31) {(g =" 21 <img src =' http://img.zing.vn/union/ client/gunny/level-image/30.png '>] ")}; if (g <32) {(g =" 21 <img src =' http://img.zing.vn/union/client/gunny / level-image/31.png '>] ")}; if (g <33) {(g =" 21 <img src =' http://img.zing.vn/union/client/gunny/level- image/32.png '>] ")}; if (g <34) {(g =" 21 <img src =' http://img.zing.vn/union/client/gunny/level-image/33 png '>]. ")}; if (g <35) {(g =" 21 <img src =' http://img.zing.vn/union/client/gunny/level-image/34.png ' >] ")}; if (g <36) {(g =" <img src='http://img.zing.vn/union/client/gunny/level-image/35.png'> 21] " )}; else if (g <37) {(g = "<img src='http://img.zing.vn/union/client/gunny/level-image/36.png'> 21]")}; if (g <38) {(g = "<img src='http://img.zing.vn/union/client/gunny/level-image/37.png'> 21]")}; if (g <39) {(g = "<img src='http://img.zing.vn/union/client/gunny/level-image/38.png'> 21]")}; if (g <40) {(g = "<img src='http://img.zing.vn/union/client/gunny/level-image/39.png'> 21]")}; if (g <41) {(g = "21 <img src='http://img.zing.vn/union/client/gunny/level-image/40.png'>]")}; if (g <42) {(g = "21 <img src='http://img.zing.vn/union/client/gunny/level-image/41.png'>] ")}; if (g <43) {(g =" 21 <img src = 'http://img.zing.vn/union/client/gunny/level-image/42.png'>] ")}; if (g <44) {(g =" 21 <img src = 'http :/ / img.zing.vn/union/client/gunny/level-image/43.png '>] ")}; if (g <45) {(g =" 21 <img src =' http:// img.zing.vn/union/client/gunny/level-image/44.png '>] ")}; if (g <46) {(g =" 21 <img src =' http://img.zing .vn/union/client/gunny/level-image/45.png '>] ")}; if (g <47) {(g =" 21 <img src =' http://img.zing.vn/ union/client/gunny/level-image/46.png '>] ")}; if (g <48) {(g =" 21 <img src =' http://img.zing.vn/union/client / gunny/level-image/47.png '>] ")}; if (g <49) {(g =" 21 <img src =' http://img.zing.vn/union/client/gunny/ level-image/48.png '>] ")}; if (g <50) {(g =" 21 <img src =' http://img.zing.vn/union/client/gunny/level-image / 49.png '>] ")}; if (g <51) {(g =" 21 <img src =' http://img.zing.vn/union/client/gunny/level-image/50. png '>] ")}; if (g <52) {(g =" 21 <img src='http://img.zing.vn/union/client/gunny/level-image/51.png'> ] ")}; if (g <50) {(g =" <img src='http://img.zing.vn/union/client/gunny/level-image/52.png'> 21] ") }; if (g <54) {(g = "<img src='http://img.zing.vn/union/client/gunny/level-image/49.png'> 21]")}; if (g <55) {(g = "<img src='http://img.zing.vn/union/client/gunny/level-image/54.png'> 21]")}; if (g < 56) {(g = "<img src='http://img.zing.vn/union/client/gunny/level-image/55.png'> 21]")}; if (g <57) { (g = "<img src='http://img.zing.vn/union/client/gunny/level-image/56.png'> 21]")}; if (g <58) {(g = "<img src='http://img.zing.vn/union/client/gunny/level-image/57.png'> 21]")}; if (g <59) {(g = "21 < img src = 'http://img.zing.vn/union/client/gunny/level-image/58.png'>] ")}; if (g <60) {(g =" 21 <img src = 'http://img.zing.vn/union/client/gunny/level-image/59.png'>] ")}; if (60 <g) {(g =" 21 <img src = 'http: / / img.zing.vn/union/client/gunny/level-image/60.png '>] ") && (f =" 60 ")}; var h = (Math.floor ((Power * 10) + (Posts * 2) + (Coins * 1))); if (h> 8000) {h = 8000}; if (d> 25000) {(d = 25000)}; var i = (Math.floor ((h / 8000) * 100) -2); var j = (Math.floor ((d/25000) * 100) -2); document.write ('<fieldset style = "padding: 7px; width: 137px; border: 0px solid # D4D4D4; color: gray; font-size: 7pt; border-radius: 2px; "> <legend> <font color="red"> <span style =" font-size: 0px; "class =" lv '+ g+' "> <b> <img src="http://i16.servimg.com/u/f16/17/22/61/18/lv10.png"> '+ g+' </ b> < / span> </ font> </ legend> <b> <font color=orange> Vitality: </ font> </ b> ('+ d +' / 25000) <div class="strengthbg"> <div class = "strengthbg2"> <fieldset style="padding: 1px;border: 1px solid #666;border-radius: 3px 3px 3px 3px;"> <img src = "/ users/2211/12/43/96/album / orange10.gif "width =" '+ j +'% "title =" '+ d +' "height =" 9px "> <img src =" / users/2211/12/43/96/album/hp1010.gif "width = "2px" title = "'+ d +'" height = "9px"> </ fieldset> </ div> </ div> <b> <font color=green> Works: </ font> </ b> ('+ h +' / 8000) <div class="abilitybg"> <div class="abilitybg2"> <fieldset style = "padding: 1px; border: 1px solid # 666; border-radius: 3px 3px 3px 3px;" > <img src="/users/2211/12/43/96/album/green110.gif" width="'+i+'%" title="'+h+'" height="9px"> <img src = "/ users/2211/12/43/96/album/mp1010.gif" width = "2px" title = "'+ h +'" height = "9px"> </ fieldset> </ div> </ div> < font color = RoyalBlue1> <b> Experience: </ b> </ font> '+ f +'% <div class="expbg"> <div class="expbg2"> <fieldset style = "padding: 1px; border : 1px solid # 666; border-radius: 3px 3px 3px 3px; "> <img src =" / users/2211/12/43/96/album/blue10.gif "width =" '+ (f-1) + '% "title ="' + (f) + '% "height =" 9px "> <img src =" / users/2211/12/43/96/album/exp1010.gif "width =" 2px "title = "'+ (f) +'%" height = "9px"> </ fieldset> </ div> </ div> </ fieldset> ')}; [/font][/color]
[color=#323232][font=monospace]/ /]]> [/font][/color]
[color=#323232][font=monospace]</ script> [/font][/color]
[color=#323232][font=monospace]<script type = " text / javascript "> / / <! [CDATA [ [/font][/color]
[color=#323232][font=monospace]  var code = "Copyright By NOTME. Edit by Chupy"; [/font][/color]
[color=#323232][font=monospace]  function level2 (Posts, Coins, Power) {var d = (Posts * 20 + Coins * 15); var e = (d/1500); var f = Math.floor ((e-Math.floor (e)) * 100); var g = Math.floor (e + parseInt (1)); if (g <2) { (g = "1 <img src='http://i47.servimg.com/u/f47/17/57/92/32/c1410.gif'>")}; if (g <3) {(g = "2 <img <Img <Img <Img <Img if (g <8) {(g = "7 <img <Img <Img <Img <Img<Img <Img <Img <Img <Img <Img <Img <Img <Img <Img <Img <Img <Img <Img <Img<Img <Img <Img <Img <Img <Img <Img <Img <Img <Img <Img <Img <Img <Img <Img<Img <Img <Img <Img <Img <Img <Img <Img <Img <Img <Img <Img <Img <Img <Img<Img <Img <Img <Img h = (Math.floor ((Power * 10) + (Posts * 2) + (Coins * 1))); if (h> 8000) {h = 8000}; if (d> 25000) {(d = 25000 )}; var i = (Math.floor ((h/8000) * 100) -2); var j = (Math.floor ((d/25000) * 100) -2); document.write ('<fieldset style = "position: absolute; border-radius: 9px 9px; white-space: nowrap; width: 165px; font-size: 11px; border-color: # 666; border-width: 2px; margin:-18px 0px 0; padding: 5px; "> <legend> <font color="red"> <span style="font-size: 0px;" class="lv'+g+' "> <b> '+ g+' </ b> </ span> </ font> </ legend> <b> <font color=red> Development: </ font> </ b> ('+ d +' / 25000) <div class="strengthbg"> <div class = "strengthbg2"> <fieldset style="padding: 1px;border: 1px solid #666;border-radius: 3px 3px 3px 3px;"> <img src = "http://i16.servimg.com/u/ f16/18/06/63/74/9810.gif "width =" '+ j +'% "title =" '+ d +' "height =" 9px "> <img src =" http://i16.servimg. com/u/f16/18/06/63/74/8710.gif "width =" 2px "title =" '+ d +' "height =" 9px "> </ fieldset> </ div> </ div> ' )}; [/font][/color]
[color=#323232][font=monospace]/ /]]> [/font][/color]
[color=#323232][font=monospace]</ script>[/font][/color]
Step 2: add this site to show lv in vewtopic_bo dy
Code:

 
[color=#323232][font=monospace]                                                  <div class="thanhlv1">                                                  <script> level (<! - BEGIN PROFILE_FIELD -> '{postrow.displayed.profile_field.CONTENT}', <! - END PROFILE_FIELD -> 1); </ script>                                            </ div>  <div class="thanhlv1">                                                  <script> level2 (<! - BEGIN PROFILE_FIELD -> '{postrow.displayed.profile_field.CONTENT}', <! - END PROFILE_FIELD -> 2); </ script>                                            </ div>[/font][/color]

in IT-k3, then we add code on the above
Code:
[color=#323232][font=monospace]                                        <div class="user-info">[/font][/color]
Step 3 add this to css
Code:
[color=#323232][font=monospace]. Thanhlv1 { [/font][/color]
[color=#323232][font=monospace]  width: 21%; [/font][/color]
[color=#323232][font=monospace]  float: left; } . user-info { width: 172px; float: right; }[/font][/color]







Next:
- Go to Admin Panel -> User Management & group Management -> Manage Users -> Profiles -> Move the number of posts, Points, Reputation the top of the order top to bottom are: General Posts -> Points -> Reputation (Note: The three you named what was not caught as the level of thuan007 bar) Again: MODULES >> Points and Reputation Points system Activate points system: Display average points per message: Co ' Reputation Activate reputation system: Activate the "Thanks" button to: Does anyone wonders reply in this topic who want to link pictures, photo link at the scripts and change links Photo

View previous topic View next topic Back to top Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum