Author Topic: Username to login, But visible with full name  (Read 100077 times)

0 Members and 1 Guest are viewing this topic.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Username to login, But visible with full name
« Reply #90 on: August 08, 2007, 02:10:02 PM »
No !!

Quote
$comment_user_name = format_text(stripslashes($comment_row[$i]['user_firstname']), 2) . REPLACE_EMPTY . format_text(stripslashes($comment_row[$i]['user_lastname']), 2);

:?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline cloe

  • Full Member
  • ***
  • Posts: 120
    • View Profile
Re: Username to login, But visible with full name
« Reply #91 on: August 08, 2007, 02:14:00 PM »
No !!

Quote
$comment_user_name = format_text(stripslashes($comment_row[$i]['user_firstname']), 2) . REPLACE_EMPTY . format_text(stripslashes($comment_row[$i]['user_lastname']), 2);

:?

Sortet... No errors now... But the full name is not showing in comments or post comments... Its still the username  :?
Peace And Luv :)

--Cecilie--

http://www.cloevvold-photo.com

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Username to login, But visible with full name
« Reply #92 on: August 08, 2007, 02:25:19 PM »
Details.php

Quote
if (isset($comment_row[$i][$user_table_fields['user_name']]) && $comment_user_id != GUEST) {
        $comment_user_name = format_text($comment_row[$i][$user_table_fields['user_name']], 2);

change:

Quote
if (isset($comment_row[$i]['user_firstname']) && isset($comment_row[$i]['user_lastname']) && $comment_user_id != GUEST) {
        $comment_user_name = format_text(stripslashes($comment_row[$i]['user_firstname']), 2) . REPLACE_EMPTY . format_text(stripslashes($comment_row[$i]['user_lastname']), 2);
} elseif (isset($comment_row[$i][$user_table_fields['user_name']]) && $comment_user_id != GUEST) {
        $comment_user_name = format_text(stripslashes($comment_row[$i][$user_table_fields['user_name']]), 2);
}

8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline cloe

  • Full Member
  • ***
  • Posts: 120
    • View Profile
Re: Username to login, But visible with full name
« Reply #93 on: August 08, 2007, 02:29:38 PM »
Details.php

Quote
if (isset($comment_row[$i][$user_table_fields['user_name']]) && $comment_user_id != GUEST) {
        $comment_user_name = format_text($comment_row[$i][$user_table_fields['user_name']], 2);

change:

Quote
if (isset($comment_row[$i]['user_firstname']) && isset($comment_row[$i]['user_lastname']) && $comment_user_id != GUEST) {
        $comment_user_name = format_text(stripslashes($comment_row[$i]['user_firstname']), 2) . REPLACE_EMPTY . format_text(stripslashes($comment_row[$i]['user_lastname']), 2);
} elseif (isset($comment_row[$i][$user_table_fields['user_name']]) && $comment_user_id != GUEST) {
        $comment_user_name = format_text(stripslashes($comment_row[$i][$user_table_fields['user_name']]), 2);
}



I think we soon have sorted this out :)... U are really good at this thunderstrike...

For now, get an error:

Parse error: syntax error, unexpected '}' in /var/www/virtual/fotoonline.no/htdocs/details.php on line 484
Peace And Luv :)

--Cecilie--

http://www.cloevvold-photo.com

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Username to login, But visible with full name
« Reply #94 on: August 08, 2007, 02:31:30 PM »
Remove last } at before block ... my error.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline cloe

  • Full Member
  • ***
  • Posts: 120
    • View Profile
Re: Username to login, But visible with full name
« Reply #95 on: August 08, 2007, 02:38:39 PM »
Remove last } at before block ... my error.

Oki... error gone... It make the full name apear in comments... But suddenly im "guest" not admin..
And in post comments.. still username.

Se attachment:
Peace And Luv :)

--Cecilie--

http://www.cloevvold-photo.com

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Username to login, But visible with full name
« Reply #96 on: August 08, 2007, 02:43:56 PM »
Yes - normal this time. No fresh gallery (before user upload - before make modifiction of my last) - content same. Only new upload will start change (if no fresh). Old upload (before change), need manual change in database / ACP - > add / edit images (and / or comments).
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline cloe

  • Full Member
  • ***
  • Posts: 120
    • View Profile
Re: Username to login, But visible with full name
« Reply #97 on: August 08, 2007, 02:57:45 PM »
Yes - normal this time. No fresh gallery (before user upload - before make modifiction of my last) - content same. Only new upload will start change (if no fresh). Old upload (before change), need manual change in database / ACP - > add / edit images (and / or comments).

Created a new user, and uploaded an image from new user.. And comment with new user.. And it still look like this:
Peace And Luv :)

--Cecilie--

http://www.cloevvold-photo.com

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Username to login, But visible with full name
« Reply #98 on: August 08, 2007, 03:00:42 PM »
Comment user id show GUEST level (-1) ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline cloe

  • Full Member
  • ***
  • Posts: 120
    • View Profile
Re: Username to login, But visible with full name
« Reply #99 on: August 08, 2007, 03:02:04 PM »
Comment user id show GUEST level (-1) ?

I guess it does that yes...
Peace And Luv :)

--Cecilie--

http://www.cloevvold-photo.com

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Username to login, But visible with full name
« Reply #100 on: August 08, 2007, 03:03:34 PM »
Then no good ... user ID no capture.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline cloe

  • Full Member
  • ***
  • Posts: 120
    • View Profile
Re: Username to login, But visible with full name
« Reply #101 on: August 08, 2007, 03:05:29 PM »
Then no good ... user ID no capture.

Hmmm... thats strange..
Is there a fix for this??

Maybe thats the problem under thumbnails to?
Peace And Luv :)

--Cecilie--

http://www.cloevvold-photo.com

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Username to login, But visible with full name
« Reply #102 on: August 08, 2007, 03:12:08 PM »
If upload only users - no guest allow. Will show user ID ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline cloe

  • Full Member
  • ***
  • Posts: 120
    • View Profile
Re: Username to login, But visible with full name
« Reply #103 on: August 08, 2007, 03:15:32 PM »
If upload only users - no guest allow. Will show user ID ?

I have the setting that ONLY members can upload.. But still it shows guest
Peace And Luv :)

--Cecilie--

http://www.cloevvold-photo.com

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Username to login, But visible with full name
« Reply #104 on: August 08, 2007, 03:24:53 PM »
Sorry - no idea.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?