View Full Version : Stars Hack vb228
kuwaitsun
12-29-2002, 05:49 AM
Hi
Please could any body tell me how can i get the stars hack for VB 2.2.8
A.S.A.P
I have the stars for 2.2.5 but it couldn't worked in my forum (228)
Regards :::
kuwaitsun
03-20-2003, 11:16 AM
No One Want to help me :(
grog6
03-20-2003, 11:40 AM
Star hacks works well on a v2.2.8 ;) and even on a 2.3.0 ;)
i've made a starhack myself.
Just add: <br><img src="file_2_stars.jpg"> in the back of the group title.
It works perfectly!
FlyingDutchman
03-21-2003, 10:38 AM
Today at 10:50 AM flup said this in Post #4 (https://vborg.vbsupport.ru/showthread.php?postid=370474#post370474)
i've made a starhack myself.
Just add: <br><img src="file_2_stars.jpg"> in the back of the group title.
It works perfectly!
i think this is not really what he wants... i think he wants stars based upon the user's post count...
;)
Lesane
03-21-2003, 02:53 PM
You can use this simple stars addon if you want, it works perfect on my forum:
Find in functions.php:
eval("\$post[buddy] = \"".gettemplate("postbit_buddy")."\";");
Add after it:
if ($post[posts]<30) {
$post[stars] = "<img src=\"images/stars/1.gif\" border=\"0\">";
} elseif ($post[posts]<100) {
$post[stars] = "<img src=\"images/stars/2.gif\" border=\"0\"><img src=\"images/stars/2.gif\" border=\"0\">";
} elseif ($post[posts]<250) {
$post[stars] = "<img src=\"images/stars/3.gif\" border=\"0\"><img src=\"images/stars/3.gif\" border=\"0\"><img src=\"images/stars/3.gif\" border=\"0\">";
} elseif ($post[posts]<500) {
$post[stars] = "<img src=\"images/stars/4.gif\" border=\"0\"><img src=\"images/stars/4.gif\" border=\"0\"><img src=\"images/stars/4.gif\" border=\"0\"><img src=\"images/stars/4.gif\" border=\"0\">";
} elseif ($post[posts]<1000) {
$post[stars] = "<img src=\"images/stars/5.gif\" border=\"0\"><img src=\"images/stars/5.gif\" border=\"0\"><img src=\"images/stars/5.gif\" border=\"0\"><img src=\"images/stars/5.gif\" border=\"0\"><img src=\"images/stars/5.gif\" border=\"0\">";
} elseif ($post[posts]<2000) {
$post[stars] = "<img src=\"images/stars/6.gif\" border=\"0\"><img src=\"images/stars/6.gif\" border=\"0\"><img src=\"images/stars/6.gif\" border=\"0\"><img src=\"images/stars/6.gif\" border=\"0\"><img src=\"images/stars/6.gif\" border=\"0\"><img src=\"images/stars/6.gif\" border=\"0\">";
} elseif ($post[posts]>2000) {
$post[stars] = "<img src=\"images/stars/7.gif\" border=\"0\"><img src=\"images/stars/7.gif\" border=\"0\"><img src=\"images/stars/7.gif\" border=\"0\"><img src=\"images/stars/7.gif\" border=\"0\"><img src=\"images/stars/7.gif\" border=\"0\"><img src=\"images/stars/7.gif\" border=\"0\"><img src=\"images/stars/7.gif\" border=\"0\">";
}
You need to edit the path to the stars images though. And you could also edit the post amounts wich the user must have to display the stars.
Then you can put $post[stars] in your postbit to show the stars.
Today at 12:38 PM FlyingDutchman said this in Post #5 (https://vborg.vbsupport.ru/showthread.php?postid=370564#post370564)
i think this is not really what he wants... i think he wants stars based upon the user's post count...
;)
Well, usertitles are based on postcount!
Aren't they?
Think bfore answer ;)
EvilLS1
03-22-2003, 12:57 AM
Yesterday at 05:48 PM flup said this in Post #7 (https://vborg.vbsupport.ru/showthread.php?postid=370772#post370772)
Well, usertitles are based on postcount!
Aren't they?
Think bfore answer ;)
That won't work if you allow your users to set custom titles. ;)
I use a simple little hack thats similar to the one Lesane posted and it works perfectly for rank images.
Ok that way your correct.
I use my "hack" [-> Custum Usertitles ;)] cause i don't have
custom usertitles enabled :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.