![]() |
Ranking System
After looking thru just about every hack the only hack that I found that was close to what I wanted was the Galaga hack by TommyBoy.... and its obvious even to me that the code is pretty old...
What I want it to do, is display a picture according to how many posts the person has... But I dont think I'm calling the right data or something... I have this after the global things in "buildpostbit" Code:
// --- vB Galaga Hack by TommyBoy Modified by DeadMan384AD I've tried it taking $RankNum from $post[posts] as well, same output... And in the final version, I want this to be using 34 different ranking levels... |
hmm... i was actually working on my own Galaga system ;) i'll let you know how things go if you like :) i have made good progress with it too... regards..
g-force2k |
:paranoid: Thanks for the help? :ermm:
uh.. Ok, well hopefully if I dont figure my own script out, yours is out soon, I'm hoping to get this done(plus a million other things, go figure for a SA) before I go back to school. :D |
oh :p lol i didn't even see that you modified that my bad... :p didn't connect the names i guess... sorry about that ;) regards... i know that this was a custom feature for ubbs...
g-force2k2 |
Deadman, I think you're looking for what i've requested [g-force is working on it], having an image under your title/custom title like stars or a bar in different colours etc. Just like in UBB. I'm sure you want this for mods, supermods, admins aswell ;)
|
Yah, cept its not going under the avatar.... :D elsewhere on the postbit... This should be a very easy hack to install... nothing fancy, it should only refer to the users post, and show the image relevant to the persons post count... I'm not even sure what "$RankNum -= 50 " does... but that might be the problem...
otherwise I think I can get most of it figured out, I just dont know how to get the users post into $RankNum.... If you wanna have fun, take the second line out of the if statements in my code, if it doesnt give you an error, it slows down the showthread really, really bad... :D yay for infinite loops! (found that out the hard way, its been a long time since I coded anything) |
Yeah well the one i requested, I just want a variable available so I can insert the image anywhere in the postbit :)
|
Yah the galaga hack works anywhere on the postbit...
I've got it to show up, and I've gotten it to display images, but its not working properly. When I make output $RankNum all I get is "2" when I have it set the way it should be, I get the wrong image according to the amount of posts I have... |
Ok after a lot of editing, trial and error I've got it to this:
Code:
// --- vB Galaga Hack by TommyBoy Modified by DeadMan384AD Everything works fine, it posts, pulls up the proper image according to the post count.... Unfortunatly, its not using the post count of the person who made the post, its using the post count of the user browsing the page! What am I doing wrong? |
B - bulletin
U - user M - Mip-Mapping P - phorum |
DeadMan384AD try using
PHP Code:
g-force2k2 |
Excellent! Thank you! :D
Now, should I post this as a completed hack? Thing is it no longer looks anything like the galaga hack, and you helped a lot... so its not mine so much... |
thats not really my call :p but if its like ubb's galaga hack then cool :) thats one of the features i've seen on ubb's that i've liked... its a cool ranking system... regards...
g-force2k2 |
All times are GMT. The time now is 04:44 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|