Jump to content

(NE) Content limits for editor


Recommended Posts

Posted (edited)
2 hours ago, livegames.co.il said:

by uploading a simple picture with no words. its looks like uploading a picture from the mobile trick the app restriction. from the desktop the restriction works perfect.

It's reproducible on desktop too - exact steps are:

  1. Create a new topic
  2. Enter the title
  3. Do not go near the editor field itself
  4. Attach an image - do not click the attachment to add it to the editor field
  5. Click 'Submit'

As nothing has been manually added to the editor field, the code to check the editor field doesn't run as there is nothing to check in there...it's empty until someone adds something, which is when the code runs. The image is never added to the editor - it's added AFTER submission, in the back-end.

Probably an easy resolution - disable the 'Submit' button at the start of the process (of creating a post), instead of after the editor field has had something entered into it.

Will take a closer look over the weekend - any other bugs, anyone? Now is the time to report them as a v2.0.4 is on the way.
Got a few minutes at the end of work to take a look- it's done, v2.0.4 submitted for approval. Other bug fixes can wait.

Edited by Nathan Explosion
  • 3 weeks later...
Posted (edited)

@Nathan Explosion

Hi, Nathan, new bug a member just reported to me which related to the latest update. ( disable the 'Submit' button at the start of the process)

When he hit the report button image.png.2a7c32625611bec8f8d397bb25af963a.png

the submit report button is also grayed out image.png.9500e1ea7252dd36ea595b50f7fa1618.png

Even tho he picked a reason image.png.912d74bbeddbb31b86afa2350196cd14.png

He is in one of group which is limited by Editor content limits. So, I did a test, I disabled the limit for that group.

the button became clickable..image.png.8de5947bc44e4d93572ee439f5f91998.png

So, I believe whatever code you were using for reply also affected the button in the report page. I also ran a test: If I right click the "report", open in a new tab or windows, the "submit report" is clickable. Hope this help...

Please fix the issue, it's inconvenience ( half of my members are on mobile...even for the desktop users, when they see the button gray out, they probably think the report system is broken.) 

Thank you.

Edited by SUBRTX
Posted

v2.0.5 has been submitted for approval

  • FIXES
    • Tweaks to the JS code to ensure that (hold on tight) the 'Submit' button is not disabled on forms loaded via "ipsDialog" when the page on which the ipsDialog is displayed is configured to be monitored by the application (Example: the 'Report' dialog)
Posted
2 hours ago, Nathan Explosion said:

v2.0.5 has been submitted for approval

  • FIXES
    • Tweaks to the JS code to ensure that (hold on tight) the 'Submit' button is not disabled on forms loaded via "ipsDialog" when the page on which the ipsDialog is displayed is configured to be monitored by the application (Example: the 'Report' dialog)

That...was quick, thanks!

  • 3 weeks later...
  • 5 weeks later...
Posted

Hi, Every time we go to update this plugin (Content limits for editor ) when a new version becomes available it says on our marketplace page in the acp that the plugin is upto date.

We have now uninstalled the plugin to start again from scratch, but even now the plugin is uninstalled, it still says - This resource is already installed and up to date

I contacted IPS support as we thought this was a marketplace issue but they have replied...

Hello,

You need to contact the author of that plugin for assistance with this. We would not be able to assist with 3rd party items

Posted

So let me get this right...

1) you don't have it installed

2) the marketplace says you do

3) it's therefore an issue with the application/plugin, and not the marketplace, according to the support guys

LOGIC-A-GO-GO it is then!

If you want me to figure this out for you, then provide me with full ACP access to your site please.

 

 

 

 

Posted

Just one point, actually....you mentioned 'plugin' a few times there. This isn't a plugin - it is an application, as of v2.x.

So, check your application listing..is it installed there, and what version is it?

Posted (edited)

No - I don't use Blogs, so can't develop & test for it. 

However the way I have coded this application does mean I could add it in a later point. If you have a test site I can use then I can try the things out that would make it possible.

Edited by Nathan Explosion
Posted (edited)

Hey man...

Is it possible you can change those text:

word lower limit to minimum word requirement(or count) 

word upper limit to maximum word requirement(or count) ?

or can you tell me how do I change it in language translation..

there were few members asked why they couldn't reply I guess they didn't understand what lower or upper means...

Edited by SUBRTX
Posted

v2.0.7 has been submitted for approval

  • FIXES
    • Removed hard-coded strings from the 'neapp_contentlimits' html template, converted to language strings (IMPORTANT: if you have previously modified that template, then it will need to be reverted to pick up this change)
    • Corrected issue with the cleanup task, used to remove the old plugin version of the application, not running
  • CHANGES
    • No other functional changes
    • Tested and confirmed as working on IPS 4.6.0 (Beta)
  • 4 months later...
Posted (edited)

Hello, @Nathan Explosion
In V2.0.7 the app continues to work properly, but i can't see the group setting and make changes.All The groups appear for one second in the bar and then disappear.

I am using Invision Community v4.6.6

 Any idea?image.png.aa1c3c897cfa943e2881524b20c56719.png

 

 

 

Edited by livegames.co.il
Posted (edited)

When did that start happening? That version (2.0.7) was released four months ago, so what was the trigger on your side for this to start?

PHP version change?

A new group added, or a group renamed?

Upgrade of IPS from vX to vY?

Edited by Nathan Explosion
Posted
52 minutes ago, Nathan Explosion said:

When did that start happening? That version (2.0.7) was released four months ago, so what was the trigger on your side for this to start?

PHP version change?

A new group added, or a group renamed?

Upgrade of IPS from vX to vY?

Hi
I think it started after I upgraded from 4.5 to 4.6
I am still running PHP version 7.3.11 and have yet not upgraded to 7.4

Is it may be the root cause?

  • 3 months later...
Posted (edited)
On 9/26/2021 at 1:57 AM, livegames.co.il said:

Hello, @Nathan Explosion
In V2.0.7 the app continues to work properly, but i can't see the group setting and make changes.All The groups appear for one second in the bar and then disappear.

I am using Invision Community v4.6.6

 Any idea?image.png.aa1c3c897cfa943e2881524b20c56719.png

 

 

 

Its still doesn't working @Nathan Explosion

I cant do any changes

Edited by livegames.co.il
Posted

Give me an admin account, in that case, so I can take a look at whatever you are trying to convey.

I will point out, again, that enabling 'apply to all groups' will hide all the group tabs and your settings are then as per whatever you have on that single tab.

If you disable that setting then you have additional group tabs to play with.

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...