Version Description
N/A
Download this release
Release Info
Developer | yoffegil |
Plugin | Poll, Survey, Quiz, Slideshow, Form, Story & Landing Page |
Version | 13.5.0 |
Comparing to | |
See all releases |
Code changes from version 13.4.0 to 13.5.0
- opinionstage-functions.php +2 -1
- opinionstage-polls.php +6 -6
- opinionstage-utility-functions.php +11 -0
- readme.txt +5 -3
opinionstage-functions.php
CHANGED
@@ -137,8 +137,9 @@ function opinionstage_add_poll_page() {
|
|
137 |
|
138 |
<div class="section">
|
139 |
<h2>Content</h2>
|
140 |
-
<ul class="os_links_list">
|
141 |
<li><?php echo opinionstage_create_poll_link(); ?></li>
|
|
|
142 |
<li><?php echo opinionstage_create_set_link(); ?></li>
|
143 |
<li><?php echo opinionstage_dashboard_link('Manage Content'); ?></li>
|
144 |
</ul>
|
137 |
|
138 |
<div class="section">
|
139 |
<h2>Content</h2>
|
140 |
+
<ul class="os_links_list">
|
141 |
<li><?php echo opinionstage_create_poll_link(); ?></li>
|
142 |
+
<li><?php echo opinionstage_create_trivia_link(); ?></li>
|
143 |
<li><?php echo opinionstage_create_set_link(); ?></li>
|
144 |
<li><?php echo opinionstage_dashboard_link('Manage Content'); ?></li>
|
145 |
</ul>
|
opinionstage-polls.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
-
Plugin Name: Polls by OpinionStage
|
4 |
Plugin URI: http://www.opinionstage.com
|
5 |
-
Description: Adds
|
6 |
-
Version: 13.
|
7 |
Author: OpinionStage.com
|
8 |
Author URI: http://www.opinionstage.com
|
9 |
Text Domain: social-polls-by-opinionstage
|
@@ -12,8 +12,8 @@ Text Domain: social-polls-by-opinionstage
|
|
12 |
/* --- Static initializer for Wordpress hooks --- */
|
13 |
|
14 |
define('OPINIONSTAGE_SERVER_BASE', "www.opinionstage.com"); /* Don't include the protocol, added dynamically */
|
15 |
-
define('OPINIONSTAGE_WIDGET_VERSION', '13.
|
16 |
-
define('OPINIONSTAGE_WIDGET_PLUGIN_NAME', 'Polls by OpinionStage');
|
17 |
define('OPINIONSTAGE_WIDGET_API_KEY', 'wp35e8');
|
18 |
define('OPINIONSTAGE_OPTIONS_KEY', 'opinionstage_widget');
|
19 |
define('OPINIONSTAGE_POLL_SHORTCODE', 'socialpoll');
|
@@ -21,7 +21,7 @@ define('OPINIONSTAGE_WIDGET_SHORTCODE', 'os-widget');
|
|
21 |
define('OPINIONSTAGE_PLACEMENT_SHORTCODE', 'osplacement');
|
22 |
define('OPINIONSTAGE_WIDGET_UNIQUE_ID', 'social-polls-by-opinionstage');
|
23 |
define('OPINIONSTAGE_WIDGET_UNIQUE_LOCATION', __FILE__);
|
24 |
-
define('OPINIONSTAGE_WIDGET_MENU_NAME', 'Polls by Opinion Stage');
|
25 |
define('OPINIONSTAGE_LOGIN_PATH', OPINIONSTAGE_SERVER_BASE."/integrations/wordpress/new");
|
26 |
|
27 |
require_once(WP_PLUGIN_DIR."/".OPINIONSTAGE_WIDGET_UNIQUE_ID."/opinionstage-utility-functions.php");
|
1 |
<?php
|
2 |
/*
|
3 |
+
Plugin Name: Polls & Quizzes by OpinionStage
|
4 |
Plugin URI: http://www.opinionstage.com
|
5 |
+
Description: Adds highly engaging polls & quizzes to your site. Easily add polls & quizzes to any post/page or to your site sidebar.
|
6 |
+
Version: 13.5.0
|
7 |
Author: OpinionStage.com
|
8 |
Author URI: http://www.opinionstage.com
|
9 |
Text Domain: social-polls-by-opinionstage
|
12 |
/* --- Static initializer for Wordpress hooks --- */
|
13 |
|
14 |
define('OPINIONSTAGE_SERVER_BASE', "www.opinionstage.com"); /* Don't include the protocol, added dynamically */
|
15 |
+
define('OPINIONSTAGE_WIDGET_VERSION', '13.5.0');
|
16 |
+
define('OPINIONSTAGE_WIDGET_PLUGIN_NAME', 'Polls & Quizzes by OpinionStage');
|
17 |
define('OPINIONSTAGE_WIDGET_API_KEY', 'wp35e8');
|
18 |
define('OPINIONSTAGE_OPTIONS_KEY', 'opinionstage_widget');
|
19 |
define('OPINIONSTAGE_POLL_SHORTCODE', 'socialpoll');
|
21 |
define('OPINIONSTAGE_PLACEMENT_SHORTCODE', 'osplacement');
|
22 |
define('OPINIONSTAGE_WIDGET_UNIQUE_ID', 'social-polls-by-opinionstage');
|
23 |
define('OPINIONSTAGE_WIDGET_UNIQUE_LOCATION', __FILE__);
|
24 |
+
define('OPINIONSTAGE_WIDGET_MENU_NAME', 'Polls & Quizzes by Opinion Stage');
|
25 |
define('OPINIONSTAGE_LOGIN_PATH', OPINIONSTAGE_SERVER_BASE."/integrations/wordpress/new");
|
26 |
|
27 |
require_once(WP_PLUGIN_DIR."/".OPINIONSTAGE_WIDGET_UNIQUE_ID."/opinionstage-utility-functions.php");
|
opinionstage-utility-functions.php
CHANGED
@@ -225,6 +225,17 @@ function opinionstage_create_poll_link() {
|
|
225 |
return opinionstage_create_link('Create a Poll', 'new_poll', 'token='.$os_options['token']);
|
226 |
}
|
227 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
228 |
/**
|
229 |
* Generates a to the callback page used to connect the plugin to the Opinion Stage account
|
230 |
*/
|
225 |
return opinionstage_create_link('Create a Poll', 'new_poll', 'token='.$os_options['token']);
|
226 |
}
|
227 |
}
|
228 |
+
/**
|
229 |
+
* Generates a link for creating a trivia quiz
|
230 |
+
*/
|
231 |
+
function opinionstage_create_trivia_link() {
|
232 |
+
$os_options = (array) get_option(OPINIONSTAGE_OPTIONS_KEY);
|
233 |
+
if (empty($os_options["uid"])) {
|
234 |
+
return opinionstage_create_link('Create a Trivia Quiz', 'widgets/new', 'w_type=quiz');
|
235 |
+
} else {
|
236 |
+
return opinionstage_create_link('Create a Trivia Quiz', 'widgets/new', 'w_type=quiz&token='.$os_options['token']);
|
237 |
+
}
|
238 |
+
}
|
239 |
/**
|
240 |
* Generates a to the callback page used to connect the plugin to the Opinion Stage account
|
241 |
*/
|
readme.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
=== Polls by OpinionStage ===
|
2 |
Contributors: OpinionStage.com
|
3 |
Donate link:
|
4 |
-
Tags: poll, polls, polling, create poll, create polls, custom poll, flash poll, free user polls, html poll, online poll, online polls, page poll, poll builder, poll directory, poll plugin, poll widget, polldaddy, yop poll, wppolls, wp polls, polling system, post poll, premade polls, user polls, WordPress polls, WordPress poll, wordpress poll widget, voting polls, vote, votes, voting, feedback, questionnaire,
|
5 |
|
6 |
Requires at least: 2.8
|
7 |
Tested up to: 4.3.1
|
@@ -11,7 +11,7 @@ Add a powerful & easy-to-use polling solution to your site. Create beautiful pol
|
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
-
The Opinion Stage polls plug-in allows you to easily add
|
15 |
|
16 |
= Poll Examples: =
|
17 |
|
@@ -123,6 +123,8 @@ We support both regular multiple-sided polls and a special head-to-head poll fla
|
|
123 |
N/A
|
124 |
|
125 |
== Changelog ==
|
|
|
|
|
126 |
= Version 13.4.0 =
|
127 |
* Added shortcodes for trivia and peronsality quizzes
|
128 |
= Version 13.3.0 =
|
1 |
+
=== Polls & Quizzes by OpinionStage ===
|
2 |
Contributors: OpinionStage.com
|
3 |
Donate link:
|
4 |
+
Tags: poll, polls, polling, create poll, create polls, custom poll, flash poll, free user polls, html poll, online poll, online polls, page poll, poll builder, poll directory, poll plugin, poll widget, polldaddy, yop poll, wppolls, wp polls, polling system, post poll, premade polls, user polls, WordPress polls, WordPress poll, wordpress poll widget, voting polls, vote, votes, voting, feedback, questionnaire, debate, opinion, survey, surveys, post survey, sidebar survey, survey form, survey form builder, survey plugin, survey tool, survey widget, user survey, wordpress survey, wp survey, wpsurvey, quiz, quizzes, create quiz, create quizzes
|
5 |
|
6 |
Requires at least: 2.8
|
7 |
Tested up to: 4.3.1
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
+
The Opinion Stage polls plug-in allows you to easily add polls & quizzes to your website or Facebook page.
|
15 |
|
16 |
= Poll Examples: =
|
17 |
|
123 |
N/A
|
124 |
|
125 |
== Changelog ==
|
126 |
+
= Version 13.5.0 =
|
127 |
+
* Renamed plugin to better reflect the platform
|
128 |
= Version 13.4.0 =
|
129 |
* Added shortcodes for trivia and peronsality quizzes
|
130 |
= Version 13.3.0 =
|