vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Zodiac Sign in the Postbit & elsewhere (https://vborg.vbsupport.ru/showthread.php?t=102269)

tippen 12-04-2005 10:00 PM

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']">
<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]

Ramsesx 12-05-2005 03:14 PM

nice idea, maybe I install it later, thanks

r6bbie 12-05-2005 03:24 PM

I would take it but it should show a picture not text

monstergamer 12-05-2005 03:29 PM

you can do this with custom profile fields

Alan @ CIT 12-05-2005 03:37 PM

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.

Cyricx 12-05-2005 03:52 PM

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 :)

Snake 12-05-2005 04:55 PM

This is kinda nice!

lanc3lot 12-05-2005 05:09 PM

Yes it should be better with images instead of text :)

Alan @ CIT 12-05-2005 06:22 PM

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.

Cyricx 12-05-2005 07:28 PM

http://www.entity.cc/ICONS/horoscope-icons.php

There ya go :)


All times are GMT. The time now is 11:08 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.01180 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete