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

0 Members and 2 Guests are viewing this topic.

Offline cloe

  • Full Member
  • ***
  • Posts: 120
    • View Profile
Re: Username to login, But visible with full name
« Reply #105 on: August 08, 2007, 03:29:12 PM »
Maybe something in comment_bit.html??
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 #106 on: August 08, 2007, 05:36:06 PM »
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);

change:

Quote

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

Try (details.php)
« Last Edit: August 08, 2007, 11:29:00 PM by thunderstrike »
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 #107 on: August 09, 2007, 01:32:05 AM »
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);

change:

Quote

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

Try (details.php)

Nope... Still says guest.. Maybe this is a no can do :(
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 #108 on: August 09, 2007, 01:37:05 AM »
If only I test live with code from server your ... might see defect . . .
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 #109 on: August 09, 2007, 01:42:29 AM »
If only I test live with code from server your ... might see defect . . .

I have my site live, (not local)... but it dosent work :( sorry
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 #110 on: August 09, 2007, 02:23:49 AM »
No, I mean work on site direct ...
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 #111 on: August 09, 2007, 02:31:20 AM »
No, I mean work on site direct ...

Ok.. I edit my files direct from server... Shoudent I do that?

Do you mean I should edit all this files before I upload and install 4images on my server?
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 #112 on: August 09, 2007, 02:37:59 AM »
Quote
Do you mean I should edit all this files before I upload and install 4images on my server?

I mean: I should to see direct. :?
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 #113 on: August 09, 2007, 02:45:05 AM »
Quote
Do you mean I should edit all this files before I upload and install 4images on my server?

I mean: I should to see direct. :?

If you mean what I think you mean ;)
I have removed the password to enter my site..
Open now: http://www.fotoonline.no/
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 #114 on: August 09, 2007, 02:49:22 AM »
Like say ... need work direct from server to see what be wrong ... PM me access if like ... other - can no lot ...
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 #115 on: August 09, 2007, 02:52:30 AM »
Like say ... need work direct from server to see what be wrong ... PM me access if like ... other - can no lot ...

oki... I send u a personal message :)
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 #116 on: August 09, 2007, 03:20:25 AM »
Ok, no perm for upload image so upload new. Check image_id + user_id in IMAGES_TABLE (phpmyadmin) of last upload image ...
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 #117 on: August 09, 2007, 03:30:11 AM »
Ok, no perm for upload image so upload new. Check image_id + user_id in IMAGES_TABLE (phpmyadmin) of last upload image ...

I send you login to my phpadmin on PM.. and you can se it yourself ;)
Made an acount for you to on my gallery

username: thunder
Password: test

Its better if you se it because you understand it better :)
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 #118 on: August 09, 2007, 03:40:48 AM »
No idea why do that ... will check later when time ... now - have MODs code. ;)

For now, restore backup . . .
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 #119 on: August 09, 2007, 03:44:06 AM »
No idea why do that ... will check later when time ... now - have MODs code. ;)

For now, restore backup . . .

Oki.. ;)

If u want just go in a fix it.. But is ut like this now, if I create a new user, and upload images... It will work??
With comments and thumbnail to??
I see that you have fixed random image on my site
Peace And Luv :)

--Cecilie--

http://www.cloevvold-photo.com