Skip to Content Skip to Menu

(NO BUG) bug with realnames

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
15 years 9 months ago #89136 by slabbi
Replied by slabbi on topic Re:bug with realnames
loila wrote:

i make the change "name" : "username" to "username" : "username"

it looks working :)

[code:1]

function uddeIMgetNameFromID($id, $config) {
$database = uddeIMgetDatabase();
$sql="SELECT ".($config->realnames ? "username" : "username"«»)." FROM #__users WHERE id=".(int)$id;
$database->setQuery($sql);
$value = $database->loadResult();
return $value;
}[/code:1]


Don't use it, it breaks several other things...

Please try my fix without this modification.

Post edited by: slabbi, at: 2009/02/18 13:13

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • loila
  • loila
  • OFFLINE
  • Posts: 20
  • Thanks: 0
  • Karma: 1
15 years 9 months ago #89138 by loila
Replied by loila on topic Re:bug with realnames
ok i will try and will tell you ...

Post edited by: loila, at: 2009/02/18 13:30

www.vidogg.com

Dedicated

Please Log in or Create an account to join the conversation.

  • loila
  • loila
  • OFFLINE
  • Posts: 20
  • Thanks: 0
  • Karma: 1
15 years 9 months ago #89141 by loila
Replied by loila on topic Re:bug with realnames
didnt work , there is 2 marina it still goes to first one

Post edited by: loila, at: 2009/02/18 13:37

www.vidogg.com

Dedicated

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
15 years 9 months ago #89142 by slabbi
Replied by slabbi on topic Re:bug with realnames
How does FB call uddeIM?

When you check the link FB provides: Is there an ID or the realname in it? It should work when the ID is used.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
15 years 9 months ago #89145 by slabbi
Replied by slabbi on topic Re:bug with realnames
I am sorry there is another typo (see second SQL clause there is a FROM twice).

Could you try again, plz?

I checked it on my test system ad it works fine. Currently I do not know if it breaks other features.

Post edited by: slabbi, at: 2009/02/18 14:16

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • loila
  • loila
  • OFFLINE
  • Posts: 20
  • Thanks: 0
  • Karma: 1
15 years 9 months ago #89417 by loila
Replied by loila on topic Re:bug with realnames
Yes Slabbi, i have tested and it looks like working :lol:
thank you very much ;)

www.vidogg.com

Dedicated

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum