ccprog
Forum Replies Created
-
Forum: Plugins
In reply to: [crosswordsearch] my crosswordsearch just stopped workingThat happens when the software for running crosswordsearch isn’t started. The reason mostly is that other components try to execute some javascript and execution crashes before crosswordsearch gets a chance to initialize.
If you know how to do that, you should take a look at the javascript error console to identify the component that is crashing. If you don’t, you could name a link to the page and I’ll take a look myself.
Forum: Plugins
In reply to: [crosswordsearch] Responsive DesignIt has been on my mind, but it is a major undertaking. The plugin was designed with backward compatibility with Internet Explorer 8 in mind. Therefore it employs techniques that do not lend themself well to responsive design and touch devices.
The second question is a more basic one. A crossword is by its nature a two-dimensional grid whose layout cannot be changed. What should happen if an author designs a large one? Is it scaled down to fit on a small screen, or left at a reasonable size and exeeding the screen limits? What touch gestures would then intuitively distinguish between marking a word and scrolling the view? How would you mark a word that is so long that it does not fit within the screen?
Forum: Plugins
In reply to: [crosswordsearch] grab valueThere is a more-or-less undocumented backdoor because AngualrJS leverages jQuery.
jQuery('.crw-wrapper').data().$scope.count
gets you at these values, but you must be aware that this is not a recommended way to export data from AngularJS controllers and might have serious side-effects. I’d be extremely wary to use them in a closure.Forum: Plugins
In reply to: [crosswordsearch] The marked word is not part of the solutionhiding the unititialized admin page will be part of v0.6
Forum: Plugins
In reply to: [crosswordsearch] bugThank you for spotting this one. The release of v0.6.0 is planned for tomorrow and will contain the fix.
Forum: Plugins
In reply to: [crosswordsearch] grab valueNo, solving the crossword is a strictly local activity. It only takes place in the browser.
Stringing this together with the request of another user for timing the solution, there might be an integration with a scoring plugin in the future, but this is not imminent.
Forum: Plugins
In reply to: [crosswordsearch] The marked word is not part of the solutionBoth problems are unrelated, and probably no errors at all.
What you see on page Dashboard ->Settings->Crosswordsearch is the application initializing. Data displayed on these pages are loaded asynchronuously (later than the rest of the page), so depending on the speed of your internet connection you see the page stuck in a half-ready state. As long as it disappears, there is no real problem. I’ll take care to hide this state from the viewer in the next version.
Concerning “The marked word MERCURY is not part of the solution”, this says exactly what it is. You can check what you designed on Dashboard ->Settings->Crosswordsearch in the Review tab. Mark the name of the crossword in the middle column and check the “preview” checkbox below. The crossword will be shown below, together with the list of marked words. There you can see if you maybe accidentally selected one letter more or less, or if you marked the word back-to-front (YRUCREM).
Forum: Plugins
In reply to: [crosswordsearch] Problem with mycredThere seems to be a serious compatibility problem between myCRED and WordPress 4.3. THere are even some rumors the author has abandoned his plugin. This is definitely no problem with crosswordsearch.
You have two options:
– run WordPress in version 4.2.x (for security reasons not the best advice in my opinion)
– There is a fork of the plugin at https://github.com/suifengtec/mycred that, on first glance, seems to be working. Be aware I have done only a very short test, though.Forum: Plugins
In reply to: [crosswordsearch] Can't create puzzle on WP multisiteThe error concerning rename/delete is resolved. If you have crosswordsearch activited in multiple member sites, please deactivate and activate them again.
In addition, site admins now have access to project administration.
Activation will now be blocked with a comprehensive notice if dependency is not met.
Forum: Hacks
In reply to: How to block Network Activation for a pluginThe point you are missing is that WPs plugin loading procedure seems to load the main plugin file multiple times. After further testing I think this qualifies as a bug, and now I have filed it as one.
Forum: Plugins
In reply to: [crosswordsearch] Can't create puzzle on WP multisite.map files are used for debuging purposes only, don’t mind them. This should not affect the plugin functioning.
BTW, I have found another error affecting multisite installations. Until further notice trying to rename or delete projects will lead to trouble. Sorry about that, a fix will at least have to wait until tomorrow.
Forum: Plugins
In reply to: [crosswordsearch] Can't create puzzle on WP multisite…and what should it be? Do you use subdomains or paths?
Forum: Hacks
In reply to: How to block Network Activation for a pluginNot very promising, as every function declared in the plugin file gets redeclared…seems the file gets loaded with require()…
Forum: Plugins
In reply to: [crosswordsearch] Can't create puzzle on WP multisiteoops, seems we cross-posted.
You say “network activation”. Please note what I said above: you must activate the plugin per-site. On my test installation the table names then get prefixed with IDs.