PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost Bug Reports

ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 26th, 2004, 03:37 PM   #1 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 833
V 2.8.2 - Email bugs

Two email issues I've noticed so far...

If someone adds a product AND provides a review they receive duplicate email notices every time someone posts to that listing (seems to be the only time this occurs).

The notice received when subscribed to a product has a bad link for disabling further notices - "Malformed parameter". Seems the notifyid is missing;

.../reviews/reviews.php?notify=off&notifyid=&product=7
Bryan Ex is offline   Reply With Quote
Old August 28th, 2004, 12:27 PM   #2 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 833
One free bump after 2 days... isn't them the rules?
Bryan Ex is offline   Reply With Quote
Old August 30th, 2004, 09:33 AM   #3 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Check the nofiy table and see if there are more than one entries for the userid and product id in the table.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old August 30th, 2004, 04:30 PM   #4 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 833
Yes there is. If a person posts a new product AND reviews that same product it's being entered twice with different notifyid's - userid and productid are the same.

If someone only posts a product and does not review it OR only posts a review, only a single listing has been entered.
Bryan Ex is offline   Reply With Quote
Old August 30th, 2004, 05:25 PM   #5 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Well, I assume this means the user has asked for double notifications, but we can add a check to see if they are already in the list first.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old August 30th, 2004, 05:42 PM   #6 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 833
That's the part I don't quite follow though. If someone is posting a review they are not asked about notifications... just when uploading the original listing. It should be as in in the gallery where the photo upload has the option of being notified but comments do not unless the person selects it from the showgallery page. If I post a photo, a member comments, and I responds I still only get a single notice for each comment. With Reviewpost I get two for each post if I've uploaded and reviewed.

While I have your ear - any suggestions on how to include the notifyid variable in the email being sent (link to disable further notices);

.../reviews/reviews.php?notify=off&notifyid=&product=7
Bryan Ex is offline   Reply With Quote
Old September 4th, 2004, 01:42 PM   #7 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 833
Quote:
Originally Posted by Bryan Ex
... suggestions on how to include the notifyid variable in the email being sent (link to disable further notices);

.../reviews/reviews.php?notify=off&notifyid=&product=7
LOL... kinda sucks being this far down the support forms. I'm used to the top half for PhotoPost galleries.
Bryan Ex is offline   Reply With Quote
Old September 8th, 2004, 03:31 PM   #8 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 833
The notice received when subscribed to a product has a bad link for disabling further notices - "Malformed parameter". Seems the notifyid is missing;

.../reviews/reviews.php?notify=off&notifyid=&product=7

How do I fix this?
Bryan Ex is offline   Reply With Quote
Old September 13th, 2004, 09:14 AM   #9 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 833
Am I in the "good books" this week or not yet?
Bryan Ex is offline   Reply With Quote
Old September 13th, 2004, 09:47 AM   #10 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
I was in Dallas, Texas for the Viper Owners convention; so was out for four days.

In looking at the code, if reviews.php is called with notify set to "on", it will insert a record into the notify table without checking to see if a record already exists. This would suggest that the reviews.php script is possibly executing this code (do you get an "enabled" message, because it would forward if it did).

The email is using the variable $getuserid (emails.php, line 27); so we might need to change line 298 in reviews.php to use $getuserid instead of $tuserid:

list( $getuserid, $usernm, $useremail ) = get_userinfo("", $notify_user);
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old September 14th, 2004, 01:11 PM   #11 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 833
Okay... making the change above the notifyid is still missing in the email notice but strangely enough, only a single notice is now sent (which is how it should work).
Bryan Ex is offline   Reply With Quote
Old September 28th, 2004, 02:48 AM   #12 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 833
Any other suggestions on how to include the notifyid?
Bryan Ex is offline   Reply With Quote
Old September 28th, 2004, 12:55 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,693
In emails.php language file the notifyid is $getuserid so it should work fine.

I will do some testing on my install
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 5th, 2004, 10:03 AM   #14 (permalink)
Senior Member
Verified Customer
 
Join Date: Oct 2003
Location: Ottawa, Canada
Posts: 833
Any news on this?
Bryan Ex is offline   Reply With Quote
Old October 5th, 2004, 12:01 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,693
Nope I can not break it. Did you do the fix Michael posted above?

The email is using the variable $getuserid (emails.php, line 27); so we might need to change line 298 in reviews.php to use $getuserid instead of $tuserid:

list( $getuserid, $usernm, $useremail ) = get_userinfo("", $notify_user);
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
A few 3.5.x bugs/issues Oblivion Knight Bugs - vBulletin 3.5.X 0 August 6th, 2005 02:58 PM


All times are GMT -5. The time now is 01:46 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0