The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Birthday Thread and PM generator Details »» | |||||||||||||||||||||||||||
<a href="http://www.AusPhotography.net.au" target="_blank">www.AusPhotography.net.au</a> Birthday Thread and PM generator
This product provides a simple way to create both an automatic Birthday greeting thread and forum member birthday PM. Features: 1. Configurable greeting text with name, age (optional), and birthday 2. Excludable usergroups (eg. banned etc) 3. Creates a thread in selectable forum and sends a PM from selected user (admin or other) 4. Runs as a vBulletin scheduled task (vB cron job) 5. Honours forum members birthday profile settings 6. Only sends birthdays for members with recent forum activity (configurable) 7. Adjusts for forum members time-zone so the greeting will be on their birthday Uses: 1. Creates a Database table to track birthday processed 2. One additional file vBulletin scheduled task (vB cron job) 3. Product installation file Installation: 1. Copy ap_birthday.php to the forum ./includes/cron directory 2. Install the product file 3. Configure it via AdminCP/Settings/Options 4. Disable the vBulletin birthday emailer in AdminCP / Scheduled tasks Done! Enjoy! It will probably work on vB3.6+ as well. Update 2013-04-12: Working with 4.2.0 Update 1.1.2 if zero active post use 'lastactivity' instead (bugfix) Kym Download Now
Show Your Support
|
Comments |
#122
|
||||
|
||||
Very strange, I cannot reproduce the issue and I don't think anyone else is having the problem.
The code is not doing anything special in regard to the forum being posted to. Just a thought, what is the user profile of the account being used to post the greetings? Specifically what is the 'Automatic Thread Subscription Mode' setting for that account? |
#123
|
|||
|
|||
I have get it version 1.1.2 ans install it accord the readme on my vbulletin 4.2.0 website .and it's OK。but much question for everyone help.
1.if member's birthday is just right on sunnday or saturday , i want to pre-days to post the birthday thread on forum ? how can get it ? 2. I have set "Email Addresses to Notify When there is a New Post" in the Forum , when the "Birthday Thread and PM generator" runing OK and have new a post in the Special forum,but I have not receive the Notify email ? why ? 3.if It hasworked witht "Birthday Thread and PM generator" today, when i want to run the cron job"AP Birthday Greetings" again in the same day at scheduled Task ,but the birthday Thread that have happened of somebody will not happen again ? is it OK? why? i just want to post Birthday Thread again for somebody ? 4. because maybe his/her birthday is wrong ,i changed it for true , but the "AP Birthday Greetings" will not post thread for he/she again if happened before ? how can i get the issue? Many Thanks! |
#124
|
||||
|
||||
1. No it does not do anything special for Sat.Sun
2. Not sure why, I'll investigate 3. You can run multiple times per day, it remembers who has had a birthday greeting 4. Because the system has remembered the original greeting, it 'remembers' for 3 day, you need to delete the remember from the database to clear it (manually via phpMyAdmin) |
Благодарность от: | ||
zwylove |
#125
|
|||
|
|||
Quote:
1.About the number 2 question please help to investigate ASAP if you can ,because we realy need the function .Manyt thanks ! 2. About the 4 Question answer , how to manually delete from the database ? which table and field ? Could you tell me the details ? 3.How many and which Varname of all we can use ? i just know the {username} {bdate} {xx}. Moreover,Can i format the {bdate} value as chinese or other that i want in the "Happy Birthday Post" Content and how to format ? |
#126
|
||||
|
||||
Quote:
2. Table is in the product file, ap_birthday -- use phpMyAdmin to delete the affected user record 3. The fields are: {xx} = 1st 2nd 3rd 4th etc, {username}, {userid} {bdate} {bdate} is formatted 'day of Month' and won't be changed. This is a free mod, you can change it to suit you Chinese requirement as you wish. This mod can post a thread and/or send a PM to the user. As for the EMail issue, I think it might be the way vB_DataManager_Thread_FirstPost works. So I'm not going to do anything about that. |
#127
|
|||
|
|||
I have a question please.
Why do I have to deactivatge the vBulletin birthday mailer? Thanks Oh..and..its a German language Forum. So where can I change the birthday age format? Now it says "1st, 2nd" and so on. But in german language its just "1. , 2. , 3. " and so on. |
#128
|
|||
|
|||
Quote:
Ok this part I've found...I overseen it before... just edited this part: Code:
$userage = (string)$userage; $suffix = "th"; $lastdigit = strlen($userage)-1; if ($lastdigit == 0 || $userage[$lastdigit-1] != 1) { if ($userage[$lastdigit] == 1) $suffix = "."; else if ($userage[$lastdigit] == 2) $suffix = "."; else if ($userage[$lastdigit] == 3) $suffix = "."; |
#129
|
||||
|
||||
No problems!
|
#130
|
|||
|
|||
Hi,
I have had this installed on my site for a couple days now. It is not generating accurate birthday threads. The cron doesn't seem to be hitting all the users accurately. I am on 4.2.2 Is there anything in particular I can investigate to diagnose what the issue might be? D. |
#131
|
|||
|
|||
FWIW
Here are screen shots of my cron and log It only ran once according to my log.. but I have had it in place for days.... It posted a couple yesterday (incorrectly) D. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|