ccprog
Forum Replies Created
-
Forum: Plugins
In reply to: [crosswordsearch] Compatibility problems with WPLMSNo, that is only a warning. It will not stop Javascript execution.
Forum: Plugins
In reply to: [crosswordsearch] Compatibility problems with WPLMSHere is an additional idea: you said the website is offline, but I looked at the site you mention in your profile anyway. There, I find that one of the plugins called vibe-course-module fires an error message (“Uncaught Type error”). If that is also on the affected site, try what happens if you deactivate that plugin.
Forum: Plugins
In reply to: [crosswordsearch] Compatibility problems with WPLMSThis is a bit tricky, since WPLMS is a commercial plugin where I am not able to properly analyse how their code interacts with mine. Support questions should therefore be directed to them.
On the other hand, your description of the problem hints at this: if there is some invalid Javascript code loaded with your website, it is possible that all Javascript execution stops. My plugin relies heavily on Javascript and if that is not executetd, you would see exactly that “yet to start” message.
Now the source of the invalid script could be any plugin or theme that is activated on your website, theoretically even things like trackers or embeded advertising.
You can now try the following: go to the site with the above message and press F12 to open the developer tools. There are several tabs, open the one markes as “Console”. Reload the page. There will be several messages shown, some of them not that interesting, but most browsers mark the important stuff in red. If there is an entry that begins with something like “Syntax error”, this might contain information where the error comes from.
Feel free to copy and paste the entry to show it here, and I will see if I can make out what is happening. One important additional information is this: on the right hand side, there will be some file names. If you hover over them, a popup will show you a complete path to the offending file. It would be nice if you could note that for me, at least the part below the main WordPress installation directory.
Forum: Plugins
In reply to: [crosswordsearch] The marked word “” is not part of the solution.If you look below the riddle, you can see the line: “You have found all 0 words!” That means that no words to be found are yet hidden in the riddle.
Supposing you are the author of the riddle, you need to go back to the page for building the crossword and mark the words that are to be found there. Below the riddle, you will then see a list of them all.
If you save and then revisit the above page for solving the riddle (and if you haven’t raised the difficulty level), the list of words will still be visible, but no longer inside the crossword grid. Then your page visitors can start solving it.
The list being diplayed below also means you do no need to write them down in the description field above; you should use that for a more general description or a slogan.
- This reply was modified 6 years ago by ccprog.
Forum: Plugins
In reply to: [crosswordsearch] server error – status 400Looking at the lines in the console directly above I’d recommend that you resolve the issues with your https configuration first. Please check whether your server delivers SSL-encrypted pages via https:// or plain https://. Then make sure the main configuration page lists the website address with the same protocol prefix.
If the error remains after that, please report back.
Forum: Plugins
In reply to: [crosswordsearch] Portuguese TranslationAre you still there? I haven’t heard from you, didn’t you want to share the translation?
Forum: Plugins
In reply to: [crosswordsearch] Portuguese TranslationHey, that was quick! Could you please send me the .po file per mail to ccprog @ gmx.de?
As for mobile, I was always wary about that because I have myself very little experience with touch devices (being somewhat older, to be honest). If you have thoughts about how a touch UI should work, I would like to hear them. Nonetheless, I make no promises as I fear implementing that could trigger a complete rewrite, and that would mean a lot more work than I can currently spare.
Forum: Plugins
In reply to: [crosswordsearch] Portuguese TranslationHello casprom,
thank you for your kind words. What would I need for a translation? – well obviously a translator, since I can’t speak portuguese. If you would be willing to invest your time, that would be very much appreciated.
My advice for you would be to install a plugin that helps you with translation tasks. Loco Translate is a good choice, but there may be others. After installation, it will present you with lists of sentences and words from the different plugins, their existing translations, and missing parts. You can change anything to your needs, and also start translations into completely new languages. The result of your work can then be published immediately to your site, so your visitors see the newly translated strings without me needing to implement anything.
But I am certainly interested to let others also benefit from your work. So, as soon as you have a significant portion of the plugin translated, it would be kind if you contacted me again, so we can work on publishing your translations for everyone. (Even if you don’t translate every last error message, I know there is a lot of localized content.) Your name as a translator will be mentioned.
Forum: Plugins
In reply to: [crosswordsearch] The editors could not be updatedAs said above, make sure the foreign keys with the new table names exist. Otherwise, you will get into trouble the next time you try to rename or delete a project.
Forum: Plugins
In reply to: [crosswordsearch] The editors could not be updatedIf you feel you know how to you could try to remove the foreign key constraints on both database tables wpzy_crw_editors and wpzy_crw_crosswords by hand (I understand that are the current table names). They should be recreated with the new table names if you deactivate and activate the plugin again.
Check if they are present afterwards, and if not, the SQL commands creating them would be
`
ALTER TABLE wpzy_crw_crosswords
ADD CONSTRAINT wpzy_project_crossword FOREIGN KEY (project)
REFERENCES wpzy_crw_projects (project)
ON UPDATE CASCADE
`
and
`
ALTER TABLE wpzy_crw_editors
ADD CONSTRAINT wpzy_project_editors FOREIGN KEY (project)
REFERENCES wpzy_crw_projects (project)
ON DELETE CASCADE
ON UPDATE CASCADE
`
Forum: Plugins
In reply to: [crosswordsearch] The editors could not be updatedAnother easy thing to check: do all editors you try to add have a role that is listed as having full editor rights?
Forum: Plugins
In reply to: [crosswordsearch] The editors could not be updatedIf you have the possibility to do temporary tests, you could set
define('WP_DEBUG', true);
in the wp-config.php to get more meaningfull debug messages. (Do not forget to remove that entry afterwards.)
The error can have several causes. My first guess would be that in moving the site some user accounts got new id numbers and somehow you now get inconsistencies between names and ids. But then, I can’t see how such a scenario can happen when you add a new project.
Forum: Plugins
In reply to: [crosswordsearch] MyCred integrationIf you are using the shortcode wizzard (the button above the editor) for adding them, remember marking the “Let users submit their result” checkbox.
Forum: Plugins
In reply to: [crosswordsearch] MyCred integrationI’ve now tested myself, but found no problem. What I did:
- Installed and activated myCred 1.7.9.3
- Copy&Paste your above code into crosswordsearch.php
- Solved a riddle with shortcode atributes
mode="solve" timer=15 submitting="1"
- On the message that I’d found 4 of 9 possible words, pressed the “Submit” button
- The following message was displayed:
You have found 4 of 9 hidden words during the alloted time.
recorded
Array
(
[project] => test
[name] => test
[time] => 15.1
[solved] => 4
[total] => 9
) - A log entry about 4 points gained was added.
Additionally I tested with several accounts having different roles and submitting while logged out (which leads to the user being asked for his password in the dialog). Every time recording the points worked without a hitch.
Things I can still think of: Did you use the adminstrator account for solving the riddle, but excluded point administrators in the myCred settings? Did you send in a riddle with 0 found words? (Both led to a “declined” message for me and no log entry was recorded.) Did define an extra Point type and looked in that log?
- This reply was modified 7 years ago by ccprog. Reason: formatting
Forum: Plugins
In reply to: [crosswordsearch] MyCred integrationOK, that looks like an error in connecting to myCred. I’ll test that myself, but that will take time. Expect an answer in the next few days.