Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Zodiac Sign in the Postbit & elsewhere Details »»
Zodiac Sign in the Postbit & elsewhere
Version: 1.2, by tippen tippen is offline
Developer Last Online: Apr 2006 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 12-04-2005 Last Update: 12-06-2005 Installs: 139
Uses Plugins Template Edits
 
No support by the author.

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']">
<div class="smallfont">$zodiacsign</div>
</if>
You can put this anywhere you like in the Postbit template. The users zodiac sign will be displayed whereever you put it.

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]

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 12-06-2005, 09:49 PM
tippen's Avatar
tippen tippen is offline
 
Join Date: May 2004
Location: Ottawa, Canada
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by silurius
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.
Ditto. It would be nice for it to be expanded to include Sun, Ascendant, Moon, & Chineese Zodiac.
Reply With Quote
  #33  
Old 12-07-2005, 07:28 AM
Alan @ CIT Alan @ CIT is offline
 
Join Date: Nov 2004
Location: South UK
Posts: 625
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #34  
Old 12-07-2005, 06:16 PM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alan @ CIT
Sorry, but I'm afraid I won't be adding other zodiac elements to this mod, such as Sun / Moon, or the Chineese Zodiac.
Understandable given the complexity. What about faking it with custom user fields? I already have the fields so how would you suggest I edit the postbit?
Reply With Quote
  #35  
Old 12-10-2005, 11:26 AM
tippen's Avatar
tippen tippen is offline
 
Join Date: May 2004
Location: Ottawa, Canada
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #36  
Old 12-10-2005, 01:57 PM
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Location: Georgia
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:ninja:
Reply With Quote
  #37  
Old 12-10-2005, 02:00 PM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Instructions for this suck! I quit!
Reply With Quote
  #38  
Old 12-10-2005, 02:36 PM
Alan @ CIT Alan @ CIT is offline
 
Join Date: Nov 2004
Location: South UK
Posts: 625
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #39  
Old 12-10-2005, 02:38 PM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #40  
Old 12-10-2005, 03:09 PM
tippen's Avatar
tippen tippen is offline
 
Join Date: May 2004
Location: Ottawa, Canada
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alan @ CIT
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
The problem only comes in with people born on the Cusps, like me. The Cusps are when the borders of two signs meet, ie. December 23rd is right between Sagitarius & Capricorn. Futhermore, a person cannot be born "just on the Cusp", because they are always in either the preceeding or succeeding sign. The only way to determine exactly which they were born on is by knowing the exact time & place of birth, and comparing the exact position of the Earth with the exact position of the constellations. www.astro.com does this. I don't believe that such functionality would be easy to emulate.

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.
Reply With Quote
  #41  
Old 12-10-2005, 03:22 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack and what's important, nice coding style too, bro
Installed.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04491 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete