YOP
Forum Replies Created
-
Forum: Plugins
In reply to: [YOP Poll] Why there is a var named objectL10n in front end page?Hello
This var holds different settings/messages needed by the plugin to function properly.
So this var can’t be removed.
Unless you have removed the plugin the var is still on your website?
Forum: Plugins
In reply to: [YOP Poll] custom fields in notification?You mentioned %CUSTOM_FIELD%
But it should be %CUSTOM_FIELD_NAME%
Which one are you using?
Forum: Plugins
In reply to: [YOP Poll] Min/max answers > 1 overrides Allow multiple answers@airdrummer id you manage to get it to work?
Or still having issues?
Forum: Plugins
In reply to: [YOP Poll] custom fields in notification?Based on the example you’ve included, CUSTOM_FIELD_NAME should be
lot # / street address
Forum: Plugins
In reply to: [YOP Poll] custom fields in notification?there’s a special block for custom fields …
[CUSTOM_FIELDS]
%CUSTOM_FIELD_NAME% – %CUSTOM_FIELD_VALUE%
[/CUSTOM_FIELDS]Hope this helps.
Forum: Plugins
In reply to: [YOP Poll] Min/max answers > 1 overrides Allow multiple answers@airdrummer here are you adding this code?
is it in a custom plugin?
or … ?
- This reply was modified 1 year, 8 months ago by YOP.
Forum: Plugins
In reply to: [YOP Poll] Min/max answers > 1 overrides Allow multiple answersYou are writing to log only if a function called yop_poll_vote_recorded_with_details exists.
And since this function does not exist, the rest of the code it’s not being executed.
Can you give the code below a try?
if (!function_exists('write_log')) { function write_log($log) { if (true === WP_DEBUG) { if (is_array($log) || is_object($log)) { error_log(print_r($log, true)); } else { error_log($log); } } } } function cg_vote_recorded( $poll_id, $vote_data ) { write_log("====yop-poll#". $poll_id); write_log($vote_data); } add_action( 'yop_poll_vote_recorded_with_details', 'cg_vote_recorded', 10, 2 );
Forum: Plugins
In reply to: [YOP Poll] Min/max answers > 1 overrides Allow multiple answersHello
Are you testing the exact same code posted on this thread?
Forum: Plugins
In reply to: [YOP Poll] Cookie NamesYes, both the cookies you mentioned come from YOP Poll.
But only ypdt is being is on the front end.
ypguide is being used in admin area and has nothing to do with your website visitors.
I hope this helps.
Forum: Plugins
In reply to: [YOP Poll] HTML code instead of a short code?Hello
Unfortunately adding html code for a survey/poll won’t work because it has a hidden token that’s being generated every time a poll is displayed.
And without this token the survey/poll won’t work.
Can you let us know what translation service you are using so we can take a look and see the options they have?
Forum: Plugins
In reply to: [YOP Poll] Issue Editing Questions and Options@softdesigns from your description it looks like a javascript error or a css issue.
It shouldn’t be hard to get to the bottom of this.
Would it be possible to set up temporary access so we can troubleshoot?
If so, please contact us on our website.Thank you.
Forum: Plugins
In reply to: [YOP Poll] I can’t activate the pluginHello
Please contact us on our website as this is related to the pro version and we are not allowed to offer support for it on this forum.
Thank you.
Forum: Plugins
In reply to: [YOP Poll] Voting / Poll with multiple categoriesIf I understand correctly, it can be done with the pro version.
Please contact us on our website for any questions about it.The results must be as i like them at the end
This is doable with both free and pro version.
Forum: Plugins
In reply to: [YOP Poll] Voting / Poll with multiple categoriesHello
You can change results from within admin dashboard by manually deleting or adding votes.
But I am not sure what to say about the setup you mentioned.
Can you give us more details so we can get a better idea on what you’re trying to accomplish?Forum: Plugins
In reply to: [YOP Poll] Number of Votes on Bar ChartHappy to hear you got it to work the way you wanted ??
For any other questions/issues do not hesitate to contact us.