Changeset 1426867
- Timestamp:
- 05/30/2016 01:57:41 PM (10 years ago)
- Location:
- vanilla-forums/trunk
- Files:
-
- 6 edited
-
admin.php (modified) (1 diff)
-
embed.php (modified) (1 diff)
-
functions.php (modified) (1 diff)
-
plugin.php (modified) (4 diffs)
-
readme.txt (modified) (5 diffs)
-
widgets.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vanilla-forums/trunk/admin.php
r577966 r1426867 115 115 url: '<?php echo site_url('wp-admin/admin.php?page=vf-admin-handle&vanillavalidate='); ?>'+validateUrl, 116 116 success: function(data) { 117 if (data.indexOf('http://') == 0 ) {117 if (data.indexOf('http://') == 0 || data.indexOf('https://') == 0) { 118 118 $('input.InputBox').val(data); 119 119 $('.Validated').show(); -
vanilla-forums/trunk/embed.php
r621730 r1426867 133 133 134 134 $resturl = vf_get_value('url', $options, ''); 135 $resturl = vf_combine_paths(array($resturl, ' ?p=categories/all.json'), '/');135 $resturl = vf_combine_paths(array($resturl, '/categories/all.json'), '/'); 136 136 $categoryid = vf_get_value('embed-categoryid', $options, '0'); 137 137 $matchCategories = vf_get_value('embed-matchcategories', $options, '0'); -
vanilla-forums/trunk/functions.php
r1076088 r1426867 180 180 $html = vf_rest($url); 181 181 $formats = array( 182 '"WebRoot": "', // 2.2 // BUGFIX 182 183 '"WebRoot":"', // 2.2 183 184 '\'WebRoot\' : "', // 2.0.18.13+ and 2.1.1+ -
vanilla-forums/trunk/plugin.php
r1076088 r1426867 3 3 Plugin Name: Vanilla Forums 4 4 Plugin URI: http://vanillaforums.org/addons/ 5 Description: Integrates Vanilla Forums with Word press: embedded blog comments, embedded forum, single sign on, and Wordpress widgets.6 Version: 1.1.1 65 Description: Integrates Vanilla Forums with WordPress: embedded blog comments, embedded forum, single sign on, and WordPress widgets. 6 Version: 1.1.17 7 7 Author: Todd Burry 8 8 Author URI: http://www.vanillaforums.org/ … … 39 39 - Fixed a bug that caused the forum url input to fill with garbage when the input is blank or an incorrect url is used. 40 40 1.1.5 41 - Added fix so that the forum's domain is on the trusted domain whitelist in wordpress and redirects will function properly between wordpress and vanilla.41 - Added fix so that the forum's domain is on the trusted domain whitelist in WordPress and redirects will function properly between wordpress and vanilla. 42 42 1.1.6 43 43 - Incorrect version saved before push. … … 51 51 - Fixed sso admin page. 52 52 1.1.11 53 - Added the ability to match categories with Word press.53 - Added the ability to match categories with WordPress. 54 54 1.1.12 55 55 - Fixed typo where {Redirect} should have been {Target}. … … 61 61 - Added the full role names to the list of roles sent on sso. 62 62 1.1.16 63 - Fixed webroot parsing in url vaidation function 63 - Fixed webroot parsing in url validation function. 64 1.1.17 65 - Added link to video and version. 66 - Fixed webroot parsing. 67 - Fixed Vanilla URL endpoints to not use 'p' parameter. 64 68 65 Copyright 2010 Vanilla Forums Inc69 Copyright 2010-2016 Vanilla Forums Inc 66 70 This file is part of the Vanilla Forums plugin for WordPress. 67 71 The Vanilla Forums plugin is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. -
vanilla-forums/trunk/readme.txt
r1076175 r1426867 3 3 Tags: forum, forums, community, vanilla, vanilla forums, single sign-on, sso, widgets, widget, embed, embedded forum 4 4 Requires at least: 3 5 Tested up to: 3.3.16 Stable tag: 1.1.1 25 Tested up to: 4.2.2 6 Stable tag: 1.1.17 7 7 8 8 == Description == … … 38 38 3. Configure the plugin in the WordPress Settings > Vanilla Forum menu 39 39 40 See our handy installation video <a href="https://www.youtube.com/playlist?list=PLEdMTbLR4h8zZ_odA15w4dJg6mcWMDOiC">here</a> 41 40 42 == Frequently Asked Questions == 41 43 … … 56 58 = Q. How do Vanilla Comments work? = 57 59 58 Embedding Vanilla Comments into your blog will insert a comment window at the bottom of each article. If the reader is not signed in, they will be prompted to do so using the Vanilla login form as you've configured it (SSO, Facebook, Google, Twitter, and OpenID options available). The comments are displayed below the article and simultaneously a new discussion thread is created in the forum. 60 Embedding Vanilla Comments into your blog will insert a comment window at the bottom of each article. If the reader is not signed in, they will be prompted to do so using the Vanilla login form as you've configured it (SSO, Facebook, Google, Twitter, and OpenID options available). The comments are displayed below the article and simultaneously a new discussion thread is created in the forum. Hosted customer also have the option of Disqus sign-in integration. 59 61 60 62 = Q. What about my existing comments? = … … 70 72 We don’t have all the features that stand alone commenting systems have but we are working on many that we see as important such as pre-moderation, integration into blogging software dashboards and automated imports of legacy comments. 71 73 74 = Q. Can I see use this with Vanilla Forums self-hosted? = 75 Yes, you can use this with your self-hosted Vanilla Forums install. 76 72 77 = Q. Can I see some examples of Vanilla Comment implementations? = 73 78 … … 76 81 * http://unknownworlds.com/ 77 82 * http://battlebears.com/ 83 * https://blog.vanillaforums.com/ -
vanilla-forums/trunk/widgets.php
r507867 r1426867 48 48 $url = vf_get_value('url', $options, ''); 49 49 $link_url = vf_get_link_url($options); 50 $resturl = array($url, ' ?p=discussions.json');50 $resturl = array($url, '/discussions.json'); 51 51 if ($categoryid > 0) 52 $resturl = array($url, ' ?p=categories/'.$categoryid.'.json');52 $resturl = array($url, '/categories/'.$categoryid.'.json'); 53 53 54 54 // $DataName = $categoryid > 0 ? 'DiscussionData' : 'Discussions'; … … 111 111 // Retrieve & build the category dropdown 112 112 $resturl = vf_get_value('url', $options, ''); 113 $resturl = vf_combine_paths(array($resturl, ' ?p=categories/all.json'), '/');113 $resturl = vf_combine_paths(array($resturl, '/categories/all.json'), '/'); 114 114 $category_data = json_decode(vf_rest($resturl)); 115 115 $select_options = vf_get_select_option('All Categories', '0', $categoryid); … … 150 150 $url = vf_get_value('url', $options, ''); 151 151 $link_url = vf_get_link_url($options); 152 $resturl = array($url, ' ?p=activity.json');152 $resturl = array($url, '/activity.json'); 153 153 // if ($roleid > 0) 154 154 // $resturl = array($url, 'activities/'.$roleid.'.json'); … … 249 249 $url = vf_get_value('url', $options, ''); 250 250 $link_url = vf_get_link_url($options); 251 $resturl = array($url, ' ?p=user/summary.json');251 $resturl = array($url, '/user/summary.json'); 252 252 253 253 // Retrieve the latest discussions from the Vanilla API
Note: See TracChangeset
for help on using the changeset viewer.