Plugin Directory

Changeset 3390342


Ignore:
Timestamp:
11/05/2025 11:03:04 AM (3 months ago)
Author:
codersajjad
Message:

readme file updated

Location:
bbp-core/tags/1.3.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bbp-core/tags/1.3.1/bbp-core.php

    r3312457 r3390342  
    22/*
    33Plugin Name:       BBP Core
    4 Plugin URI:        https://spider-themes.net/bbp-core
     4Plugin URI:        https://bbp-core.spider-themes.net
    55Description:       Expand bbPress powered forums with useful features like - private reply, solved topics ...
    66Author:            spider-themes
    7 Author URI:        https://spider-themes.net/bbp-core
     7Author URI:        https://bbp-core.spider-themes.net
    88Text Domain:       bbp-core
    9 Version:           1.3.1
     9Version:           1.4.0
    1010Requires at least: 5.0
    1111Tested up to:      6.8
     
    4545                    'first-path' => 'admin.php?page=bbp-core',
    4646                ],
     47                'parallel_activation' => array(
     48                    'enabled'                  => true,
     49                    'premium_version_basename' => 'bbp-core-pro/bbp-core.php',
     50                ),
    4751            ] );
    4852        }
     
    5155    }
    5256
    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' );
    5559
    5660    // Signal that SDK was initiated.
     
    6569 */
    6670final class BBP_Core {
    67     const VERSION = '1.3.1';
     71    const VERSION = '1.4.0';
    6872
    6973    /**
     
    116120        define( 'BBPC_URL', plugins_url( '/', __FILE__ ) );
    117121        define( 'BBPC_ASSETS', BBPC_URL . 'assets/' );
     122        define( 'BBPC_FRONT_ASS', BBPC_URL . 'assets/frontend/' );
     123        define( 'BBPC_ADMIN_ASS', BBPC_ASSETS . 'admin/' );
    118124        define( 'BBPC_IMG', BBPC_ASSETS . 'img/' );
     125        define( 'BBPC_VEND', BBPC_ASSETS . 'vendors/' );
    119126    }
    120127
     
    178185
    179186        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 );
    180196    }
    181197
     
    203219        new admin\Elementor\BBP_Widgets();
    204220    }
    205    
     221
    206222    /**
    207223     * Include CSF files include
     
    218234     */
    219235    public function load_features() {
    220         $opt = get_option( 'bbp_core_settings' );
    221236        define( 'BBPC_FEAT_PATH', plugin_dir_path( __FILE__ ) . 'includes/features/' );
    222237
    223         if ( $opt['is_solved_topics'] ?? true ) {
     238        if ( bbpc_get_opt( 'is_solved_topics', true ) ) {
    224239            require BBPC_FEAT_PATH . 'bbp_solved_topic.php';
    225240        }
    226241
    227         if ( $opt['is_private_replies'] ?? true ) {
     242        if ( bbpc_get_opt( 'is_private_replies', true ) ) {
    228243            require BBPC_FEAT_PATH . 'bbp-private-replies.php';
    229244        }
    230245
    231246        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' ) ) {
    234248                require BBPC_FEAT_PATH . 'bbp_voting/agree-disagree/init.php';
    235249                require BBPC_FEAT_PATH . 'bbp_voting/agree-disagree/actions.php';
     
    237251        }
    238252
    239         if ( $opt['is_votes'] ?? true ) {
     253        if ( bbpc_get_opt( 'is_votes', true ) ) {
    240254            new features\bbp_voting();
    241255        }
    242256
    243         if ( $opt['is_attachment'] ?? true ) {
     257        if ( bbpc_get_opt( 'is_attachment', true ) ) {
    244258            new features\bbp_attachments();
    245259        }
     
    254268            // Add your custom links
    255269            $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>'
    257271            );
    258272            // Merge the custom links with the existing links
  • bbp-core/tags/1.3.1/readme.txt

    r3312457 r3390342  
    55Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 1.3.1
     7Stable tag: 1.4.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010
    11 BBP Core expands many useful features for the bbPress forums.
     11BBP Core enhances bbPress forums with unified builder, private replies, voting, solved topics, attachments, and comprehensive Elementor integration.
    1212
    1313== Description ==
     
    1919
    2020## 🔗 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/)
    2323- [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)
    2525
    2626### Reasons to Choose BBP Core ###
     
    6565- **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.
    6666
     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.
    6772
    6873== Frequently Asked Questions ==
     
    106111== Changelog ==
    107112
    108 = v1.3.1 (16 June 2025) =
     113= 1.4.0 (23 September 2025) =
     114New: Author and Topic Refresh added in the Forum builder
     115New: Pagination added for forum builder
     116Fixed: Security issues
     117Tweaked: Forum Builder design improved
     118Updated: Freemius SDK updated to 2.12.2
     119
     120= 1.3.3 (23 August 2025) =
     121FIxed: Forum builder tab content active issue fixed
     122Fixed: Fixed brand_color variable
     123Tweaked: Active reaction design improved
     124Tweaked: Attachment preview design
     125
     126= 1.3.2 (15 August 2025) =
     127Fixed: Resolved attachment field visibility issue
     128Tweaked: Forum Tabs widget design improved
     129Tweaked: Added the function "bbpc_get_opt()" for CSF settings where it was missing
     130Tweaked: Assets folder re-structured (admin CSS and JS files kept in a separate folder "admin")
     131Tweaked: Removed some unnecessary assets (normalize.js, fontawesome.css etc)
     132Tweaked: Made the non translatable strings to translatable
     133Tweaked: Function prefix added which functions don't have prefix to avoid conflict with other plugins and themes
     134Enhanced: Compatibility improved with the Docy theme dark mode
     135Updated: Freemius SDK updated to 2.12.1
     136
     137= 1.3.1 (16 June 2025) =
    109138Fixed: Deprecation warning by wrapping attachment files in hook
    110139Fixed: Tab CSS was conflicting with other plugins and themes
     
    114143Updated: Freemius SDK updated to 2.12.0
    115144
    116 = v1.3.0 (22 April 2025) =
     145= 1.3.0 (22 April 2025) =
    117146Fixed: Fixed BBP Core conflict with Dukan and Job Manager plugins
    118147Tweaked: The "Forums" page has been renamed to Forum Builder for better clarity and usability
     
    128157Tweaked: Dashicons used instead of fontawesome icon to optimize performance in the dashboard
    129158
    130 = v1.2.9 (24 February 2025) =
     159= 1.2.9 (24 February 2025) =
    131160New: Loco.xml configuration file added for multiple text domains mapping in Loco translate plugin
    132161New: Offer notice added for our valuable customers (not for fresher)
    133162Fixed: Deprecated issue, Increment on non-alphanumeric string is deprecated in /bbp-core/includes/admin/menu/admin_ui/forums.php on line 8
    134163
    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.