Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by nuno nuno is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.0.x Rating:
Released: 10-27-2001 Last Update: Never Installs: 7
 
No support by the author.

REDOCUMENTED

Show Your Support

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

Comments
  #22  
Old 10-29-2001, 06:46 AM
Seifer's Avatar
Seifer Seifer is offline
 
Join Date: Oct 2001
Location: Aurora, Colorado
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My MP is a LOT different...just a number equal to the number of days you've been registered. I made it by just doing this:

Find:

PHP Code:
      $postsperday sprintf("%.2f",($post[posts] / $jointime)); 
in showthread.php

and under it put:

PHP Code:
// MP

$past date($post[joindate]);

$present date(time());

$mp floor(($present $past) / (3600 24));

// STOP MP 
Then, in the postbit template I put "MP: $mp" (minus quotes of course) under HP...and HP is just posts...no fancy bar. My board is quasi ghetto

That may seem easy for some of you people, but with my limited PHP skill that took me forever!!!
Reply With Quote
  #23  
Old 10-29-2001, 08:43 AM
Mega
Guest
 
Posts: n/a
Default

And everybody that have played games with HP,MP and EXP know EXP is calculated using MP and HP...
So i guess MP * HP / 100 is the most simple way os calculating it.

I dont think you can call this stolen or anything..
Reply With Quote
  #24  
Old 10-29-2001, 10:09 AM
Dunny Dunny is offline
 
Join Date: Oct 2001
Location: UK
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its not stolen matey, he has obviously gave his hack to someone and he thought it was me....

I wrote the hack going by his pic to share it on this forum!
Reply With Quote
  #25  
Old 10-29-2001, 10:16 AM
UOSaint
Guest
 
Posts: n/a
Default

Ok , guess all a misunderstanding then


back to the drawing board.

Need to find a way so that it doesn't show
percentage on version 2.0.3

cos if the post is high the bar is max out
and the percentage exceeds 100.

anyone with any ideas?
Reply With Quote
  #26  
Old 10-29-2001, 10:26 AM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please, there gota be some smart ass somewere LoL



Quote:
Originally posted by UOSaint
Ok , guess all a misunderstanding then


back to the drawing board.

Need to find a way so that it doesn't show
percentage on version 2.0.3

cos if the post is high the bar is max out
and the percentage exceeds 100.

anyone with any ideas?
Reply With Quote
  #27  
Old 10-29-2001, 11:14 AM
Mega
Guest
 
Posts: n/a
Default

Knoman: I did some searching on your forum and I got almost all of the code.
It is just posted all over the forum.

So ANYONE could have taken it and used it...

I got everything BUT MaxHP from the forums..
Reply With Quote
  #28  
Old 10-29-2001, 11:51 AM
Knoman's Avatar
Knoman Knoman is offline
 
Join Date: Oct 2001
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BAH! The codes were posted there to get ideas from my members. Ya know what? If you can't beat them, join them. I've always been an open sourse kinda guy. I'll post my version of the code later today. Still, it would've been nice if someone asked me first.
Reply With Quote
  #29  
Old 10-29-2001, 12:15 PM
HairyMonster
Guest
 
Posts: n/a
Default

This is one pretty neat little hack and I would like to say thanks to both knoman and dunny and thanks for releasing it to the public.

HM
Reply With Quote
  #30  
Old 10-29-2001, 12:54 PM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I am asking nicely. Please will you post your version for us mear mortals to have a go.

Thanks M8,



Quote:
Originally posted by Knoman
BAH! I'll post my version of the code later today. Still, it would've been nice if someone asked me first.
Reply With Quote
  #31  
Old 10-29-2001, 01:07 PM
Mega
Guest
 
Posts: n/a
Default

yeah.. that would be best...

I still haven't figured out how to calculate the MaxHP.. so that will still be a suprise
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 11:15 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.04726 seconds
  • Memory Usage 2,300KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete