Search Results (Searched for: message)
the most confusing thing is, that CK Editor works well on all messages #2 and up of a topic, but NOT on the first (opening) message.Could be a javascript which is corrupted or could be an issue with the language file for Ckeditor which is a javascript file
(also as written, SK Editor works on ALL)
so what I'm interested in, from the kunena insiders, if there is some db setting in this new versions 6-7 for the opening (first) message,
which I may have missed during my import (also because CK Editor works on the first message of the new created kunena 'welcome' message.
so what is the difference on calling the CK Editor on the top, first message against loading on a following message?
as there are no problems on higher messages the JS files seems to be ok, but as all are minified it is hard to read
thank you
EDIT:
I found out some more details:
it is not the first or second or somthing message, it depends on images.
(as mostly in the first message there are images, I thought just of the first as reason)
it only happens (or better does not
images included as attachment are no problems.
so CK Editor must have a problem with images included the "old way" not using attachment
any ideas ???
I will later today to improve my PR, this message in private part is useless is you have something in the normal message part
thanks for your fast answer and pull request.
You are right, I have a public part and just want to delete the private part of the message.
If I just change the if in line 1588 like you provided, the message automatically fallbacks to "No private message has been set, only private attachments" because of line 1612:
Also even if I would unset the $private->body there,
However if I quickly try to unset both, $private->body and $private->attachments, the private part is deleted as I would expect.
I don't have a Github account at work but I try to find the time to do some more debugging in private and will then answer your pull request.
Thanks again for your help.
I have just made a change for it, you can try the change : github.com/Kunena/Kunena-Forum/pull/10031
Thanks for the feedback.
This change was intented see issue : github.com/Kunena/Kunena-Forum/issues/9880 , if you have private part empty and normal text part empty it cause some errors.
In your case you had the normal text part empty ?
I tried to remove the private part of a message of a user via the frontend edit function.
However every time I deleted everything and saved, the text stayed the same. If I just changed a bit, it was saved.
After some debugging I found out that this behaviour is by design:
In the file github.com/Kunena/Kunena-Forum/blob/eb61.../TopicController.php
Starting with line 1588 in the editPrivate-function I found that there's just a return if the body is empty:
Shouldn't the expected behaviour be, that the private part of the message is deleted instead of just aborting the edit of the private message?
Or is there any other way to remove the private part I don't know of?
Thanks in advance for your answers!
Marco
Hello,hi,
I setup a new Joomla site with a fresh Kunena 7.0.2.
as this should be an update to an old J3 website I saved all Kunena db entries, updated them to the K7 schema and imported ALL
to the new installation.
everything works fine - instead of on error.
when I'm logged in as superuser I can edit or quote each message BUT NOT the first one of a topic.
(the new sample message of the kunena 7 install I can edit)
the CKeditor is opened, but no message appears and the browser console gives me this error:
Uncaught TypeError: can't access property "type", g is null
onTagClose /media/kunena/core/js/ckeditor.js?aa68f1:1298
parse /media/kunena/core/js/ckeditor.js?aa68f1:1295
fromBBCode /media/kunena/core/js/ckeditor.js?aa68f1:1299
b /media/kunena/core/js/ckeditor.js?aa68f1:1303
l /media/kunena/core/js/ckeditor.js?aa68f1:10
.....
and many, many more
Could be a javascript which is corrupted or could be an issue with the language file for Ckeditor which is a javascript file
Can-you please try with Aurelia Kunena template ? If the error message is still, can-you follow Rich instructions in the message above ?
I have made a change in developpment version of Kunena 7.0.4 and the message displayed is improved
Yes the column deleted_time is missing too, there is no tool to add it without using phpmyadmin like for the column language
Make a backup of table #__kunena_messages and in phpmyadmin set this query ALTER TABLE `#__kunena_messages` ADD `deleted_time` int(11) NOT NULL default '0' AFTER `moved`
In einer lokalen Testversion habe ich diesen Eintrag überprüft und bekomme die Meldung:Die Datei /srv/www/htdocs/BFB604/cache/com_kunena_configuration/da6ac0e935255ab885b41742806a2a84-cache-com_kunena_configuration-64b04f0955a3c77e422be2e28d265ecc.php ist geöffnet worden, enthält aber zu lange Zeilen (länger als die eingestellte Grenze von 4.096 Zeichen).
Die längste Zeile war 6.677 Zeichen lang.
Die langen Zeilen sind umgebrochen worden und das Dokument ist im Nur-Lesen-Modus, da ein Speichervorgang den Inhalt verändern würde.
Darunter ist der Eintrag
Das sieht doch ganz so aus, als wäre das ein Konfigurations Report in der Rohfassung. (E-Mail Adresse unkenntlich gemacht)<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:221:{s:8:"template";s:7:"aurelia";s:10:"boardTitle";s:23:"Beagle-Freunde-Butzbach";s:5:"email";s:31:"info@xxxxxxxxxxxxxxxxxxx";s:15:"emailSenderName";s:36:"webmaster@xxxxxxxxxxxxxx";s:10:"sendEmails";s:1:"1";s:12:"boardOffline";s:1:"0";s:14:"offlineMessage";s:95:"Das Forum ist für Wartungszwecke vorübergehend abgeschaltet
Bitte kommen Sie später wieder!";s:8:"readOnly";s:1:"0";s:14:"sessionTimeOut";s:4:"1800";s:9:"enableRss";s:1:"1";s:5:"debug";s:1:"0";s:8:"profiler";s:1:"0";s:15:"fallbackEnglish";s:1:"1";s:16:"timeToCreatePage";s:1:"1";s:3:"sef";s:1:"1";s:15:"accessComponent";s:1:"0";s:11:"sefRedirect";s:1:"1";s:5:"cache";s:1:"1";s:9:"cacheTime";s:2:"60";s:14:"threadsPerPage";s:2:"30";s:15:"messagesPerPage";s:1:"8";s:21:"messagesPerPageSearch";s:2:"15";s:11:"showHistory";s:1:"1";s:12:"historyLimit";s:2:"10";s:14:"postDateFormat";s:8:"datetime";s:19:"postDateFormatHover";s:8:"datetime";s:7:"showNew";s:1:"1";s:16:"showAnnouncement";s:1:"1";s:16:"avatarOnCategory";s:1:"1";s:21:"listCatShowModerators";s:1:"1";s:16:"showChildCatIcon";s:1:"1";s:15:"enableForumJump";s:1:"0";s:9:"reportMsg";s:1:"1";s:14:"orderingSystem";s:5:"mesid";s:6:"hideIp";s:1:"1";s:16:"latestCategoryIn";s:1:"1";s:14:"latestCategory";a:1:{i:0;s:1:"0";}s:10:"topicIcons";s:1:"1";s:8:"lightbox";s:1:"1";s:12:"showListTime";s:3:"720";s:11:"topicLayout";s:4:"flat";s:14:"pickupCategory";s:1:"0";s:14:"articleDisplay";s:5:"intro";s:11:"defaultSort";s:3:"asc";s:10:"searchTime";s:3:"all";s:18:"allowChangeSubject";s:1:"1";s:13:"ratingEnabled";s:1:"0";s:11:"attachStart";s:1:"0";s:9:"attachEnd";s:2:"20";s:10:"quickReply";s:1:"1";s:9:"disableRe";s:1:"0";s:25:"displayFilenameAttachment";s:1:"0";s:16:"datePickerFormat";s:10:"dd/mm/yyyy";s:8:"username";s:1:"1";s:8:"askEmail";s:1:"0";s:9:"showEmail";s:1:"0";s:13:"showUserStats";s:1:"1";s:9:"showKarma";s:1:"0";s:12:"showThankYou";s:1:"1";s:11:"thankYouMax";s:2:"10";s:8:"userEdit";s:1:"1";s:12:"userEditTime";s:4:"7200";s:17:"userEditTimeGrace";s:3:"600";s:10:"editMarkup";s:1:"1";s:14:"allowFavorites";s:1:"1";s:15:"boxGhostMessage";s:1:"0";s:16:"showBannedReason";s:1:"1";s:25:"showImgFilesManageProfile";s:1:"1";s:10:"userReport";s:1:"1";s:13:"logModeration";s:1:"0";s:10:"userStatus";s:1:"1";s:9:"signature";s:1:"1";s:6:"maxSig";s:3:"300";s:8:"personal";s:1:"1";s:14:"privateMessage";s:1:"0";s:11:"emailHeader";s:33:"/media/kunena/email/hero-wide.png";s:16:"emailHeaderSizeY";s:3:"560";s:16:"emailHeaderSizeX";s:3:"560";s:18:"allowSubscriptions";s:1:"1";s:8:"mailFull";s:1:"1";s:10:"plainEmail";s:1:"1";s:21:"categorySubscriptions";s:5:"topic";s:18:"topicSubscriptions";s:5:"first";s:20:"subscriptionsChecked";s:1:"0";s:19:"emailRecipientCount";s:1:"5";s:21:"emailRecipientPrivacy";s:3:"bcc";s:19:"emailVisibleAddress";s:31:"[email protected]";s:15:"useSystemEmails";s:1:"0";s:9:"utmSource";s:1:"0";s:18:"sendMailUserBanned";s:1:"0";s:18:"mailBodyUserBanned";s:0:"";s:20:"mailBodyUserUnBanned";s:0:"";s:8:"pubWrite";s:1:"0";s:14:"holdGuestPosts";s:1:"0";s:15:"userlistAllowed";s:1:"0";s:10:"pubProfile";s:1:"0";s:7:"regOnly";s:1:"0";s:17:"holdNewUsersPosts";s:1:"0";s:17:"userDeleteMessage";s:1:"0";s:13:"modSeeDeleted";s:1:"0";s:15:"floodProtection";s:1:"0";s:14:"mailModerators";s:2:"-1";s:18:"mailAdministrators";s:1:"0";s:10:"ipTracking";s:1:"1";s:16:"statsLinkAllowed";s:1:"0";s:8:"maxLinks";s:1:"6";s:6:"teaser";s:1:"0";s:15:"urlSubjectTopic";s:1:"1";s:19:"moderatorPermDelete";s:1:"0";s:28:"newUsersPreventPostUrlImages";s:1:"0";s:27:"minimalUserPostsAddUrlImage";s:2:"10";s:7:"captcha";s:1:"1";s:16:"captchaPostLimit";s:1:"2";s:16:"stopForumSpamKey";s:0:"";s:25:"stopForumSpamNewUserCheck";s:1:"0";s:10:"avatarType";s:1:"1";s:13:"defaultAvatar";s:11:"nophoto.png";s:18:"defaultAvatarSmall";s:13:"s_nophoto.png";s:11:"avatarTypes";s:16:"gif,jpeg,jpg,png";s:17:"allowAvatarUpload";s:1:"1";s:18:"allowAvatarGallery";s:1:"0";s:10:"avatarSize";s:3:"800";s:13:"avatarQuality";s:2:"75";s:10:"avatarCrop";s:1:"0";s:10:"avatarEdit";s:1:"0";s:15:"attachmentLimit";s:3:"100";s:20:"attachmentProtection";s:1:"0";s:14:"attachmentUtf8";s:1:"1";s:11:"imageUpload";s:10:"registered";s:15:"showImgForGuest";s:1:"0";s:10:"imageTypes";s:21:"jpeg,jpg,gif,png,tiff";s:14:"checkMimeTypes";s:1:"1";s:14:"imageMimeTypes";s:51:"image/jpeg,image/jpg,image/gif,image/png,image/tiff";s:9:"imageSize";s:3:"800";s:10:"imageWidth";s:3:"800";s:11:"imageHeight";s:3:"800";s:10:"thumbWidth";s:2:"32";
s:11:"thumbHeight";s:2:"32";s:12:"imageQuality";s:2:"50";s:10:"fileUpload";s:10:"registered";s:16:"showFileForGuest";s:1:"0";s:9:"fileTypes";s:34:"txt,rtf,pdf,zip,tar.gz,tgz,tar.bz2";s:8:"fileSize";s:4:"7168";s:11:"showRanking";s:1:"1";s:10:"rankImages";s:1:"0";s:12:"trimLongUrls";s:1:"1";s:17:"trimLongUrlsFront";s:2:"40";s:16:"trimLongUrlsBack";s:2:"20";s:8:"autoLink";s:1:"1";s:12:"smartLinking";s:1:"0";s:16:"autoEmbedYoutube";s:1:"1";s:13:"autoEmbedEbay";s:1:"0";s:18:"autoEmbedInstagram";s:1:"1";s:19:"autoEmbedSoundcloud";s:1:"0";s:13:"highlightCode";s:1:"0";s:15:"bbcodeImgSecure";s:4:"text";s:12:"ebayLanguage";s:2:"77";s:15:"ebayAffiliateId";s:10:"5337089937";s:10:"ebayApiKey";s:0:"";s:10:"ebayCertId";s:0:"";s:21:"blueskyappHandleOfApp";s:0:"";s:23:"blueskyappPasswordOfApp";s:0:"";s:12:"XConsumerKey";s:0:"";s:15:"XConsumerSecret";s:0:"";s:15:"googleMapApiKey";s:0:"";s:7:"rssType";s:5:"topic";s:16:"rssSpecification";s:6:"rss2.0";s:12:"rssTimeLimit";s:6:"1 week";s:8:"rssLimit";s:3:"100";s:21:"rssIncludedCategories";s:1:"0";s:21:"rssExcludedCategories";s:1:"0";s:12:"rssAllowHtml";s:1:"1";s:15:"rssAuthorFormat";s:4:"name";s:16:"rssAuthorInTitle";s:1:"1";s:12:"rssWordCount";s:1:"0";s:12:"rssOldTitles";s:1:"0";s:8:"rssCache";s:3:"900";s:16:"rssFeedBurnerUrl";s:0:"";s:12:"userlistRows";s:2:"50";s:14:"userlistOnline";s:1:"1";s:14:"userlistAvatar";s:1:"1";s:13:"userlistPosts";s:1:"1";s:13:"userlistKarma";s:1:"0";s:13:"userlistEmail";s:1:"0";s:16:"userlistJoinDate";s:1:"1";s:21:"userlistLastVisitDate";s:1:"1";s:16:"userlistUserHits";s:1:"1";s:18:"superAdminUserlist";s:1:"1";s:16:"userListUserType";s:1:"0";s:15:"showSessionType";s:1:"0";s:20:"showSessionStartTime";s:1:"0";s:15:"showWhoIsOnline";s:1:"1";s:9:"showStats";s:1:"1";s:12:"showGenStats";s:1:"1";s:16:"showPopUserStats";s:1:"1";s:12:"popUserCount";s:3:"100";s:19:"showPopSubjectStats";s:1:"1";s:15:"popSubjectCount";s:2:"15";s:16:"showPopPollStats";s:1:"1";s:13:"popPollsCount";s:1:"5";s:20:"showPopThankYouStats";s:1:"0";s:14:"popThanksCount";s:1:"5";s:18:"userlistCountUsers";s:1:"3";s:11:"pollEnabled";s:1:"1";s:13:"pollNbOptions";s:2:"10";s:15:"pollTimeBtVotes";s:8:"00:15:00";s:17:"pollNbVotesByUser";s:2:"10";s:16:"pollAllowVoteOne";s:1:"1";s:20:"pollResultsUserslist";s:1:"1";s:17:"allowUserEditPoll";s:1:"0";s:11:"defaultPage";s:6:"recent";s:14:"activeMenuItem";s:0:"";s:10:"mainMenuId";s:0:"";s:6:"homeId";s:0:"";s:7:"indexId";s:0:"";s:12:"moderatorsId";s:0:"";s:11:"topicListId";s:0:"";s:6:"miscId";s:0:"";s:9:"profileId";s:0:"";s:8:"searchId";s:0:"";s:5:"rules";s:0:"";}s:6:"output";s:0:"";}
In Joomla 6.0.2 und davor gibt es diesen Eintrag nicht.
Gruß gindi
Das hatte ich eigentlich im deutschen Verzeichnis geschrieben.
1. First, rename the ckeditor_config.js file to customckeditor_config.js. Then, in the backend, go to the Kunena Aurelia template -> BBcode tab, scroll down, and enter the word “custom” in the appropriate field ( see here ).
2. Open customckeditor_config.js and insert the following code between lines 10 and 11.
Note: You only need to perform step three if the font size in forum posts also needs to be adjusted. If you’ve already done this at some point, step three is unnecessary.
3. Go to Aurelia in the backend and edit custom.scss ( see here ). Insert the following code:
The error "Unknown column 'deleted_time' in 'INSERT INTO'" is new and is preventing Kunena from saving new entries.
so I think there is an other column missing ??
I had made something to help users to fix it, you can find the instructions in my message here: www.kunena.org/forum/k7-0-0-support-arch...n-set?start=6#234685