![]() |
Zodiac Sign in the Postbit & elsewhere
Credits
- Alan @ CIT for developing this mod initally - This thread for requesting this concept. What does this do? If the user has their birthday set then this will display their Zodiac Sign on the postbit & memberinfo. Installation Install the attached Product XML as normal, then add the following to the Postbit template AND the Memberinfo template (if you want it to appear there). Code:
<if condition="$show['zodiacsign']"> Options This mod comes with 2 options. They can be found in vBulletin Options, under Zodiac Signs. The first one turns displaying of the zodiac sign on and off, and the second one adds a prefix of "Zodiac Sign: " to the users sign. Changelog Version 1.2: Fixed a typo in a phrase name Version 1.1: Fixed a bug and added profile support Version 1.0: Initial Release As usual, any comments / suggestions / questions / complaints, please let me know :) On-going Development - Chinese Zodiac - Basic versus Advanced style Babylonian Zodiac Sun Sign - Babylonian Zodiac Moon Sign - Babylonian Zodiac Ascendant Sign [I]Update: Tinkering along slowly. New goal: March 1st./I] |
nice idea, maybe I install it later, thanks
|
I would take it but it should show a picture not text
|
you can do this with custom profile fields
|
r6bbie: It was done without a picture as it was done on request - the request thread clearly stated that they didn't need / want a picture.
|
I think he was just trying to give you an idea for an improvement ;)
Perhaps adding a third option that did an img src. I'm sure someone has some free horoscope icons we can snag for it :) |
This is kinda nice!
|
Yes it should be better with images instead of text :)
|
Can someone point me towards some zodiac images please? (need to be ones that are public-domain without usage restrictions) :)
Once I've got some images, I'll add an option to display an image. |
|
I can't use them unfortunatly, as that site only allows you to use them for Personal Use Only. I need ones that are in the public domain, so that anyone can use them for anything :)
|
Thanks!
|
Ah bugger, I see what you mean :)
I'll keep peeking around :) |
Did I do something wrong?
Everyone's Zodiac sign is showing up as my sign. You can't view what the other member's signs are. Shouldn't their own sign be showing? |
Quote:
same here.. showing as my sign not the users.. Can we get a fix please |
Quote:
Edit the plugin. Replace the first few lines with: PHP Code:
[edit] See attached xml for complete patched plugin. |
Thank you tippen........worked like a charm!
|
I would like this code be placed in memberinfo to show it there also?
Code:
<if condition="$show['zodiacsign']"> |
Quote:
[edit] I can't figure this out just now. Sorry! I know where to put the hook, but I'm not familar with anything vb3.5 as I JUST (as in 20 minutes ago) bought it. |
*installed* thankyou
|
i can't view Zodiac Sign in postbit....
why? :disappointed: |
Version 1.1 has been released which fixes the bug mentioned above, and adds support for showing the Zodiac Sign in the members profile. Make the same template edit to the MEMBERINFO template to add profile support (see release post).
Any problems / comments / suggestiosn / complaints, please let me know :) |
1. Is this fully phrased? I'm AAAAAAAAAALLLLLLLL over it if it is (I have a forum for astronomy stuff on my forums :D). If not PLEASE PLEASE can you phrase it? Multi-language forums will be very grateful (ahem!) :D
2. Microsoft's site actually has free animated gifs (and regular ones) for all the constellations/zodiac. believe it or not...some are actually pretty good. :) http://office.microsoft.com/clipart/...Query=zodiac#0 take your pick :) << waits for phraes with finger on anxiously on INSTALL button. :) |
Would love with images. I can create them by sat. For this hack.
|
GrendelKhan{TSU: Yep, it is fully phrased. For people translating, the phrases it uses are:
Code:
Global Phrases: Code:
setting_zodiac_display_desc |
Unfortunatly, I cannot use the images from the Microsoft link you provided - their Licence Agreement for the images states that I cannot re-distribute them.
I may just add the ability to use images, and let the forum admin provide them. That could be easier. |
anyone interest italian zodiac xml file?
Eccolo qua: |
Bug#2: A member with the birthdate 25 November 1988 gets a Zodiac sign of " " (null). I may trace code later, if someone else doesn't.
|
Quote:
Thanks FF! |
Excellent. I will click Install even though I can't use it in its current form.
The minimum I'd need to use would be the option to specify either sun sign or ascendant or both. Some of my members would also want to see Chinese horoscope and other systems as well but the sun/ascendant option would be a great start for me. And images, of course. |
Quote:
|
Version 1.2 has been released which fixes a bug in the phrase "sagittarious", causing it not to appear.
Sorry, but I'm afraid I won't be adding other zodiac elements to this mod, such as Sun / Moon, or the Chineese Zodiac. Thanks, Alan. |
Quote:
|
Possible Bug!
(I thought that I posted this earlier, but it seems not) A user on my forums has the birthdate "November 25, 1988" set, and it shows up perfectly in memberinfo. The problem is that her zodiac sign in postbit has no value (ie. it is simply blank). I think that this may be a problem with the code. Re: Chinese Zodiac See this... http://www.china-on-site.com/flexphpsite/downloads.html They have a Chinese zodiac script that converts the Gergorian date into the Chineese one. Re: Accuracy of Current Script I am also trying to find a more accurate zodiac script that accounts for the variation in the periods of the signs, due to the length of one year's accordance with solar revolutions. I.e. Dec 23, 1989 should be Capricorn; while Dec 23, 1985 should be Saggitarius (I thinkth). No offense to the author. |
:ninja:
|
Instructions for this suck! I quit!
|
Master: There are only 2 things needed to install, 1) Install the product XML, 2) make the template edit - which of those 2 "suck" ?
Flow: Many thanks for the PSD mate, I'll take a look at integrating them next week. Tippen: Thanks for the bug report, I'll look into it next week :) Also, if you can find me some info on the variations you mentioned, I'll adjust this script to work with them. My knowledge of the zodiac is zero, so when creating it I just copied the Signs / Dates out of the horoscope section of the newspaper :D |
well I install the product and placed the coding in my 2 templates in the contact info (memberinfo) and before my thanks hack in the postbit and nothing.
|
Quote:
Maybe an override option would be handy: so that persons born on a different side of the cusp could override the script's guess. I'm not sure though, as a lot of users probably would be confused by the description text for such an option. Alternatively, it could be made an Admin Feature, but that becomes an annoying amount of work for admins, at times. *shrugs* The Chineese zodiac is sooo much easier. :) [edit] I suppose that they could be labeled Sagitarius-Capricorn Cusps, etc. But then you would also have to break every sign into the recognized three periods: each week of each sign is considered a period. In this fashion, each sign has three periods, plus a cusp; ie. LeoI, LeoII, LeoIII, Leo-Vigro Cusp. This is a much more accurate way of looking at the zodiac, because LeoIs are almost completely different from Leo-Virgo Cusps. A great resource for generally-accurate dates is: http://www.lesfemmescafe.com/horoscopeprofile.html I am working on the code that would determine sign & period (incl. cusps), as I mentioned. I'll post it here for your use -- if you'd like -- when I am done. :) |
Nice hack and what's important, nice coding style too, bro :)
Installed. |
All times are GMT. The time now is 06:47 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|