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)
-   -   Automatic Greeting Email/PM/Threads for Member Birthdays (https://vborg.vbsupport.ru/showthread.php?t=39663)

Kars10 12-05-2002 09:56 AM

Cool Hack!!
Thanks Logician!!
/me klicks installed!

Littlebit 12-05-2002 10:07 PM

Hi guys,
I want to double check...if I'm in time zone -5 and my server is -7, I enter -2 in the $timeset ?
Thank you for sharing a great hack btw!

Logician 12-06-2002 08:59 AM

Quote:

Originally posted by Littlebit
Hi guys,
I want to double check...if I'm in time zone -5 and my server is -7, I enter -2 in the $timeset ?
Thank you for sharing a great hack btw!

if you set it to 0, greetings will be sent close to 12:00 AM server Time. If it's +1, it's 1:00 AM server time. According to this rule, you can set whatever you like.. ;)

Littlebit 12-06-2002 01:26 PM

so if I have it at -2 it will just send them out a bit early? maybe I should just leave it at 0 huh :)

Logician 12-06-2002 02:16 PM

it depends according to which time zone (yours? server?) you want the hack to run and at what time exactly.

If you leave it as 0, it will run close to 00:00 AM server time and 2:00 AM your time..

it's your call anyway..

Littlebit 12-06-2002 05:50 PM

I understand now :) I was thinking too hard about it. lol

over 12-19-2002 12:49 PM

nice work.

Okiewan 12-30-2002 05:30 AM

Very cool hack Logician!
Question about the .wav hack... installed and tested, plays, but it loops continuously and each time the forumhome is visited. ?

Logician 12-30-2002 07:58 AM

Quote:

Originally posted by Okiewan
Very cool hack Logician!
Question about the .wav hack... installed and tested, plays, but it loops continuously

Looping should be a browser issue. For Internet Explorer (4+) "PLAYCOUNT=1" commands makes sure it play once. For Netscape "LOOP=2" does the same. So using both should ensure it plays once in both Netscape and IE. I remember I had tested it before releasing and it was playing once here. But if you have another browser like Opera or Mozilla (or different versions of IE, Netscape), I don't know how they'd behave.

Quote:

and each time the forumhome is visited. ?
Yes that's true. Unfortunately there is no easy way for the script to know it already played the song for this user before, so it plays in every visit of forum home if day is user's birthday..

gopherhockey 01-13-2003 04:20 AM

I had a strange thing happen to me tonight. I installed the hack on my Windows 2k test server (an offline server I use to test hacks before putting them on my public server - both are identical, but one is on win2k and one is on freebsd).

Anyway - I installed the hack, did all the sql stuff, date verified etc. - I did this around 11:30pm.. so, I only had to wait 30 minutes and figured maybe something would happen.

Sure enough, I got a popup, a ton of PMs, and a TON of forum posts. This on a forum with only 50 some odd users.

What happened was that a message was generated to EVERY user and a forum message was also posted for every user.

What could have caused this? What a mess - boy, I'm glad I don't have that many users yet, even on my test system. I'm concerned that I had it set to option 6 and some emails may have also been generated - even on my test system, they would have gone out (confused users tomorrow)

What could cause this? I do'nt want to post this on my production system until I figure this out.

I verified the date I put in my sql query and it was accurate...

Hmmm...

?

Just FYI: I'm running version 2.2.9 in case that matters. Also, here is one of the Greeting Reports:

-----------
Daily Birthday Greetings Report
Birthdays for day (2002-09-22) celebrated at January 13, 2003, 12:00 am (Server Time)

Members who have birthday:

* ShaneK(30)1972-09-22 [Email Sent] [Thread Created]

Thread : http://www.devserver.com/forums/show...p?threadid=103

----------------------------------
Logician Auto Email/PM Birthday Greeting Hack


All times are GMT. The time now is 09:32 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.01276 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_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