- Remove duplicate permission (double check to make sure "Forum permissions: Can view character / word counter" is correctly set)
- Count words instead of whitespaces
- Create "Display counter in the following locations" admin option
- Create style properties for restyling & relocating the counter within the editor
Hi, Thank you for the awesome add-on.
seems it is not counting correctly.
I typed 20 words but it is only count 17 !.
View attachment 289598
There's a guide - https://xenforo.com/community/resources/editor-toolbar-button-icon-styling.8248/Unrelated, but please tell me how to make the editor beautiful like yours.
Mine looks bad like this.
View attachment 289642
Hi, Thank you for the awesome add-on.
seems it is not counting correctly.
I typed 20 words but it is only count 17 !.
View attachment 289598
Thank you for your reply,Would you be able to share your CSS code with me, please?
Thank you for your reply,
Do you mean the CSS in the extra.less template!
Not had the time to investigate just yet (it was a while ago I wrote this update and only got to test it recently), but from what i remember the Froala editor XF uses doesn't actually output a post likeHi, Thank you for the awesome add-on.
seems it is not counting correctly.
I typed 20 words but it is only count 17 !.
TEST TEST TEST
TEST TEST TEST
TEST TEST TESTTEST TEST TEST
<p>TEST TEST TEST</p>
<p>TEST TEST TEST</p>
<p>
tags, then it should be easier to correct.I would appreciate your full CSS code to get the colorful icons as well. Could you paste it in a comment at https://xenforo.com/community/resources/editor-toolbar-button-icon-styling.8248/ ? It's much easier to edit code than have to write it from scratch.Thank you for your reply,
Do you mean the CSS in the extra.less template!
Here is it: https://xenforo.com/community/threads/editor-toolbar-button-icon-styling.190374/post-1641806I would appreciate your full CSS code to get the colorful icons as well. Could you paste it in a comment at https://xenforo.com/community/resources/editor-toolbar-button-icon-styling.8248/ ? It's much easier to edit code than have to write it from scratch.
Have you any other editor-related addons installed? Are there any errors appearing in your browser console (CTRL+Shift+K for firefox, not sure about chrome)After installed can't type anything into Quick Reply editor box in toggle BB code mode
Interesting. I just tested it and I can type in the box but the counter doesn't work in BB code mode.After installed can't type anything into Quick Reply editor box in toggle BB code mode
Indeed, after a quick test with the completely default settings I have the same experience as you - in regular editor mode I can both type & have my characters counted, if I'm in BbCode mode I can still type but the counter will not refresh until I swap back to regular editor mode.Interesting. I just tested it and I can type in the box but the counter doesn't work in BB code mode.
I'm on Firefox, and I tested two different Firefox browsers. I don't have other editor-related addons.
I have some warnings in CTRL+Shift+K, but no errors.
XF/ThreadType/Article.php line 60
Remove duplicate permission (double check to make sure "Forum permissions: Can view character / word counter" is correctly set) https://xenforo.com/community/resources/ap-character-counter.8810/updates
I think I found a bug. Possibly has to do with the recent update?
The counter is only showing for me when I reply to an existing thread. When I create a new thread it doesn't show.
BTW, I would find it useful to have it work for the title too (I have 300 char titles). But not a big deal. Right now I just type the title in the main box first.
Nice and helpful Plugin!
@apathy : I think I've found a bug: There seems to be an issue with articles:
Articles have a higher character limit than "normal posts", as a standard possibly by factor three:
Implemented - Maximum article length should have separate option to default message
If we are going to take full advantage advantage of the lovely brand spanking new thread types, it makes sense that articles should have a longer maximum than your average post.xenforo.com
So instead of i.e. 15.000 characters for a post and article should have like 45.000 characters. I do have articles in my forum with like 24.000 characters and when I tried to edit them after installing your plugin I was not able to add characters to it.
The length seems to be controlled in
according to this post.Code:XF/ThreadType/Article.php line 60
As there seems to be no direct setting for it in the backend (though I remembered differently from setting up my forum) I then installed the Article length plugin by @Ozzy47 :
[OzzModz] Article Maximum Character/Image/Media Settings
Simple addon that will give you settings to control the maximum character count, image count and media count to be used in articles. I'd like to thank @Lawrence @TickTackk who helped get the code correct for this addon.xenforo.com
It showed me a max article length of 25.000 characters, so I should have been able to add characters to my example article. I then rised it to 30.000 characters, just to be sure and tried once more to edit the article.
Your plugin still showed a character limit of 15.000, so it does not seem to reflect the setting for articles.
I then disabled your plugin and everything worked as it should again.
Would be great if you could fix the issue as the plugin is very helpful in my opinion.
We use essential cookies to make this site work, and optional cookies to enhance your experience.