Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Galaga Hack v1 Details »»
Galaga Hack v1
Version: 1.0, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 11-25-2004 Last Update: 01-12-2005 Installs: 32
 
No support by the author.

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

Supporters / CoAuthors

Show Your Support

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

Comments
  #22  
Old 11-28-2004, 10:37 PM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #23  
Old 11-30-2004, 01:49 AM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #24  
Old 11-30-2004, 04:29 AM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #25  
Old 12-01-2004, 02:28 AM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason the stars only show up to eachother. Can I make the stars visible to EVERYONE..like Everyone gets to see eachothers.
Reply With Quote
  #26  
Old 12-01-2004, 11:41 AM
Snow's Avatar
Snow Snow is offline
 
Join Date: Jul 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by paulmjno
Yes, but they have made well over 100 postings... most have stars, but some (who are supposed to) don't...

For instance: one of my users has 2,010 posts... but has no stars.
I've got this same problem, users that have between 1000-1099 and 2000-2099 posts don't have a star, does anyone know how to fix this?
Reply With Quote
  #27  
Old 12-01-2004, 10:47 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the SAME problem.
Reply With Quote
  #28  
Old 12-03-2004, 05:01 PM
paulmjno paulmjno is offline
 
Join Date: Sep 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really hope this gets fixed. I don't want to uninstall this.
Reply With Quote
  #29  
Old 12-05-2004, 06:13 AM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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???
Reply With Quote
  #30  
Old 12-05-2004, 06:35 AM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #31  
Old 12-05-2004, 12:30 PM
paulmjno paulmjno is offline
 
Join Date: Sep 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by docvader
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...
I look forward to your findings...hope you can fix it.
Reply With Quote
Reply

Thread Tools

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 05:01 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.05247 seconds
  • Memory Usage 2,297KB
  • Queries Executed 26 (?)
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_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
  • (4)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
  • (11)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