- 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
Topics contains old discussions (generally more than one year ago or based on circumstances that subsequently changed) or topics resolved in other ways. Topics moved into this category are closed from further discussion.
Question Quick and Easy Core Suggestions
- cXc
-
Topic Author
- New Member
-
Less
More
16 years 8 months ago - 16 years 8 months ago #27784
by cXc
Quick and Easy Core Suggestions was created by cXc
I'm working on a variation of the default_ex template and found a few things that are controlled by the core that I think changing is worth considering, most are very simple and easy, probably take less than a minute or so to do.
I've encountered a few more *tiny* issues like these but didn't keep track of them, these are just the ones I ran into this morning while I was adding custom bbCode to Kunena, I'll add to this thread as I find more *tiny* things that annoy me
All in all other than previews not working I'm very impressed with Kunena and glad to be migrating to it from FB 1.0.5 rc2
~cXc~
PS The 1st and 2nd annoyances have bothered me since those bbCodes were added to FB/Kunena and I've edited them over and over in my sites :dry:
- The "Hide" and "Spoiler" spans - These bbCodes use the 'fb_quote' class for their spans, giving them unique names would improve options for templates. I have renamed the classes for the spans to 'fb_hidden' and 'fb_spoiled' on my site. The only reason this is considered an issue is because I use background images for "Code" and "Quote" in my templates and these backgrounds are also applied to the spans created by the "Hide" and "Spoiler" bbCode.
- The "Spoiler" smileys - Currently are hard coded to the default templates "pinch" and "wOOt" smileys, but they have random gray pixels in the corners when placed on dark backgrounds. Users either have to overwrite the ones in the default template with their templates "pinch" and "wOOt" images or edit the kunena.parser.php file to point to their template. Making them template controlled would be best but just getting rid of the gray pixels on the images would be satisfactory.
- The default_ex template - Though technically optional and not a true part of the core I found a small tweak that should be made to the template. I use '&' in a few of my category titles and in most places the page title displays correctly but when I click on a category with '&' in its name the forum displays & nbsp; in its place. The culprit is a missing decode in the fb_pathway.php file @ line 149. I replaced it with ...
... to resolve this issue.Code:$document->setTitle(htmlspecialchars_decode($jr_topic_title ? $jr_topic_title : $fr_title_name) . ' - ' . stripslashes($fbConfig->board_title));
I've encountered a few more *tiny* issues like these but didn't keep track of them, these are just the ones I ran into this morning while I was adding custom bbCode to Kunena, I'll add to this thread as I find more *tiny* things that annoy me
All in all other than previews not working I'm very impressed with Kunena and glad to be migrating to it from FB 1.0.5 rc2
~cXc~
PS The 1st and 2nd annoyances have bothered me since those bbCodes were added to FB/Kunena and I've edited them over and over in my sites :dry:
Last edit: 16 years 8 months ago by cXc.
Please Log in or Create an account to join the conversation.
16 years 8 months ago #27811
by Matias
Replied by Matias on topic Re: Quick and Easy Core Suggestions
I've fixed 3 to SVN, but as we have already replaced bbcode engine in Kunena 1.6 and because of changing 1 and 2 will cause issues in current templates, I've decided (for now) to postpone those changes into Kunena 1.6.
Please Log in or Create an account to join the conversation.
- cXc
-
Topic Author
- New Member
-
Less
More
- Thank you received: 0
16 years 8 months ago - 16 years 8 months ago #27832
by cXc
Replied by cXc on topic Re: Quick and Easy Core Suggestions
I understand the issues with 1 & 2, I have found a solution to 1 that shouldn't cause any issues with existing templates but does solve the problem. Instead of replacing 'fb_quote' just add the unique class behind it so that if the unique class is used it can override the default class settings. I've changed it to ...
... in my parser now but with changes to the bbCode for 1.6 it might not matter.
I haven't thought of any other solutions for 2 its a little harder to deal with where it affects *all* templates and has no room for customizing. I wish code, hide,quote and spoiled html were controlled by the template, if they were this wouldn't be an issue at all.
As for 3, that's the one that finally made me decide to post anyway, the others really didn't matter. I just wanted to toss them in for consideration ...
Thanks,
~cXc~
PS Is there anyway to get a look at the new bbCode system being used with 1.6?
I thought the system in 1.5.x was going to be the one used for 1.6
Code:
<span class="fb_quote fb_hidden">
and
<span class="fb_quote fb_spoiled">
I haven't thought of any other solutions for 2 its a little harder to deal with where it affects *all* templates and has no room for customizing. I wish code, hide,quote and spoiled html were controlled by the template, if they were this wouldn't be an issue at all.
As for 3, that's the one that finally made me decide to post anyway, the others really didn't matter. I just wanted to toss them in for consideration ...
Thanks,
~cXc~
PS Is there anyway to get a look at the new bbCode system being used with 1.6?
I thought the system in 1.5.x was going to be the one used for 1.6
Last edit: 16 years 8 months ago by cXc.
Please Log in or Create an account to join the conversation.
16 years 8 months ago - 16 years 8 months ago #27836
by Matias
Replied by Matias on topic Re: Quick and Easy Core Suggestions
Added classes for fb_hidden and fb_spoiler(!) as you suggested.
For 2: I don't like it either, but if there's no compatible solution, I cannot see this happening in K1.5.
For 2: I don't like it either, but if there's no compatible solution, I cannot see this happening in K1.5.
Last edit: 16 years 8 months ago by Matias.
Please Log in or Create an account to join the conversation.
- cXc
-
Topic Author
- New Member
-
Less
More
- Thank you received: 0
16 years 8 months ago #27848
by cXc
Replied by cXc on topic Re: Quick and Easy Core Suggestions
haha spoiled was a typo seems I made it several times 
Little things but they make a world of differences
Thanks,
~cXc~
Little things but they make a world of differences
Thanks,
~cXc~
Please Log in or Create an account to join the conversation.
- cXc
-
Topic Author
- New Member
-
Less
More
- Thank you received: 0
16 years 8 months ago #27869
by cXc
Replied by cXc on topic Re: Quick and Easy Core Suggestions
Sorry about double posting but I figured since #2 has no real solution the thread is dead anyway. I think we both agree that changing the code for issue #2 is way too much trouble but the real issue isn't with the code its with 'pinch.png' and 'spoiler.png' not being designed to work with dark backgrounds. I mentioned getting rid of the gray pixels in my first post but I didn't explain what I meant. I work with images a lot so I went ahead and made the edits I was talking about
and
are optimized versions of the ones included with the default template, they work on templates with light or dark background, are the exact same pixel dimensions of the originals and have a smaller file size. I wanted to post them in case anyone wanted to swap mine out for the ones included in the Kunena distribution, they go in the *ROOT*/components/com_kunena/template/default/images/english/emoticons/ folder.
You are more than welcome to use these to replace the ones included in the default folder if this is an acceptable solution #2.
Thanks,
~cXc~
You are more than welcome to use these to replace the ones included in the default folder if this is an acceptable solution #2.
Thanks,
~cXc~
Please Log in or Create an account to join the conversation.
Time to create page: 0.259 seconds