The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#32
|
||||
|
||||
I have done the following:
//START GOBLINS USER LEVELS $level = ""; $level1 = '1'; $level2 = '2'; $level3 = '3'; $level4 = '4'; $level5 = '5'; $level6 = '6'; $level7 = '7'; $level8 = '8'; $level9 = '9'; $level10 ='10'; $level11 = '11'; $level12 = '12'; $level13 = '13'; $level14 = '14'; $level15 = '15'; $level16 = '16'; $level17 = '17'; $level18 = '18'; $level19 = '19'; $level20 = '20'; $level21 = '21'; $level22 = '22'; $level23 = '23'; $level24 = '24'; $level25 = '25'; $level26 = '26'; $level27 = '27'; $level28 = '28'; $level29 = '29'; $level30 = '30'; if ($post[posts] > 5000 ) { $level .= $level30; } elseif ($post[posts] > 4800 ) { $level .= $level29; } elseif ($post[posts] > 4600 ) { $level .= $level28; } elseif ($post[posts] > 4300 ) { $level .= $level27; } elseif ($post[posts] > 4000 ) { $level .= $level26; } elseif ($post[posts] > 3800 ) { $level .= $level25; } elseif ($post[posts] > 3700 ) { $level .= $level24; } elseif ($post[posts] > 3500 ) { $level .= $level23; } elseif ($post[posts] > 3400 ) { $level .= $level22; } elseif ($post[posts] > 3300 ) { $level .= $level21; } elseif ($post[posts] > 3200 ) { $level .= $level20; } elseif ($post[posts] > 3000 ) { $level .= $level19; } elseif ($post[posts] > 2800 ) { $level .= $level18; } elseif ($post[posts] > 2600) { $level .= $level17; } elseif ($post[posts] > 2400 ) { $level .= $level16; } elseif ($post[posts] > 2200 ) { $level .= $level15; } elseif ($post[posts] > 1900 ) { $level .= $level14; } elseif ($post[posts] > 1400) { $level .= $level13; } elseif ($post[posts] > 1200 ) { $level .= $level12; } elseif ($post[posts] > 1000 ) { $level .= $level11; } elseif ($post[posts] > 900 ) { $level .= $level10; } elseif ($post[posts] > 700) { $level .= $level9; } elseif ($post[posts] > 500 ) { $level .= $level8; } elseif ($post[posts] > 300 ) { $level .= $level7; } elseif ($post[posts] > 100 ) { $level .= $level6; } elseif ($post[posts] > 80) { $level .= $level5; } elseif ($post[posts] > 50 ) { $level .= $level4; } elseif ($post[posts] > 30 ) { $level .= $level3; } elseif ($post[posts] > 10 ) { $level .= $level2; } elseif ($post[posts] > 0) { $level .= $level1; } But what is not working for me is the colours of the bars are staying fully up to max with high posts. Also I have lost my text that shows how many posts a user has, anyone can tell me how to put it back ploease. Thanks, |
#33
|
|||
|
|||
The bar is showing Max because there isn't a calculation to determine the max hp, mp and exp for version 2.0.3
It shows in percentage. As to the number of post missing. can you post it on here where you added the code? Thanks |
#34
|
||||
|
||||
THIS IS OUTRAGEOUS!!!
He posted this hack without my permission. I am the creator of this hack and I told him explicitly not to give it out. I only gave it to him to use for his forums. my forums are www.allsquare.net/forums I go by the name Avalon there. Please, Moderators, delete this thread. |
#35
|
||||
|
||||
Well... Knoman, great hack, I love it. I just gotta get it working better with users with high posts, and also implement some little moderator, administrator stats.
|
#36
|
||||
|
||||
That problem lies on his half of the hack. The only code of mine that he posted would be the MP part. My Leveling system is done automatically through a logarithm rather than doing it manually like his.
|
#37
|
|||
|
|||
Quote:
You never game me nothing, I seen a picture of this hack over at Hololith and some part of the code and then I took it from there. |
#38
|
||||
|
||||
I don't like the leveling system, I changed it so its also done by a logarithm on my forum too. I just can't get the administrator stats to work.
I tried Code:
if ($bbuserinfo[usergroupid] = 6) { $level = 100 $hp = 1000 $mp = 1000 $exp = 1000 } else { . . . } to put the post count back in, put this in the postbit template Code:
Posts: $post[posts]<br> |
#40
|
|||
|
|||
Quote:
btw if you released the code it would be absolutely great. OpenSource ROX! |
#41
|
|||
|
|||
Yeah... i've been working whole day figuring how all those things are being calculated.....
opensource r0x0rz |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|