inherit
204594
0
Jan 13, 2015 10:52:35 GMT -8
tangied
18
January 2014
tangied
|
Post by tangied on Mar 26, 2014 20:40:22 GMT -8
Hello, Previously, my word counter worked and is perfectly fine. However, I had disabled it for a few sections tot he forum, but it disabled all parts of it,,including the roleplaying section which I had not disabled. I would appreciate it when you have the time to check it out. Thank! tsau.boards.net
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Mar 27, 2014 5:48:33 GMT -8
Hello, Previously, my word counter worked and is perfectly fine. However, I had disabled it for a few sections tot he forum, but it disabled all parts of it,,including the roleplaying section which I had not disabled. I would appreciate it when you have the time to check it out. Thank! tsau.boards.net Hi tangied, I created an account to take a look and got the counter with the general 30 word minimum that was set for the forum when I tried to create a thread Are others on the forum having an issue or is it just you as a member of staff? If it's a staff problem then have you checked that the setting for it to affect staff is enabled or have you tried testing with a non-staff account? If not the case then can you give me a particular board and/or category where the settings dictate a 30 word minimum but it is not enforcing such a minimum? A mention of the browser being used might also be relevant. For my own future reference I am including the following info regarding the tsau.boards.net forum and the settings that I currently see { "default_mode": "words", "alternative_target_id": "", "limit_type": "min_length", "limit_threshold": "30", "exempt_members": [], "exempt_groups": [], "limit_threads": [], "limit_boards": [ { "board": [ "78" ], //CAS "limit_type": "none", "limit": "", "exclude_members": [], "exclude_groups": [] }, { "board": [ "79" ], //Questions "limit_type": "none", "limit": "", "exclude_members": [], "exclude_groups": [] }, { "board": [ "6" ], //NOT GUEST VIEWABLE "limit_type": "none", "limit": "", "exclude_members": [], "exclude_groups": [] }, { "board": [ "160" ], //Events "limit_type": "none", "limit": "", "exclude_members": [], "exclude_groups": [] }, { "board": [ "20" ], //Free Chat "limit_type": "none", "limit": "", "exclude_members": [], "exclude_groups": [] }, { "board": [ "17" ], //Studio "limit_type": "none", "limit": "", "exclude_members": [], "exclude_groups": [] }, { "board": [ "85" ], //Plots "limit_type": "none", "limit": "", "exclude_members": [], "exclude_groups": [] }, { "board": [ "83" ], //Adoption "limit_type": "none", "limit": "", "exclude_members": [], "exclude_groups": [] } ], "limit_categories": [ { "category": [ "16" ], //NOT GUEST VIEWABLE "limit_type": "none", "limit": "", "exclude_members": [], "exclude_groups": [] }, { "category": [ "13" ], //OOC Section "limit_type": "none", "limit": "", "exclude_members": [], "exclude_groups": [] }, { "category": [ "11" ], //General "limit_type": "none", "limit": "0", "exclude_members": [], "exclude_groups": [] }, { "category": [ "12" ], //The Shop "limit_type": "none", "limit": "0", "exclude_members": [], "exclude_groups": [] }, { "category": [ "14" ], //Others "limit_type": "none", "limit": "0", "exclude_members": [], "exclude_groups": [] } ], "enable_enhanced": [], "money_mode": "bonus", "word_up": [], "ignores": [ { "bbcode": "quote", "html": "div.quote" }, { "bbcode": "code", "html": "code" }, { "bbcode": "img", "html": "img" } ], "word_regex": " /\\b[\\w\\-']+\\b/g", "post_pattern": "/(%[wc]c#[-+\\d]*)/gi", "bbcode_max": "300", "enable_debugging": [] } /* CATEGORIES category-11 : General category-15 : Roleplay Center category-12 : The Shop category-10 : Luminousclan category-17 : Frigidclan category-18 : Rogue Band category-19 : Other territory category-20 : Sacred territory category-21 : The Ancestors category-13 : OOC Section category-14 : Others */ /* BOARDS 81 : Rules 80 : Announcements & Updates 79 : Questions 78 : CAS 89 : Creating a Character 88 : Accepted Characters 124 : Character Management 85 : Plots 83 : Adoption 82 : Kits 163 : School! 45 : LuminousClan 43 : LuminousClan Territory 130 : FrigidClan 132 : FrigidClan Territory 99 : Rogue Band 101 : Rogue Band Territory 29 : Roguelands 25 : Twoleg Place 24 : The Peace Willow 131 : Whisper Grove 111 : StarClan 112 : The Dark Forest 160 : Events 20 : Free Chat 17 : Studios 5 : Affiliates 4 : Advertising 3 : Junkyard */ /* SUBBOARDS 161 : Spotlights! 157 : Newsletters 93 : LuminousClan 92 : FrigidClan 118 : Rogue Band 91 : Rogues & Kittypets 113 : Characters No Longer Role-played 96 : LuminousClan 95 : FrigidClan 116 : Rogue Band 114 : StarClan/Dark Forest 94 : Rogues & Kittypets 127 : Threads 126 : Pairing up 125 : Biographies 153 : Adopted 154 : Finished Litters 68 : Camp 66 : HighRock 144 : Revealedstar‘s den 141 : Medicine Cat‘s den 150 : Nursery 146 : Warriors Den 148 : Apprentice Den 151 : Elders Den 129 : The Gorge 60 : Pine Forest 59 : Herb Meadow 58 : The Swamp 120 : Hollow Tree 135 : Camp 138 : HighOak 140 : Shatteredstar‘s den 143 : Medicine Cat‘s den 149 : Nursery 145 : Warriors Den 147 : Apprentice Den 152 : Elders Den 139 : The Owl Tree 133 : Thorn Maze 137 : The River 134 : The WaterFall 102 : Barn 103 : Hay Clump 110 : ScrapPile 109 : Barren-Land 108 : The Field 159 : Broken Chicken Coop 32 : The Meadow 34 : The Caves 26 : Twoleg Nests 162 : Roleplaying School 10 : Playground 70 : Going Away 71 : Starting Off 8 : Movie Theater 72 : Gallery 9 : Writing Workshop 115 : First Time 15 : Linking Back */
/* HIERARCHY General[category-11].Rules[board-81] General[category-11].Announcements & Updates[board-80] General[category-11].Announcements & Updates[board-80].Spotlights![sub-board-161] General[category-11].Announcements & Updates[board-80].Newsletters[sub-board-157] General[category-11].Questions[board-79] General[category-11].CAS[board-78] General[category-11].Guides[board-77] Roleplay Center[category-15].Creating a Character[board-89] Roleplay Center[category-15].Creating a Character[board-89].LuminousClan[sub-board-93] Roleplay Center[category-15].Creating a Character[board-89].FrigidClan[sub-board-92] Roleplay Center[category-15].Creating a Character[board-89].Rogue Band[sub-board-118] Roleplay Center[category-15].Creating a Character[board-89].StarClan/Dark Forest[sub-board-117] Roleplay Center[category-15].Creating a Character[board-89].Rogues & Kittypets[sub-board-91] Roleplay Center[category-15].Accepted Characters[board-88] Roleplay Center[category-15].Accepted Characters[board-88].Characters No Longer Role-played[sub-board-113] Roleplay Center[category-15].Accepted Characters[board-88].LuminousClan[sub-board-96] Roleplay Center[category-15].Accepted Characters[board-88].FrigidClan[sub-board-95] Roleplay Center[category-15].Accepted Characters[board-88].Rogue Band[sub-board-116] Roleplay Center[category-15].Accepted Characters[board-88].StarClan/Dark Forest[sub-board-114] Roleplay Center[category-15].Accepted Characters[board-88].Rogues & Kittypets[sub-board-94] Roleplay Center[category-15].Character Management[board-124] Roleplay Center[category-15].Character Management[board-124].Threads[sub-board-127] Roleplay Center[category-15].Character Management[board-124].Pairing up[sub-board-126] Roleplay Center[category-15].Character Management[board-124].Biographies[sub-board-125] Roleplay Center[category-15].Plots[board-85] Roleplay Center[category-15].Adoption[board-83] Roleplay Center[category-15].Adoption[board-83].Adopted[sub-board-153] Roleplay Center[category-15].Kits[board-82] Roleplay Center[category-15].Kits[board-82].Finished Litters[sub-board-154] Roleplay Center[category-15].School![board-163] The Shop[category-12].Berrishops[board-6] Luminousclan[category-10].LuminousClan [board-45] Luminousclan[category-10].LuminousClan [board-45].Camp[sub-board-68] Luminousclan[category-10].LuminousClan [board-45].HighRock[sub-board-66] Luminousclan[category-10].LuminousClan [board-45].Revealedstar‘s den[sub-board-144] Luminousclan[category-10].LuminousClan [board-45].Medicine Cat‘s den[sub-board-141] Luminousclan[category-10].LuminousClan [board-45].Nursery[sub-board-150] Luminousclan[category-10].LuminousClan [board-45].Warriors Den[sub-board-146] Luminousclan[category-10].LuminousClan [board-45].Apprentice Den[sub-board-148] Luminousclan[category-10].LuminousClan [board-45].Elders Den[sub-board-151] Luminousclan[category-10].LuminousClan Territory[board-43] Luminousclan[category-10].LuminousClan Territory[board-43].The Gorge[sub-board-129] Luminousclan[category-10].LuminousClan Territory[board-43].Pine Forest[sub-board-60] Luminousclan[category-10].LuminousClan Territory[board-43].Herb Meadow[sub-board-59] Luminousclan[category-10].LuminousClan Territory[board-43].The Swamp[sub-board-58] Luminousclan[category-10].LuminousClan Territory[board-43].Hollow Tree[sub-board-120] Frigidclan[category-17].FrigidClan [board-130] Frigidclan[category-17].FrigidClan [board-130].Camp[sub-board-135] Frigidclan[category-17].FrigidClan [board-130].HighOak[sub-board-138] Frigidclan[category-17].FrigidClan [board-130].Shatteredstar‘s den[sub-board-140] Frigidclan[category-17].FrigidClan [board-130].Medicine Cat‘s den[sub-board-143] Frigidclan[category-17].FrigidClan [board-130].Nursery[sub-board-149] Frigidclan[category-17].FrigidClan [board-130].Warriors Den[sub-board-145] Frigidclan[category-17].FrigidClan [board-130].Apprentice Den[sub-board-147] Frigidclan[category-17].FrigidClan [board-130].Elders Den[sub-board-152] Frigidclan[category-17].FrigidClan Territory[board-132] Frigidclan[category-17].FrigidClan Territory[board-132].The Owl Tree[sub-board-139] Frigidclan[category-17].FrigidClan Territory[board-132].Thorn Maze[sub-board-133] Frigidclan[category-17].FrigidClan Territory[board-132].The River[sub-board-137] Frigidclan[category-17].FrigidClan Territory[board-132].The WaterFall[sub-board-134] Rogue Band[category-18].Rogue Band[board-99] Rogue Band[category-18].Rogue Band[board-99].Barn[sub-board-102] Rogue Band[category-18].Rogue Band[board-99].Hay Clump[sub-board-103] Rogue Band[category-18].Rogue Band Territory[board-101] Rogue Band[category-18].Rogue Band Territory[board-101].ScrapPile[sub-board-110] Rogue Band[category-18].Rogue Band Territory[board-101].Barren-Land[sub-board-109] Rogue Band[category-18].Rogue Band Territory[board-101].The Field[sub-board-108] Rogue Band[category-18].Rogue Band Territory[board-101].Broken Chicken Coop[sub-board-159] Other territory[category-19].Roguelands[board-29] Other territory[category-19].Roguelands[board-29].The Meadow[sub-board-32] Other territory[category-19].Roguelands[board-29].The Caves[sub-board-34] Other territory[category-19].Twoleg Place[board-25] Other territory[category-19].Twoleg Place[board-25].Twoleg Nests[sub-board-26] Sacred territory[category-20].The Peace Willow[board-24] Sacred territory[category-20].Whisper Grove[board-131] The Ancestors[category-21].StarClan[board-111] The Ancestors[category-21].The Dark Forest[board-112] OOC Section[category-13].Events[board-160] OOC Section[category-13].Free Chat[board-20] OOC Section[category-13].Free Chat[board-20].Roleplaying School[sub-board-162] OOC Section[category-13].Free Chat[board-20].Playground[sub-board-10] OOC Section[category-13].Free Chat[board-20].Going Away[sub-board-70] OOC Section[category-13].Free Chat[board-20].Starting Off[sub-board-71] OOC Section[category-13].Studios[board-17] OOC Section[category-13].Studios[board-17].Movie Theater[sub-board-8] OOC Section[category-13].Studios[board-17].Gallery[sub-board-72] OOC Section[category-13].Studios[board-17].Writing Workshop[sub-board-9] Others[category-14].Affiliates[board-5] Others[category-14].Advertising[board-4] Others[category-14].Advertising[board-4].First Time[sub-board-115] Others[category-14].Advertising[board-4].Linking Back[sub-board-15] Others[category-14].Junkyard[board-3] */
|
|
inherit
178633
0
Aug 12, 2014 10:23:58 GMT -8
Pixel
60
April 2012
atzuki
|
Post by Pixel on Apr 18, 2014 16:08:06 GMT -8
Is it possible to create a limit for the maximum number of characters allowed within posts?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Apr 18, 2014 16:19:46 GMT -8
Is it possible to create a limit for the maximum number of characters allowed within posts? The plugin offers minimum, maximum or none when creating a limit
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 24, 2024 14:26:42 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on May 27, 2014 17:03:18 GMT -8
This plugin has so many fantastic features to it, it's absolutely mind-boggling. I hate knowing that I don't use it to its fullest potential because I don't quite understand many of the more advanced options, such as the v4 enhanced table options and the, well, Advanced tab. Any chance for a dumbing-down explanation real fast on those or is it about as simple as it can be said already?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on May 28, 2014 17:01:15 GMT -8
This plugin has so many fantastic features to it, it's absolutely mind-boggling. I hate knowing that I don't use it to its fullest potential because I don't quite understand many of the more advanced options, such as the v4 enhanced table options and the, well, Advanced tab. Any chance for a dumbing-down explanation real fast on those or is it about as simple as it can be said already? Compatibility TabThe v4 enhanced table is meant to target the old V4 posting tables which were made obsolete with the release of the more advanced bbcodes in V5. These tables are easily identified by the use of a proprietary "[atrb]" tag and would not have been updated automatically when the forum was converted to V5 because they were not officially supported tags. Someone would have to edit and manually convert them to their V5 syntax for each and every post in which you find them. When editing a post containing enhanced v4 tables, the existence of unconverted tags would throw the count off so the setting is there to render these tags first before starting a count. This can be applied to the preview tab only or can be applied full-time where as long as the plugin is running it will look for these old enhanced tables and render them without having to edit and upgrade them to V5 format. This can come in handy if you have thousands of posts you need to upgrade but don' have the time or manpower to do so just yet. The monetary option allows you to plug into the popular monetary plugin allowing the poster to be awarded based on the number of words they have typed either as a bonus or as a prorated monetary payout. You setup the ranks, i.e. "this many words gets you this much money" then the plugin uses those values to decide how much is suppose to be given. In proportional (prorated) mode the value that is set in the monetary plugin for each post is used as the high water mark and if the poster does not meet or exceed the highest posting rank that you've set then they are given a proportional sum relative to that value set in the monetary plugin. To be clear, in proportional mode, if the highest rank is 1000 words but 500 words were posted then that means the monetary plugin would only give out 50% of what it is set to give out. Advanced Tabthe settings on this tab normally do not need to be modified, they are there for the rare cases. - ignore content
in this section we list tags that have content that should not be counted, by default the QUOTE, CODE and IMG tags are in this list. The V5 version of the image tag need not be in this list but the V4 format places the image url between the opening and closing tags thus appearing as countable content
- Word Pattern
this is the pattern used to distinguish one word from another for counting purposes. It is a regular expression so you would need to know regular expressions in order to construct an alternate pattern.
- Post Pattern (default: /(%[wc]c#[-+\d]*)/gi)
this is also a regular expression that is used to identify whether the person making the post also wants the count to be included in the post. By default it will look for the pattern %wc# (for wordcount) or %cc# (for character count) and replace that pattern with a number. Additionally you can add or subtract from the count with modifiers, for example, if you placed "word count: %wc#" in the post but did not want the words "word count" to be included in the count you would use "word count: %wc#-2" to subtract 2 from the count.
in the above example, by adding up the number of words that should not be counted in that template then placing that offset number in the "word count" tab with the pattern described above (e.g. %wc#-19), it will automatically be replaced upon posting with the accurate number of words actually considered content. Words such as "Template by Jawn.." would not be included in the total. The template could then be saved with that pattern so it can be reused
- BBCode Max (default:300)
this is the maximum number of tags the counter will process in any given counting session. This setting exists because the plugin makes use of a function provided by Proboards that identifies and grabs tags, this function however is coded to give up after encountering 100 tags but the plugin needed a bit more headroom to work consistently on posts one may encounter on RPG forums. Set this value too high and it may appear that your browser has frozen or perhaps get a "script is busy" warning message from your browser
- Debugging
this is for troubleshooting purposes only. It will log behind-the-scenes messages to the console to aid in identifying problems
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 24, 2024 14:26:42 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on May 28, 2014 17:52:19 GMT -8
Thank you so much for clarifying, Eton, I really appreciate the clarification =D I'm gonna make more use of this plugin now that I understand it more haha
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jun 4, 2014 18:30:48 GMT -8
Submitted a version 1.0.3 update to the library with a few improvements:
- Updated for better compatibility with the current version (v0.7.5) of the Monetary plugin - Support character mode when calculating for monetary payout. - Detect empty word up ranks since this seems to be a common problem. - Added ability to set negative values for monetary payouts (lose money when posting in certain threads, boards or categories)
|
|
Nefa
New Member
Posts: 57
inherit
200522
0
Aug 5, 2019 12:12:11 GMT -8
Nefa
57
September 2013
mag314
|
Post by Nefa on Jul 3, 2014 14:20:49 GMT -8
Chris, This app has been a huge help to me when running my site, but I do have one problem: it doesn't seem to work when members are posting on their mobile version. Is this a problem other users have been having, or is it just me? Is there a way I can fix it? My forum is www.forgottenpurrsrp.boards.net. Thanks, Nefa
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jul 3, 2014 16:10:57 GMT -8
Chris, This app has been a huge help to me when running my site, but I do have one problem: it doesn't seem to work when members are posting on their mobile version. Is this a problem other users have been having, or is it just me? Is there a way I can fix it? My forum is www.forgottenpurrsrp.boards.net. Thanks, Nefa Nefa unfortunately plugins are not capable of running in a mobile environment which is generally cramped for space and bandwidth so Proboards streamlines by automatically ignoring a few things deemed unnecessary to perform basic forum tasks (and that includes plugins). However, if you are using a mobile browser in desktop mode, by activating the button on the bottom right that says "Desktop", and you still are unable to use the counter then I'll try to see if anything can be done provided you can give me the browser name and mobile platform being used so I can see for myself.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jul 5, 2014 11:48:41 GMT -8
Nefa I've been sort of waiting on you for that information I need to address your problem. Here's a bit more details if what I said in my last post was a bit unclear Chrome on Google Nexus 5 |
---|
Mobile | Desktop Mode | | | Chrome on Apple iPhone 5 |
---|
Mobile | Desktop Mode | | | Chrome on Apple iPad Mini |
---|
Mobile | Desktop Mode | | |
Check the mobile version and you'll see a "desktop" button on the bottom right and no plugins will be running. Activate that desktop mode and you'll see plugins start working. Think of the mobile mode as sugar-free, fat-free and gluten-free version for reading and posting on a Proboards forum for those on a bandwidth diet. I was planning on releasing a patch for a newly discovered bug today but I'll wait until tomorrow because it would be nice if I could include a fix in that patch for the problem you say you're having.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jul 6, 2014 4:24:02 GMT -8
ChrisWould you be able to expose your methods for checking character / word length? Only if you have time and don't mind (also no rush, as I'm a good while off from working on the Trophy plugin). Since you have done the work, I didn't want to have to re-invent the wheel. Eventually I plan on going back and working on the Trophy plugin, and I would like to add in a few trophies for post length, and decided that your plugin would be a great addition (and a requirement for any post length trophies) for it. I haven't looked at the code, and I am betting you are doing far more than a very basic character / word length check.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jul 6, 2014 5:40:08 GMT -8
Peter to properly expose I would probably need to do a complete rewrite using some variation of the module pattern . The plugin doesn't currently expose any global variables so for the time being I'll fudge a window.eton plain object with the plugin ID " eton_word_count" as a key within that object exposing a few methods and properties that might be useful such as grabbing editor text ( getEditorText) that has been properly conditioned to nullify the differences between bbcode and html ( e.g. the treatment of html entities which can introduce count disparities between the two editors, not counting quoted text or bbcode tags, etc.). The last_length and last_word properties would reflect the last character and word count performed (updated on keyup/mouseup of message area activity). This way the transition to a module pattern should be seamless. If you need something else exposed let me know, I'll try to push this today with the bug update
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jul 6, 2014 7:52:13 GMT -8
ChrisThanks a lot, I appreciate that.
|
|
Nefa
New Member
Posts: 57
inherit
200522
0
Aug 5, 2019 12:12:11 GMT -8
Nefa
57
September 2013
mag314
|
Post by Nefa on Jul 6, 2014 12:10:09 GMT -8
Chris, apologies for the late response. I'm using Safari on iPhone 4. I don't have a problem myself with the word count, however we do have a requirement on my forum and a few members have been able to bypass it because of mobile version. But I guess this can't be fixed if all plugins are disabled on mobile version, I'm sure to find another way around it.
|
|