By Thomas Arllan on Sunday, 20 October 2013
Posted in General Issues
Replies 5
Likes 0
Views 1.2K
Votes 0
Unfortunately I found one that has not changed correctly in when I am not logged in at the bottom of a blog post, under the comments I see the link below...

Comments
Please login first in order for you to submit comments


The "login first" is a link to the Joomla user manager, which then links to the normal Joomla registration form, if the person needs an account.

In easy blog I set the login provider to JomSocial and in comments I set it up so that non members are not allowed to comment, I also have disabled “Allow registrations during commenting".

Preferably how this would work is that it would honor the selection of the login provider I selected in EasyBlog general settings. Or not have the login link at the bottom of the comments.

By the way I am using EasyBlog native commenting, I do not have any other comment integration setup. Though I am thinking of using easy discuss. Not sure about that right now.
I have the exact same problem. I use Jomsocial and all registration should go through Jomsocial.
The link at the comment box directs to the Joomla registration which it can't.
Where/what file/code can I change the link to the home page or another link that suit my login/registration flow?
Thanks
·
Saturday, 01 August 2015 19:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Kenneth,

I am really sorry for the delay of this reply as it is a weekend for us here. Try this, edit the file /administrator/components/com_easyblog/includes/easyblog.php and at line 3804 locate the codes below:


$link = $default;


Replace it with,


$link = JRoute::_('index.php?option=com_community');


By the way, this links to the main layout of jomsocial because they don't have a login view
·
Saturday, 01 August 2015 23:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

Thanks for your reply - I found the file and the place to change the link. Line 3804 was not like you wrote above so I did a search and found line 3790:

3790 $link = $default;

I changed it first to: $link = JRoute::_('index.php?option=com_community');

It got me to the login/register at the community front page which was correct. However due to my template formatting the URL directly to my front page worked best.

case 'joomla':
case 'jomsocial':
3790 $link = JRoute::_('http://artcirclus.com/');
break;

Appreciate your quick and great help with this! It's my first time working with Easyblog and it's really promising - I'm becoming a bigger and bigger fan as I learn more about the product. Fast support like today is of course amazing and add much value to the product. Thanks again!

Kenneth
·
Sunday, 02 August 2015 00:44
·
0 Likes
·
0 Votes
·
0 Comments
·
I should of course add the version of Easyblog i refer to in my post above is version: 5.0.17
·
Sunday, 02 August 2015 00:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Kenneth,

Ah, sorry I was referencing to my copy which is what we have from our repository. Thanks for the heads up on this and glad that your issues are resolved now
·
Sunday, 02 August 2015 00:50
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post