vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Automatic Birthday Thread (https://vborg.vbsupport.ru/showthread.php?t=62613)

michael5472 03-01-2005 05:25 PM

Cheers mate a wicked mod :D

Michael2 03-05-2005 09:56 AM

Quote:

Originally Posted by Michael2
Thanks for the hack. Mine is not starting threads for everyone. It sometimes does but like today there are 5 people with birthdays and only four listed in the thread. Is there a reason it would exclude certain users? I'm running 3.0.3 and installed it per the instructions in the first post. Thanks in advance for any help. :)

Someone pointed out it's not including active members (people who have posted in the last several months). Any reason why?

Lionel 03-05-2005 10:01 AM

Sometimes I have 8-12 birthdays and it is posting and emailing info for 2 or 3 only.

Today, I've got 8 and it did not send or create. My board is busy, it has been 7 hours now. I even tried running the cron manually. Could it be because one of those members have a space in the name? that is the only thing I could see here.

Lionel 03-07-2005 03:19 AM

No matter what, even if there are 19 birthdays for 19 active users, that email and that thread gets created only for 4 people evry day.

ChurchMedia 03-07-2005 03:27 AM

Quote:

Originally Posted by Michael2
Someone pointed out it's not including active members (people who have posted in the last several months). Any reason why?

No, it's not about active users.....

It will only send out the email (and create the thread, name of person, etc.) for people who have agreed to accept emails from the admin. So unless you take that part of the code out, you'll never know how many people you'll get -- if any. It depends on each user's settings. Make sense?

Lionel 03-07-2005 03:38 AM

that makes sense, but that was so odd, never more than four.... always the magic four

ChurchMedia 03-07-2005 03:41 AM

Yeah, that's weird. You can take the part of the code out at the top about admin emails and see if that changes things.... Mine works fine... ???

Lionel 03-07-2005 03:56 AM

Hummm. I removed the code and ran the cron manually, I got a databse error. I put it back and did it again, this time I got 6 people out of 9. Did it a third time without changing anything, got 4 people again. Check users, they are all set to receive admin emails. I am using 3.07

Lionel 03-07-2005 04:07 AM

Fixed! Some usergroup id were excluded in the array....

atrljoe 03-11-2005 01:22 AM

Warning: main(./global.php): failed to open stream: No such file or directory in /home2/MYACCOUNT/public_html/forums/includes/cron/birthday.php on line 15

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/MYACCOUNT/public_html/forums/includes/cron/birthday.php on line 15

Any Ideas?


All times are GMT. The time now is 08:10 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.01277 seconds
  • Memory Usage 1,734KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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