vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Profile Enhancements - Birthday Thread and PM generator (https://vborg.vbsupport.ru/showthread.php?t=263701)

AusPhotography 10-27-2013 10:20 PM

Quote:

Originally Posted by Jamey (Post 2456606)
same deal still

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?

zwylove 11-08-2013 11:52 AM

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!

AusPhotography 11-10-2013 06:29 AM

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 11-11-2013 06:16 AM

Quote:

Originally Posted by AusPhotography (Post 2459622)
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)

More Question:
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 ?

AusPhotography 11-28-2013 01:20 AM

Quote:

Originally Posted by zwylove (Post 2459878)
More Question:
1.About the number 2 question please help to investigate ASAP if you can ,because we realy need the function .Many 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 ?

1. I won't make that change as it does not suit my needs.

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.

Duke49th 09-18-2014 12:51 PM

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.

Duke49th 09-18-2014 01:07 PM

Quote:

Originally Posted by Duke49th (Post 2515618)

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.


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 = ".";

Im no programmer/coder..so I dont know how to delete anything without causing a problem...so I just changed everything to empty space or "."

AusPhotography 09-21-2014 08:21 AM

No problems!

Gadget_Guy 12-15-2014 02:51 AM

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.

Gadget_Guy 12-15-2014 02:57 AM

1 Attachment(s)
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.

Gadget_Guy 12-15-2014 03:13 AM

It just fired off now on my site.

If I am correct in what I just saw... the posts are a day late.

It sent birthday greetings to people who's b-day was yesterday not today.

I wonder if it is a time discrepancy with my server or something?

It's also still not adding anything to the log

D.

AusPhotography 12-15-2014 09:09 AM

What is your server timezone?

What is your forum timezone?

Gadget_Guy 12-16-2014 12:09 AM

Quote:

Originally Posted by AusPhotography (Post 2527258)
What is your server timezone?

What is your forum timezone?

I believe I have them both set to be America/Toronto

D.

AusPhotography 12-16-2014 09:50 AM

There is a 4 hour delay, i.e. the thread/PM should go 4 hours after the members birthday in their timezone.

You server and forum TZ are ok if in sync

Gadget_Guy 12-17-2014 01:16 PM

It seems to be working fine, now that I understand the functionality a bit better.

Something my users requested was the ability to have all the birthday wishes go into one post per day rather than opening separate threads for each wish.

We have a lot of members on our site and on some days it will spawn pages of individual threads of birthdays which they find clutters the forums.

If we could get all the B-Day wishes for the day to go into a single daily thread that would be a great add-on to the mod.

Thanks,

D.

AusPhotography 12-17-2014 08:14 PM

I'm not going to change it at this stage.

I suggest you create a Birthday forum and have posts all go to one place; that might be easier

Gadget_Guy 12-17-2014 08:22 PM

Quote:

Originally Posted by AusPhotography (Post 2527752)
I'm not going to change it at this stage.

I suggest you create a Birthday forum and have posts all go to one place; that might be easier

I have done this already.

The challenge is that in the morning when people log in and click "new posts" it's full of birthday announcements.

D.

ozzy47 12-17-2014 10:17 PM

Quote:

Originally Posted by Gadget_Guy (Post 2527754)
I have done this already.

The challenge is that in the morning when people log in and click "new posts" it's full of birthday announcements.

D.

I suggest you use this mod along side this one then, [OzzModz] Exclude Forums From New Posts Search

Gadget_Guy 12-18-2014 12:21 PM

There appears to be an error in the PM that is sent to the users.

The message being sent is:

Dear Howard,

You have received a new private message at Toronto Subaru Club from Krusty The Clown, entitled "Happy 44th Birthday Howard!".

To read the original version, respond to, or delete this message, you must log in here:
http://www.toronto-subaru-club.com/forums/private.php

This is the message that was sent:
***************
*Happy 44th Birthday Howard (http://www.toronto-subaru-club.com/f...ers/howard/)!*

*Hope you have a wonderful day, and very best wishes from everyone here at the Toronto Subaru Club.




The link to the username is this: http://www.toronto-subaru-club.com/f...ers/howard/)!*


It includes the characters: ")!*" which make the url unresolvable

D.

AusPhotography 12-18-2014 11:34 PM

PM me you message template form the options for this plugin.
You may need to add a space somewhere

Gadget_Guy 12-19-2014 12:14 PM

Quote:

Originally Posted by AusPhotography (Post 2527977)
PM me you message template form the options for this plugin.
You may need to add a space somewhere

It's not the Forum post that has the error, it is the PM that is sent to the user.

I only noticed it because it was my B-day the other day and I saw what got sent to users and I noticed the error.

Let me know what you need me to send you to correct the PM that is sent

D.

AusPhotography 12-25-2014 09:24 PM

In the options for the plugin, copy the text that makes up the message and PM that to me in [code] tags

Gadget_Guy 12-26-2014 01:03 AM

Hi,

Unfortunately I had to uninstall this from my site.

Too many complaints for all the individual threads created each day.

The consensus was that they wanted the daily birthdays combined into one post.

It's a great mod and I thought it would have been nice to publicly wish everyone a HB for everyone to see rather than just in PM like what the built in function does.

However, on my site, I guess some people just don't share the same sentiment.

D.

pcoskat 12-27-2014 02:33 PM

Can this be configured to only send a PM? I'd rather not have threads created.

AusPhotography 12-31-2014 08:29 AM

Quote:

Originally Posted by pcoskat (Post 2529039)
Can this be configured to only send a PM? I'd rather not have threads created.

Yes

Options
Quote:

Birthday Post/Send options (at least one should be on)
Post Thread (Yes or No)

Send PM (Yes or No)

4ngeluxpunk 10-30-2015 04:46 PM

Quote:

Originally Posted by AusPhotography (Post 2529715)
Yes

Options

vB 4.2.3 does not work with, do not believe the issue and send no message.

WindVoice 10-25-2017 04:33 AM

Any update for this to make it work with vB 4.2.x.

The cron does not work!


All times are GMT. The time now is 08:00 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.01353 seconds
  • Memory Usage 1,808KB
  • 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
  • (1)bbcode_code_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
  • (27)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