PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   General Discussion (http://www.photopost.com/forum/general-discussion/)
-   -   unregistered users have blank name (http://www.photopost.com/forum/general-discussion/135812-unregistered-users-have-blank-name.html)

skidpics March 13th, 2008 09:30 AM

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?

Chuck S March 13th, 2008 10:17 AM

I guess what is your integration type? url?

skidpics March 13th, 2008 10:58 AM

Quote:

Originally Posted by Chuck S (Post 1219550)
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..

Chuck S March 13th, 2008 11:05 AM

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.

skidpics March 16th, 2008 05:13 PM

Quote:

Originally Posted by Chuck S (Post 1219555)
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";

Chuck S March 16th, 2008 05:14 PM

whats different here what you added is exactly as what I posted?

skidpics March 16th, 2008 05:21 PM

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;

Chuck S March 16th, 2008 05:40 PM

Try this

Code:

Content visible to verified customers only.

skidpics March 16th, 2008 08:17 PM

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..

Chuck S March 16th, 2008 08:33 PM

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

skidpics March 16th, 2008 09:19 PM

Thanks for the help!

Chuck S March 17th, 2008 07:47 AM

Glad to help have a good day


All times are GMT -5. The time now is 06:33 PM.

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