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)

Gary King 03-16-2005 07:44 PM

Nice hack. Smilies should be disabled in the post though, because things like 8) become an emoticon (like (age: 18))

At least on my forums because I set it to that :)

xtreme-mobile 03-18-2005 07:26 PM

ive just edited the file like it says, now what do i do?

how do i tell it what forum to create the post into ?

Michael2 03-21-2005 03:03 PM

Quote:

Originally Posted by xtreme-mobile
ive just edited the file like it says, now what do i do?

how do i tell it what forum to create the post into ?

$greetings_forum=xx; // CHANGE ME: Birthday forum ID

Michael2 03-21-2005 03:10 PM

Quote:

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

That took care of it, thanks! :)

xtreme-mobile 03-21-2005 06:23 PM

cheers mate

twinsmom 04-25-2005 05:30 PM

I don't necessarily want anything more than Happy Birthday to Username--no ages, no dates or birth etc.

How would I do that?

cdoyle 05-12-2005 09:42 PM

Quote:

Originally Posted by Lionel
I have a small problem. The email, the thread states the correct date but in the posts it shows as

Here are today's birthdays:

was born on November 30 (Age: Not telling! :))

missing the username, the age. Sometimes the age states 30 when it should have been 40

I'm getting this too, what did you have to do to make it work? I tried modifying the birthday file, 3 time and each time I get the same thing?

I'm pretty sure I followed the directions and did everything it said to do.

Thanks
Chris.

cdoyle 05-13-2005 12:58 AM

Something else I noticed is, that it says that each person was born on November 30th?

Happy Birthday to , on May 10, 2005
was born on November 30 (Age: Not telling! )

Anyone have any ideas?

cdoyle 05-13-2005 08:45 PM

Anyone have an idea what I need to fix?

lionslair 05-15-2005 09:19 AM

I installed it tested it and it worked. I would really like to see the usergroup option employed in this though.

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 :) )

Marco van Herwaarden 06-21-2005 09:07 AM

Quote:

Originally Posted by Morgalis
much obliged sir

I did a test install of this hack today on a vB 3.0.7 board, and it runs perfect without any modifications. Please double check your edits.

What version of vB are you using?

PS I suggest the instructions of step 5 tp be changed from "Add below" to "Add Above". With the origianl instructions the mail will only be send if the cronjob is set to be logged. This don't make much sense to me.

Marco van Herwaarden 06-21-2005 09:14 AM

Actually i released that all of those 3 require_once lines are really unneeded. The hack will function the same if they are removed.

Leaving them in place where they are now could even be a (minor) security risk. If they would stay in this hack, i suggest you move them below the following line:
PHP Code:

if (!is_object($DB_site))
{
    exit;



ozmazdaclub 08-10-2005 01:17 AM

Does this work in 3.0.8

I did a clean install and have checked all the edits and this is still not working

Help Required...

ozmazdaclub 08-10-2005 09:48 PM

Never Mind.... Got it working after commenting out a few lines.. my bad...

ozmazdaclub 08-14-2005 09:51 PM

Will this be ported to 3.5?

csidlernet 08-19-2005 10:00 AM

nicework thanks!

utw-Mephisto 08-20-2005 07:03 AM

Quote:

Originally Posted by sydneymazdaclub
Will this be ported to 3.5?

[high]* utw-Mephisto want to know as well[/high]

MB Dreamz 08-31-2005 04:11 AM

I've had this hack installed and running fine for the past few days without any issues, until today. It just so happens that no one has a birthday today, but I still received an email like this:

Here are today's birthdays:



Birthday Thread:
http://www.cafetrends.com/forums/showthread.php?t=1898

And it started a new thread just like it did before but without any names. Any help is greatly appreciated.

cpz 09-17-2005 04:50 PM

How can I add a small animated birthday banner below "user birthday(i'm not telling :)) in the birthday threads
I uploaded banner into my forum/images/banners file

SCRIPT3R 09-18-2005 08:57 AM

[vB 3.0.9]

installed as instructed; works perfectly!

faast 09-24-2005 02:37 PM

works great on 3.0.7 -- to creater: i would suggest that you let the installers know that in order to display bdays, the user MUST have receive emails from admin selected. i ran into the problem the other day when i kept running my cron and not knowing the user needed the option selectd.

Rhoads 09-30-2005 03:14 PM

I think that it is a beautiful hack for vB 3.5, please update the hack for us :D

ozmazdaclub 10-06-2005 01:15 AM

If not being ported do you give someone else the permission to port it over?

westi 10-16-2005 12:25 PM

[high]* westi need this hack for 3.5 .. pls :)[/high]

hbalagh1 10-21-2005 11:03 PM

I too would love to have this hack... for 3.5

GamerJunk.net 11-21-2005 04:14 PM

It is available for 3.5

bspiller82 11-21-2005 05:38 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=100607&highlight=Birthday" target="_blank">https://vborg.vbsupport.ru/showt...light=Birthday</a>

nymyth 01-06-2006 05:23 PM

Is there an edit that will allow me to let only people that are active on the board to get a birthday thread....ive realized that im sending out birthday threads to people that dont post at all ....

Thanks.

Peace

cambridgedaz 08-12-2007 08:54 AM

I really love this mod but wish there was an option to post in an existing thread rather than create a new post each time. How easy would that be to do? :)


All times are GMT. The time now is 04:17 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.01308 seconds
  • Memory Usage 1,817KB
  • 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_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (39)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