Results 1 to 15 of 22
Page 1 of 2
FirstFirst 1 2 ... LastLast

Thread: star hacks for vbb2

  1. #1
    Member furious is on a distinguished road
    Join Date
    Apr 2001
    Posts
    30
    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
    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
    Last edited by furious; Sun 20th May '01 at 10:36am.
     

  2. #2
    Senior Member Johnny is on a distinguished road
    Join Date
    Feb 2001
    Location
    Netherlands
    Age
    24
    Posts
    108
    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. #3
    Member furious is on a distinguished road
    Join Date
    Apr 2001
    Posts
    30
    not showthread template but showthread.php
     

  4. #4
    Senior Member Johnny is on a distinguished road
    Join Date
    Feb 2001
    Location
    Netherlands
    Age
    24
    Posts
    108
    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. #5
    Senior Member Johnny is on a distinguished road
    Join Date
    Feb 2001
    Location
    Netherlands
    Age
    24
    Posts
    108
    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. #6
    Member furious is on a distinguished road
    Join Date
    Apr 2001
    Posts
    30
    it works, im sure
    i put pokemon for the stars
    Last edited by furious; Tue 17th Apr '01 at 11:35am.
     

  7. #7
    Senior Member Johnny is on a distinguished road
    Join Date
    Feb 2001
    Location
    Netherlands
    Age
    24
    Posts
    108
    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. #8
    Member furious is on a distinguished road
    Join Date
    Apr 2001
    Posts
    30
    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. #9
    Senior Member ztsky is on a distinguished road
    Join Date
    Mar 2001
    Age
    36
    Posts
    151
    I think you can easyly do it with html in usertitle.
     

  10. #10
    Senior Member tubedogg has disabled reputation tubedogg's Avatar
    Join Date
    Feb 2001
    Location
    Medina, OH
    Age
    28
    Posts
    13,647
    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).
     

  11. #11
    New Member Degen is on a distinguished road
    Join Date
    Apr 2001
    Posts
    11
    It works for me, but it's only showing 4 stars instead of 5 (I am logged in as an Administrator). Anyway to fix this?

    Thanks
     

  12. #12
    Member furious is on a distinguished road
    Join Date
    Apr 2001
    Posts
    30
    what vbb do you have?
     

  13. #13
    New Member Degen is on a distinguished road
    Join Date
    Apr 2001
    Posts
    11
    2.0.0 beta 2
     

  14. #14
    Senior Member Johnny is on a distinguished road
    Join Date
    Feb 2001
    Location
    Netherlands
    Age
    24
    Posts
    108
    How can I get than stars with using html in the usertitles?
    Is there a template for or something?
    if it is yes; what's the name of that template and what must be changed to get the stars!

    I only want that de admin and the moderators stars have!

    GreetZ,
    Johnny
     

  15. #15
    New Member ampario is on a distinguished road
    Join Date
    Apr 2001
    Age
    44
    Posts
    5
    Please can sombody chance the code below that it wil work with 8 stars .. i try it but it don't work



    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
     

Page 1 of 2
FirstFirst 1 2 ... LastLast

Similar Threads

  1. Ubb6 --> Vbb2.0
    By Bouddha in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 14
    Last Post: Fri 30th Mar '01, 12:11am
  2. 2 question for vbb2.3
    By thenewking in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 6
    Last Post: Fri 23rd Mar '01, 1:39pm
  3. Error with vBB2
    By k@mi in forum Pre beta 4.1 bugs
    Replies: 0
    Last Post: Tue 13th Feb '01, 10:52pm

Bookmarks

Posting Permissions

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts