 | |  | | | General Discussion General use discussion forum for PhotoPost products. |
April 12th, 2008, 07:08 AM
|
#1 (permalink)
| | Ultimate Member Verified Customer
Join Date: Jun 2007 Location: Texas
Posts: 1,353
| blank author on comments
I know I had this discussion in the past, and got some it resolved with the name for unregistered users.
My comments on the index page shows 'unregistered', but the comments under the pics under author show nothing.. what can I do to get 'guest' in that spot?
|
| |
April 12th, 2008, 11:39 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,660
|
In image-inc.php you can add this line Code: Content visible to verified customers only.
|
| |
April 12th, 2008, 08:45 PM
|
#3 (permalink)
| | Ultimate Member Verified Customer
Join Date: Jun 2007 Location: Texas
Posts: 1,353
|
didn't do the trick..
|
| |
April 12th, 2008, 09:00 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,660
|
Yes it should on new photos. Try uploading a new photo
|
| |
April 13th, 2008, 12:44 AM
|
#5 (permalink)
| | Ultimate Member Verified Customer
Join Date: Jun 2007 Location: Texas
Posts: 1,353
|
the issue is not with the photos, rather the comments that are listed having nothing listed on the 'author'
I did as instructed, uploaded a new photo and added another comment, with no difference..
|
| |
April 13th, 2008, 11:08 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,660
|
IN your language file what do you have for this language string?
$ucuser[$itemnum] = $Globals['pp_lang']['unreg'];
You can edit showphoto.php and find this line and above it add the line in bold but i dont see why your array does not load the string noted above if cuname is empty Code: Content visible to verified customers only.
|
| |
May 16th, 2008, 07:13 AM
|
#7 (permalink)
| | Ultimate Member Verified Customer
Join Date: Jun 2007 Location: Texas
Posts: 1,353
| Quote: |
$ucuser[$itemnum] = $Globals['pp_lang']['unreg'];
| is NOT found in my language file. english.php
|
| |
May 16th, 2008, 07:19 AM
|
#8 (permalink)
| | Ultimate Member Verified Customer
Join Date: Jun 2007 Location: Texas
Posts: 1,353
| Quote:
Originally Posted by Chuck S In image-inc.php you can add this line Code: Content visible to verified customers only.
|
I just added this tweak to the upgraded version, since it wasn't included, and it made my uploads go to unregistered for logged in user. It will show unregistered, but the link will go to the uploaders profile.
here is a link to a pic, check out the uploader: http://skidpics.com/showphoto.php/photo/5380 |
| |
May 16th, 2008, 11:11 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,660
|
You can run the tool in admin to update photo and comment names. |
| |
May 16th, 2008, 08:50 PM
|
#10 (permalink)
| | Ultimate Member Verified Customer
Join Date: Jun 2007 Location: Texas
Posts: 1,353
| Quote:
Originally Posted by Chuck S You can run the tool in admin to update photo and comment names.  | that works, but should the upload for a logged in user remain unregistered until I run the utility each time? That is what it is doing now..
|
| |
May 16th, 2008, 09:23 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,660
|
well I would ask why what integration is this?
|
| |
May 17th, 2008, 05:18 PM
|
#12 (permalink)
| | Ultimate Member Verified Customer
Join Date: Jun 2007 Location: Texas
Posts: 1,353
| Quote:
Originally Posted by Chuck S well I would ask why what integration is this? | What do you mean by integration? It is a standalone PP..
|
| |
May 17th, 2008, 08:59 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,660
|
The users username should be entered on a comment.
Url and test login.
|
| |
January 16th, 2009, 10:47 PM
|
#14 (permalink)
| | Ultimate Member Verified Customer
Join Date: Jun 2007 Location: Texas
Posts: 1,353
|
I think this conversation was left in the dust, but I also noticed this issue was never taken care of in any updates, which of course where the tweaks were lost..
Reading the thread, is it the language string we are missing to show 'unregistered' or 'guest' on the blank upload names? Or is there something else?
|
| |
January 16th, 2009, 10:49 PM
|
#15 (permalink)
| | Ultimate Member Verified Customer
Join Date: Jun 2007 Location: Texas
Posts: 1,353
|
How about something like this in image-inc?
if ( $upuserid != 0 )
{
list( $tmpid, $tmpuname, $tmail ) = get_userinfo("", $upuserid);
$User['username'] = $tmpuname; if ( empty($User) )
{
$User = 'guest';
}
}
|
| |
January 17th, 2009, 10:24 AM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,660
|
The line you posted in your post is wrong Code: Content visible to verified customers only.
this is more like it Code: Content visible to verified customers only.
|
| |
January 17th, 2009, 10:26 AM
|
#17 (permalink)
| | Ultimate Member Verified Customer
Join Date: Jun 2007 Location: Texas
Posts: 1,353
|
Thanks Chuck - I used that for general terms.
I will update the files once the server upgrades are complete.
|
| |
January 17th, 2009, 10:27 AM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,660
|
yeah I am just running through this thread looking for errors in posts |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 07:04 AM. | |