PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Bug Reports (http://www.photopost.com/forum/classifieds-bug-reports/)
-   -   Duplicate phrases (http://www.photopost.com/forum/classifieds-bug-reports/145626-duplicate-phrases.html)

zews April 11th, 2011 12:44 PM

Duplicate phrases
 
I did a fresh install of the phrases in the 4.2 upgrade script and found several duplicate values in the varname. I don't know if that may cause any problems?

Here are the list:

phraseid varname original
324 addbuddy Add Buddy
989 addbuddy Add this user to your buddy list
332 bademail We do not recgonize your email address as being valid. Are you sure you entered it correctly?
962 bademail You have entered an invalid email address, message not sent.
895 closed Closed
1262 closed Closed
1164 emptycat You selected a category which does not contain ads.
1334 emptycat Empty a Category
363 invitemsg %p1%, you have received an invitation to ^Globals['webname']
364 invitemsg Invite Message
371 invitesent Invitation sent to ^iname at ^iemail
372 invitesent Invite Sent
389 location Location
704 location Location
662 months month(s)
675 months month(s)
572 optional Optional Info
573 optional Optional Text
414 options Options
1236 options Options
419 postreply Post A Reply
538 postreply Post a Reply
438 searching Searching
1033 searching Performing Search
448 sendmsg Send Message
1046 sendmsg Send Message
442 shipping Shipping Amount
1048 shipping Shipping Amount
454 subscriptions Subscriptions
1355 subscriptions Subscriptions
1122 username Username
1123 username Username
1149 year Year
1150 year year(s)


I started looking into this, because the left hand menu links looks strange when I am logged in and watch the member.php file.

The first link under the avartar is:

Edit Profile for

It looks like the username is missing


Invites

Invites is not supposed to show when the install is a integrated install vith vb4?


There is a blank spot here, where I think it is supposed to be Subscriptions. Since subscriptions is id the phrases table twice - maybe thats the problem?

Buddy List

Chuck S April 11th, 2011 01:05 PM

There may be duplicate phrases sure the phrases thing was made from the old hard coded language files.

There would never be duplicate options etc if things are installed correctly. We explicitly group by phrase name limit 1 in phrase queries to get the phrase.

zews April 11th, 2011 01:09 PM

ok,

but do you know why the link for subscriptions don't show?

Chuck S April 11th, 2011 01:46 PM

what do you mean link for subscriptions which url are we referring to? There are several different subscription links in the program.

zews April 11th, 2011 01:52 PM

I tried to explain in the first post;

on the page members.php there is a menu on the left hand side.

If you are not logged in, it contains:


Profile


Statistics


Ads


Watch List


Comments


Feedback

When you are logged in it has more links, and the three first links have something wrong with them:

The first link under the avartar is:

Edit Profile for

It looks like the username is missing in this link


Invites

Invites is not supposed to show when the install is a integrated install vith vb4?


There is a blank spot here, where I think it is supposed to be Subscriptions.

Chuck S April 11th, 2011 02:04 PM

Maybe line 70 of the profile template should be this?

Code:

Content visible to verified customers only.

zews April 11th, 2011 03:36 PM

Thanks, that solved the missing link. :)

I have three other questions on the same page:

1) What about the link saying "Edit profile for" - What is the sollution for this?

2) Also, shold Invites link be visible? I read somewhere that it was not supposed to be used if there were a forum integration?

3) If you click the link for ads, acctually only ads with images are shown. To see all your ads, you need to click the "my ads" link in the top menu. Maybe the link should be changed, or the script changed to show also ads without images?

Chuck S April 11th, 2011 06:59 PM

2. no invites is fine it is not hidden

3. thats always been the case as my ads is simply a featured ad blocks that show in the members profile only from that member. Actually it can show ads that have no images but then again thats a setting in your admin settings to show ads without images in features.


All times are GMT -5. The time now is 11:33 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97