Million Dollar Script

You can help!

Donations help improve software by giving developers more time to work on it. Every bit helps, no matter how small.

Amount: 

Welcome, Guest
Username Password: Remember me

Pixel Change Email Not Sending
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Pixel Change Email Not Sending

Pixel Change Email Not Sending 8 months, 3 weeks ago #473

  • Bluezia
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 1
I've triple checked the main config. and I do have YES selected for being notified if someone changes their pixels, however,when tested,this is not sending an email when pixels are modified (ie...choosing a new graphic or changing the description). It's not showing in the outgoing email section either.
Thanks!

Re: Pixel Change Email Not Sending 8 months, 2 weeks ago #477

  • Ryan
  • OFFLINE
  • Administrator
  • Posts: 208
  • Karma: 7
Hello,

I think I fixed something to do with emails but I don't know if this was one of the things affected or not. So I will take a look at this and see if I already fixed it but it may not be because I noticed this option isn't even set to anything by default in my dev version.

I will make it set to Yes by default and make sure it works.

Ryan

Re: Pixel Change Email Not Sending 8 months, 2 weeks ago #478

  • Ryan
  • OFFLINE
  • Administrator
  • Posts: 208
  • Karma: 7
Ok, I believe I have fixed this.

I moved some code within /users/publish.php.

Search for this code:

	// send pixel change notification

	if (EMAIL_ADMIN_PUBLISH_NOTIFY=='YES') {
		send_published_pixels_notification($_SESSION['MDS_ID'], $BID);
	}


Move it from there down to just below this code:

			
			if (AUTO_PUBLISH=='Y') {
				process_image($BID);
				publish_image($BID);
				process_map($BID);
				//echo 'published.';
			}


Please let me know if this works for you

Thanks!

Ryan

Re: Pixel Change Email Not Sending 8 months, 2 weeks ago #481

  • Bluezia
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 1
Yes it worked perfectly. Thank you SO VERY MUCH for your precious time. I appreciate it greatly.

Re: Pixel Change Email Not Sending 8 months, 2 weeks ago #482

  • Ryan
  • OFFLINE
  • Administrator
  • Posts: 208
  • Karma: 7
Excellent, thanks for reporting back =)
  • Page:
  • 1
Time to create page: 0.16 seconds