The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
i test it with the vbb2 beta 4 and it works
edit showthread.php find : //$post[message].=$post[signature]; place below it : Code:
// --- Stars Hack
$stars = "";
if ($post[usergroupid]==6 or $post[usergroupid]==5 or $post[usergroupid]==7 ) // admin, modo ou super modo
{
$starsgif_1 = '<img src="{imagesfolder}/Admin1.gif">';
$starsgif_2 = '<img src="{imagesfolder}/Admin2.gif">';
$starsgif_3 = '<img src="{imagesfolder}/Admin3.gif">';
$starsgif_4 = '<img src="{imagesfolder}/Admin4.gif">';
$starsgif_5 = '<img src="{imagesfolder}/Admin5.gif">';
}
else // Enregistr?
{
$starsgif_1 = '<img src="{imagesfolder}/star1.gif">';
$starsgif_2 = '<img src="{imagesfolder}/star2.gif">';
$starsgif_3 = '<img src="{imagesfolder}/star3.gif">';
$starsgif_4 = '<img src="{imagesfolder}/star4.gif">';
$starsgif_5 = '<img src="{imagesfolder}/star5.gif">';
}
if ($post[usergroupid]==6 or $post[usergroupid]==5 or $post[usergroupid]==7 )
{ $stars .= $starsgif_1 . $starsgif_2 . $starsgif_3 . $starsgif_4. $starsgif_5; }
elseif ($post[posts] > 400 )
{ $stars .= $starsgif_1 . $starsgif_2 . $starsgif_3 . $starsgif_4. $starsgif_5; }
elseif ($post[posts] > 200 )
{ $stars .= $starsgif_1 . $starsgif_2 . $starsgif_3 . $starsgif_4; }
elseif ($post[posts] > 100 )
{ $stars .= $starsgif_1 . $starsgif_2 . $starsgif_3; }
elseif ($post[posts] > 50 )
{ $stars .= $starsgif_1 . $starsgif_2; }
else // ($post[posts] > 0)
{ $stars .= $starsgif_1; }
// --- Stars Hack End
find : <table width="100%" cellpadding="4" cellspacing="1" border="0"> <tr><td width="100%"> <a name="post$post[postid]"></a> $post[firstnewinsert] <normalfont><B>$post[username]</B></normalfont><br> and place below it : $stars<br> you can change the number of post for getting new stars, you can add much stars ... if admin, modo ou super modo change their title the hack still work Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
In the showthread template. i can't find there "//$post[message].=$post[signature]; "
i've looked very good but i can't find it! someone else? i hope so! I've been looking a whole time for a star hack! now I found one but I can't find that text ![]() Furious where can i find it exactly? or maybe someone else knows the answer? Johnny |
|
#3
|
|||
|
|||
|
not showthread template but showthread.php
|
|
#4
|
|||
|
|||
|
o do you mean that i don't must change it in the cp but on the file himself?
ok tnx! I hope that it works! Johnny |
|
#5
|
|||
|
|||
|
Ok I found showthread.php
But do you seriously know that it works? do you have the stars to on your own board? yes? what;s than the url of your board, than i can have al look at the stars ![]() GreetZ, Johnny |
|
#6
|
|||
|
|||
|
it works, im sure
i put pokemon for the stars |
|
#7
|
|||
|
|||
|
the url isn;t work
![]() but this: $starsgif_1 = '<img src="images/Admin1.gif">'; $starsgif_2 = '<img src="images/Admin2.gif">'; $starsgif_3 = '<img src="images/Admin3.gif">'; $starsgif_4 = '<img src="images/Admin4.gif">'; $starsgif_5 = '<img src="images/Admin5.gif">'; I don;t have those images on my server called admin1.gif can you maybe help me whit adding the hack! do you have ICQ, MSN or something? Johnny |
|
#8
|
|||
|
|||
|
i have icq
for the gif simply upload to the images folder the gif you want for admin1.gif ... my uin is 97138177 my host is down for the moment |
|
#9
|
|||
|
|||
|
I think you can easyly do it with html in usertitle.
|
|
#10
|
||||
|
||||
|
or you could try the stars hack in my sig.
ztsky is right, you could do stars with HTML in the title field, but it will be limited (the field is limited to 256 characters). |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|