The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#2
|
|||
|
|||
well? i know someone out there can help me pleaz?
|
#3
|
|||
|
|||
It was right on the front page of vBulletin.org:
http://www.vbulletin.org/hacks/hacks...=gethack&id=38 |
#4
|
||||
|
||||
Actually that hack was for vB1.1.4. However try taking a look in the releases forum here...
|
#5
|
|||
|
|||
I modified the starhack 1.1.4 code to work with vB 2.0.3
Insert the bold code starting at line 164 of functions.php in the admin/directory (this code should be inside getpostbit()) Code:
if ($post[customtitle]==2) { $post[usertitle] = htmlspecialchars($post[usertitle]); } //START STARHACK! if ($post[usertitle]=="Administrator") { $post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0><img src=\"images/star3.gif\" border=0><img src=\"images/star4.gif\" border=0><img src=\"images/star5.gif\" border=0>"; } elseif ($post[usertitle]=="Super Moderator") { $post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0><img src=\"images/star3.gif\" border=0><img src=\"images/star4.gif\" border=0><img src=\"images/star5.gif\" border=0>"; } elseif ($post[posts]>300) { $post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0><img src=\"images/star3.gif\" border=0><img src=\"images/star4.gif\" border=0>"; } elseif ($post[posts]>150) { $post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0><img src=\"images/star3.gif\" border=0>"; } elseif ($post[posts]>75) { $post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0>"; } elseif ($post[posts]>37) { $post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0>"; } else { $post[usertitle] = $post[usertitle]; } //END STARHACK! $jointime = (time() - $post[joindate]) / 86400; // Days Joined if ($jointime < 1) { // User has been a member for less than one day. $postsperday = "$post[posts]"; } else { $postsperday = sprintf("%.2f",($post[posts] / $jointime)); } You have to download starhack from the link I posted to get the images... -Dennis |
#6
|
|||
|
|||
thnx dude it works perfect!!! you rule... now i just need some non blinkin stars >.< http://forums.twistedanime.net to see it!!
thnx again ^_^ |
#7
|
|||
|
|||
Hmzz don't work good .. at my forum some admins have 4 stars .. but some super moderators having 5 stars .. .LOL that is ****ty ..
|
#8
|
|||
|
|||
Do they have the appropriate user titles? If not, then just change the code.
|
#9
|
|||
|
|||
Hmzz don't know I just put that code that U have written UP THERE
if ($post[customtitle]==2) { $post[usertitle] = htmlspecialchars($post[usertitle]); } //START STARHACK! if ($post[usertitle]=="Administrator") { $post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0><img src=\"images/star3.gif\" border=0><img src=\"images/star4.gif\" border=0><img src=\"images/star5.gif\" border=0>"; } elseif ($post[usertitle]=="Super Moderator") { $post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0><img src=\"images/star3.gif\" border=0><img src=\"images/star4.gif\" border=0><img src=\"images/star5.gif\" border=0>"; } elseif ($post[posts]>300) { $post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0><img src=\"images/star3.gif\" border=0><img src=\"images/star4.gif\" border=0>"; } elseif ($post[posts]>150) { $post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0><img src=\"images/star3.gif\" border=0>"; } elseif ($post[posts]>75) { $post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0><img src=\"images/star2.gif\" border=0>"; } elseif ($post[posts]>37) { $post[usertitle]="$post[usertitle]<br><img src=\"images/star1.gif\" border=0>"; } else { $post[usertitle] = $post[usertitle]; } //END STARHACK! $jointime = (time() - $post[joindate]) / 86400; // Days Joined if ($jointime < 1) { // User has been a member for less than one day. $postsperday = "$post[posts]"; } else { $postsperday = sprintf("%.2f",($post[posts] / $jointime)); } |
#10
|
|||
|
|||
I meant, are the administrators labeled "Administrator" or are they like "Boss man"(or whatever)?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|