Announcement

Collapse
No announcement yet.

[RELEASE v2] Astrological Signs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [RELEASE v2] Astrological Signs

    LAST UPDATED 6.30.01 1:05 AM Eastern
    v0.2.0 Released - compatible with vBulletin 2.0.1
    ------------------------------------------------------------------------
    This hack adds the astrological sign of any user who has provided at least the month and date of their birth. It can be updated retroactively for all your current board members, and it works automatically for any new users. It displays the sign next to the user's birthday in their public profile, and between the Online Status icon and the Profile button in every post they make.

    This was requested and beta-tested by synx. It was in beta for approximately 5 minutes, which is what I think we should shoot for around here. (Before I get flamed, I'm JOKING! ). He also created the icons that are used in it. I can, however, assure you that I wrote all of the code, which is somewhat more than I can say for my star hack. Then I saw Marl's star hack, where he basically released Freddie's star hack as his, and I felt better, because I changed the code more than that. (Sorry, Marl, but I call em like I see em! )

    If you installed my star hack, there are certain instructions in this that are different. Watch out for them, as it may mean the difference between it working and you posting here.

    Without further ado, here it is. The instructions are, again, too long for posting, so they're in the zip file (sign.txt).

    For version: 2.0.1

    Files needed: mysql.php

    Files to edit: member.php, register.php, showthread.php, admin/misc.php

    Templates to create/edit: postbit_sign, postbit

    Instructions are in the zip file.

    Once again, PLEASE back everything up before installing this, as it does edit the user table.

    PLEASE follow the directions exactly. There are some steps that, if they aren't followed in the right order, may screw up your board.

    FEEDBACK WANTED! Likes/dislikes/modification requests all gladly accepted.

    PLEASE DO NOT PM me or contact me via AIM or email me for help with this hack. I WILL see your post here and try to help you. Thanks!

    Enjoy!
    Last edited by tubedogg; Sat 30th Jun '01, 7:24pm.

  • #2
    hey i like this one thanks

    isnt it better to create a chunk of code thatll calculate the sign on the fly, instead of adding a field to the user table? i mean, its not a big deal to process the code anyway. dunno about php substrings functions though.
    Radio and TV Player for vBulletin

    Comment


    • #3
      I hate it! ITS HORRIBLE!
      HA HA HA HA! j/k j/k

      The hack is great when ya read the instrusction and install correctly, ooops my bad! HA HA HA! I hate my icons, Im gunna change them and I will add there here.

      I added a small pop-up window when you click the sign, and the name of the sign in the user profile if anyone would like it just ask.

      My forums are here www.form-kaos.com/forum with all sorts of hacks on it.

      snyx
      MSN: [email protected] | MAIL: [email protected] | FOLIO: mholman.com

      Comment


      • #4
        Originally posted by Dream
        isnt it better to create a chunk of code thatll calculate the sign on the fly, instead of adding a field to the user table?
        I was going back and forth about that. I think, since it won't change (unless the user changes his/her birthday, and I've made an allowance for that), it makes more sense to have it stored, that way it only needs to determine it once, and from there it doesn't add anything - user.* is already in the query that gets pulled for showthread.php, so there's no additional queries, and the only thing added is the little bit of code to find out if the user's sign is blank in the DB.

        Could go either way.

        Comment


        • #5
          Very nice

          but how I can change it to run on my board, it is still vb115, and I dont want to convert it to vb2 until the final release of it.
          One of highly customized vBCMS used for news site.
          www.manshor.net

          Comment


          • #6
            v1.1.5 didn't do birthdays, did it? I don't think it did, and this relies on birthdays.

            Also, you should upgrade to 1.1.6 - there is a huge security hole in 1.1.5!

            Comment


            • #7
              I have birthday hack

              I installed birthday hack on my board. so can I do it????
              One of highly customized vBCMS used for news site.
              www.manshor.net

              Comment


              • #8
                IMPORTATNT NOTE!

                IMPORTANT NOTE! For those that installed this hack during the day today, you MUST upgrade as stated in the first post in this thread. I fixed a major bug and now everything should be working correctly.

                Thanks for using my hack!

                Comment


                • #9
                  SilverBoy:

                  I have never worked with v1.1.5 or 1.1.6, nor have i seen the birthday hack. Therefore I cannot tell you if it would work, nor can I tell you how to modify the code to make it work. If you would like to point me towards the code for the birthday hack, I can get a copy and of 1.1.5 and look at it.

                  Comment


                  • #10
                    take the hack

                    this is the birthday hack which iam using.
                    One of highly customized vBCMS used for news site.
                    www.manshor.net

                    Comment


                    • #11
                      Re: IMPORTATNT NOTE!

                      Originally posted by tubedogg
                      IMPORTANT NOTE! For those that installed this hack during the day today, you MUST upgrade as stated in the first post in this thread. I fixed a major bug and now everything should be working correctly.
                      Oh man.......thanks!

                      i was thinking that i did some mistakes installing it

                      '-_-

                      Comment


                      • #12
                        Re: *v0.0.2 Released* - Major Bug Fixed!

                        } else { $zay = "yaz"; }
                        in fact,this part didn't make any sense to me.. :?

                        Comment


                        • #13
                          Yeah I know. Coding at that hour of the morning (when you haven't been to bed yet) shouldn't be allowed!

                          Comment


                          • #14


                            i have another prob.
                            i'm virgo, and it properly detects my sign.....

                            any clues?

                            Comment


                            • #15
                              Huh? If it's right, what's the problem?

                              Comment

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