View Full Version : HP/MP Help Needed
dmjof
05-15-2002, 09:15 PM
Hi, I installed the HP/MP Hack on my forums but when I enter that one code into the postbit section of the template, I put it under the avatar part where it is suppose to go, but then it just messes up all the tables so there is a big table with 4 little tables in it with the post, signature and 2 other things.
How can I fix this? If someone could help me install them (come on my forums and I will give you an Admin account for it) then that would be great. I would give you the Admin, but if you continue to post and not just leave, I will make you a Super Moderator and then maybe later on you can have the Admin if I can trust you ;)
Or just post some easy steps on here.
Khaybel
05-17-2002, 11:39 PM
I just installed the HP/MP system now... this an example of my code... in your post you say your postbits are messed up. The install is missing a <tr></table> in the code, also the directory for the bars isn't plural in the install faq, when you unzip the file, the directory for the bar is spelled bars, yet in the install notes, for the code it is spell bar ;P
anyway below is the code I made to fix that, also make sure you change your frields below to match your forums.
$post[avatar]<p>
<smallfont>
<p><b>Level: $showlevel<br>
Member ID: $post[userid]</b><br>
<a href="moderator.php3?s=$session[sessionhash]&action=points&userid=$userinfo[userid]" target=_blank>HP:</a> $post[field8] / $maxhp
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td bgcolor="{firstaltcolor}"><img src="images/bars/bhg.gif" width="$hpbar%" height="9"><img src="images/bars/bhb.gif" width="1" height="9"></td>
</tr>
</table>
<a href="moderator.php3?s=$session[sessionhash]&action=points&userid=$userinfo[userid]" target=_blank>MP:</a> $post[field9] / $maxmp
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td bgcolor="{firstaltcolor}"><img src="images/bars/bmg.gif" width="$mpbar%" height="9"><img src="images/bars/bmb.gif" width="1" height="9"></td>
</tr>
</table>
Exp: $ep%
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td bgcolor="{firstaltcolor}"><img src="images/bars/bxg.gif" width="$ep%" height="9"><img src="images/bars/bxb.gif" width="1" height="9"></td>
</tr>
</table>
<br>
note: Register code below this
Hope that helps.
Khaybel
05-17-2002, 11:57 PM
small note: I'm using the Vb php3 version of the forums so make sure if your only using php version of the forums to change the php3 links back to php in the code above ;)
example of level system on my forums,
http://forums.orbsydia.com/showthread.php3?&threadid=967
I'm still playing with colors a bit.
zajako
05-21-2002, 11:09 PM
this question should have been addressed on my support forum for this hack, but none the less im glad it was stragtned out.
please visit the support thread for this hack often because im working on an update that makes things much nicer and smoother.
Khaybel
07-15-2002, 08:15 AM
sorry about that, will post in your support thread more off, I was new to forum when I posted this. Wonderful script though.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.