Search Results (Searched for: move forum)
Here we will briefly present its main points.
Installation, uninstallation, localization, and maintenance of TreeK
The add-on is implemented as a package that includes an AJAX plugin for building the tree structure of a Kunena topic, the Treek template for Kunena, which is based on the Aurelia template, a number of modified Kunena files, and TreeK's own files.
TreeK is installed in the standard Joomla way, as installation of the pkg_treek.zip package.
If TreeK is installed successfully, a message shown in the screenshot is displayed in the administration panel.
In Extensions: Manage, three related TreeK entries appear:
- TreeK Package
- Treek - Add-on for Kunena Forum Plugin
- TreeK Kunena Integration File.
When TreeK is installed, the #__treek_user_parameters table is created in the site database to store individual user TreeK parameters, for example plugin parameters.
As indicated in the information lines of the successful installation message in the figure, the site administrator must perform two additional manual actions.
1. Enable the Treek - Add-on for Kunena Forum plugin using Joomla tools.
2. In Kunena Forum: Templates, set the Treek template as Default.
During installation, TreeK makes backup copies of the Kunena and Aurelia template files it changes, then installs its adapted files and adds the necessary language fragments.
Uninstallation is performed using Joomla tools: in Extensions: Manage, select the TreeK Package row and perform the Uninstall action.
It is important that, at the moment of removal, the Treek template is not in the "default" status; otherwise, TreeK removal is blocked (a warning message will be shown) until Kunena is switched to another template, for example Aurelia.
When TreeK is removed, it restores the original Kunena and Aurelia template files from backup copies. The settings table is also removed when the package is uninstalled. No traces of TreeK remain on the site.
TreeK uses its own package language files, the AJAX plugin language files, and small language additions to Kunena. For each language, only those fragments are added for which a corresponding language file already exists in the installed Kunena.
Before installation, it is recommended to make a backup copy of the site and database, especially if Kunena is used on a production forum.
Especially cautious administrators can test installation and uninstallation on a local server, and can also enable debugging in the plugin.
After installation, check that the TreeK plugin is enabled, the TreeK template is set as the default, the post tree opens in a topic, user settings are saved, and the reply-to-post form works correctly.
***
TreeK is designed for Joomla 6 and Kunena 7. Before this publication, it was tested on Joomla 6.1.1 and Kunena 7.0.5. It seems that TreeK also works on other Joomla 6 and Kunena 7 builds, but this has not been thoroughly tested. TreeK works on smartphones, although deep testing has not been performed.
It is assumed that, when Joomla and Kunena are updated, TreeK will be tested on new versions and updated accordingly if necessary.
(Links to detailed instructions for working with the post tree and the modified Kunena interface are given below.)
The topic is presented in the window as a tree according to the following rules:
- each post is displayed as one row containing the post subject and, optionally, the author's name, creation time, and post index.
Additional useful information may be placed in and under the post row, for example symbols that help navigate the tree.
The latest post in the topic by creation time is shown in bold in the tree.
The way the tree is displayed is determined by the tree view settings. When the settings are changed, the tree view changes instantly. Registered users of the site can save individual tree display settings and, if desired, restore them in another session and even for other topics.
Since the "level" of each post is known (the distance from the root of the tree, a term explained in the theoretical part), this level is graphically expressed by the length of the indent from the left edge of the window. Literally, the indent of the post row from the left edge equals the "indent size" multiplied by the post level. There is also a setting that adds a grid to the window to show the tree structure more clearly.
The 💬 symbol, when hovered over, shows the beginning of the post text as a tooltip. All other TreeK buttons and symbols also have explanatory tooltips.
You can choose what is shown at the beginning of the post row in the tree: the post subject followed by the author, the author followed by the subject, or only the subject.
The display of the date and time, as well as the post index, can be enabled or disabled.
TreeK has important options for showing post excerpts. The "text excerpt" setting displays a text fragment from the beginning of the post under the first post row, with a specified number of characters. The "screenshot excerpt" setting shows a fragment from the beginning of the post under the first post row as a screenshot with a specified height in pixels.
Additional symbols can be enabled in tree rows to help users navigate the tree more quickly.
TreeK can copy the topic tree to the clipboard in three export formats: BBCode, HTML (where subjects contain links to the posts of the exported tree), and Text.
Many users can work with the same topic at the same time, especially shortly after the topic is created. Working with a topic means simply reading its posts, replying to existing posts or editing them, studying the tree, and so on.
If a post is added to the topic while a user is working with the TreeK tree, an information message about this appears over the tree window no later than within one minute.
***
TreeK is based on the standard packages of the Kunena forum and the Aurelia template, but it changes some of their files and also connects a number of its own files, including language files that provide TreeK localization. These modified and additional files and their functions are combined in the TreekView part of the Treek package.
The interface changes required for working with topic post trees provide:
- freedom to assign post subjects and fixation of the topic title;
- clickability of the number of replies in a topic on the Recent Topics tab and of the 🌳 button in topic posts.
The other additions and changes in TreekView are not mandatory, but from the developer's point of view they make working with the forum a little faster.
(The developer could not resist implementing some of his own views on this matter, since he had to study the Kunena code in depth anyway.)
For example, the following features have been added.
The topic title is now protected: it is set once when the first post is created and never changes from the frontend. (And if a user really made a tragic mistake in the topic title and wrote "My Best Tupic" instead of "My Best Topic" in the first post, the kind site administrator and the database are always nearby.)
The reply form has been slightly changed. In particular, the subject field name Thema has been replaced with Subject, because it should describe the idea of this reply. The reply form title has been made understandable and shows whose post, and exactly which post, the user is replying to.
The subject of every reply now begins with an up arrow (⇑). This is a link to the parent post. Clicking ⇑ takes the user to the post that was replied to.
Instead of words requiring localization, such as "replied to", TreekView uses a simple, understandable, and quickly learned system of arrows listed below. Clickable arrows are buttons because they trigger certain actions. Arrows may be visible in reply forms (Reply and Quick Reply) and in post subjects.
As mentioned above, the subject of the post being created can be arbitrary text. But to speed up work with the forum, the concept of a suffix has been introduced.
Suffixes
When replying to a message, special text related to the subject of the parent post can be added to the reply subject.
In TreekView, this special text is called a suffix. Suffixes help automatically preserve the link between the reply subject and the parent post subject, and make the topic easier to read because they help show which post was replied to.
The use of suffixes looks as follows.
When the reply form is opened, information about the parent post subject is automatically added to the subject field in the form "⇒ Parent subject" (the "⇒" arrow is a replacement for "Reply to").
If the user does not add new text to the subject to clarify the meaning of the post, the suffix becomes the subject of the created post.
If new text is entered in the Subject field and the suffix is not completely removed, it becomes part of the post subject together with the new subject text.
New text is entered in the Subject field to the left of the suffix. The cursor is positioned automatically, and it is impossible to place it inside the suffix.
The suffix cannot be changed by editing. However, if the new post subject becomes so long that the combined length of the new text and the suffix exceeds the subject length set in Kunena, the end of the suffix is gradually pushed out of the line. If the user decides to shorten their text, for example by deleting the end of their text with Backspace, the pushed-out end of the suffix returns accordingly. If the suffix is partially pushed out, it is included in the post subject in shortened form.
The suffix can be removed at any time by clicking the ⇏ button located to the right of the word Subject. The ⇏ button then changes to ⇍. Clicking ⇍ disables the addition of suffixes for the whole session. After that, the ⇒ button appears next to the word Subject; clicking it restores the use of suffixes.
The site administrator can disable the use of suffixes entirely, although this is not recommended.
If the parent's Subject already has the form "⇒ Reply to post", the child's suffix will become "⇒ ⇒ Reply to post", with two ⇒ ⇒ arrows. These two arrows remain in suffixes regardless of which generation in a chain of posts with suffix-only subjects the given post belongs to.
The administrator can change the arrow symbols in the language file, for example replacing "⇒" with "→".
(Adding no more than two ⇒ arrows gives us a reason to discuss the theory of working with posts; and where, if not on this forum, should theory be discussed?
The situation with posts in a topic can, forgive me, be compared with the situation among people. Just as in life someone dies, and someone divorces and takes the children with them, so in a topic a post can be deleted, and some part of a topic can be moderated and moved to another topic. This leads to important consequences for the TreeK tree-building algorithm, but, as stated above, we will not go into theory here.)
Let us note a few more interface changes that, in the developer's view, make the user's work with Kunena slightly faster.
Attachments
In post creation and editing forms (screenshots), there is an Attachments block. Although it is used relatively rarely, when an attachment really needs to be inserted into or removed from a message, users still have to spend time scrolling past this block every time.
In TreekView, the Attachments block is collapsed by default. Instead of the full block, the existing word Attachments is shown, followed in parentheses by the number of attachments if there are any, and then by the expansion symbol for this block: a black filled triangle ▼. This triangle has a tooltip: "Open attachments block". Clicking ▼ opens the Attachments block, and the user sees what is currently visible in the block.
The arrow then changes to ▲, with the tooltip: "Close attachments block". Clicking ▲ collapses the block.
The Action menu in a post.
The developer considered the drop-down Action "menu" at the bottom of a post to be another factor slowing work down.
TreekView restores a view that once existed in Kunena, where each option - Reply, Quote, and Edit - has its own button.
Some other small interface details have also been changed, for example the reply form title has been changed from <h1> to <h5>.
This application became possible thanks to the presence of the "Reply" button in every Kunena post.
«Мы не можем ждать милостей от природы. Взять их у нее – наша задача».
Иван Мичурин:
This work is dedicated to:
- the popular science forum "Consilium", which ceased to exist because of the high cost of a forum engine with tree structure;
- the Kunena developers, who have created and maintained this enormous system for at least 17 years, which is how long I have been using this forum on my two sites.
***
The question of using a tree structure in Kunena has been raised many times on this forum, including by me.
However, the problems of a post tree structure were deeper than the necessary algorithms and could not be solved without several serious changes in the Kunena interface. For example, a tree in which every row says the same kind of thing, "user replied to topic title", where only the user name is informative, does not make using a tree structure very attractive.
And the fact that any forum participant can accidentally or intentionally rename the whole topic simply by writing anything in the subject of a reply to any post removes the question from discussion altogether.
***
This publication uses terminology generally accepted when discussing trees:
- child - a post created as a reply to another post or to the topic;
- parent - the post that was replied to.
The post tree is formed by the TreeK algorithm, which I specially developed and first used when creating the Topic to Article component for Kunena.
The theory of working with posts and the tree-building algorithm is a very interesting subject, but we will not dwell on it here.
The idea of TreeK is to use Kunena as the foundation, while adding on top of it the ability to see the logical, tree-like structure of the topic posts. This add-on is TreeK itself.
At the same time, Kunena remains fully available: topic creation, replies in a topic and to a post, post editing, administration, and so on.
The link between the foundation and the add-on is very simple: Kunena ⇄ TreeK.
The upper arrow in the ⇄ symbol means going to the tree.
From this point on, we will assume that Kunena and TreeK are installed in Joomla.
The number of replies in a topic (Replies) on the Recent Topics tab is clickable if it is greater than 0.
Clicking this number opens the modal window of the post tree.
Another way to go from Kunena to the tree is to click the 🌳 symbol, which TreeK adds to all topic posts (screenshot).
Going from the tree back to Kunena is done by closing the tree window or by clicking the subject of the desired post in the tree.
Отказ от ответственности.
1. Английский не является родным языком автора. Прошу прощения за неясные формулировки.
2. Изначально в данную публикацию вошли размышления о причинах, целях и философии разработки TreeK, теоретических и практических проблемах работы с древовидными структурами и даже о ситуации на рынке форумов с древовидной структурой. В целях экономии времени читателей форума данный материал был удален. Однако некоторые аспекты, например теоретические, могу опубликовать отдельно, если кому-то интересно.
I have tested your new file but it's the same.
I don't see the reason for this errors, (I don't have them) -Can-you provide a fix for that ?
the array keys are not new, only the strings in $editorButtons have changed a bit (mostly lowercase)
I just looked at the github file and mine, and the only difference are the new additions what I have added for CKEditor,
so I just deleted them and now the line numbering corresponds each other, so they should be identical (beside the string changes)
check the new file
In fact these errors are coming because (Cut, Copy...) are not defined in the config.xml
I have removed the bits for undo which will be in a new PR and i had found weird that there is some space left on the right :
as far as I see, you have added the new famfamfam.png, but not the new css code for those kunena icons in the default.cssJust applied your changes for the issue reported by rich : github.com/Kunena/Kunena-Forum/commit/c2...66e5c9c15f4967410283
(the only change I see is the cutout my left-side buttons option, but not the new position definitions for the icons)
sorry, I see it was an error in my fileNo it wasn't my intention. I have copied the entire SaveSCeditorParamFile() method from your file, so i will remove the ! for blockquote
For table and horizontalrule it has been removed from CKeditor because not very much used so in SCeditor it should be the same
as far as I see, you have added the new famfamfam.png, but not the new css code for those kunena icons in the default.cssJust applied your changes for the issue reported by rich : github.com/Kunena/Kunena-Forum/commit/c2...66e5c9c15f4967410283
(the only change I see is the cutout my left-side buttons option, but not the new position definitions for the icons)
I don't see the reason for this errors, (I don't have them) -Can-you provide a fix for that ?
the array keys are not new, only the strings in $editorButtons[] have changed a bit (mostly lowercase)
I just looked at the github file and mine, and the only difference are the new additions what I have added for CKEditor,
so I just deleted them and now the line numbering corresponds each other, so they should be identical (beside the string changes)
check the new file
Hello,btw. have you intentionally disabled the quote button? or have you missed to replace 'blockquote' -> $editorButtons = 'quote'; in the TemplateController
edit: I see on github:(line 472) you haven't delete the negation from ( !$params ) (blockquote is the param used in config, not quote)
(I also don't see table and horizontalrule, but this may be your setting?)
No it wasn't my intention. I have copied the entire SaveSCeditorParamFile() method from your file, so i will remove the ! for blockquote
For table and horizontalrule it has been removed from CKeditor because not very much used so in SCeditor it should be the same
Just applied your changes for the issue reported by rich : github.com/Kunena/Kunena-Forum/commit/c2...66e5c9c15f4967410283also have a look at the problem of rich20 with the Kunena icons, so just use the new famfamfam.png and new default.css,
but in the main (or general?).scss of the template the icon lines for the buttons must be disabled.
the javascript alert was just a quick idea (don't know if you will keep it), so no problem to change to bootstrap
I don't understand why you want change this regex
because of the 2nd problem.
1. is the missing "translation" of image properties to bbcode
2. error when opening CKeditor if img has some attributes added within the tag using whitespace.
(disabling the bbcode does open the editor as it should be, so there must be a problem within bbcode)
for the first I'm ready with the insertation, but as there is the 2nd bug I cannot
test if the bbcode is correctly read and translated to html.
also I'm not shure if the CK bbcode plugin basicly will work with all the special addons like ebay, video etc.
In the demo it works : ckeditor.com/docs/ckeditor4/latest/examples/image.html , so it's probably the bbcode plugin which disable it when used
that's correct. the original bbcode plugin disables the properties settings of images (see "tab.remove('basic') in the screenshot,
mainly because the there is no implenentation of properties to the bbcode or
the main problem, as each addition (style= or direct width=) will be added using whitespace in the img tag, which causes problems.
In the moment I have done this:
in the ckeditor_config.js
config.removePlugins = 'bbcode'; //disable the original bbcode plugin, because included in the big minified file
config.extraPlugins = 'bbcode2'; //just renaming the standalone bbcode to bbcode2, so I can easily edit it
1st steps:
disabling the remove of properties dialog (see screenshot)
adding properties inclusion
I attach the bbcode2 plugin without any edition, (only the neccearry renaming to bbcode2 in the .add comand line 558)
- also I packed the plugin-edited.js version with my first test correction for imgsize
basicly I found this statement to the original bbcode plugin.js
The BBCode plugin is more of a showcase plugin which presents how to make your own implementation for bbcode. This is not a full bbcode implementation but more of a jump start code. This plugin doesn't support width for images and it is a user responsibility to add it.
There is a version 3.2.1 of SCeditor and i have updated it in developpement branch : github.com/Kunena/Kunena-Forum/commit/e1...2451928c95f256e08f0f
that's fine - I will look if there are important changes.
Nevertheless, as SCEditor generates a width x height property there is the need to change the lKunenaBBCode.php
to allow the 'x' letter (allow /^\d*x\d*$ line 728), otherwise Kunena would ignore it
(also the change to attribute 'size=' would be useful, so SCEditor could read old message styles)
Hello,
I can't go futher on my side too, because i can't reproduce it on my local test site. Do-you have a possibility to clone your site, remove all users except one admin for testing and make a backup ? In users there are personnal data so i prefer that it's removed before you
send to me the backup
This solved now with latest fix here: github.com/Kunena/Kunena-Forum/pull/10016 now working.
[img] => works, but no size settings
[img=200x67] works in SC preview, but not in forum view CK removes the size setting
[img size=200] works in SC forum view, but not in preview CK does not open in working mode
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
I wouldn't rule that out. In the Kunena 6.0 versions, it was very easy to trace the entries in the configuration report to the entries in the configuration. Since Kunena 7.0, this is hardly possible anymore. The entries in the configuration report are no longer in order but rather jumbled up.Hi Gindi, THX for your reply. So this means to me, that it's probably no configuration problem
.
Some entries have been added and some have been removed.
You should check the configuration settings thoroughly, as the new additions set defaults that you may not want.
In any case, I would synchronise the users and run the diagnostics in the Kunena Dashboard/Tools.
If the diagnostics show ‘Test failed’ for some entries, you can safely delete the error message.
If you click on Documentation in the menu bar at the top of the Kunena forum, you will find help for Kumema 6 and Kunena 7.Do you have an idea if there is a documentation available anywhere?
gindi
Dear Rich,Done.
I was extremely grateful to receive your quick response and immediately started using it.
Unfortunately, when unpacking, I received the message in several places:
Deprecated: Creation of dynamic property Kunena\Forum\Libraries\User\KunenaUser::$twitter is deprecated in W:\wamp64\www\jneu\libraries\kunena\src\User\KunenaUser.php on line 700
You warned me about this, but I had to tinker with it to remove the column.
Now the German site also works on K7, and I can move on to Joomla 6.
Thank you so much!
Sorry I didn't thank you right away—I wanted to check everything first.
And then I regretted it because I couldn't send you a reply because I was receiving messages from the forum (Kunena's server?):
We are sorry!
Please return to the homepage and try again.
1021 Disk got full writing 'information_schema.(temporary)' (Errcode: 28 "No space left on device")
(URL www.kunena.org/forum/installation-issues...-4-9?start=36#234681 )
or
Failed to load 'g5_helium' template: Please install Gantry 5 Framework!
(URL www.kunena.org/forum ).
P.S. Since you're seeing this post, I've overcome the difficulties mentioned. I couldn't find the first error in the discussions, and I couldn't find the second one because of the same issue.
If you don't know the errors and they should be posted in a separate thread, please let me know.
Thank you again for your excellent and prompt assistance.
P.P.S. I also thank Gindi for his valuable comments on the role of templates.
Then I completely deactivated your Joomla template Gich via extensions and used Joomla's default htaccess during installation.
I also reinstalled K6.3.10 over it before the upgrade.
The upgrade from K6.3.10 -> K6.4.9 -> K7.0.2 went smoothly.
Finally, I removed the database column “twitter” to fix an error message related to it.
The forum is now running smoothly.
I posted the link to download the file privately and removed your links to Google Drive in your message. You should never disclose such information publicly.
I tried to reproduce the error using an old backup file (with CB, Kunena Discuss, and Kunena Latest), but I couldn't.
Try the following:
1. If you are using a cache, clear it and disable it.
2. Disable Kunena Discuss.
3. Disable Community Builder.
4. Select the Joomla default template Aurelia.
5. Uninstall Kunena via the Joomla installer!
5. Try to install Kunena 6.4.9 again.
If you get deprecated messages, scroll down and go to the Kunena dashboard and wait until the page has finished loading.
Then refresh the page again.
If does not help and you have Kunena database tables of Kunena 6.3.10, try these steps:
1. If you are using a cache, clear it and disable it.
2. Export the folder media/kunena as backup
3. Disable Kunena Discuss.
4. Disable Community Builder.
5. Select the Joomla default template Aurelia.
6. Go to Kunena -> Tools and remove Kunena complete
7. Import the Kunena 6.3.10 Database tables
8. Import the folder media/kunena
9. Install Kunena 6.4.9
You will see lots of deprecated messages.
Wait until the page has finished loading, then scroll all the way down. If you are not in the Kunena Dashboard, go there and wait again until the page has loaded. Then refresh the page again.
The disadvantage of this method is that you will then have to recreate the Kunena menus.