Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Stars Hack Details »»
vB Stars Hack
Version: 1.00, by FlyingDutchman FlyingDutchman is offline
Developer Last Online: Feb 2009 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 03-22-2003 Last Update: Never Installs: 29
 
No support by the author.

What Does This Hack Do?: It adds stars to your postbit based on the number of posts you have. You earn a star by Y number of posts (you can set Y in the admin control panel).
For every 10 stars (that's 10 x Y posts) you get a other color star, for 10 other color stars you get another color star, etc, you see the point (i hope, or see screenshot ).
THIS IS NOT THE SAME AS THE OTHER STAR HACKS THAT ARE ALREADY AVAILABLE

Screenshots:
-Postbit
-Admin CP Options

Installation: Very easy
upload the images in the zip to your imagesfolder/stars/
when you have vbhacker, you can install this hack very easily with the included vbhacker install file...
also in the zip is a text file for manual installation (if you prefer that )
after you installed the hack, please set the options in the admin cp -> vb options -> vb star hack options or else this hack won't work!

Additional Info: This hack has been tested on 2.2.9 and on 2.3.0, but as the code is very simple and works almost fully on it's own, it should work 100% correct on 2.2.x (and lower even?) but i'm not here to test that

Update Info:
-[high]24 march 2003[/high] - new version! (v1.1) new features: more options see screenshots
currently there is no way of upgrading. You'll have to re-install the hack for now...
added a nice vbhacker install file for easy installation, also in the zip is a text file if you want to do it manual
-[high]23 march 2003[/high] - bug fixed. No idea where it came from! 0_o

Show Your Support

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

Comments
  #22  
Old 04-03-2003, 04:37 AM
SharronH SharronH is offline
 
Join Date: Mar 2003
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, which file is the "postbit" template? TIA
Reply With Quote
  #23  
Old 04-03-2003, 10:12 AM
TLfuRy TLfuRy is offline
 
Join Date: Jun 2002
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look under 'templates' in the admin cp (very bottom of the left menu).
Reply With Quote
  #24  
Old 04-03-2003, 04:02 PM
FlyingDutchman's Avatar
FlyingDutchman FlyingDutchman is offline
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
03-31-03 at 05:04 PM TLfuRy said this in Post #20
I like this hack, but I would like to change it slightly so that it only displays one row of stars. Say, 1 star for every 100 posts. I've messed around a little bit trying to do this, but haven't been able to get it to work properly. Any ideas? I'm not concerned with multiple color stars or anything.

Thanks.
with the hack installed, in the postbit template, find:

Code:
<smallfont>$post[usertitle]$stars[phatimage]$stars[greenimage]$stars[pinkimage]$stars[yellowimage]</smallfont><br><br>
REPLACE with:

Code:
<smallfont>$post[usertitle]$stars[greenimage]</smallfont><br><br>

now, in the vb options, set the 'Stars Hack Number' to 1...
enjoy (you can change the image, right one is: '3rd Star Image
')
(ok, this will still use all the code (some is useless now ) but i have no time at this moment, so this quick (and 100% working) fix will do i guess )
Reply With Quote
  #25  
Old 04-03-2003, 04:22 PM
TLfuRy TLfuRy is offline
 
Join Date: Jun 2002
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the reply. I tried what you said, but now the number of stars doens't really seem to have much relevance to their post count. I have users with 1 star that have over 4000 posts...and users with 1200 posts and 6 stars.

Did I do something wrong?
Reply With Quote
  #26  
Old 04-12-2003, 07:31 AM
JeffyJoe JeffyJoe is offline
 
Join Date: Oct 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack...

was messin around with the other ones - never could get them going right...
this one installed very easily using vbhacker
(I had to manually edit the postbit - due to different codes from my forum skin)
(yes I'm a newbie to this, but learning fast)
because of this (i think),,, I had to run the query's again as the vbstars options, didn't show up in my vb options...

now for a newbie question:

when I did this the vb stars options showed double.
how do I get rid of double options?

(i'm guessing it is just a matter of running another query, but I don't know what it should be)

here's a pic of my problem:
Reply With Quote
  #27  
Old 04-12-2003, 08:15 PM
FlyingDutchman's Avatar
FlyingDutchman FlyingDutchman is offline
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

edit admin/config.php and set $debug to 1

now you can edit the options in the admin cp (3 new links will show up)
i think you'll find your way around with this
if you don't, just tell me

(and don't forget to set $debug to 0 or anything again afterwards!!!!!)
Reply With Quote
  #28  
Old 04-17-2003, 05:34 PM
JeffyJoe JeffyJoe is offline
 
Join Date: Oct 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any Ideas?
Reply With Quote
  #29  
Old 05-17-2003, 03:19 PM
DeadBeat DeadBeat is offline
 
Join Date: Oct 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK I think I have everything installed correctly but in admin control panel I see the VB Stars Hack title but there are no options under it and i have it set to debug 1 ......

Any ideas?
Reply With Quote
  #30  
Old 06-04-2003, 05:27 PM
cYbercOsmOnauT's Avatar
cYbercOsmOnauT cYbercOsmOnauT is offline
 
Join Date: May 2003
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[x]installed

Nice nice Dutchman.. but why does it always say "The star image for the 1st star range, you earn..." in all ranges?

I translated your queries into german and attached the file here. Feel free to use it for the other german speakers who wants to install your great hack.
Reply With Quote
  #31  
Old 06-15-2003, 02:29 PM
bilco105 bilco105 is offline
 
Join Date: Jun 2003
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I just installed your mod. It shows up fine in the admin console. Yet when I look at someones post it isn't there

I followed the instructions to a "t"

Any ideas why it doesn't work
Reply With Quote
Reply


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 12:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07641 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
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_code
  • (1)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
  • (3)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