Forum Replies Created
-
AuthorPosts
-
Edward
MemberGood idea,
August 11, 2010 at 5:24 am in reply to: Return value of main function "wp_aff_award_commission" #23277Edward
MemberThat’d be appreciated!
And ye, database operation, like get, update, wordpress guys did a lot of error handling in these functions to catch exception in various situation, make use of their return value is easy and greatly improve script robustness.
August 11, 2010 at 3:51 am in reply to: Return value of main function "wp_aff_award_commission" #23275Edward
MemberI’m sorry, but in current logic of your script, “The sale has been registered in the WP Affiliates Platform Database” will always be presented, unless the script crashes, in that case, no message will be presented also includes this one.
The only case it will not be presented is the input parameter $referer is empty, which is not so useful.
Also i think crashes’d better be avoided at least in this MAIN function, because once it crashes, all following actions will not be executed
August 9, 2010 at 1:43 pm in reply to: 500 Internal Server Error when an user registered to affiliate platform #23200Edward
Memberi think i found where wp_aff_senders_email_address is, it is in Email settings, sorry for didn’t finish the video tutorials, it works perfectly now, thanks!
-
AuthorPosts