Plugin License and Update Plugin

This is the place to post bug reports for the DHTML Chess plugin for WordPress
Post Reply
uyasar
Posts: 27
Joined: Tue Feb 14, 2017 2:01 pm

Plugin License and Update Plugin

Post by uyasar » Sat Apr 22, 2017 1:00 pm

Hello,
I have a problem with the stability of license and update. I mean, when I have a fresh wordpress site and install the plugin, the license works and update is ok but sometime later, the license log disappears and when i reenter the license key, it says invalid license and in conclusion the plugin doesnt update.

When i deactivate the plugin and reactivate it doesnt work either but when i delete the plugin and reinstall it works for sometime. Then it repeats like this.

Thank you

alf
Site Admin
Posts: 111
Joined: Sat Feb 18, 2017 11:02 pm

Re: Plugin License and Update Plugin

Post by alf » Sat Apr 22, 2017 6:45 pm

I will do some debugging and post a thread at easy digital downloads where I purchased the license software

uyasar
Posts: 27
Joined: Tue Feb 14, 2017 2:01 pm

Re: Plugin License and Update Plugin

Post by uyasar » Wed Apr 26, 2017 2:02 pm

Thank you, I still have this problem.

alf
Site Admin
Posts: 111
Joined: Sat Feb 18, 2017 11:02 pm

Re: Plugin License and Update Plugin

Post by alf » Wed Apr 26, 2017 4:19 pm

I have updated the server software today. I will also increment the timeout from 15 seconds to 30 seconds (license validation) in the next update (coming soon)

This bug is hard to debug since it's not consistence. It only fails for some users on some occasions. I have not been able to reproduce this error my self, so it's hard to pinpoint exactly what's wrong.

Zuluetix
Posts: 8
Joined: Wed May 03, 2017 11:58 am

Re: Plugin License and Update Plugin

Post by Zuluetix » Wed May 03, 2017 4:10 pm

I have the same issue. But I don't have my license key.
The fen position works fine http://www.ajedrezalaescuela.eu/monitor ... ender-ver/
The pgn string doesn't go at all.
The pgn db sometimes goes and sometime don't.
Please Alf make it go because I'm in love with your plugin and it's just what I'm looking for for my site.

alf
Site Admin
Posts: 111
Joined: Sat Feb 18, 2017 11:02 pm

Re: Plugin License and Update Plugin

Post by alf » Wed May 03, 2017 4:33 pm

Diego,

The problem with the license key is hard to debug. I will do some more work on it tonight. It is as I have mentioned in other posts before based on some external software, which makes it harder for me to have complete control over what's happening under the hood.

If I'm not able to find a solution tonight, I will go back to the previous solution which doesn't use a license. That means that if you have a PRO WordPressChess, you will get automatic updates for a lifetime.

Do you have an example of a [pgn] tag which doesn't work?

If you don't want to post your tests live, you can do the following

1) Create a new Page (not post) in your WordPress admin and call it "testing"
2) Then insert your test short codes into that post and post the link here(or in a private message)

This will make it easier for me to debug it.

If you enter the following into your post, does it work?

[pgn tactics="1" width="60%" float="left" theme="wood8"][setup "1"]
[eventdate "1998.??.??"]
[castle "1"]
[index "5"]
[ts "1487793861742"]
[event " White to move."]
[site "?"]
[date "1998.??.??"]
[round "?"]
[white "White mates in 2"]
[black "White mates in 2 1001 Brilliant Ways to Checkmate"]
[result "1-0"]
[fen "6R1/p4p2/1p2q2p/8/6Pk/8/PP2r1PK/3Q4 w - - 0 1"]
[plycount "3"]
1. Qe1+ Rxe1 2. g3#[/pgn]

It could be useful to enter this in "Text" mode, and not "Visual" mode.

---
Alf

alf
Site Admin
Posts: 111
Joined: Sat Feb 18, 2017 11:02 pm

Re: Plugin License and Update Plugin

Post by alf » Wed May 03, 2017 6:00 pm

I have uploaded a new version(1.0.81) which hopefully takes care of the problem with the license and automatic upgrades. If the automatic update to version 1.0.81 does not work(in a day or two), please use the link I sent you earlier or PM me in case you lost the link.

alf
Site Admin
Posts: 111
Joined: Sat Feb 18, 2017 11:02 pm

Re: Plugin License and Update Plugin

Post by alf » Thu May 04, 2017 6:13 pm

Zuluetix,

I have fixed the problem you experienced with boards not showing.

The problem was that the board was initially inside a hidden div.

example:

Code: Select all

<div style="display:none" id="board">
[pgn]...game data here...[/pgn]
</div>
This caused some problems with empty values for width and height when the board was being rendered to your web page.

The solution implemented is to "lazy loading" boards. Lazy loading means that the board will not be rendered until the parent element(div) is shown. In the example above. This can be triggered using jQuery('#board').show(). Or in your example, the board will be rendered when you slide down the panel.

---
Alf

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests