ติดต่อลงโฆษณา racingweb@gmail.com

ผู้เขียน หัวข้อ: อยากไห้เวบบอร์ดมี Lv Exp % ทำยังไงครับ  (อ่าน 19990 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ Friend-Service

  • New Member
  • *
  • กระทู้: 6
    • ดูรายละเอียด
คือผมเห็น SMF ของคนอื่นมี Lv ของผู้โพส ด้วย

ผมอยากได้บ้างทำยังไงโหลดที่ไหน วิธีติดตั้งด้วยนะครับ

ขอบคุณครับ

ออฟไลน์ chareonwong

  • New Member
  • *
  • กระทู้: 12
    • ดูรายละเอียด
อยากได้เหมือนกันครับ ช่วยหน่อยครับ

ออฟไลน์ khonnarak

  • New Member
  • *
  • กระทู้: 6
    • ดูรายละเอียด
อันนี้พอได้มะ



ซึ่งค่า HP กับ Level  จะเปลี่ยนไปตามจำนวนกระทู้ที่สมาชิกนั้นๆโพสครับ

การลง ต้อง ระมัดระวังมากๆ นะครับ เพราะต้องลงด้วยตัวเอง โอกาศพังมีสูงมากครับ! กรุณาสำรองไฟล์ที่จะทำการแก้ไขก่อนทุกครั้ง!!

นี่คือขั้นตอนการลงครับ คำเตือน: การลงมอดมีความเสียงที่จะทำให้บอร์ดพัง!

1. เปิดไฟล์ Sources/Load.php

2. หลังบรรทัดแรก ("<?php") ให้เพิ่มโค้ดนี้ลงไปครับ
///////////////
// DtTvB RPG //
///////////////
$rpgSettings = array();
$rpgSettings['init'] = 5;
$rpgSettings['incre'] = 3;
function calRpg($p) {
   global $rpgSettings;
   $i = 0; $j = $rpgSettings['init']; $l = 0;
   while ($i < $p) {
      $l++;
      $i += $j;
      $j += $rpgSettings['incre'];
   }
   $fn = $i;
   $cbase = ($i - ($j - $rpgSettings['incre']));
   if ($l < 1) $l = 1;
   $pc = (($p - $cbase) / ($fn - $cbase)) * 100;
   return array(
      'level' => $l,
      'cbase' => $cbase,
      'nbase' => $fn,
      'perce' => $pc
   );
}

3. เปิดไฟล์ Themes/default/Display.template.php

4. หาบรรทัดที่มีข้อความนี้ครับ
         // Show avatars, images, etc.?

5. เพิ่มโค้ดนี้ ก่อนหน้าบรรทัดที่ให้หาครับ

         $cp = $message['member']['posts'];
         $cr = calRpg($cp);
         echo '<!-- Comment start --><span style="display: none">Level and Hp mod by the DtTvB :: version 1.02 :: Made for Zone-IT.com</span><!-- Comment end -->
                        Level ' . $cr['level'] . ' : Exp ' . round($cr['perce']) . '%<div style="width:92%;border: 1px solid #999; background: #fff" align="left">
                           <div style="width:', round($cr['perce']), '%;background:#ccc;height:8px;"></div></div>';

   $membID = $message['member']['id'];
   $lastMsg = mysql_fetch_array(mysql_query($sql = "SELECT max(posterTime) FROM {$db_prefix}messages WHERE ID_MEMBER = {$membID}"));
   $hp = round(100 / (1 + ((time() - $lastMsg[0]) / 100000)), 1);
   echo '
                        HP: ' . $hp . '%<div style="width:92%;border: 1px solid #999; background: #fff" align="left">
                           <div style="width:', round($hp), '%;background:#ccc;height:8px;"></div></div><!-- End Code! -->';

         echo '
';

ในไฟล์ Display.template.php ตรง

function template_main()


ต่อจาก { ให้ใส่ว่า
global $db_prefix;
ครับ


ออฟไลน์ mozard27

  • New Member
  • *
  • กระทู้: 3
    • ดูรายละเอียด
ขอบคุณมาครับ ถ้าเราจะเปลี่ยนสี ยังงัยครับ

ออฟไลน์ beowolf

  • New Member
  • *
  • กระทู้: 26
    • ดูรายละเอียด
       $cp = $message['member']​['posts'];
         $cr = calRpg($cp);
         echo '<!-- Comment start --><span style="display: none">Level and Hp mod by the DtTvB :: version 1.02 :: Made for Zone-IT.com</span><!-- Comment end -->
                        Level ' . $cr['level'] . ' : Exp ' . round($cr['perce']) . '%<div style="width:92%;border: 1px solid #สีเส้น; background: #สีพื้นหลัง" align="left">
                           <div style="width:', round($cr['perce']), '%;background:#สีแถบ ;height:8px;"></div></div>';

   $membID = $message['member']​['id'];
   $lastMsg = mysql_fetch_array(mysql_query($sql = "SELECT max(posterTime) FROM {$db_prefix}messages WHERE ID_MEMBER = {$membID}​"));
   $hp = round(100 / (1 + ((time() - $lastMsg[0]) / 100000)), 1);
   echo '
                        HP: ' . $hp . '%<div style="width:92%;border: 1px solid #สีเส้น; background: #สีพื้นหลัง" align="left">
                           <div style="width:', round($hp), '%;background:#สีแถบ;height:8px;"></div></div><!-- End Code! -->';




โค้ด: [เลือก]
$cp = $message['member']['posts'];
         $cr = calRpg($cp);
         echo '<!-- Comment start --><span style="display: none">Level and Hp mod by the DtTvB :: version 1.02 :: Made for Zone-IT.com</span><!-- Comment end -->
                        Level ' . $cr['level'] . ' : Exp ' . round($cr['perce']) . '%<div style="width:92%;border: 1px solid #999; background: #FFFF03" align="left">
                           <div style="width:', round($cr['perce']), '%;background:#FD0315;height:8px;"></div></div>';

   $membID = $message['member']['id'];
   $lastMsg = mysql_fetch_array(mysql_query($sql = "SELECT max(posterTime) FROM {$db_prefix}messages WHERE ID_MEMBER = {$membID}"));
   $hp = round(100 / (1 + ((time() - $lastMsg[0]) / 100000)), 1);
   echo '
                        HP: ' . $hp . '%<div style="width:92%;border: 1px solid #999; background: #FFFF03" align="left">
                           <div style="width:', round($hp), '%;background:#FD0315;height:8px;"></div></div><!-- End Code! -->';

         echo '
      <br />
    ';

         echo '
';

ออฟไลน์ pswebsite

  • New Member
  • *
  • กระทู้: 1
    • ดูรายละเอียด
ผมทำแล้วไม่ขึ้นเลยอ่าครับ T T ทำไงดี

ออฟไลน์ FrankJScott

  • FrankJScottZZ
  • Hero Member
  • *****
  • กระทู้: 14,910
  • เพศ: ชาย
    • ดูรายละเอียด
    • Great 메이저사이트 Info
Best AMAN88SLOT Blog
« ตอบ #6 เมื่อ: 12/10/24, 20:30:05 »
For the person talking about judi online casino, casino play, slot virtual, sbobet casino, games casino online, gaming joker, login pragmatic slot, slot playing, sini slot online, tips casino online,  I highly suggest this her response on AMAN88SLOT tips or tips pragmatic play, slot sbo, slot games, log in slot, sbobet casino, slot e, slot company, slot 09, slot poster, sini slot online, together with this top rated AMAN88SLOT tips and don't forget great slot, link alternatif pragmatic play, gaming casino, slot online link, slot pragmatic, games slot online, sini slot online, slot sites, link web slot, ion slot login, which is worth considering with this full report about AMAN88SLOT blog which is also great. Also, have a look at this recommended AMAN88 site bearing in mind microgaming play, login pragmatic play, slot home, slot company, slot online link, slot joker login, slot sites, pragmatic slot login, agen judi casino, slot and casino, as well as this updated AMAN88SLOT site together with poster slot, link pragmatic play, backlink judi, log in slot, tips judi slot,  official source on together with pragmatic play slots, judi slot, casino l, ion casino, slot itu judi,  for good measure. Check more @ Top AMAN88 Blog debcd20

ออฟไลน์ FrankJScott

  • FrankJScottZZ
  • Hero Member
  • *****
  • กระทู้: 14,910
  • เพศ: ชาย
    • ดูรายละเอียด
    • Great 메이저사이트 Info
Recommended DVL TOTO Guide
« ตอบ #7 เมื่อ: 12/10/24, 22:54:05 »
In reply to the guy inquiring about slot pragmatic, login slot games, pg casino, great slot, ion slot online, tips judi slot, link slot games, link alternatif pragmatic, tips casino, slot itu judi,  I highly suggest this new DVLTOTO forum or link to slot, casino play, pragmatic slots, sbobet casino online, ion casino, link slot online, microgaming slot, antara slot login, poster slot, log in slot, and don't forget this homepage about DVLTOTO site not forgetting sites such as great slot, slot tips, casino di, slot online login, joker slot login, microgaming play, habanero slot online, judi casino, login judi slot, login pragmatic slot, which is worth considering with this this guy for DVLTOTO forum which is also great. Also, have a look at this updated DVLTOTO forum which is worth considering with web slot online, slot games slot, slot soft, microgaming play, web judi slot, casino di, money slot, web slot casino, ion casino, web casino games, not forgetting sites such as this more helpful hints about DVL TOTO link as well as antara slot login, agen slot, slot games slot, slot and casino, link alternatif slot online,  more bonuses about together with slot virtual, casino l, slot home, slot web, slot mobile games,  for good measure. Check more @ Useful DVL TOTO Website ebcd20c

ออฟไลน์ FrankJScott

  • FrankJScottZZ
  • Hero Member
  • *****
  • กระทู้: 14,910
  • เพศ: ชาย
    • ดูรายละเอียด
    • Great 메이저사이트 Info
Top DVLTOTO Website
« ตอบ #8 เมื่อ: 13/10/24, 01:03:13 »
For the guy talking about play pragmatic, link pragmatic slot, link alternatif slot online, slot 09, log in slot, pragmatic play, login slot games, link slot microgaming, slot gameplay, link alternatif pragmatic,  I highly recommend this get more info about DVL TOTO site or login pragmatic play, casino microgaming, link slot online, slot to 7x, slot website, sini slot online, web slot online, link web slot, slot 09, joker slot login, bearing in mind this one-time offer on DVL TOTO info not forgetting sites such as casino login, games casino online, mobile slot, games slot online, microgaming slot, slot spade, tipster slot, slot microgaming, pragmatic slots, sini slot link alternatif, not forgetting sites such as this more tips here for DVLTOTO forum which is also great. Also, have a look at this consultant on DVLTOTO url alongside all casino l, web casino games, games slot online, pragmatic slots, slot sites, web slot casino, games casino online, casino ion, home casino, login pragmatic slot, on top of this updated DVL TOTO url alongside all mobile slot, slot website, slot online pg, link pg slot, slot joker login,  click this for not forgetting sites such as slot agen, sbo111 slot, pragmaticplay casino, slot live stream, link pragmatic play,  for good measure. Check more @ Top Rated DVL TOTO Guide 8_8ca9d

ออฟไลน์ FrankJScott

  • FrankJScottZZ
  • Hero Member
  • *****
  • กระทู้: 14,910
  • เพศ: ชาย
    • ดูรายละเอียด
    • Great 메이저사이트 Info
Top Mobile Detailing Software Website
« ตอบ #9 เมื่อ: 15/10/24, 03:10:26 »
In response to the guy inquiring about direct mail design, personalized direct mail, eddm postcards usps, best mailing list company, usps direct mail template, cool direct mail ideas, marketing usps, direct marketing tool, post office direct mail advertising, direct marketing florida, best postcard service, automated mailing, us post office eddm, mailer service, direct mail design ideas, digital direct advertising, real estate postcards for sellers, the mailing company, real estate marketing lists, get a mailing list,  I suggest this for beginners on auto detailing software advice for send out postcards, eddm marketing, service mailer, postal marketing, direct mail copy, modern postcard templates, marketing mail, direct mail service near me, free address list by zip code, mailers marketing, usps postcard mailer, direct mail advertising, mail works, pest control post cards, real estate postcards that work, real estate marketing postcards, ups bulk mail, real estate mail marketing, business to business direct marketing, radius mailing, automotive mail, automated mailing services, the direct mail company reviews, also. See More Great DVL TOTO Info 95df7_4

ออฟไลน์ FrankJScott

  • FrankJScottZZ
  • Hero Member
  • *****
  • กระทู้: 14,910
  • เพศ: ชาย
    • ดูรายละเอียด
    • Great 메이저사이트 Info
Top Storage Units Info
« ตอบ #10 เมื่อ: 21/10/24, 04:30:25 »
In response to the lady asking about discount used office furniture, consignment office furniture near me, sell used office furniture, office furniture service, herman miller task chair, office moving equipment, herman miller conference room chairs, herman miller ergonomic desk, herman miller home, second hand office furniture near me,  I highly recommend this excellent storage url or desk manufacturers, used office furniture, home office furniture manufacturers, herman miller used near me, office equipment brands, office equipment furniture, 2nd hand office chairs, herman miller fr, office equipment and furniture, companies that buy used office furniture near me, bearing in mind this recommended storage units details as well as herman miller computer chairs, second hand office chairs, office ki chair, herman miller aeron used, office furniture at work, office refurbishment design, used office furniture warehouse near me, second hand executive desk, sell second hand office furniture, office chair herman miller used, bearing in mind this inquiry about furniture storage site which is also great. Also, have a look at this top rated self storage info alongside all steelcase chair second hand, office furniture discount near me, office desking, second office furniture near me, herman miller fall sale, herman aeron chair used, we buy office furniture near me, office resale furniture near me, office used furniture near me, herman miller aeron 2nd hand, as well as this continue reading this about storage link alongside all desk furniture for office, herman miller mirra 2 refurbished, office seating manufacturers, office seating solutions, the office furniture place,  one-time offer about bearing in mind used office furniture chairs, one office furniture, herman miller aeron b refurbished, office chair resale, new office furniture,  for good measure. Check more @ Great DVLTOTO Guide 5df7_44