vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   HP/MP Help Needed (https://vborg.vbsupport.ru/showthread.php?t=38669)

dmjof 05-15-2002 09:15 PM

HP/MP Help Needed
 
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.

Quote:

$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/showthrea...?&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.


All times are GMT. The time now is 05:00 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01104 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete