By Ch4pii. on Monday, 19 May 2014
Posted in General Issues
Likes 0
Views 1.2K
Votes 0
Hello,

on a user's profile, lorseque I click on "view history" I get the following error message:
"Unable to locate the id of the user."

Can you help me please?

Thank you in advance
Hello Sh3pp3r,

I have help you fix this issue. I applied a fix on the file /components/com_easydiscuss/router.php you can check on your site.

Can you confirm back to me is it working?

Please be advise.
Thanks.
·
Monday, 19 May 2014 17:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you very much it works. You have added the following line is that right?

"$ id = explode (':', $ alias);"
·
Monday, 19 May 2014 19:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sh3pp3r,

Yes, you're correct.

You're welcome. Glad to hear your issue have been resolved.
If you have anymore question, please don't hesitate to ask us and please create a new ticket. I will mark this ticket as resolved.

Thanks again and have a wonderful day.
·
Tuesday, 20 May 2014 10:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi guys,

This fix not implemented in 3.2.9463?
Kai
·
Sunday, 22 June 2014 21:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Kai,

I am sorry for the late reply.
I believe this issue is already implemented in 3.2.9463. If this issue is still persist, perhaps you can you provide us with backend access and ftp access so that we can assist you on this issue much quicker.

Please be advise.
Thanks.
·
Monday, 23 June 2014 10:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mohd, thanks for your help. I inputted my FTP details under my dashboard, can you see it?

http://stackideas.com/dashboard/site

In the router.php file I see this:

		// Get the user's id.
$alias = $segments[ 2 ];
$id = explode(':', $alias);
$id = $id[0];
Kai
·
Monday, 23 June 2014 15:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Kai

I have fix this issue on your site. What I did was change this code:

// Get the user's id.
$alias = $segments[ 2 ];
$id = DiscussHelper::getUserId( $alias );

To this:

// Get the user's id.
$alias = $segments[ 2 ];
$id = explode(':', $alias);
$id = $id[0];

At line: 311 in : /components/com_easydiscuss/router.php

Hope this will help.
If you have anymore question, please don't hesitate to ask us.
Thanks.
·
Monday, 23 June 2014 15:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, so that was you who updated it

PS. I just checked the archive for 3.2.9463 and the router.php is still the old version, please incorporate the fix for future releases
Kai
·
Monday, 23 June 2014 15:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Kai,

Thanks for the update. We will include this fix in the next version release.Glad to hear your issue have been resolved.
If you have anymore question, please don't hesitate to ask us and please create a new ticket. I will mark this ticket as resolved.

Thanks again and have a wonderful day.
·
Monday, 23 June 2014 15:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mohd,

This is a related question I think:

The view points history link loads now,

However total number of points show 0.0 points, can you please check using the superadmin account?
Kai
·
Monday, 23 June 2014 16:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Kai,

I have check your site and it seems like you have installed AUP components and integrated it with EasyDiscuss. I have try disable the integration of EasyDiscuss with AUP and the point is showed. So, I do a further investigation and discover that user in your AUP components doesn't collect points. Here my screenshot: http://screencast.com/t/LV8Cmwgd3 and this is why it only show 0.0. You need to check back your AUP's rules in the AUP components in which all of them doesn't have points.

Hope this will help.
Thanks.
·
Monday, 23 June 2014 17:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mohd,

You're right, sorry about that! Had just installed AUP last night (never used it before). Will need to play around more with it to see how it works.

Thanks again!
Kai
·
Monday, 23 June 2014 17:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Kai,

You're welcome. Glad to hear your issue have been resolved.
If you have anymore question, please don't hesitate to ask us and please create a new ticket. I will mark this ticket as resolved.

Thanks again and have a wonderful day.
·
Monday, 23 June 2014 17:33
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post