By mark.l on Friday, 31 July 2015
Posted in General Issues
Replies 16
Likes 0
Views 788
Votes 0
Trying to use the ED Welcome module for login and quick links. This the standard module.

After logging in:

1. clicking on the username seems to generate the right URL, but there is no data.
2. clicking on the Edit Profile presents a second login screen? Logging in doesn't seem to work.
3. All the other links do not show any data.

I don't know if this module is incompatible with our recent customizations, but that seems unlikely. Appreciate your help.

Thanks!
Hi Mark,

Thanks for the ftp access. I've added some fix on your site and now the sef links for the profile edit in your welcome module should work correctly.

Below are the two php files I've modified:

JOOMLA/modules/mod_easydiscuss_welcome/tmpl/default.php
JOOMLA/easydiscuss/components/com_easydiscuss/router.php

Also, I've adjusted the external links in your 'Profile' mainmenu as previously the external links was pointing to the wrong profile links. Now your external links in your 'Profile' menu should work correctly.

Please verify again.

Hope this help and have a nice day!
Sam
·
Tuesday, 04 August 2015 12:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I have inspected your site and regarding your questions:
1. clicking on the username seems to generate the right URL, but there is no data.
It is because the page is already loaded but this css style hides it. http://screencast.com/t/0EA6ZcZvn I have helped you disable this and now your profile is displaying correctly. By the way, there is a comment there where this css code is to hides subscribe button from question. May I know which button you're referring to so that I can provide you with an alternative css code to override this.

2. clicking on the Edit Profile presents a second login screen? Logging in doesn't seem to work.
I have helped you fix this issue and now it is working correctly. I have checked your SEO setting at the EasyDiscuss > Settings > SEO, you have set the routing behaviour to use menu item id: 288. Right now I have set your routing behaviour to Use Menu ItemId Determined By EasyDiscuss.

There are 2 way to fix this. First, you can change the routing behaviour to Use Menu ItemId Determined By EasyDiscuss or you can stick with use menu item id: 288 but you need to edit the menu item for profile: 335 to use another alias. If not, there will be a conflict of routing in EasyDiscuss thus cannot route you to the correct page.


3. All the other links do not show any data.
This is now fixed by fixing your first issue.

Hope this helps and please advise.
·
Friday, 31 July 2015 11:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for the help. I was trying to remove the "Add a Reply" and " View Replies" buttons at the top of a question. If there is a way to remove those more carefully, I would appreciate the help.

As for the menuid suggestion, the change you made makes sense, but I think it is causing problems with tags. If you click on Tags in the top menu and then select Test (the only tag), you will notice that the url is strange. Stockades just did a bunch of customization for us, some related to tags. I wonder if the setting to menuid 255 was related to the work?

Also, I now can't get the tag field to display when someone asks a question, even though its enabled on the back end. I can't find anything in my custom CSS which is turning if off though. Can you help?

Thank you very much.
·
Friday, 31 July 2015 12:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Never mind about tags. Just missed an ACL setting.
·
Friday, 31 July 2015 13:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I was trying to remove the "Add a Reply" and " View Replies" buttons at the top of a question. If there is a way to remove those more carefully, I would appreciate the help.


Regarding the above, currently there is no setting to remove the buttons. What you can do is to modify the file 'JOOMLA/components/com_easydiscuss/themes/simplistic/post.php' and remove the code from line 33 ~ 36. Please see:
http://screencast.com/t/Jpd2ZOD6k


As for the menuid suggestion, the change you made makes sense, but I think it is causing problems with tags. If you click on Tags in the top menu and then select Test (the only tag), you will notice that the url is strange. Stockades just did a bunch of customization for us, some related to tags. I wonder if the setting to menuid 255 was related to the work?


Regarding the above, when I click on the link, the link bring me to http://www.yoursite.com/tags/test . The tag url look correct to me. Is your issue now resolved? Please advise.

Hope this help and have a nice day!
Sam
·
Friday, 31 July 2015 14:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for the help with the Add Reply buttons.

The Edit Profile from the Welcome module issue is not resolved. I have tested all 3 SEO options. Each setting has a serious issue:

1. The first two options "Use Current Active Menu ItemId ( default )" and "Use Menu ItemId Determined By EasyDiscuss" allow access to the edit profile feature but the ruin the URLs throughout the site. For example, "edit profile" doubles "profile" in the url.

They also produce bad URLs elsewhere. For example, going to Menu > Tags > test, generates a URL with duplicates in the path (see below)

However,

2. The third option, "Use Menu ItemId : 288" produces good URLs throughout the site, except for the Edit Profile. I think this is why Mark and Sam set it to 288.

However, it is generating the incorrect SEF URL. The non-SEF URL in /modules/mod_easydiscuss_welcome/tmpl/default.php works just fine.

The menu link (menu itemid: 289) works well and produces a SEF URL.

Why can't the PHP code for EDIT PROFILE in the Welcome module just point to the correct SEF URL?

The Edit Profile button on the Profile page also goes to the wrong URL...
·
Tuesday, 04 August 2015 09:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I am sorry for the delay of this reply.

Regarding your issue with the sef links, can you pass me your FTP account so that I can investigate further on your issue? Your previous ftp credential no longer work for me

Please advise.
Sam
·
Tuesday, 04 August 2015 11:07
·
0 Likes
·
0 Votes
·
0 Comments
·
ftp details added
·
Tuesday, 04 August 2015 11:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Looks like it works. Thank you very much.
·
Tuesday, 04 August 2015 13:06
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Mark. Glad that your issue has been resolved now.
·
Tuesday, 04 August 2015 13:18
·
0 Likes
·
0 Votes
·
0 Comments
·
I am embarrassed to say that we had a server issue immediately after Sam's changes. We had to restore from a backup from a few hours before the changes to the two PHP files he made to fix the issue. Is there any chance he can make them again or email me what they are?

The timing was just terrible. Thank you.
·
Tuesday, 04 August 2015 13:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Look like I cannot view any folders with the ftp account that you'v provided just now. Please advise.
Sam
·
Tuesday, 04 August 2015 13:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Try again. should be fixed.
·
Tuesday, 04 August 2015 13:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Thanks for fixing the ftp account. I've re-applied the changes on below two files


JOOMLA/modules/mod_easydiscuss_welcome/tmpl/default.php
JOOMLA/easydiscuss/components/com_easydiscuss/router.php


You might want to do another backup which include the above changes

Hope this help and have a nice day!
Sam
·
Tuesday, 04 August 2015 13:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you! Back up already done. Thank you.
·
Tuesday, 04 August 2015 14:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

You are most welcome
Sam
·
Tuesday, 04 August 2015 14:05
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post