Backie
Forum Replies Created
-
It is possible if you extend the plugin. If you don’t know PHP or/and are unwilling to invest in development work, then this plugin won’t be able to do that. Nor do I think you will find one that will, as it will required detailed knowledge of your item base with very specific logic to go with the item base and question base.
add_filter('wpsqt_replacement_tokens','filter_add_token'); function filter_add_token($objTokens) { $objTokens->addToken ( 'tokenName', 'description of the token, this will appear in the token list on the admin dashboard where listed', 'tokenValue' ); } // if you don't know the value at the set process which is done early and often so might not be wise to do the logic each time the list is generated. add_filter('wpsqt_set_token_values','filter_token_values'); function filter_token_values($objTokens) { $objTokens->setTokenValue('tokenName', 'tokenValue'); }
Some code like that above. Do that in your own plugin file so that any updates won’t break your install.
Forum: Plugins
In reply to: [CDN Sync Tool] Resized images are upload in a dot folder on Amazon S3Hi,
I’ve just noticed this plugin is broken and I’ll look into it tomorrow/weekend (depending on my free time). I’m no longer working at Fubra so no is no longer tasked to me, so I didn’t notice all the threads/reports I was just looking into the plugins current state.Even though I am no longer at Fubra, I have full confidence that any bug fixes I do will get applied and uploaded ASAP. I’ll keep you guys notified on my progress in fixing this.
Forum: Plugins
In reply to: [CDN Sync Tool] Uploads no longer syncingHi,
I’ve just noticed this plugin is broken and I’ll look into it tomorrow/weekend (depending on my free time). I’m no longer working at Fubra so no is no longer tasked to me, so I didn’t notice all the threads/reports I was just looking into the plugins current state.Even though I am no longer at Fubra, I have full confidence that any bug fixes I do will get applied and uploaded ASAP. I’ll keep you guys notified on my progress in fixing this.
Forum: Plugins
In reply to: [WP Survey And Quiz Tool] Conflict with Relevenassi Search pluginThis issue will be solved with the pull request I sent, I’ll look into why it’s broken and sent a functional one.
Forum: Plugins
In reply to: [WP Survey And Quiz Tool] General feature requestsThe custom pages functionality which has been in then plugin for a while already allows for theming of the quizzes and surveys without editing any of the files for the actual plugin, checkout https://catn.com/wordpress/plugins/wpsqt-creating-custom-pages/.
Forum: Plugins
In reply to: [WP Survey And Quiz Tool] [WP Survey And Quiz Tool] Space between questions?Hi,
The best way of acheiving this would be by using the custom pages functionality within the plugin, you should read https://catn.com/wordpress/plugins/wpsqt-creating-custom-pages/ while it does need updating for v2 the basics of it are the same.
This is a different matter than that which is in that thread.
If you use https://github.com/icambridge/WP-Survey-And-Quiz-Tool/blob/master/lib/Wpsqt/Core.php should solve your issue.
The DONOTCACHEPAGE is there to stop WP Super Cache from caching the quiz/survey pages so is needed. However the require for the file that has the DONOTCACHEPAGE constant was included in the wrong place so moved that.
Hi,
I believe ray.viljoen is meaning the easiest way is to use the custom pages functionality using https://catn.com/wordpress/plugins/wpsqt-creating-custom-pages/ as a guide and editing pages/site/quiz/section.php (if my memory serves me) and editing it there.
Hi,
This is caused by the fact you’re using PHP 4 which isn’t supported by the plugin. If you upgrade to PHP 5.2 or greater it should work fine.
Hi,
Cheers for sharing this tidbit, I thought I should pointout that you really should be escaping the html entities in the name and email as currently you’re wide open to a XSS attack. Also to get the proper desired effect it should be$name = ucword( strtolower($mydata['Custom_name']) );
Forum: Plugins
In reply to: [Plugin: CDN Sync Tool] Multisite setup question.Hi,
Can you explain how it doesn’t automatically account for the blogs.dir folder? As far as I know it does via automatically uploading media library files to the the CDN. It also allows for blogs.dir folder uploads instead of being written to filers to be written to the same path as in the file system.Hi,
Ah just clicked that you’re using a survey, which there does seem to be a flaw in, replace pages/survey/section.php with https://github.com/icambridge/WP-Survey-And-Quiz-Tool/raw/master/pages/site/survey/section.phpThe single file is pages/quiz/secton.php. Also reuploading all the files won’t affect your survey data.