- Posts: 2
- Thank you received: 0
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Question Login alteration
17 years 1 month ago #6911
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
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.
17 years 1 month ago #6963
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.
17 years 1 month ago - 17 years 1 month ago #7582
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
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: 17 years 1 month ago by dsrpmedia. Reason: grammer
Please Log in or Create an account to join the conversation.
17 years 1 month ago - 17 years 1 month ago #7587
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Customising the login redirection
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.
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.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Last edit: 17 years 1 month ago by sozzled.
Please Log in or Create an account to join the conversation.
17 years 1 month ago - 17 years 1 month ago #7597
by orthanc
Replied by orthanc on topic Re:Customising the login redirection
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:
replace:
search:
replace:
search:
replace:
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
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:
Code:
<br/> <?php echo _PROFILEBOX_PLEASE; ?>
Code:
<!-- <br/> <?php echo _PROFILEBOX_PLEASE; ?>
search:
Code:
</td>
<?php
if (mosCountModules('kunena_profilebox'))
Code:
</td>-->
<?php
if (mosCountModules('kunena_profilebox'))
search:
Code:
<td>
<div class = "fb_profilebox_modul">
Code:
<!--<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
Last edit: 17 years 1 month ago by orthanc.
Please Log in or Create an account to join the conversation.
17 years 1 month ago - 17 years 1 month ago #7598
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&view=login');'
Should I change that to something else?
(I tried deleting everything between '' , but it seemed to have no effect)
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&view=login');'
Should I change that to something else?
(I tried deleting everything between '' , but it seemed to have no effect)
Last edit: 17 years 1 month ago by dsrpmedia. Reason: update
Please Log in or Create an account to join the conversation.
Time to create page: 0.271 seconds