Skip to Content Skip to Menu

problem with 2 different user with same name

  • king2163
  • king2163
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
15 years 10 months ago #78036 by king2163
I have intslled uddeim in one of my joomla website. i have made 2 user with same name and have 2 different user name. i have set show username as real name in admin panel . when i have logged in with one user name and try to send message to other user with same name. it gives message 'you can not send message to yourself'. please give the suggestion so i can send message to other user with same name. i am selecting name of user from ajax list in which 2 same name of different user are there.

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

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
15 years 10 months ago #78041 by slabbi
With your last sentence you have answered your question.

uddeIM uses either usernames or realnames. So you have to ensure that these names are unique otherwise uddeIM is not able to separate between these names.

You have to use usernames on your site when realnames are not unique.

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

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

  • king2163
  • king2163
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
15 years 10 months ago #78042 by king2163
i have done little hack for doing such functonality

at uddeim.php
replace code at line 1875 -1895 with below code

[code:1]Code removed to prevent users from damage.[/code:1]
and replace code from 1909-1912 with blow code

[code:1]Code removed to prevent users from damage.[/code:1]
and under function uddeIMsaveMessage at 673 line put below code at very start of function defination
[code:1]Code removed to prevent users from damage.[/code:1]

now you are able to send email to person who has same name on the basis of their email address

Post edited by: king2163, at: 2008/10/23 08:37

Post edited by: slabbi, at: 2008/10/23 08:40

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

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
15 years 10 months ago #78045 by slabbi
DON'T USE THIS HACK!

It will NOT work. uddeIM uses either usernames or realnames hundreds of times in the code to identify a recipient or sender which is not recognized by this hack.

It will also break the identification of realnames completely.

There is no way to separate between same realnames with an easy hack. The only solution is to switch to usernames!

You have been warned.

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

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

Moderators: beatnantslabbikrileon
Powered by Kunena Forum