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 > PhotoPost Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 27th, 2007, 08:43 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2004
Posts: 11
Category Unsubscribe Link Broken

The category unsubscription link in emails seems to be broken. Below is the email received. As you can see, there is no ID and clicking on the link results in a 'malformed script' error. The email.php file in languages contains the following:
Code:
Content visible to verified customers only.
Code:
Content visible to verified customers only.
queritor is offline   Reply With Quote
Old January 28th, 2007, 09:36 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Please post what version of the software you are using. This reminds me of a bug that was fixed in an earlier version.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 28th, 2007, 09:21 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2004
Posts: 11
Quote:
Originally Posted by Chuck S View Post
Please post what version of the software you are using. This reminds me of a bug that was fixed in an earlier version.
Version 2.6 downloaded around 2 weeks ago.

I found reference to the problem with a product unsubscription, but this issue is specific to category subscriptions.
queritor is offline   Reply With Quote
Old January 29th, 2007, 09:32 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
I am not seeing any issues here. I have tested this and it appears to work and all the variables are correct. This is the language string right in emails.php

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 31st, 2007, 11:08 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2004
Posts: 11
I have confirmed that my code is the same as yours, but the problem persists.

In addition to the missing product ID, I noticed an additional problem. The email notification reads as though the subscriber added the classified.

So if user Paul subscribes to a category and user Fred submits an ad, user Paul gets the exact email shown below. As you can see, it says that Paul uploaded the ad, when in reality, it was Fred.

One other point I should mention is that I'm using this with the vBulletin integration if that makes a difference.

Code:
Content visible to verified customers only.
queritor is offline   Reply With Quote
Old January 31st, 2007, 11:34 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
In image-inc.php find this and make the change in bold that corrects the name

Code:
Content visible to verified customers only.
This is the email I get using the category subscription

Quote:
Chuck S has uploaded one or more ads to a category you subscribe to.

Image name: 8468Gonipora5.jpg
Title: test subscribe
Description: Test subscribe

Link to ad: http://www.reeftalk.com/classifieds/....php?product=3

To turn off subscriptions for this category, click on the following link:

http://www.reeftalk.com/classifieds/...ubscribe&sub=2

The Reeftalk.com Team
http://www.reeftalk.com
I would seriously suggest you download the build and reupload ALL FILES except the config files. As I stated earlier I can not replicate the issue and all variables are indeed correct. The subscribe code is sent from image-inc.php where the product is inserted into the database and $realname $title $desc and $lastproductid are all the correct info
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 7th, 2007, 08:03 AM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2004
Posts: 11
After re-downloading the files, this problem is still happening.
I'm guessing the reason you can't reproduce it is because you are not moderating new ads.

If a moderator approves a submitted ad, the email will go out as shown in my earlier posts. The moderator shows up as the ad submitter and the unsubscribe link is broken. The changes you provided seem to have no effect on this behavior.
queritor is offline   Reply With Quote
Old February 7th, 2007, 09:30 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Your talking about a totally different area then and that helps alot.

In adm-misc.php find and add or change in bold

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 8th, 2007, 05:44 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2004
Posts: 11
OK, that almost fixed it.

The product ID is now showing in the unsubscribe link, but the email still indicates that the email recipient submitted the ad.

I've gone ahead and made a similar change in adm-misc.php to the one you described for image-inc.php. I replaced the $nuserid with $result['userid']. Hopefully that will fix it once and for all.
queritor is offline   Reply With Quote
Old February 8th, 2007, 06:05 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Did you make the change I noted in post 6 to image-inc.php I think you forgot that
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 8th, 2007, 07:19 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2004
Posts: 11
Quote:
Originally Posted by Chuck S View Post
Did you make the change I noted in post 6 to image-inc.php I think you forgot that
Yes, I did that first, but it didn't make any difference to the moderated ads. The last paragraph in my previous post references that.

I made your edits to image-inc.php and adm-misc.php. The link was fixed, but the email still states that the ad was submitted by the recipient of the email.

So I made the additional modification to adm-misc.php to make sure the userid of the ad was used in the get_userinfo() call and the username assigned to $tusername which is referenced in the language file.

Please let me know if there is a better way to fix this bug.
queritor is offline   Reply With Quote
Old February 8th, 2007, 08:01 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Category Unsubscribe Link Broken

My post here has the correct code for adm-misc.php
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 8th, 2007, 09:17 PM   #13 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2004
Posts: 11
Quote:
Originally Posted by Chuck S View Post
Category Unsubscribe Link Broken

My post here has the correct code for adm-misc.php
Ah.. OK. It looks I missed the $notifyuser bit. That's the trouble with these scrolling code boxes. You can't see the entire thing all at once and when you paste it into a text editor, you lose the bold.

Anyway, it looks like my change would have effectively been the same so all is good.

Thanks.
queritor is offline   Reply With Quote
Old February 9th, 2007, 07:00 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Not a problem buddy
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bad link in unsubscribe email h2ojunkie Classifieds Bug Reports 21 October 22nd, 2007 10:34 AM
Broken Link!?!? forddoctor Photopost Pro How Do I...? 1 May 28th, 2006 10:04 AM
Help! Broken image Link no one can fix! jpebbles Photopost Pro Installation & Upgrades 8 January 19th, 2006 03:03 PM
User no longer has access so can't unsubscribe from category sross Photopost Pro How Do I...? 2 March 1st, 2005 02:50 PM
Want Ad sends a broken link to Admin memobug Classifieds Bug Reports 4 August 17th, 2004 07:38 PM


All times are GMT -5. The time now is 02:15 AM.

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