Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
HP/MP Help Needed Details »»
HP/MP Help Needed
Version: , by dmjof dmjof is offline
Developer Last Online: Mar 2005 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-15-2002 Last Update: Never Installs: 0
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-17-2002, 11:39 PM
Khaybel Khaybel is offline
 
Join Date: Feb 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 05-17-2002, 11:57 PM
Khaybel Khaybel is offline
 
Join Date: Feb 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 05-21-2002, 11:09 PM
zajako's Avatar
zajako zajako is offline
 
Join Date: Jan 2002
Location: a place not to far away
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 07-15-2002, 08:15 AM
Khaybel Khaybel is offline
 
Join Date: Feb 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry about that, will post in your support thread more off, I was new to forum when I posted this. Wonderful script though.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04071 seconds
  • Memory Usage 2,239KB
  • Queries Executed 18 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete