![]() |
Galaga Hack v1
This is an old hack, made for vb2 around 3 - 4 years ago, however a nice little addition that i and my members enjoy.
So what does it do? Dependant on the user's post count, stars appear in the postbit under there username. 0 Posts = 1 Yellow Star 100 Posts = 2 Yellow Star 200 Posts = 3 Yellow Stars Etc.. Upon getting 1000 posts you will go back to 1 star, but a new color instead of yellow. The colors are in this order: Yellow Grey Green Blue Red Higher the color and amount of stars, higher the persons post count. Any questions post below, i have attatched a screenshot as an example for you all :) Enjoy, - Zero Tolerance |
Whoa, nice hack dude ^_^
Keep up the shweeeet work :) [high]* Marky clicks install ^_^[/high] |
Looks good mod ZT im enjoying this *clicks install*
|
I've already done something similar to this with user ranks I believe.
|
Nice job !
Personally I use ranks ;) |
Isn't this a default vB3 feature using rank images?
Just wondering :) |
nice hack:D
|
This is great. :) Now I can have 2 ranking systems. Installed.
|
Quote:
|
A bug: some of my users dont have stars... and they have made well over 100 postings... most of them do, though...
|
Quote:
- Zero Tolerance |
can u edit it =/
so they can get it much earlier |
Quote:
For instance: one of my users has 2,010 posts... but has no stars. |
just change the math involved in the functions_showthread
|
Is it possible to have sets of stars? So, instead of it setting back to 1 star with a different colour... the different colour stars would go underneath the previous ones? It makes more sense... and people will understand it better... the more stars, the more posts...
|
And if instead of the stars, use the real galaga images?
(see attachment) And like roman numbers, sum with them. Examples: If a user have 1 post, he got 1.gif If a user have 5 post, he got 5.gif If a user have 7 post, he got 5.gif and two 1.gif If a user have 150 post, he got 100.gif and 50.gif If a user have 1277 post, he got 1000.gif, 200.gif, 50.gif, two 10.gif, 5.gif and two 1.gif etc. So complicated? I've seen it long time ago in a ubb board (perl version). This look amazing and very entertained for the users. Anyways... is just a suggestion :) |
Hm, has anyone looked into that bug I reported?
|
lol, I remember that ;)
Good ole ubb Quote:
|
Hmm, I can't seem to get the images to show up
I double checked the coding, it's all there, uploaded the file, added the entries to the template, yet it doesn't show up on anyone's postbit |
djjeffa Installes
|
Nice hack. But I'm just curious, how do you add another level after RED (such, as Black)?. I've tried this:
// Limit The Stars if($post['stars'] >= 50){ $post['stars'] = 50; } // Get level if($post['stars'] >= 50){ $post['starsc']=$post['stars'] -50; $post['s_ext']="black"; if($post['stars'] >= 40){ $post['starsc']=$post['stars'] -40; $post['s_ext']="red"; But, obviously, it conflicts. Any suggestions?? I have some high posters.. |
Ok, Can I ask a question? How hard would it be to take out the stars and replace them with little keys? I have a site called www.keyhunt.com so I think it would fit :) Please help me.
Thanks Big Curt |
Change the gifs that reside in the /your forum/images/galaga directory. They're really small, you have to zoom in on them in Photoshop. Keep the names the same though, so you don't have to rewrite code.
|
For some reason the stars only show up to eachother. Can I make the stars visible to EVERYONE..like Everyone gets to see eachothers.
|
Quote:
|
I have the SAME problem. :(
|
I really hope this gets fixed. I don't want to uninstall this.
|
I have the same problem. Once someone hits 1001, the stars disappear. They come back, red, once you get into the thousands (I have 7900 posts, and have 9 red stars).
The math is kind of wrong here. Anyone have any ideas??? |
The math is not correct for some reason. You will get one grey star for people that go over a thousand posts, if you use "-9" instead of "-10" in the php file. I'll have to play with this for a bit...
|
Quote:
|
Quote:
|
Quote:
Galaga would be great, if it worked. |
Quote:
|
Great hack,
Installed without any problems. Good Stoof! |
The modification has been updated, it now works as it was intended too, sorry for any inconveniance.
- Zero Tolerance |
thanks ZT- it works great now!
|
Nice work and thanks, works a treat!
|
I am getting the following problem: yellow stars work, but if a user reaches 1000 posts or more, stars don't change color and they go back to 1 yellow star and stick with it.
So basically if you have 1000, 2000, 5000, or 9000 posts you only have 1 yellow star, they don't change color, they don't increase amount, nothing. If you have less than 1000 posts then yellow stars increase. This is the code i am using which is the one you specified in the install file: Code:
// ++++++++++++++++++++++++++++++++++++++++++ Any help would be greatly appreciated :) Thank you |
Anyone?
|
Let's say you had 2000 posts, which would be: 2,000, the script first strips comma's, leaving: 2000
Next this number is divided by 100, leaving: 20 Using the if/else statement, the final outcome is: $post['starsc'] equals 1 $post['s_ext'] equals green So you have 1 green star. I can't see the problem, i'm using the exact same code on my vb forum (3.0.7), and it's working as it should, perhaps something else you installed which collides with this? - Zero Tolerance |
All times are GMT. The time now is 12:30 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:
|