 | |  | | | General Discussion General use discussion forum for PhotoPost products. |
March 13th, 2008, 09:30 AM
|
#1 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
| unregistered users have blank name
Anyone what is not logged in (guest) shows up as a blank name for uploads and messages..
Is there a problem with my settings, or does photopost not place a default "guest' for unregistered users?
|
| |
March 13th, 2008, 10:17 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
I guess what is your integration type? url?
|
| |
March 13th, 2008, 10:58 AM
|
#3 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
| Quote:
Originally Posted by Chuck S I guess what is your integration type? url? | Integrated with SMF Forum - http://skidpics.com
notice the Top Posters - The black one is when not logged in..
|
| |
March 13th, 2008, 11:05 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
Well in smf.php you can try this. It will help for future uploads as its not going to change things for old uploads add this in bold. Code: Content visible to verified customers only.
Last edited by Chuck S; March 16th, 2008 at 05:41 PM.
|
| |
March 16th, 2008, 05:13 PM
|
#5 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
| Quote:
Originally Posted by Chuck S Well in smf.php you can try this. It will help for future uploads as its not going to change things for old uploads add this in bold. Code: Content visible to verified customers only.
| With that change, my site will not pull up. I added if (!User['username'] ) $User['username'] = "Guest";
The end result is this: elseif ( $usergroup == "" ) {
// login for guests
$usergroup = 100;
}
if (!User['username'] ) $User['username'] = "Guest"; |
| |
March 16th, 2008, 05:14 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
whats different here what you added is exactly as what I posted?
|
| |
March 16th, 2008, 05:21 PM
|
#7 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
|
correct, and it makes my site not pull up once I posted the update..
how about in this section: line 402
// This assumes that Id for "Guests" is 100
$usergroup = 100;
Last edited by skidpics; March 16th, 2008 at 05:26 PM.
|
| |
March 16th, 2008, 05:40 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
Try this Code: Content visible to verified customers only.
|
| |
March 16th, 2008, 08:17 PM
|
#9 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
|
seems to be working.
Now I have to see if it will show up in the top poster listing. I have a blank in there with images showing, but unsure on who the images belongs to..
|
| |
March 16th, 2008, 08:33 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
It is not going to correct names on all ready uploaded images, You can try running the scan database tool update names on photos comments to see if that helps
|
| |
March 16th, 2008, 09:19 PM
|
#11 (permalink)
| | Ultimate Member
Join Date: Jun 2007
Posts: 1,340
|
Thanks for the help!
|
| |
March 17th, 2008, 07:47 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,650
|
Glad to help have a good day
|
| | |
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 11:57 AM. | |