View Single Post
  #8  
Old 03-26-2009, 03:57 PM
Outrack Outrack is offline
 
Join Date: Aug 2007
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TigerC10
Sometimes it's the only thing that keeps people sane when they aren't paid to offer support. It also helps lessons stick, for example I used to spell "ridiculous" incorrectly as "rediculous". I always made that mistake until a friend of mine made fun of me by saying "yellowiculous, blueiculous, greeniculous". Since that humiliation, I haven't spelled the word incorrectly.
I fail to see how being rude is a justifiable way of retaining one's sanity, and I didn't come here seeking a misguided lecture. Whatever your intention, I'd rather focus on my initial objective of finding solutions to my problems.

Quote:
Originally Posted by Lynne
When I read your first post, I thought the same thing TigerC10 thought - that you just wanted to put birthdays on the calendar. Sometimes it helps to be a bit more verbose to let us know that you have already tried certain things.
Alright... Apologies for not elaborating much, I won't make that mistake again.

What I'm looking to do is have Birthdays appear on the Yearly calendar view in the same way that events appear, and display a link back to that specific day (/calendar.php?do=getinfo&day=date&c=1). I'm sure this can be done with a simple if/else statement, but I'm not sure exactly what to reference - vBadvanced offers this feature on the mini-calendar, but I couldn't find anything in the template that could help (adv_portal_calendar_day and calendar_smallmonth_day are virtually identical, so I genuinely have no idea what triggers it).

For adding celebrity birthdates, I'm looking for a way to create another entry under "Add New Event" that would be similar to the Recurring Events structure, but offer an annual counter attached to entries (like normal birthdays). Events already allow for backdated entries, so I figured this would be relatively easy to add as most of what's needed is already available... It goes a bit beyond the scope of my knowledge though, so I'm not sure if I'm oversimplifying it - if so, would it be possible to just convert the Recurring Event feature to handle this? I'm hoping this can be done through a few simple template edits, though if the addition would be more suited to the mod request area, please let me know.

I read through the Calendars segment on the Manual, but can't find anything that helps - I'm afraid I don't know how to effectively use the API, though I'll persist and see what I can do... Any help or guidance on the best way to structure it in the interim would be greatly appreciated.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01203 seconds
  • Memory Usage 1,770KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete