Changeset 3390342
- Timestamp:
- 11/05/2025 11:03:04 AM (3 months ago)
- Location:
- bbp-core/tags/1.3.1
- Files:
-
- 2 edited
-
bbp-core.php (modified) (10 diffs)
-
readme.txt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bbp-core/tags/1.3.1/bbp-core.php
r3312457 r3390342 2 2 /* 3 3 Plugin Name: BBP Core 4 Plugin URI: https:// spider-themes.net/bbp-core4 Plugin URI: https://bbp-core.spider-themes.net 5 5 Description: Expand bbPress powered forums with useful features like - private reply, solved topics ... 6 6 Author: spider-themes 7 Author URI: https:// spider-themes.net/bbp-core7 Author URI: https://bbp-core.spider-themes.net 8 8 Text Domain: bbp-core 9 Version: 1. 3.19 Version: 1.4.0 10 10 Requires at least: 5.0 11 11 Tested up to: 6.8 … … 45 45 'first-path' => 'admin.php?page=bbp-core', 46 46 ], 47 'parallel_activation' => array( 48 'enabled' => true, 49 'premium_version_basename' => 'bbp-core-pro/bbp-core.php', 50 ), 47 51 ] ); 48 52 } … … 51 55 } 52 56 53 // Init Freemius.54 bc_fs()->add_filter( ' deactivate_on_activation', '__return_false' );57 // Add filter to hide the Freemius badge from the plugin page. 58 bc_fs()->add_filter( 'hide_freemius_powered_by', '__return_true' ); 55 59 56 60 // Signal that SDK was initiated. … … 65 69 */ 66 70 final class BBP_Core { 67 const VERSION = '1. 3.1';71 const VERSION = '1.4.0'; 68 72 69 73 /** … … 116 120 define( 'BBPC_URL', plugins_url( '/', __FILE__ ) ); 117 121 define( 'BBPC_ASSETS', BBPC_URL . 'assets/' ); 122 define( 'BBPC_FRONT_ASS', BBPC_URL . 'assets/frontend/' ); 123 define( 'BBPC_ADMIN_ASS', BBPC_ASSETS . 'admin/' ); 118 124 define( 'BBPC_IMG', BBPC_ASSETS . 'img/' ); 125 define( 'BBPC_VEND', BBPC_ASSETS . 'vendors/' ); 119 126 } 120 127 … … 178 185 179 186 update_option( 'bbpc_version', BBPC_VERSION ); 187 // Ensure default option for bbp_core_settings 188 $defaults = array( 189 'is_bbpc_insert_media' => true, 190 ); 191 192 $current = get_option( 'bbp_core_settings', array() ); 193 $updated = wp_parse_args( $current, $defaults ); 194 195 update_option( 'bbp_core_settings', $updated ); 180 196 } 181 197 … … 203 219 new admin\Elementor\BBP_Widgets(); 204 220 } 205 221 206 222 /** 207 223 * Include CSF files include … … 218 234 */ 219 235 public function load_features() { 220 $opt = get_option( 'bbp_core_settings' );221 236 define( 'BBPC_FEAT_PATH', plugin_dir_path( __FILE__ ) . 'includes/features/' ); 222 237 223 if ( $opt['is_solved_topics'] ?? true) {238 if ( bbpc_get_opt( 'is_solved_topics', true ) ) { 224 239 require BBPC_FEAT_PATH . 'bbp_solved_topic.php'; 225 240 } 226 241 227 if ( $opt['is_private_replies'] ?? true) {242 if ( bbpc_get_opt( 'is_private_replies', true ) ) { 228 243 require BBPC_FEAT_PATH . 'bbp-private-replies.php'; 229 244 } 230 245 231 246 if ( bbpc_is_premium() || class_exists( 'BBPC_GEO_ROLES' ) ) { 232 $reactions = $opt['agree_disagree_voting'] ?? ''; 233 if ( ! empty ( $reactions ) ) { 247 if ( bbpc_get_opt( 'agree_disagree_voting' ) ) { 234 248 require BBPC_FEAT_PATH . 'bbp_voting/agree-disagree/init.php'; 235 249 require BBPC_FEAT_PATH . 'bbp_voting/agree-disagree/actions.php'; … … 237 251 } 238 252 239 if ( $opt['is_votes'] ?? true) {253 if ( bbpc_get_opt( 'is_votes', true ) ) { 240 254 new features\bbp_voting(); 241 255 } 242 256 243 if ( $opt['is_attachment'] ?? true) {257 if ( bbpc_get_opt( 'is_attachment', true ) ) { 244 258 new features\bbp_attachments(); 245 259 } … … 254 268 // Add your custom links 255 269 $plugin_links = array( 256 '<a href="https://helpdesk.spider-themes.net/docs/bbp-core-wordpress-plugin/" target="_blank"> Documentation</a>'270 '<a href="https://helpdesk.spider-themes.net/docs/bbp-core-wordpress-plugin/" target="_blank">' . esc_html__('Documentation', 'bbp-core') . '</a>' 257 271 ); 258 272 // Merge the custom links with the existing links -
bbp-core/tags/1.3.1/readme.txt
r3312457 r3390342 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 1. 3.17 Stable tag: 1.4.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 BBP Core e xpands many useful features for the bbPress forums.11 BBP Core enhances bbPress forums with unified builder, private replies, voting, solved topics, attachments, and comprehensive Elementor integration. 12 12 13 13 == Description == … … 19 19 20 20 ## 🔗 USEFUL LINKS ## 21 - [Get the Pro Version](https:// spider-themes.net/bbp-core/pricing)22 - [Demo (built with bbPress and BBP Core)](https://wordpress-plugins. spider-themes.net/bbp-core-pro/)21 - [Get the Pro Version](https://bbp-core.spider-themes.net/pricing) 22 - [Demo (built with bbPress and BBP Core)](https://wordpress-plugins.bbp-core.spider-themes.net-pro/) 23 23 - [Documentation](https://helpdesk.spider-themes.net/docs/bbp-core-wordpress-plugin) 24 - [Explore More](https:// spider-themes.net/bbp-core)24 - [Explore More](https://bbp-core.spider-themes.net) 25 25 26 26 ### Reasons to Choose BBP Core ### … … 65 65 - **10. Advanced Voting Features:** Options to restrict voting for non-logged-in users, prevent new votes on closed topics, disallow self-voting, allow unlimited voting for administrators, and sort topics and replies based on their voting scores. 66 66 67 - **11. External Image Insert Button:** Easily insert images with a single click or by using a URL. 68 69 - **12. Auto Approval:** Automatically approve topic replies instantly with this feature. Save time by enabling seamless conversation flow without needing manual approval for every single reply. 70 71 - **13. Replies with Attachments:** Control reply moderation with attachments. Choose to approve or unapprove replies containing files, ensuring content safety while keeping discussions organized and secure. 67 72 68 73 == Frequently Asked Questions == … … 106 111 == Changelog == 107 112 108 = v1.3.1 (16 June 2025) = 113 = 1.4.0 (23 September 2025) = 114 New: Author and Topic Refresh added in the Forum builder 115 New: Pagination added for forum builder 116 Fixed: Security issues 117 Tweaked: Forum Builder design improved 118 Updated: Freemius SDK updated to 2.12.2 119 120 = 1.3.3 (23 August 2025) = 121 FIxed: Forum builder tab content active issue fixed 122 Fixed: Fixed brand_color variable 123 Tweaked: Active reaction design improved 124 Tweaked: Attachment preview design 125 126 = 1.3.2 (15 August 2025) = 127 Fixed: Resolved attachment field visibility issue 128 Tweaked: Forum Tabs widget design improved 129 Tweaked: Added the function "bbpc_get_opt()" for CSF settings where it was missing 130 Tweaked: Assets folder re-structured (admin CSS and JS files kept in a separate folder "admin") 131 Tweaked: Removed some unnecessary assets (normalize.js, fontawesome.css etc) 132 Tweaked: Made the non translatable strings to translatable 133 Tweaked: Function prefix added which functions don't have prefix to avoid conflict with other plugins and themes 134 Enhanced: Compatibility improved with the Docy theme dark mode 135 Updated: Freemius SDK updated to 2.12.1 136 137 = 1.3.1 (16 June 2025) = 109 138 Fixed: Deprecation warning by wrapping attachment files in hook 110 139 Fixed: Tab CSS was conflicting with other plugins and themes … … 114 143 Updated: Freemius SDK updated to 2.12.0 115 144 116 = v1.3.0 (22 April 2025) =145 = 1.3.0 (22 April 2025) = 117 146 Fixed: Fixed BBP Core conflict with Dukan and Job Manager plugins 118 147 Tweaked: The "Forums" page has been renamed to Forum Builder for better clarity and usability … … 128 157 Tweaked: Dashicons used instead of fontawesome icon to optimize performance in the dashboard 129 158 130 = v1.2.9 (24 February 2025) =159 = 1.2.9 (24 February 2025) = 131 160 New: Loco.xml configuration file added for multiple text domains mapping in Loco translate plugin 132 161 New: Offer notice added for our valuable customers (not for fresher) 133 162 Fixed: Deprecated issue, Increment on non-alphanumeric string is deprecated in /bbp-core/includes/admin/menu/admin_ui/forums.php on line 8 134 163 135 = v1.2.8 (17 February 2025) = 136 Fixed: Resolved some issue of the "BBPC single forum & Forum Tabs" Elementor widget 137 Fixed: Image size of forum tab widget 138 Tweaked: Improved "View More Button" of the "Forum Tabs" widget 139 Updated: Freemius SDK updated to 2.11.0 140 141 = v1.2.7 (24 December 2024) = 142 Fixed: sprintf php error 143 Fixed: Resolved the issue with inserting forums and topics on the Nginx server 144 Fixed: Theme name check to resolve translation loading error 145 Tweaked: Improved 'Add Forum' button design 146 Updated: Freemius SDK updated to 2.10.1 147 148 [See changelog for all versions](https://spider-themes.net/bbp-core/changelog). 164 [See changelog for all versions](https://bbp-core.spider-themes.net/changelog).
Note: See TracChangeset
for help on using the changeset viewer.