vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Zodaic (https://vborg.vbsupport.ru/showthread.php?t=102251)

PennylessZ28 12-05-2005 03:51 AM

Zodaic
 
I'd like to see something simple, that just displays the zodic sign of a person in simple text in the member info based on what they have in birthday info.

Cancer << just like that, text, no pictures or fancy crap.

Cyricx 12-05-2005 12:36 PM

Use the profile field manager.

Setup a single selection menu

and in the options box list all 12 one on it's own line.

After you click save, look at the "field##"

Then go into your postbit tempalte and toss this

Code:

<div>Sign: $post[field##]</div>
Change the ## to whatever the number is for that field.

Heck you could even do images, but just naming the images EXACTLY what you name the fields even case sensitive and then create a folder named signs off of images. So you'll have..

images/signs/Cancer.gif

etc.

Then in the postbit do

Code:

<div><img src="images/signs/$post[field##].gif"></div>
I know it doesn't go off their birthdate and all, but heck, it'll work just the same ;)

Alan @ CIT 12-05-2005 02:46 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=102269" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=102269</a>

Cyricx 12-05-2005 02:57 PM

Nice :)


All times are GMT. The time now is 12:56 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.01956 seconds
  • Memory Usage 1,716KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete