×
Kunena 5.2.4 and Blue eagle 1.6.4 released (04 Apr 2021)

The Kunena team has announce the arrival of Kunena 5.2.4 [K 5.2.4] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.2 and issues discovered during the development stages of K 5.2.4

REQUIREMENTS
Blue Eagle 1.6.x requires Kunena 5.2.x to work with, this template isn't designed to works with Bootstrap 3 and Bootstrap 4.

Question Login alteration

More
12 years 1 month ago #1 by Agiofws
Login alteration was created by Agiofws
hello i have installed kunena...

all is nice except for one thing,

When a user logs in from Kunenas login module it REDIRECTS him to the front PAGE. So the user has to click on the forum link to get to the forum again ....

IS THERE A WAY the [LOGIN] button can generate this code

Code:
ixtus.dyndns.org/index.html/index.php?op...n&Itemid=207&lang=el


INSTEAD OF

Code:
ixtus.dyndns.org/index.html/index.php?op...r&view=login&lang=el


i think its a php issue

1)which php file do edit

/var/www/joomla/components/com_kunena/templat...lt/plugin/profilebox$ ls profilebox.php
profilebox.php ?


2)What part of code do i edit to get it generate the right link, so when a user logs in it redirects him to the forum and notthe front page


thankyou C.M

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

More
12 years 1 month ago #2 by Matias
Replied by Matias on topic Re:Login alteration
Yes, that is the file. Try to look user contributions as there are existing fix for this one.

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

More
12 years 1 month ago - 12 years 1 month ago #3 by dsrpmedia
Replied by dsrpmedia on topic Re:Login alteration
I`ve been trying to do this for weeks (I first posted here www.kunena.com/forum?func=view&catid=4&id=3203 -over 3 pages of replies, not a single solution - just people with the same problem) since that time I have found lots of people posting with the problem in other threads, but i have not come across a solution - could you please link to a thread that shows how to have the login redirect back to the forum instead of the front page?

If there is such a solution, why is it not used here?
Everytime I come here it is so frustrating, if I forget to login before i go to the forum, I search for something, then when I want to reply I have to login, and am sent back to the front page and have to start my search all over again!

This is the only thing about this component which I don`t like, every other aspect is awesome
Last edit: 12 years 1 month ago by dsrpmedia. Reason: grammer

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

More
12 years 1 month ago - 12 years 1 month ago #4 by sozzled
Firstly I need to say that I haven't any familiarity with the Kunena login module - I don't even know how to install or enable it - and so I'm mystified as to its reference in this discussion (and the earlier one). This confusion might explain why a solution hasn't been forthcoming earlier.

If, however, we're discussing how to modify the standard Joomla [mod_login] module then the following screenshot shows you which area you need to modify if, for example, you want to redirect your users to the forum part of your site:


If, however, you're using the Community Builder login module [mod_cblogin] instead, then this screenshot may be more relevant:


I hope that information helps.
Last edit: 12 years 1 month ago by sozzled.

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

More
12 years 1 month ago - 12 years 1 month ago #5 by orthanc
My solution:

1. You need a login-modul with horizontal style, e.g. YOOlogin, that's nice looking with good options.
edit:
a bit strange ...
- yoologin v1.5.9 redirects you to frontpage
- with yoologin v1.5.5 you stay in Kunena


2. install the modul

3. modul-config
Show Title: No
Enabled: Yes
Position: kunena_profilebox (copy&paste in the field)

You can control the look via options on the right side.
Style: Default, Nifty Default = vertical
Style: Quick, Nifty Quick = horizontal

Login Redirection URL = leave as it is
Logout Redirection URL = leave as it is
Greeting: Yes
Username/Password in...: Input
... try the other options and fit it to your needs.

-> save

Now you have to remove the Kunena-Login.

open: components/com_kunena/template/default/plugin/profilebox.php

search:
<br/> <?php echo _PROFILEBOX_PLEASE; ?>
replace:
<!-- <br/> <?php echo _PROFILEBOX_PLEASE; ?>

search:
</td>
                <?php
                if (mosCountModules('kunena_profilebox'))
replace:
</td>-->
                <?php
                if (mosCountModules('kunena_profilebox'))

search:
<td>
                            <div class = "fb_profilebox_modul">
replace:
<!--<td>-->
                            <div class = "fb_profilebox_modul">


Now your Forum-Home may look like this:


If a guest comes to your forum and looks into categories/forums/threads - and decide to login - he stay on that categorie/forum/thread he viewed before.

edit:
a bit strange ...
- yoologin v1.5.9 redirects you to frontpage
- with yoologin v1.5.5 you stay in Kunena
Attachments:
Last edit: 12 years 1 month ago by orthanc.

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

More
12 years 1 month ago - 12 years 1 month ago #6 by dsrpmedia
Replied by dsrpmedia on topic Re:Login alteration
thanks for your help. - that yoologin looks very nice.

for some reason, when I left the redirect url option open it to sent me to 'mysite/index.php?option=com_user' after login, but when I filled in the redirect option to'/nature-news/forum' it keeps me on the forum when I login.

(sends me back to the forum index, but at least I`m still in the forum)

any idea why I was sent to '/index.php?option=com_user' when I left the redirect open?

at line 207 I found this
' $loginlink = sefRelToAbs('index.php?option=com_user&amp;view=login');'

Should I change that to something else?
(I tried deleting everything between '' , but it seemed to have no effect)
Last edit: 12 years 1 month ago by dsrpmedia. Reason: update

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

More
12 years 1 month ago - 12 years 1 month ago #7 by orthanc
Replied by orthanc on topic Re:Login alteration
dsrpmedia wrote:

thanks for your help. - that yoologin looks very nice.

for some reason, when I left the redirect url option open it to sent me to 'mysite/index.php?option=com_user' after login, but when I filled in the redirect option to'/nature-news/forum' it keeps me on the forum when I login.

(sends me back to the forum index, but at least I`m still in the forum)

any idea why I was sent to '/index.php?option=com_user' when I left the redirect open?

I think that's because you're using a sef-component.
edit:
which yoologin version you use?
-> please read my edit in post above.
Last edit: 12 years 1 month ago by orthanc.

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

More
12 years 1 month ago #8 by dsrpmedia
Replied by dsrpmedia on topic Re:Login alteration
Yes I am using sef - also I had uploaded the most recent yoo login, so that may be the issue as well, I`m not able to access the site right now, I will try uploading the older yoo login tomorrow, and see if that makes a difference.

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

More
12 years 1 month ago #9 by metaltome
Replied by metaltome on topic Re:Login alteration
Does anyone have a copy of Yoologin 1.5.5? The Yoothemes website doesn't seem to offer older versions. I also am trying to make my login module keep people on the page that you login at. I don't want it to redirect anywhere... I just want it to keep them on the current page.

If someone has the older version of Yoologin can you post it here or email it to me at:

This email address is being protected from spambots. You need JavaScript enabled to view it.

Thanks!

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

More
12 years 1 month ago - 12 years 1 month ago #10 by dsrpmedia
Replied by dsrpmedia on topic Re:Login alteration
I would also really like a copy of Yoologin 1.5.5 to see if it works on my forum, if someone could post it here I would really appreciate it.
Last edit: 12 years 1 month ago by dsrpmedia. Reason: removed email

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.073 seconds