By mark semczyszyn on Tuesday, 16 December 2014
Posted in General Issues
Replies 20
Likes 0
Views 739
Votes 0
Upgraded to j3.3.6 and latest EasyDiscuss. Replaced "helper.php" as noted in another thread so that a non logged in user goes to the login rather than registration page.

Problem is, once logged in, the user isn't redirected back to easydiscuss - they go to the Joomla User profile page - where they can edit their profile - as we have LDAP integration for login, this isn't good.

I'm sure this wasn't the issue before upgrading. Normal Joomla login redirects work fine taking the user back to the previous page - just not easydiscuss.

mark
Hello Mark,

Can you provide us your backend and FTP access so we can have a better look on your issue here?
·
Tuesday, 16 December 2014 18:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi sorry - not possible - it's on a secure NHS network so no outside access.
·
Tuesday, 16 December 2014 18:12
·
0 Likes
·
0 Votes
·
0 Comments
·
The add a reply login form form.reply.login.php works fine - takes you straight to a login. The ask a question button and the "register here" button both redirect back to the joomla user profile.
·
Tuesday, 16 December 2014 18:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

I'm sorry but we cannot replicate your issue this maybe because you are using custom helper.php. Can you send us the file so that we can test? Please advise.
·
Tuesday, 16 December 2014 19:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi - this is the one I downloaded from your forum this morning - the standard one is backed up - does the same thing but I was hoping the forum post about redirecting to login rather than register would solve the problem.
·
Tuesday, 16 December 2014 19:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Question - the url for the Ask a Question button is:

http://myserver.local/component/users/?view=login

Is this right? As the site doesn't allow users to register, they simply log in with their Active Directory / LDAP credentials and Joomla creates a registered account if one doesn't exist.

What would work as an alternative is if they click the "ask a question button" it either gives a prompt that they must log in first or redirects to a page where I can embed a working login module.
·
Tuesday, 16 December 2014 21:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

The link is actually correct but the issue here is the login redirection needs to be configured so that the user get's redirected to the current page that they are trying to view. This is actually not controlled by EasyDiscuss. Are you using EasySocial on the site or?
·
Wednesday, 17 December 2014 00:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey mark - funnily enough - I am - just installed it for a big rollout. I've got 350 existing joomla users automatically synced into EasySocial at the time of install - I want to be able to tweak permissions and visible settings before people run wild.

BTW, (off topic) is there a resync tool for users in easysocial so that I can still have new users log into joomla as normal (it's an intranet incorporating a social network) but then have easysocial automatically or manually run by admin, sync any outstanding new users to easy social?

mark
·
Wednesday, 17 December 2014 01:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hmm. I get this when I click the "ask a question" button in easydiscuss now - it's trying to redirect to easysocial - or at least the Social/Social Network menu item.
·
Wednesday, 17 December 2014 01:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark - I've tweaked things a little - on the easydiscuss landing page I've got the welcome module displaying now - so is it possible to hide the "ask a question" button if the user isn't logged in? That would workaround this login loop now easysocial is installed.

As for my off topic question - the model I'd like to achieve for this intranet is that unregistered users can view the network - if posts are public - but they must log in to the intranet first to be able to start using it - this is a hybrid site and the ldap integrated user controls and single point of login are more important than people registering directly from within easysocial. Can this be achieved?
·
Wednesday, 17 December 2014 01:46
·
0 Likes
·
0 Votes
·
0 Comments
·
OK! The login loop was caused by my setting the Social Network (link to easysocial) menu item as Special until I get some things ironed out. So with it public, clicking ask a question in easydiscuss redirected to that login form - which it shouldn't do because Joomla is set as the login provider.
·
Wednesday, 17 December 2014 01:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

I'm sorry but I'm a bit lost here. As for the Ask Question button, please replace the attached file in: ../components/com_easydiscuss/themes/simplistic/searchbar.php . This will hide ask question button if the user has no permission to ask a question. As for other issue, can you elaborate more on it such as:

What is the status of the issue?
What you have done to overcome it?
What is the outcome?

Please advise.
·
Wednesday, 17 December 2014 13:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Nik -

Hiding the ask a question for non-logged in users will be great - I'll apply it in a few minutes.

Mark asked if I had EasySocial on the site - which I do now - I'm guessing he was wondering if the login redirect to easysocial would work.

Status (workarounds) is:

1. Apply your new searchbar file - hide ask a question for non-logged in users.
2. Show Welcome Easydiscuss module in Right position for EasyDiscuss pages - so user can log in via that. Retrieve their posts etc. This works and redirects fine.
3. Hide Register Here form.reply.php button - only show the simple login form at the bottom of the page - minus remember me and forgot password links. This works fine.
4. Changed Menu item (that appears under another main menu) for Job news to the URL of the EasyDiscuss category I want to display. This works fine and doesn't affect the paths of the other categories.

All the above to achieve a seamless LDAP joomla managed login process for users.

As for my easysocial questions, I will raise another ticket.

mark
·
Wednesday, 17 December 2014 16:55
·
0 Likes
·
0 Votes
·
0 Comments
·
If Mark or anyone else who can go through my EasySOcial scenario has skype, that would be much quicker. Can you please email me contact details.

Thanks, mark
·
Wednesday, 17 December 2014 16:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Your searchbar.php didn't work - it broke the styling so that no avatar shows and it just becomes an unstyled full width input field. I replaced it with the normal one and simply commented out the "ask a question" button on the condition that the user isn't allowed by ACL.
·
Wednesday, 17 December 2014 17:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Based on your replies above, it seems like issue number 2 and number 3 of your issue is already resolved? For your first issue, here I have attached to you a file, can you download it and put it here: ../components/com_easydiscuss/themes/simplistic/searchbar.php. Please give this a try and see if this resolves your issue.
However, for issue number 4, I seems can't understand you well. Can you elaborate more on this issue so that we can help you on this issue.

Please be advise.
Thanks.
·
Wednesday, 17 December 2014 17:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi - yes, 2 and 3 have workarounds in place.

1 is ok with the edit I made to searchbar.php

4 was what I noted yesterday - in another ticket - sorry I listed it by mistake. I have a workaround in place for that too. I closed the other ticket yesterday to reflect this.
·
Thursday, 18 December 2014 00:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

You're welcome. Glad to hear your 1,2 & 3 issues have been resolved.
Coming back to issue number 4,
4. Changed Menu item (that appears under another main menu) for Job news to the URL of the EasyDiscuss category I want to display. This works fine and doesn't affect the paths of the other categories.

Is this issue is also resolved? If not, perhaps you can create another ticket and explain more regarding this issue so that we can minimize the confusion from you and us.

Please be advise.
Thanks.
·
Thursday, 18 December 2014 01:39
·
0 Likes
·
0 Votes
·
0 Comments
·
http://stackideas.com/forums/category-link-is-wrong-in-default-frontpage-layout

Was the link from yesterday. Yes. It's worked around.
·
Thursday, 18 December 2014 04:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

Great. Glad that your issues has resolved.
·
Thursday, 18 December 2014 11:18
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post