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)

CallieJo 05-15-2005 03:32 PM

Quote:

Originally Posted by Lionel
Fixed! Some usergroup id were excluded in the array....

The array in birthday.php right?
Like this?
PHP Code:

    if ($usergroup['genericoptions'] & SHOWBIRTHDAY AND !in_array($usergroup['usergroupid'], array(2379))) 

I added mine there but I'm still missing peopes in the birthday threads being posted. I have 4 b-days today and only 2 are posted :surprised:

Any ideas?
I added the groups to the array and went into the task manager and ran birthday task again and nada!

Thanks...

cdoyle 05-15-2005 06:03 PM

anyone have any idea, why the users names aren't showing up, and it always says November 30th?

I keep looking over the directions, and I think I did everything the way I was suppose too.

CallieJo 05-17-2005 12:08 PM

Quote:

Originally Posted by Lionel
ok, works for me now. I was placing code before {

You mean like this?
PHP Code:

    $emails .= $userinfo['username'];
NEW 
CODE HERE


That is how I have it. It works all except the fact that it only post 1-3 birthdays out of 1-10 birthdays for that day :disappointed:

Should I have it below the }

Thanks ;)

Morgalis 05-26-2005 11:24 AM

Quote:

Originally Posted by atrljoe
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?

I have this issue as well.

Anyone know how to fix it?

Marco van Herwaarden 05-26-2005 11:49 AM

Try removing the require_once line for global.php.

I really don't see why that line should be in a cronjob.

Morgalis 05-26-2005 01:36 PM

Quote:

Originally Posted by MarcoH64
Try removing the require_once line for global.php.

I really don't see why that line should be in a cronjob.


When I commented it out, it ran into trouble finding
./includes/functions_misc.php
./includes/functions_newpost.php

Marco van Herwaarden 05-26-2005 06:37 PM

If i have time and don't forget, i will try to have a look at this hack tomorrow.

Morgalis 05-27-2005 04:53 AM

Quote:

Originally Posted by MarcoH64
If i have time and don't forget, i will try to have a look at this hack tomorrow.

much obliged sir

Paul M 05-27-2005 05:19 AM

Quote:

Originally Posted by CallieJo2
That is how I have it. It works all except the fact that it only post 1-3 birthdays out of 1-10 birthdays for that day :disappointed:

You do realise that the way it's been written means that only people who allow e-mails from administrators will be included. So maybe a lot of your users have this option set to no.

cpz 05-27-2005 09:09 PM

Does this hack always say i'm not telling for age even when members have full date of birth registered with site the boards birthday list says user id and age but when this hack posts on my board all i get is (i'm bot telling :) )


All times are GMT. The time now is 12:42 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.02036 seconds
  • Memory Usage 1,744KB
  • 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_php_printable
  • (6)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