Kunena 7.0.8 Released

The Kunena team has announce the arrival of Kunena 7.0.8 [K 7.0.8] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.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

Solved [implemented] Login functionality (just bear with me :)))

More
11 years 3 months ago - 11 years 3 months ago #164749 by ruud
Hi,

Just testing beta3 and although the login form is not modal any more it still doesn’t work.
But now I know why :)))

in the plugin 'Kunena - Joomla' I have set [Enable Joomla login] to [No] :woohoo:

so just to try to get this discussion started:

If this parameter is set to no: it should just show the message like stated in case 1 and 2 and NOT the login url (which doesn't work)

There are 3 scenarios:
1. not logged in (guest) and guest reply enabled on forum
2. not logged in (guest) and no guest reply enabled on forum
3. logged in

case 1. display message like "you are not logged in, your reply will be placed as guest"
case 2. display message like "you are not allowed to reply, please login first"
case 3. display no message


sharing = caring
Last edit: 11 years 3 months ago by ruud.

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

More
11 years 3 months ago #164752 by 810
I have removed the modal, now its redirect to the dropdown (menu), I still need a way to open the menu.

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

More
11 years 3 months ago #164762 by ruud
Hi, this is not about the modal but about the actual login button that doesn't work because login is disabled in Kunena :)

sharing = caring

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

More
11 years 3 months ago #164765 by 810
I have hide the message when login is disabled.
github.com/Kunena/Kunena-Forum/pull/3077

For the other things I want to show all options

like a other forum software, but I can't find it quickly

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

More
11 years 3 months ago #164770 by ruud
Thanks,

is it possible to when login is disabled and guest access is possible show a message that the reply will be placed as a guest > (like in these suggested use cases: www.kunena.org/forum/k-4-0-support-archi...tton-floating#163494 )?

I have this currently 'hacked' into KunenaDiscuss and my users 'love it' > it is for them a nice reminder that they should login first if they want to have the reply under their account or just continue and reply as a guest. It saves me a great deal of moderating > changing the useridś in the kunena-tables in the sql database :(

sharing = caring

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

More
11 years 3 months ago - 11 years 3 months ago #165058 by ruud

ruud wrote: ...
I think the best use case is as follows:

  1. Guest post allowed AND Kunena login disabled > message stating that topic or reply will be posted as guest unless user logs in first.
  2. Guest post allowed AND Kunena login enabled > message with login 'button' (current implementation)
  3. Guest post disabled > current implementation
  4. already logged in: no message (current implementation)

So only change to current implementation is 1. :)

does this make sense?

EDIT: this should also be mimicked in KunenaDiscuss as this plugin shows on joomla content rather then on the forum (with Kunena menu bar / login button)


Hi, just made some very small code changes (even I could do it :woohoo: ) to implement use case 1. Guest post allowed AND user not logged in / Kunena login disabled.

in file: components/com_kunena/template/crypsis/layouts/topic/edit/default.php

replace
Code:
<div class="control-group" id="kanynomous-check-name" <?php if ($this->me->userid && !$this->category->allow_anonymous): ?>style="display:none;"<?ph$ <label class="control-label"><?php echo JText::_('COM_KUNENA_GEN_NAME'); ?></label> <div class="controls"> <input type="text" id="kauthorname" name="authorname" size="35" placeholder="<?php ech$ </div> </div>
with
Code:
<div class="control-group" id="kanynomous-check-name" <?php if ($this->me->userid && !$this->category->allow_anonymous): ?>style="display:none;"<?ph$ <label class="control-label"><?php echo JText::_('COM_KUNENA_GEN_NAME'); ?></label> <div class="controls"> <input type="text" id="kauthorname" name="authorname" size="35" placeholder="<?php ech$ </div> <?php echo JTEXT::_('COM_KUNENA_GEN_GUEST_WARNING'); ?> </div>

in language file: components/com_kunena/language/en-GB/en-GB.com_kunena.templates.ini
add
Code:
COM_KUNENA_GEN_GUEST_WARNING = "You are not logged in: your topic / reply will be posted as guest"

This change displays the warning when in the reply / new topic form when guest access is enabled. When a use is logged in, the text is hidden (as is the name field)

Does this make any sense?


sharing = caring
Last edit: 11 years 3 months ago by ruud. Reason: also in new topic form

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

Time to create page: 0.234 seconds