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

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question Profil-save error without adding a signatur

More
14 years 6 months ago - 14 years 6 months ago #109851 by andrewst

andrewst wrote: I am not using latest Blue Eagle template (1.7.0) I am using Blue eagle 1.6.3, as with the latest one there seemed to be some css issues on my site...


Actually just tried Blue Eagle 1.7.0 and still same issue with the Profile form not saving, (aforementioned css issues now resolved and nothing to do with Kunena template)

Thanks
Last edit: 14 years 6 months ago by andrewst.

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

More
14 years 6 months ago #109872 by sozzled
There seems to be a few things missing from your Kunena configuration report. Is it possible that you've removed some information from the report? Please read What information should I include when I ask for help (including how to post my configuration report)? in relation to editing your report.

Based on what appears to be an edited report, it's my guess that your problem is covered by msg #1 of If you are having problems with Kunena, please read this first .

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

More
14 years 6 months ago #109980 by andrewst
Hi

I have included full configuration report below. As far as I can tell Mootools (1.2.4) is loading in the right place etc... Everything javascript related seems to be working fine except for this one bug where the signature box in profile edit behaves as a required field...

Many thanks


This message contains confidential information


This message contains confidential information

Database collation check: The collation of your table fields are correct

Legacy mode: Disabled | Joomla! SEF: Enabled | Joomla! SEF rewrite: Disabled | FTP layer: Enabled |

This message contains confidential information
htaccess: Missing | PHP environment: Max execution time: 1000 seconds | Max execution memory: 192M | Max file upload: 10000M

This message contains confidential information

Joomla default template details : toucan | author: Andrew | version: 1.0.1 | creationdate: 11/02/11

Kunena default template details : Blue Eagle (default) | author: Kunena Team | version: 1.7.0 | creationdate: 2011-08-29

Kunena version detailled: Installed version: 1.7.0 | Build: 5135 | Version name: Tale | Kunena detailled configuration:

Warning: Spoiler!

Third-party components: None

Third-party SEF components: None

Plugins: System - Mootools Upgrade: Enabled | System - Mootools12: Disabled

Modules: None

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

More
14 years 6 months ago - 14 years 6 months ago #109984 by andrewst
Hi sozzled and others,

With a bit of poking around I think I have solved the issue, it just appeared that, in the template, the signature box is set as a required field when it shouldn't be. This affects saving any profile edit, even if you can't see the signature input box (i.e. if you are looking at 'User Account', 'Avatar Image' or 'Forum Settings' and trying to hit 'Save' but haven't entered a value for the Signature under 'Profile Information'. )

I changed the file: ../components/com_kunena/template/templatename/profile/editprofile.php

where 'templatename' is the template used, in my case 'default' as I'm using Blue Eagle (default), but I also noticed that the file 'editprofile.php' was the same for other templates e.g. evolution slate so I guess this is a standard php file used by many templates?

I just deleted the 'required' class, i.e. changed the following, line 210:
Code:
<textarea class="ktxtarea required" name="signature" id="kbbcode-message" rows="10" cols="30"><?php echo $this->escape($this->profile->signature) ?></textarea>

to
Code:
<textarea class="ktxtarea" name="signature" id="kbbcode-message" rows="10" cols="30"><?php echo $this->escape($this->profile->signature) ?></textarea>


Guess this is a small bug which may affect other templates?

Thanks
Last edit: 14 years 6 months ago by andrewst.

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

More
14 years 6 months ago - 14 years 6 months ago #110027 by sozzled
Curious. I just tried to edit and save my profile on a K 1.7 website - Blue Eagle template, obviously - without entering a signature and it worked fine for me without having to make any changes. Therefore this is a little puzzling.

The required keyword (that appears in the TEXTAREA class definition) still points to the cause of the problem being a Javascript issue. Anyway, the issue does not seem to be a pervasive one affecting the whole Kunena community. Has anyone else experienced this same problem?

Good work on diagnosing and fixing your problem. Others may be interested in learning from your discovery. :)
Last edit: 14 years 6 months ago by sozzled.
The following user(s) said Thank You: andrewst

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

More
14 years 6 months ago #110046 by andrewst
I found the javascript conflict - I am also running the 'Contact Enhanced' extension on the same page, which loads its own javascript with behaviours for class 'required' so I think it is stopping the kunena form from validating if the signature box is empty. Seeing as signature probably shouldn't be required I guess it would probably make sense to just remove this from the kunena template source anyway? Maybe if other people are having same problem they are running a module like Contact Enhanced on the page or some other module with a form in it which has fields with class 'required', and their own javascript?

Cheers

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

Time to create page: 0.282 seconds