vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Birthday Cake in postbits for all b-days for the week (https://vborg.vbsupport.ru/showthread.php?t=52897)

calldaffer 07-18-2003 10:14 AM

I'm all out of ideas here guys, can someone please give me a hand here. The code (hack) is working great except my registered members can't see it. Only mods and admins can. What do I need to change to make it to where everyone can see it?

Xelation 07-20-2003 11:15 PM

seeing that calldaffer has a problem I dont want to isntall it unless it works correctly

kristiesks 07-21-2003 03:35 AM

I installed it and it works like a charm. I installed the version where you see one image the week before the birthday, and then on the day of the actual birthday, you see a different image.

All of my members can see the week of image, but only moderators and admins can see the day of image.

I would love for this to be corrected too so that everyone can see the day of image =)

father max 09-01-2003 08:52 PM

it appears to be working fine for me on 2.3.0...joy!

thank you....

: )

patriciafrankie 09-26-2003 03:10 AM

Where does $bdaycake go?

LadyBeth 09-28-2003 09:22 PM

Can teh cake be added to more than just the user as they appear in the thread? Can the cake be added on the forum home where the birthday is announced? And can it show up in the calendar on the birthday of the person who is celebrating?

Elly 10-21-2003 11:43 AM

I changed the code to this

Code:


// Birthday cake in postbit
                for ($i = 0; $i <= 6; $i++) {
if ( substr($post[birthday],5) == vbdate('m-d',time()) ) {
  $bdaycake = " <img src='http://www.ultimaforce.net/asuka/kao/chirolp_cake.gif' border='0' align='absmiddle' alt='Its My Birhtday!!!'> ";
}
}
// END Birthday cake in postbit

and it seems to display the cake to all members on the day of their birthday ;)

Rezin 10-25-2003 02:45 AM

Does show birthdays need to be enabled for this to work?

The Matrix 7 11-23-2003 06:52 AM

How i can show the cake only on the birthday?

If i delete this code: for ($i = 0; $i <= 6; $i++) { ?

jjj0923 11-29-2003 10:09 AM

nice!


All times are GMT. The time now is 01:44 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
  • Page Generation 0.00968 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
  • (4)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