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

 
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 11-07-2000 Last Update: Never Installs: 0
 
No support by the author.

Ok, this is a suggestion a member came up with about this during the last few days. I help out on a vB, but have no idea if this could be implemented. For reference, what we're wanting to do is get an experience system that is based on post number and how long they've been registered.

Anyway, the EXP could be calculated like this:

[(posts³)×(days)]^0.5

And from this I got a simple but very efficient way to calculate the Level:

[(posts³)×(days)]^(1/7) = EXP^(1 / 3.5)

And then the post count would almost make sense as Hit Points!

Here's how it would look with a few of the users here (copied from that post I did yesterday evening):

Acmlm
Moderator
Super Knight
Level: 29
HP: 821
EXP: 137168
Registered: Oct 2000

Drex
Bard
Level: 7
HP: 40
EXP: 1102
Registered: Oct 2000

Doctor Q5
Master Surgeon
Level: 13
HP: 125
EXP: 8149
Registered: Oct 2000

cloud120122
Moogle
Level: 4
HP: 16
EXP: 181
Registered: Oct 2000

Coach
Moderator
Level: 27
HP: 697
EXP: 108863
Registered: Oct 2000

Phoenix
Moderator
Level: 32
HP: 1028
EXP: 192189
Registered: Oct 2000

It would take just 1 EXP to get to LV 1, about 11 EXP to go up to LV 2, 46 EXP for LV 3, 3162 EXP for LV 10, 147885 EXP for LV 30, 883883 EXP for LV 50 and exactly 10000000 EXP for LV 100 ... so that pretty much makes a lot of sense, no?

Yeah, it's a bit confusing, but is it possible?

Show Your Support

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

Comments
  #2  
Old 11-07-2000, 05:55 PM
Guest
 
Posts: n/a
Default

Why not (i suppose you'll get more descriptive answer from more experienced members ) but i'm afraid of mysql queries and overall performance.
Reply With Quote
  #3  
Old 11-07-2000, 06:03 PM
Guest
 
Posts: n/a
Default

Yes it is possible and rather easy to implement if you know PHP.
Reply With Quote
  #4  
Old 11-08-2000, 11:46 AM
Guest
 
Posts: n/a
Default

That member was me by the way
Reply With Quote
  #5  
Old 11-08-2000, 11:49 AM
Guest
 
Posts: n/a
Default

have to wonder if "days registered" is a good indication of experience though.... more like number of forum visits or pages viewed would be better (and possible although it might be a performance issue on the server).
Reply With Quote
  #6  
Old 11-09-2000, 12:00 AM
Guest
 
Posts: n/a
Default

Okay, that's good to know, but since I know of no one that is experienced in PHP, where would I get my start at? Any help in any direction would be appreciated.
Reply With Quote
  #7  
Old 11-09-2000, 10:57 AM
Guest
 
Posts: n/a
Default

hm... this is a very interesting idea indeed
As sonn as I finish up my backend script I'll try it.

Anybody else wanna do it in the meantime?
Reply With Quote
  #8  
Old 11-09-2000, 03:21 PM
Guest
 
Posts: n/a
Default

In Showthread.php

Look for:
$userpostcount=$userinfo[posts];

After this put:
$days = unixtojd() - unixtojd($userinfo[joindate])
$userexp = round(pow(((pow($userpostcount,3))*($days)),0.5));
$userlevel = round(pow($userexp,(1 / 3.5)));

To show it in the templates open up the postbit template and put $userexp, $userlevel where you want them to show up at.

p.s. I think I got parentheses happy.
Reply With Quote
  #9  
Old 11-10-2000, 12:59 PM
Guest
 
Posts: n/a
Default

talk about a fast hack!
nice work wluke
Reply With Quote
  #10  
Old 11-10-2000, 02:01 PM
Guest
 
Posts: n/a
Default

This line looks better.
$days = unixtojd() - unixtojd($userinfo[joindate]);


[Edited by PeF on 11-10-2000 at 12:48 PM]
Reply With Quote
 


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 10:45 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.04577 seconds
  • Memory Usage 2,260KB
  • Queries Executed 24 (?)
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)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • 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