Plugin Directory

Changeset 3387568


Ignore:
Timestamp:
10/31/2025 10:20:54 AM (5 months ago)
Author:
boraboraio
Message:

Release 1.3.4

Location:
bora-bora
Files:
244 added
4 edited

Legend:

Unmodified
Added
Removed
  • bora-bora/trunk/README.txt

    r3300243 r3387568  
    33Author: Bora Bora
    44Donate link: https://bora-bora.io/
    5 Tags: community, membership, subscription, paywall, user access
    6 Stable tag: 1.3.2
     5Tags: community, membership, subscription, paywall, user access, monetization, discord
     6Stable tag: 1.3.4
    77Requires PHP: 8.2
    88Tested up to: 6.8
     9Requires at least: 6.0
    910License: GPLv2
    10 Requires at least: 6.0
    1111License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1212
    13 Bora Bora offers a complete solution for managing your community, from the subscription to the management of the users and their access to the content
     13Bora Bora helps you manage and monetize your online community. Protect content, manage memberships and connect your WordPress site to your Bora-Bora.io account — all in one simple plugin.
    1414
    1515== Description ==
    1616
    17 Bora Bora offers a complete solution for managing your community, from the subscription to the management of the users
    18 and their access to the content.
     17**Bora Bora** is the easiest way to connect your WordPress website with your community on [Bora-Bora.io](https://bora-bora.io) — a complete platform for community growth, monetization and member management.
    1918
    20 The Bora Bora plugin is a free companion plugin for the services of the third party [Bora-Bora.io](https://bora-bora.io)
    21 . It allows you to protect your pages by user role defined by the subscribed community. Therefore, you can use the
    22 backend offered by Bora Bora.
    23  It also allows you to redirect users to a specific page if they are not authenticated or if their subscription has
    24  ended.
     19With this plugin you can:
     20- Protect pages and posts based on user roles and subscriptions
     21- Restrict access to members with active plans
     22- Automatically redirect users when their subscription expires
     23- Manage all member data securely through the Bora Bora backend
     24- Seamlessly integrate your Bora Bora account with your WordPress site
    2525
    26  Terms of use and privacy policy of Bora Bora can be found [here](https://bora-bora.io/privacy-policy).
     26This plugin acts as a **bridge between WordPress and Bora-Bora.io**.
     27It does not handle payments or user registration directly, but connects to your Bora Bora community where subscriptions, roles and payments are managed.
     28Once connected, you can control access to your WordPress content based on each member’s role or subscription level.
     29
     30If users are not authenticated or their subscription has expired, you can redirect them automatically to a custom page (e.g. login, sales, or signup).
     31
     32### Why use Bora Bora?
     33
     34- 🧩 **Easy setup:** Connect your Bora Bora API key in just a few minutes.
     35- 🔒 **Secure content protection:** Restrict access by role or membership level.
     36- 🔁 **Automatic session sync:** User access is updated automatically after upgrades or downgrades.
     37- ⚙️ **Full flexibility:** Works with any theme or custom post type.
     38- 💬 **Community-ready:** Ideal for Discord-based or membership communities.
     39
     40**Terms of use and privacy policy:** [https://bora-bora.io/privacy-policy](https://bora-bora.io/privacy-policy)
    2741
    2842== Installation ==
    2943
    30 To use this plugin, follow these steps, after you installed the "***[carbon-fields](https://carbonfields.net/zip/latest)***" plugin
     44Before installing, make sure the ***[Carbon Fields](https://carbonfields.net/zip/latest)*** plugin is active.
    3145
    32 1. Upload `bora_bora.zip` to the `/wp-content/plugins/` directory
    33 2. Activate the plugin through the 'Plugins' menu in WordPress
    34 3. On the settings page, add the API key provided by Bora Bora, add the application password for the "Bora_Bora" user
    35 (created by the plugin) and save the settings.
    36 4. configure the redirect URL for not authenticated users or users with ended subscription
    37 5. Edit all the pages you want to protect by switching the dropdown to the wished user role (guest or any other role)
     461. Upload `bora_bora.zip` to the `/wp-content/plugins/` directory, or install it directly from the WordPress Plugins screen.
     472. Activate the plugin through the "Plugins" menu in WordPress.
     483. Go to **Settings → Bora Bora**, and enter your API key from Bora-Bora.io.
     494. Configure the redirect URL for users who are not authenticated or whose subscription has ended.
     505. Edit any page or post you want to protect, and select the desired user role (e.g. guest, member, VIP) from the dropdown.
     51
     52== Frequently Asked Questions ==
     53
     54= Do I need a Bora-Bora.io account? =
     55Yes. The plugin connects your WordPress site to your Bora Bora community backend. You can create a free account at [bora-bora.io](https://bora-bora.io).
     56
     57= Can I use it without Carbon Fields? =
     58No. The plugin requires Carbon Fields for managing custom fields and role settings.
     59
     60= Does it handle payments directly? =
     61No, payments and subscriptions are managed securely through Bora-Bora.io. The plugin only controls access to WordPress content based on user roles and subscription status.
     62
     63= Can I protect custom post types? =
     64Yes. Any post type that supports custom fields can be protected by role.
    3865
    3966== Changelog ==
    4067
     68= 1.3.4 =
     69* Updated readme file for WordPress.org
     70
    4171= 1.3.2 =
    42 
    43 * Add Logo and Screenshots for the plugin
     72* Added logo and screenshots for the plugin
    4473
    4574= 1.3.1 =
    46 
    47 * Add tested up to version info to the plugin config
     75* Added tested up to version info
    4876
    4977= 1.3.0 =
    50 
    51 * bugfix: creation of Bora Bora user fix and error handling
     78* Bugfix: user creation and error handling improvements
    5279
    5380= 1.2.3 =
    54 
    55 * bugfix: editor is now allowed to access the dashboard
     81* Editor access to dashboard restored
    5682
    5783= 1.2.2 =
    58 
    59 * Allow editor users to access the admin bar and dashboard
     84* Allow editor users to access admin bar and dashboard
    6085
    6186= 1.2.0 =
    62 
    63 * Fix bug to hide admin bar for non admin users
    64 
    65 = 1.2.0 =
    66 
    67 * Add new API endpoint to reset the user session automatically after an up-/downgrade of the subscription from the Bora
    68 Bora Server
     87* Improved admin bar handling for non-admin users
     88* Added API endpoint to automatically reset user sessions after plan changes
    6989
    7090= 1.1.4 =
    71 
    72 * bugfixes
    73 * Release for WordPress App Store
     91* Bugfixes and release for WordPress Plugin Directory
    7492
    7593= 1.1.1 =
    76 
    77 * fixed permanent login
    78 * bugfixes
     94* Fixed permanent login issue
     95* General bugfixes
    7996
    8097= 1.0.9 =
    81 
    82 * Added a new shortcode to display the billing portal URL to the user
    83 * Possibility to disable the permanent login feature
     98* Added shortcode for displaying the billing portal URL
     99* Option to disable permanent login
    84100
    85101= 1.0.3 =
     
    87103
    88104= 1.0.0 =
    89 * Init version of the plugin
     105* Initial release
    90106
    91107== Upgrade Notice ==
    92108
    93109= 1.0.0 =
    94 No action required
     110No action required.
  • bora-bora/trunk/bora_bora.php

    r3300243 r3387568  
    1010 * Plugin URI:        https://bora-bora.io
    1111 * Description:       Bora Bora offers a complete solution for managing your community, from the subscription to the management of the users and their access to the content
    12  * Version:           1.3.2
     12 * Version:           1.3.4
    1313 * Author:            Bora Bora
    1414 * Author URI:        https://bora-bora.io/
     
    2929 * Currently plugin version.
    3030 */
    31 const BORABORAIO_VERSION = '1.3.2';
     31const BORABORAIO_VERSION = '1.3.4';
    3232
    3333/**
     
    4242 */
    4343const BORABORAIO_API_BASE_URL = 'https://bora-bora.io/api/companion/';
    44 const BORABORAIO_WP_ENV = 'dev';
     44const BORABORAIO_WP_ENV = 'production';
    4545
    4646/**
  • bora-bora/trunk/deploy.sh

    r3300243 r3387568  
    4848  info_msg "Creating ZIP file..."
    4949
    50   ZIP_PARENT_DIR="../"
    51   BUILD_DIR="$ZIP_PARENT_DIR/bora_bora"
    52   ZIP_FILE="$ZIP_PARENT_DIR/bora_bora.zip"
     50  PROJECT_ROOT="$(pwd)"
     51  BUILD_PARENT_DIR="$PROJECT_ROOT/.build"
     52  BUILD_DIR="$BUILD_PARENT_DIR/bora_bora"
     53  ZIP_FILE="$PROJECT_ROOT/bora_bora.zip"
    5354
    5455  rm -rf "$BUILD_DIR" "$ZIP_FILE" || error_exit "Failed to remove old ZIP files"
     
    5960    --exclude=".github" \
    6061    --exclude=".idea" \
     62    --exclude=".build" \
     63    --exclude="bora_bora.zip" \
    6164    --exclude="deploy.sh" || error_exit "rsync failed during ZIP creation"
    6265
    63   cd "$ZIP_PARENT_DIR" || error_exit "Failed to switch to ZIP directory"
    64   zip -r "bora_bora.zip" "bora_bora" > /dev/null || error_exit "ZIP creation failed"
     66  (cd "$BUILD_PARENT_DIR" && zip -r "$ZIP_FILE" "bora_bora" > /dev/null) || error_exit "ZIP creation failed"
    6567
    6668  rm -rf "$BUILD_DIR" || error_exit "Failed to remove temporary folder $BUILD_DIR"
  • bora-bora/trunk/includes/api/class-boraboraio-api-client.php

    r3300212 r3387568  
    1717        // Deaktivieren Sie die SSL-Überprüfung, wenn Sie mit einer lokalen Entwicklungsumgebung arbeiten
    1818        // prüfe vorher, ob wordpress in der dev entwicklungs umgebung ist
    19         if (defined('BORA_BORA_WP_ENV') && BORABORAIO_WP_ENV === 'dev') {
     19        if (defined('BORABORAIO_WP_ENV') && BORABORAIO_WP_ENV === 'dev') {
    2020            add_filter('http_request_args', function ($args, $url) {
    2121                $args['sslverify'] = false;
Note: See TracChangeset for help on using the changeset viewer.