• Resolved mkb1967

    (@mkb1967)


    Hi, thank you for providing this plugin.
    I have created about 10 notes, not realizing that the list on the NotePress page will only display 5 at a time.

    So, to see more notes, I tried clicking the Next arrow above the list. That took me to the Add New Note page.

    So I typed in a different number above the list, so that I could see a different set of 5. That opens a a page with just the words “security check”.

    Is there a way to have the list show all at one time?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author datainterlock

    (@datainterlock)

    Hi,

    Ok, so I took a look at this and added 6 test notes and, sure enough it was doing the same thing to me.

    So, I took a look at the code and the code is correct.

    So, I clicked refresh on my browser and, it worked as it should.

    My best guess is that somehow the browser is caching the last page it visited. I’m not sure why or how, but I think it is.

    Try this, click the refresh on your browser. If you’re using Chrome, hover over one of the next-page icons and you should see a link like this in the bottom left of the browser:

    https://www.yoururl.com/wp-admin/admin.php?page=Note_Press-Main-Menu&paged=2

    That would be the correct link to page 2 of the notes.

    The reason you’re getting the security check error is because Note Press sets a variable called a ‘nonce’ when certain pages are loaded. When you load a second page, that nonce is compared to the one that was set in the previous page. If the two don’t match, it will refuse to load the page. This is a security feature in WordPress that prevents someone from sending a raw url to your Note Press install and potentially injecting an SQL command.

    Plugin Author datainterlock

    (@datainterlock)

    Ok, I just found the bug. It’s not removing all of the previous URL when you add a new page. This means, if you add a page and then immediately try to click the link to the next page, it’ll find the add command again.

    For now, clicking the refresh seems to work.

    I’ll work on a fix and hopefully have one out in the next day or two.

    Thread Starter mkb1967

    (@mkb1967)

    Thank you so much for looking into so quickly!

    Plugin Author datainterlock

    (@datainterlock)

    New version released and hopefully this bug is squashed.

    Thanks for pointing this out!

    Thread Starter mkb1967

    (@mkb1967)

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to View More than 5 at a time’ is closed to new replies.