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.


All times are GMT. The time now is 02:41 PM.

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.01668 seconds
  • Memory Usage 1,751KB
  • 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
  • (4)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