We are using Drupal (5.x) Notifications module.
Our users are receiving duplicate emails (related to forum posts)
First email has this subject line: "Your Daily xyz Discussion Digest"
Second email has this subject line: "xyz subscription update for UserABC"
Content is somewhat similar. (formatting is different).
Tried to google for solution. No luck yet.
Any one seen this issue before?
Any suggestions?
sounds like message duping:
Deduping
There may be also more than one
subscription producing multiple
notifications for the same event. I.e.
if you are subscribed to 'story
updates' and subscribed to the
specific thready 'my story 1', then
updating 'my story 1' will actually
produce two notifications, one for
each subscription. These go through
some deduping process before being
sent out, merging notifications for
the same event into one notification.
However, this can be done if (and only
if) both subscriptions are using the
same sending method and the same
sending interval. Otherwise you'll be
getting two or more different
notifications for the same event.
see http://drupal.org/node/318577
Related
I have a requirement form one of the department from my company, they want to have two dates in their content profile, one is expiring date and other is follow up date. Their demand is they want to have notification from expiring date one month before and for the follow up date they want to have notification after every seven days. I know how to handle the notification for expiring date, that part is done. The issue is not don't know how to achieve notification fucntionality with follow up date.
I have developed a custom component for this, in which I have wrote code for the mail sending for follow up date. But the issue is for I am not being able to fetch the author's email address and for temporary basis I have hard coded the email address for that.
I would like to know from you guys, if I am on the correct path, If I am then how should I fetch the Author's Email address.
PS: If required I will post my java component's code here.
Did you consider using the OOTB Notification of Expiration component?
After taking some online tutorials I am willing to create my own custom theme for my myself. This is going to be an online Contact Lense store! So far I have learned how to generate and use Custom Post Types, Custom Taxonamyies, Metaboxes , and Option pages.but there is still one confusing part left for me(hopefully not more! :-))
I need to get some user inputs through HTML Select Options like following image to finalize the users orders:
Now my question is:
1- Do I have to create some thing lik Metaboxes to manipulate these data from users?
2- can I handle these kind of data through simple Form ans Post function in PHP? If so where should I store these data? Do I have to create a table on my own to handle these things?
I really appreciate your time regrading this post,
What you're asking for carries a little more complexity than you think!
Let's break this down into its meaningful steps:
A user visits your shop, and decides that they like what they see and wants to make an order
The user fills out a form defining their exact eye requirements, quantity, as well as their contact information
Upon completing this form, a new order has been created
But wait.... how will you get paid? What happens if the user's computer explodes before the payment goes through? How will you know to send them their contacts without first knowing the payment even succeeded?
This is where things start to get tricky. You need to be able to keep a record of orders for the sake of your users, but you also need to look out for your own interests too. Your business is doomed to fail if you're sending out expensive products to people without the proper assurance that you're getting paid.
This is where you'll need to set up a Merchant Account with a service like PayPal or Google Checkout. As much as I despise PayPal, their Instant Payment Notification (IPN) System has been very reliable for me. What this does is automatically send a POST request to your server with all of the information you need to finalize the checkout process and alert your user that their payment has either succeeded or failed.
So with this in mind, how does this affect our step-by-step process?
A user visits your shop, and decides that they like what they see and wants to make an order
The user fills out a form defining their exact eye requirements, quantity, as well as their contact information
Upon completing this form, a new order has been created with a status of pending
The user is then sent to PayPal/Google Checkout to enter their Credit Card information to complete their purchase
PayPal/Google processes the payment
PayPal/Google sends your server the results of the processed payment
The corresponding order is updated with a status of Payment Received or Payment Failed for your own records
You send out the product to a very satisfied customer
So what will this mean from a Wordpress standpoint?
My first suggestion:
Check if a Plugin already exists that can handle this for you!!!
Seriously, this will make your life much easier. Handling people's money as well as your own stock is a nightmare all in itself, you don't want to be responsible for handling the code that drives it, or the possibility of security holes that you might not know about (that other plugins may have already addressed). WooCommerce is a popular one. See if that can handle what you need.
If a Plugin can't do it for you, then you'll need to:
Register a Custom Post Type for Orders
Create a new Order Post using wp_insert_post when a user submits the form with their POST data
Save the relevant POST data you need as metadata using update_post_meta
Send PayPal/Google/Whatever some Custom Information it needs to hang on to - in this case, the newly created Order Post ID - so that it can send it back to your own server
Set up a side-script to process the data sent by PayPal/Google Checkout/Whatever and send an email to the user detailing the status of their purchase and update the corresponding Order Post ID that was sent back by PayPal/Google Checkout/Whatever
(Optional) Set up a CRON Job to periodically scan all Pending orders in case a user's session was interrupted, or they bailed at the last second during checkout and send them an email notifying them about this and provide them a link to your website to reopen, reevaluate, and resend the order, or cancel and clear it from your database
Quite honestly, this would take even a seasoned Developer at least a few weeks worth of work just to get it in working condition. Presentation is a whole different animal.
Hopefully this will give you a step in the right direction. I doubt anybody here will give you the code to do what you need, because there's just too much to post. Entire libraries are built just for these kinds of things.
Good luck!
I'm trying to get Google Analytics eCommerce tracking to play nicely with our site's payment gateway, Worldpay. A solution, which I'd prefer NOT to use has been posted (link below), but involves extra clicks for the shopper, which I was hoping to avoid.
http://www.tatvic.com/blog/google-analytics-worldpay-ecommerce-tracking
The shopper is taken to Worldpay's website to process cards, where no javascript is available and the GA eCommerce tracking breaks down.
Let me walk you through the steps:
A shopper arrives at our site where Google Analytics is set up to successfully track their movements.
The shopper clicks "ORDER" and is taken to Worldpay's website for credit card processing. The shopper completes their order on Worldpay's site and their shopping experience is over.
Worldpay POST us their 'payment response message' which is sent to our designated page 'response.cfm'. This message contains various details about the order (cartID, ammount, etc..) which we file in the database as a completed order.
My question is, and please excuse my ignorance, but is it possible to use this automated payment message, sent to our response.cfm page to send all the GA data to google ? I don't want to involve the user/redirect them back to us, if I can help it.
Worldpay allow us to send our own variables to them, then return the variables in the payment response. I was hoping we could use this feature to make it work? It would be a similar solution to the link above, but wouldn't need the shopper to click the button at the very end (and get a warning message)
I know this is an old question now but as no-one has posted thought it would be worth posting my solution to this problem.
Build a response script which is purely there to handle the response, not display the message, for example response.php. Also create a page which displays a message, for example complete.php
Inside response.php include:
<?php if($_REQUEST["transStatus"] == "Y" && $_REQUEST["testMode"] != "0" && $_REQUEST["callbackPW"] == "your_password"){
//update order status internally here
?>
<meta http-equiv="refresh" content="4; url=complete.php?parameters">
<?php } ?>
Replace "parameters" with any information from the booking you'd like to pass to Analytics. Inside complete.php include your Analytics code referencing to $_GET parameters as required.
For extra security i'd recommend passing an additional parameter with a secret hash (different for every transaction) and compare that in the above if statement as well.
I hope this is a useful solution :)
Working on my small classified site; i'd like to give the users the ability to choose some categories, for example : cars, boats and receive daily/weekly notifications based on their choices.
A user that has subscribed to 'cars' category will receive daily newsletter saying 'there are 30 new interesting classifieds for you in category : cars'.
Don't know where to start; 'simplenews' module seems too simple for my usage.
Any idea ?
The Subscriptions module seems to do this really well. It will allow your users to select categories they wish to subscribe to as well as the interval they choose to receive notification emails.
As an administrator you can set default category subscriptions for users (if you wish) and to send notification emails in digest form (multiple updates in one email). It doesn't have a time interval of 'weekly' but you may be able to request this in the module issue queue. It is very configurable.
Have you checked out http://drupal.org/project/notifications module?
It's not the easiest module to get your head around but the rewards are pretty good. If you categorising your content using taxonomies then this module should help.
Quick question:
When I'm in Google Reader, it will flash and pop up a new number of unread items indicating that a new article has just been published (typically <1 minute after the blog's "published date"). Does Google just constantly ping every blog I'm subscribed to, or does the RSS standard have some sort of "signal" that it puts out to subscribing agents when new content it put up?
Thanks for any clarification!
I'm currently running an app that is based on RSS feeds, but I have a cron job running hourly to scour the interwebs for new content, but I'd love to know more about how to solve the "I need realtime" problem without overstaying my API call welcome.
" Does Google just constantly ping every blog I'm subscribed to"
Yes.
"does the RSS standard have some sort of "signal" that it puts out"
No.
If you want real time information, contact the vendor and pay them to send you stuff. Seriously. If information has value, then timely information has more value. If you want it sooner, you have to pay to get it before the folks who are getting it for free.