Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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

Version: 3.5.4 Rating:
Released: 04-15-2006 Last Update: Never Installs: 14
Uses Plugins Template Edits
Additional Files  
No support by the author.

I finally upgraded my vb2/vb3 stars hack to vB 3.5.

What does it do?
This extension will show stars under the username in the postbit. Depending on the number of posts the user has made it will show more or less stars.
You can specify at which number of posts the user gets a certain type of star.
Example. star levels are 3000,300,30,3 (default). If user X has 4278 posts, then this user X will have one 3000-star, four 300-stars, two 30-stars and 6 3-stars.
Take a look at the screenshots..

How to install?
Import the xml file
Upload the 4 star images in the zipfile (either one of the two star sets) to the folder images/stars/ (you will most likely need to create it)
Add the following html to your postbit or postbit_legacy template somewhere:

Code:
<div>$stars</div>
I suggest you put it directly after:

Code:
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>

How to use it?
If you installed it correctly the stars will show up in the postbit. You can specify the star levels and image names in the Admin CP. You can turn off the extension as well in the Admin CP on the options page.

Show Your Support

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

Comments
  #2  
Old 04-16-2006, 01:49 PM
sandrodz sandrodz is offline
 
Join Date: Mar 2006
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks nice, thanks
Reply With Quote
  #3  
Old 04-16-2006, 09:29 PM
toolblast's Avatar
toolblast toolblast is offline
 
Join Date: Mar 2004
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Having all those different levels of stars is confusing in my opinion.

Can you switch it so that there is only 1 line of stars from 1-5 stars, and the more posts, the more stars and the different the color of star?

So, say for example:

100 posts - 1 yellow star
500 posts - 2 yellow stars
800 posts - 3 yellow stars
1000 posts - 4 yellow stars

1100 posts - all stars are removed and replaced with 1 blue star
1500 posts - 2 blue stars
etc etc....

down to

10,000 posts - 5 red stars.

Something like that?
Reply With Quote
  #4  
Old 04-16-2006, 09:37 PM
Brent H's Avatar
Brent H Brent H is offline
 
Join Date: Sep 2004
Location: Phoenix, AZ
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just use the existing User Ranks feature if you want a single line.
Reply With Quote
  #5  
Old 04-17-2006, 02:35 PM
FlyingDutchman's Avatar
FlyingDutchman FlyingDutchman is offline
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

toolblast, Brent is right about this.

To clarify:
My extension basicly is an addition/replacement to the User Ranks system. Using the User Ranks system to accomplish the same functionality as my extension is probably possible, but if it is, it will require a lot of work to get it working...
Above all, my extension will work for any number of posts, it's not limited in any way.
Reply With Quote
  #6  
Old 04-25-2006, 02:40 PM
hypnoticpimp hypnoticpimp is offline
 
Join Date: Dec 2004
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there anyway to change the picture? like instead of a star, something else,
Reply With Quote
  #7  
Old 04-25-2006, 06:33 PM
firstrebel's Avatar
firstrebel firstrebel is offline
 
Join Date: Dec 2005
Location: West London
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think this is a better system than the standard 'Junior Member' etc. A lot of people don't like that. I will play around with this on my dev site.

Bob
Reply With Quote
  #8  
Old 04-25-2006, 08:58 PM
FlyingDutchman's Avatar
FlyingDutchman FlyingDutchman is offline
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hypnoticpimp
is there anyway to change the picture? like instead of a star, something else,
yes you can use any image you want, as long as they are gifs, you can upload them to the folder: images/stars
then you'll need to specify the names of the images in the admin cp under settings
Reply With Quote
  #9  
Old 04-25-2006, 09:36 PM
saba saba is offline
 
Join Date: Oct 2005
Location: Lebanon,Tripoli
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can u please make blue and sliver stars and black
Reply With Quote
  #10  
Old 08-31-2006, 10:31 PM
texasasl's Avatar
texasasl texasasl is offline
 
Join Date: Jul 2005
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really sorry I tried to install it but I am getting this error message when I am trying to import the xml file:

Quote:
Database error in vBulletin 3.5.3:

Invalid SQL:

INSERT INTO vb3_setting
(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
VALUES
(
'starsonoff',
'staroptions',
'1',
'1',
'free',
'yesno',
10,
0,
1,
'stars'
),
(
'starlevels',
'staroptions',
'3000,300,30,3',
'3000,300,30,3',
'free',
'',
20,
0,
1,
'stars'
),
(
'starcolors',
'staroptions',
'megastar,green,pink,yellow',
'megastar,green,pink,yellow',
'free',
'',
30,
0,
1,
'stars'
);

MySQL Error : Duplicate entry 'starsonoff' for key 1
Error Number : 1062
Date : Friday, September 1st 2006 @ 02:25:45 AM
Please note that I have also installed the previous version following exactly the guidelines but it was also false. That means even I entered all the required modifications I never saw any stars appearing.
Is there any way to help me or is there anyway to remove the older version and install the new one???
I will be really appreciated if somebody can help me. Thank you.
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 04:00 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.05016 seconds
  • Memory Usage 2,291KB
  • Queries Executed 23 (?)
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
  • (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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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