[Release v2] Stars v0.2.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tubedogg
    Senior Member
    • Feb 2001
    • 13602

    [Release v2] Stars v0.2.0

    Thanks to Bane there has been a complete reworking of the installation/instructions for this hack. It is now up to date for 2.0.3 and the installer runs exactly like the vB install/upgrade scripts do.

    There is no demo as I don't currently use stars on my board.

    For version: 2.0.3

    Files needed: stars.php

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

    Templates to edit: postbit

    Instructions: Upload install_starshack.php and stars.php to your admin directory. Go to example.com/admin/install_starshack.php and login, then follow the on-screen instructions.

    Upgrade information: If you have previously installed the stars hack, make sure you choose the "upgrade" option on the screen mentioned in the instructions. If you have previously installed this version (using install_starshack.php), you MUST STILL use the upgrade option even if you are reinstalling or you will get database errors.

    This hack is © 2001 Kevin Schumacher and may not be redistributed, modified or not, without prior permission.

    Please DO NOT contact me via AIM, ICQ, PM, or email about this hack. Post your question/problem here and I will try to help you.

    Feedback appreciated.
    Last edited by tubedogg; Thu 13 Sep '01, 1:49am.
  • AnnaFan
    Member
    • May 2001
    • 63
    • 3.5.x

    #2
    Thanx man,

    I hope this works

    Comment

    • AnnaFan
      Member
      • May 2001
      • 63
      • 3.5.x

      #3
      Hi tubedogg,

      what does this mean:

      ****In the postbit _template_****
      **Find
      <smallfont>$post[usertitle]</smallfont><br>
      **Replace it with
      <smallfont>$post[usertitle]</smallfont><br>$post[stars]<br>

      I have not any file which is called postbit. Can you say me where to find this file (admin?). There is only a file which is called template.php in the admin directory.

      Comment

      • freehtml
        Senior Member
        • Apr 2001
        • 360
        • 4.1.x

        #4
        I can't find the code in my register.php

        Code:
        $DB_site->query("INSERT INTO user (userid,username,password,email,".$newstylefield."parentemail,coppauser,homepage,icq,aim,yahoo,signature,adminemail,showemail,invisible,usertitle,joindate,cookieuser,daysprune,lastvisit,lastactivity,usergroupid,timezoneoffset,emailnotification,receivepm,emailonpm,showsignatures,birthday,maxposts,startofweek,ipaddress,pmpopup,referrerid,nosessionhash)
        can its too long to post the register.php over here
        iHu6.com (BETA) - www.ihu6.com

        Comment

        • freehtml
          Senior Member
          • Apr 2001
          • 360
          • 4.1.x

          #5
          Originally posted by AnnaFan
          Hi tubedogg,

          what does this mean:

          ****In the postbit _template_****
          **Find
          <smallfont>$post[usertitle]</smallfont><br>
          **Replace it with
          <smallfont>$post[usertitle]</smallfont><br>$post[stars]<br>

          I have not any file which is called postbit. Can you say me where to find this file (admin?). There is only a file which is called template.php in the admin directory.
          Go to your CP > Templates > Edit > Default > Postbit Templates > Postbit

          Then modify as the code above..
          iHu6.com (BETA) - www.ihu6.com

          Comment

          • AnnaFan
            Member
            • May 2001
            • 63
            • 3.5.x

            #6
            thanx freehtml

            Comment

            • AnnaFan
              Member
              • May 2001
              • 63
              • 3.5.x

              #7
              Originally posted by freehtml
              I can't find the code in my register.php

              Code:
              $DB_site->query("INSERT INTO user (userid,username,password,email,".$newstylefield."parentemail,coppauser,homepage,icq,aim,yahoo,signature,adminemail,showemail,invisible,usertitle,joindate,cookieuser,daysprune,lastvisit,lastactivity,usergroupid,timezoneoffset,emailnotification,receivepm,emailonpm,showsignatures,birthday,maxposts,startofweek,ipaddress,pmpopup,referrerid,nosessionhash)
              can its too long to post the register.php over here
              Hi freehtml,

              I have no problems to change the code in my register.php. Which Version do you have?

              Comment

              • AnnaFan
                Member
                • May 2001
                • 63
                • 3.5.x

                #8
                Hi,

                I changed everything successful but when I try to edit the stars for the user groups I have this error:

                There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

                An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

                We apologise for any inconvenience.

                This error is shown nearly on everything in the cp

                Comment

                • freehtml
                  Senior Member
                  • Apr 2001
                  • 360
                  • 4.1.x

                  #9
                  Originally posted by AnnaFan


                  Hi freehtml,

                  I have no problems to change the code in my register.php. Which Version do you have?
                  Hi,

                  I am using vBulletin 2.0.0 final....

                  Can send me ur register.php??
                  iHu6.com (BETA) - www.ihu6.com

                  Comment

                  • AnnaFan
                    Member
                    • May 2001
                    • 63
                    • 3.5.x

                    #10
                    Hi tubedogg,

                    works fine so good!! But I have an error when I want to make a new thread =>

                    Parse error: parse error in newthread.php on line 265

                    I think there is something wrong. Can you fix it please?

                    Comment

                    • tubedogg
                      Senior Member
                      • Feb 2001
                      • 13602

                      #11
                      Originally posted by AnnaFan
                      There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

                      An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

                      We apologise for any inconvenience.

                      This error is shown nearly on everything in the cp
                      Can you view the source of the error page and copy and paste it here? Or copy and paste the email you should have received?
                      Last edited by tubedogg; Sun 3 Jun '01, 7:29am.

                      Comment

                      • tubedogg
                        Senior Member
                        • Feb 2001
                        • 13602

                        #12
                        Originally posted by AnnaFan
                        Parse error: parse error in newthread.php on line 265
                        I can't get this thing to post the code directly, so download the attached file and make the changes noted in it and let me know if that helps.
                        Last edited by tubedogg; Sun 3 Jun '01, 7:38am.

                        Comment

                        • WEAPON
                          New Member
                          • May 2000
                          • 27

                          #13
                          Could you make it so that different levels can have different color stars instead of all of them having the same color stars and all that changes is the number?

                          Comment

                          • tubedogg
                            Senior Member
                            • Feb 2001
                            • 13602

                            #14
                            Originally posted by WEAPON
                            Could you make it so that different levels can have different color stars instead of all of them having the same color stars and all that changes is the number?
                            This is already possible...change the "Star Image" for each level. You cannot make one level have 5 different color stars, but each level can have a different color star.

                            Also you could create one image that had multiple different color stars, and assign that image to be displayed once for a certain level - wallah, a bunch of different color stars for one level.

                            Comment

                            • AnnaFan
                              Member
                              • May 2001
                              • 63
                              • 3.5.x

                              #15
                              Hi tubedogg,

                              great job man! Everything works fine now! Thanx.

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...