Version: , by tubedogg
Developer Last Online: Dec 2016
Version: 2.0.x
Rating:
Released: 03-29-2001
Last Update: Never
Installs: 3
No support by the author.
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!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
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.
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.
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.
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.
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.