Results 1 to 15 of 77
Page 1 of 6
FirstFirst 1 2 3 ... LastLast

Thread: [Release v2] Stars v0.1.0 with new features!

Threaded View

  1. #1
    Senior Member tubedogg has disabled reputation tubedogg's Avatar
    Join Date
    Feb 2001
    Location
    Medina, OH
    Age
    28
    Posts
    13,647

    Bug Found & Fixed!

    Last Update 4.01.01 4:10 AM Eastern

    Important: I have fixed a slight bug found by Marl in stars.php. You need to do this:

    Find
    Code:
    $DB_site->query("INSERT INTO stars (starid,starlevel,minposts,starimg) VALUES (NULL,$starlevel,$minposts,$starimg)");
    And replace it with
    Code:
    $DB_site->query("INSERT INTO stars (starid,starlevel,minposts,starimg) VALUES (NULL,'$starlevel','$minposts','$starimg')");
    If you have not installed this hack yet, I have updated the zip file, so don't worry about this.

    Note: I forgot stars.php in the zip file the first time around. Sorry, my bad. It's there now!

    This is the hack that some of you were clamoring for over in my other Stars hack thread, so here it is. You can now specify a different star image per number of posts or per usergroup. You can also still specify a number of stars to give, and it is still integrated tightly with the vB Admin Control Panel. If you wish to upgrade to this version, there is a way to do that, and I will put that in the next post in this thread, as it requires different files than a full install.

    Please note: I will *not* support the other version of this hack (0.0.2) from now on, so please upgrade to (or install) this version.

    This hack is too detailed to list all the instructions in this thread, so please download the zip file and read the file called stars.txt in there.

    REMEMBER: If you are upgrading, go to the second post in this thread and upgrade from there!

    Hack version: 0.1.0

    Changes since last version: You can now set different images per level of posts/usergroup as well as the number of stars.

    For version: vBulletin v2 beta 3 (possibly beta 1 and beta 2, but it is untested with those versions).

    Files needed: stars.php, mysql.php

    Files to edit: stars.php (possibly), newthread.php, newreply.php, admin/misc.php, admin/index.php, admin/usergroup.php, register.php

    Templates to edit: postbit

    Instructions are in the zip file (the file called stars.txt).

    PLEASE backup your board before making any changes, and PLEASE be careful. I have tested this extensively, but I cannot guarantee it will work on your board. If you have problems, please post them in this thread and I will try to help you.

    PLEASE DO NOT contact me via ICQ, AIM, email, or PM to help you with this hack. Post your problem here - I will see your post and try to help you, and contact you via IM service if necessary.
    Last edited by Kier; Sun 15th Jul '01 at 11:35am.
     

  2. #2
    Senior Member tubedogg has disabled reputation tubedogg's Avatar
    Join Date
    Feb 2001
    Location
    Medina, OH
    Age
    28
    Posts
    13,647

    Upgrading to v0.1.0 from 0.0.1 or 0.0.2

    This is the upgrade file, to upgrade from v0.0.1 or v0.0.2. Please follow all instructions as found in the stars.txt file in the zip file. You will need to replace your stars.php file with the one found in the zip file, and you will need to run mysqlupgrade.php as well. Please backup your board first!
    Last edited by Kier; Sun 15th Jul '01 at 11:35am.
     

  3. #3
    Member marl is on a distinguished road
    Join Date
    Mar 2001
    Location
    Italy
    Age
    31
    Posts
    38
    that's great, i've only modified it to show mod stars only in forums where my users are actually moderators.

    thanks a lot, tubedogg
     

  4. #4
    Senior Member tubedogg has disabled reputation tubedogg's Avatar
    Join Date
    Feb 2001
    Location
    Medina, OH
    Age
    28
    Posts
    13,647
    If a lot of people would want that function (only showing mod stars in the forum where the user *is* a mod), I'll look into it. Anyone?
     

  5. #5
    Member marl is on a distinguished road
    Join Date
    Mar 2001
    Location
    Italy
    Age
    31
    Posts
    38
    i would like to have different color stars summing rather than being all of the same filename....

    eg..
    5posts-> star1.gif
    10posts->star2.gif


    so the user obtain
    star1.gif+star2.gif


    got the point?
     

  6. #6
    Member marl is on a distinguished road
    Join Date
    Mar 2001
    Location
    Italy
    Age
    31
    Posts
    38
    tube, i found a little bug in stars.php (0.1.0)

    changed this line:
    Code:
      $DB_site->query("INSERT INTO stars (starid,starlevel,minposts,starimg) VALUES (NULL,$starlevel,$minposts,$starimg)");
    to
    Code:
      $DB_site->query("INSERT INTO stars (starid,starlevel,minposts,starimg) VALUES (NULL,'$starlevel','$minposts','$starimg')");
    otherwise gives a db error.
     

  7. #7
    Senior Member tubedogg has disabled reputation tubedogg's Avatar
    Join Date
    Feb 2001
    Location
    Medina, OH
    Age
    28
    Posts
    13,647
    Yes you're right about that.

    I'll look into multiple images for the next version, after beta 4 is released.
    Last edited by tubedogg; Sun 1st Apr '01 at 5:06am.
     

  8. #8
    Senior Member tubedogg has disabled reputation tubedogg's Avatar
    Join Date
    Feb 2001
    Location
    Medina, OH
    Age
    28
    Posts
    13,647
    I have fixed the bug that Marl found, and the zip file is updated. The instructions are in both Marl's post and the first post in this thread for how to fix it if you already have installed this hack.
     

  9. #9
    Senior Member jojo85 is on a distinguished road
    Join Date
    Jan 2001
    Location
    FRANCE
    Age
    24
    Posts
    916
    WHERE CAN I SEE A DEMO?
    Best Regards,
    Geoffrey 'G3oW0RK' BALDET.
     

  10. #10
    Senior Member rebby is on a distinguished road rebby's Avatar
    Join Date
    Mar 2001
    Location
    Hugo, MN
    Age
    30
    Posts
    220
    Originally posted by jojo85
    WHERE CAN I SEE A DEMO?
    http://board.tubescan.com/
    Curt Rebelein, Junior
     

  11. #11
    Senior Member Raptor is on a distinguished road
    Join Date
    Jan 2001
    Posts
    177
    has anyone tested this on b4.1 ?

    and can you also do a php3 version please ?
    Proud owner of Vb @ http://digital-forums.com - the UK's largest Electronic Hacking Community & http://www.shopneo.co.uk the UK's fastest growing blank media company.
     

  12. #12
    Senior Member conan is on a distinguished road
    Join Date
    Sep 2000
    Posts
    389
    I guess it will work on 4.1, and just rename to .php3 should work fine!
     

  13. #13
    Senior Member tubedogg has disabled reputation tubedogg's Avatar
    Join Date
    Feb 2001
    Location
    Medina, OH
    Age
    28
    Posts
    13,647
    Actually board.tubescan.com uses a different star system. It is not this hack; I merely used user titles and used HTML in them. This is a completely different thing than that.

    I have not tested it with 4.1, I will do so shortly. However, there's no reason it shouldn't work. For a php3 version, just rename stars.php to stars.php3.
     

  14. #14
    Senior Member jojo85 is on a distinguished road
    Join Date
    Jan 2001
    Location
    FRANCE
    Age
    24
    Posts
    916
    Originally posted by tubedogg
    Actually board.tubescan.com uses a different star system. It is not this hack; I merely used user titles and used HTML in them. This is a completely different thing than that.

    .
    Ok,why?
    Best Regards,
    Geoffrey 'G3oW0RK' BALDET.
     

  15. #15
    New Member upgrader is on a distinguished road
    Join Date
    Feb 2001
    Posts
    14
    Originally posted by tubedogg
    I have not tested it with 4.1, I will do so shortly. However, there's no reason it shouldn't work. For a php3 version, just rename stars.php to stars.php3.
    Installed and tested OK on 4.1 last night, works a treat
     

Page 1 of 6
FirstFirst 1 2 3 ... LastLast

Similar Threads

  1. [Release v2] Stars v0.2.0
    By tubedogg in forum Releases: Version 2.x
    Replies: 251
    Last Post: Fri 26th Oct '01, 9:58pm
  2. [Release vb2.0.3] Stars Hack
    By weezle in forum Releases: Version 2.x
    Replies: 2
    Last Post: Mon 20th Aug '01, 1:40pm
  3. [RELEASE v3] Stars Hack.
    By NanoEntity in forum Releases: Version 2.x
    Replies: 15
    Last Post: Wed 4th Apr '01, 8:10am
  4. [release v2] my stars hack (adm/smod/mod/user)
    By marl in forum Releases: Version 2.x
    Replies: 15
    Last Post: Fri 30th Mar '01, 11:20pm

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