[TH] Happy Birthday [Deleted]

Again Error.
Second one came back again.
I mean this (seems to be coming when someone register. Because in all of them there are users info):
Unable to read response, or response is empty
Today at 9:23 PM - library/Zend/Http/Client.php:993

Untitled.webp
but first error is solved. no more of it in coming.
 
That one seemed to be related to gravatar. I do agree it seems unlikely to be related to this add on.
So what is the relation to this: when I disable this add-on, no more error comes.
I also don't see any thing related in errors.
Just confused.
 
The error seems intermittent so I would guess that you need to keep the add on disabled for an extended period to prove that.
 
How are you calling the model now?

I am calling it like this now sir.

PHP:
$userModel = $this->_getUserModel();
list($month, $day) = explode('/', XenForo_Locale::date(XenForo_Application::$time, 'n/j'));
$birthdays = $userModel->getBirthdayUsers($month, $day, $criteria, array(
       'join' => XenForo_Model_User::FETCH_USER_FULL
));

And I am defining the user model at the end.

PHP:
/**
    * @return XenForo_Model_User
    */
    protected function _getUserModel()
    {
        return $this->getModelFromCache('XenForo_Model_User');
    }

Awesome.
Just solved and no more error coming again (Yet. If I see anything again, I'll report it).

Thanks for your attention and support and polite and respectful behavior (Something that always attract me and let me suggest people and their work to others.)

You are most welcome sir :)

Again Error.
Second one came back again.
I mean this (seems to be coming when someone register. Because in all of them there are users info):
Unable to read response, or response is empty
Today at 9:23 PM - library/Zend/Http/Client.php:993
View attachment 125218

but first error is solved. no more of it in coming.

So what is the relation to this: when I disable this add-on, no more error comes.
I also don't see any thing related in errors.
Just confused.

This seems very odd. There is really nothing in my code that can cause this. As mentioned above, this is related to gravatars and it has nothing to do with my add on. I will do another chechking up on my add on, but I doubt that it will change anything.

I just noticed that that error occurs when someone registers at your forum. But that has nothing to do with my add on, because it does not make any changes or edits to the registrations. So I would advice you the same like @Chris D, to disable the add on for an extending time.
 
Alright.
I just deleted all server error logs and disabled the add-on. (normally it seems each 15-30 minutes there was a server error log)
The add-on will be disabled for 24 hours.
I'll say the result tomorrow.
 
Alright.
I just deleted all server error logs and disabled the add-on. (normally it seems each 15-30 minutes there was a server error log)
The add-on will be disabled for 24 hours.
I'll say the result tomorrow.

You can try to register with fake accounts to speed up the process. ;)

Make 2 or more accounts while the add-on is disabled and do the same after enabling it.
 
As @Chris D and @wang said, seems to be related to something else, like avatar.
Although number of errors decreased a lot, but as a user registers, an error comes. Even if this add-on is disabled.
There were no other changes. Any opinion on how to solve this will be appreciated.
(new support thread created to keep this thread dedicated for its add-on)
 
How can I send a birthday mail with a attachment (birthday card)

If you're just wanting to show that image in the message for the conversation/thread that is created on a user's birthday you should be able to just upload that image to styles/SjEd and use the img bbcode in the option that allows you to set the message for the conversation, for example if you uploaded it to styles/SjEd/birthday.png you could do this:

Code:
[IMG]https://www.sjedbb.com/styles/SjEd/birthday.png[/IMG]

If you're referring to the email version, you'll probably need to use @Arty's email template add-on to be able to modify the email template without losing your changes on an upgrade of this add-on.

Though, I can add an option into the next update to allow you to add your own HTML to the end of the email message, so you can just use the html <img> tag :)
 
If you're just wanting to show that image in the message for the conversation/thread that is created on a user's birthday you should be able to just upload that image to styles/SjEd and use the img bbcode in the option that allows you to set the message for the conversation, for example if you uploaded it to styles/SjEd/birthday.png you could do this:

Code:
[IMG]https://www.sjedbb.com/styles/SjEd/birthday.png[/IMG]

If you're referring to the email version, you'll probably need to use @Arty's email template add-on to be able to modify the email template without losing your changes on an upgrade of this add-on.

Though, I can add an option into the next update to allow you to add your own HTML to the end of the email message, so you can just use the html <img> tag :)

Thank you @Jake B.
 
I wish there was a way to turn off posting the user's age. Several people have asked me to remove their birthday announcement because of the age part.
 
Going to go ahead and call this one a bug as it's bypassing user privacy settings, will get a patch out as soon as possible :)
 
Feature Request.

I want the thread to have their name in the thread Title tried "Today ({today_date}) is {member_name} Birthday!" but it just says {member_name} not their actual website name

Could you please add this feature if it's not built in??

Thank you!
 
I can add an option to add the prefix id for all automated birthday threads in the next version.
Was this included within v1.0.1?

Though, I can add an option into the next update to allow you to add your own HTML to the end of the email message, so you can just use the html <img> tag :)
Was this included within v1.0.1?

ThemeHouse updated [TH] Happy Birthday with a new update entry:

Version 1.0.1 Released
  • Add-on no longer ignores user privacy setting for showing year of birth/age
The user still gets included in the b'day thread, but just that their age is not displayed? Is this the same for the conversation and email, or is age mentioned here?
Is 'Show day and month of birth' also adhered, so that if unticked then the user is not included in the b'day thread? Is this the same for the conversation and email, or are they still sent these?
 
Was this included within v1.0.1?

I'm pretty sure it has an option for thread prefix (I saw code for it at least), though it's not something I added so I think he'd finished it before we got the add-ons

Was this included within v1.0.1?

No, the only change I made was fixing it ignoring user privacy settings. Will try to get this one soon though

The user still gets included in the b'day thread, but just that their age is not displayed?

The user still gets included in the b'day thread, but just that their age is not displayed? Is this the same for the conversation and email, or is age mentioned here?

Yep, they're still in the list but with the age removed. This should apply to the conversation and email as well

Is 'Show day and month of birth' also adhered, so that if unticked then the user is not included in the b'day thread? Is this the same for the conversation and email, or are they still sent these?

Yep, double checked this one on my update as well, and nothing is sent to or posted about the user if they have their day and month of birth hidden
 
This should apply to the conversation and email as well
nothing is sent to [...] the user if they have their day and month of birth hidden
I don't agree with either of these.
User Privacy is about not showing it to other users. There is no reason we shouldn't use age (show year) in direct conversations and emails, and not send them a direct conversation or email (show date and month).
Any plans to adjust this, and only use privacy settings for public posts?
 
Any plans to adjust this, and only use privacy settings for public posts?
Lots of users don't only hide their BOD but give false details when they register.
For them it would be funny to receive a Happy Birthday email on Jun 15th when their birthday is on Feb 27th.
 
Top Bottom