The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Please can sombody chance the code below that it wil work with 8 stars .. i try it but it don't work
quote: -------------------------------------------------------------------------------- Originally posted by furious i test it with the vbb2 beta 4 and it works edit showthread.php find : //$post[message].=$post[signature]; place below it : // --- Stars Hack by Furious $stars = ""; if ($post[usergroupid]==6 or $post[usergroupid]==5 or $post[usergroupid]==7 ) // admin, modo ou super modo { $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">'; } else // Enregistré { $starsgif_1 = '<img src="images/star1.gif">'; $starsgif_2 = '<img src="images/star2.gif">'; $starsgif_3 = '<img src="images/star3.gif">'; $starsgif_4 = '<img src="images/star4.gif">'; $starsgif_5 = '<img src="images/star5.gif">'; } if ($post[usergroupid]==6 or $post[usergroupid]==5 or $post[usergroupid]==7 ) { $stars .= $starsgif_1 . $starsgif_2 . $starsgif_3 . $starsgif_4 . $stargif_5; } elseif ($post[posts] > 400 ) { $stars .= $starsgif_1 . $starsgif_2 . $starsgif_3 . $starsgif_4 . stargif_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 edit posbit template 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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|