Giter Club home page Giter Club logo

chatgpt-bb-forum-bot's Introduction

BuddyBoss

ChatGPT BB Forum Bot Plugin

Welcome to the ChatGPT BuddyBoss Forum Bot Plugin repository on GitHub. The ChatGPT BuddyBoss Forum Bot Plugin is designed to automatically respond to new member introductions and discussion replies in your BuddyBoss/BuddyPress forums using OpenAI's GPT-4 API. This plugin helps create a more engaging and interactive community experience.

Features

  • Automatically replies to new member introductions.
  • Automatically replies to new discussion posts and replies.
  • Customizable ChatGPT prompts for each user.
  • Easy integration with BuddyBoss/BuddyPress platforms.
  • Includes context from parent replies for more coherent responses.

Installation

Prerequisites

  • WordPress
  • BuddyBoss Platform or BuddyPress
  • MAMP or any local development environment with PHP and MySQL

Steps

  1. Download the Plugin: Download the plugin files from the GitHub repository.

  2. Upload the Plugin: Upload the plugin files to the /wp-content/plugins/chatgpt-bb-forum-bot directory.

  3. Activate the Plugin: Go to the WordPress admin dashboard, navigate to Plugins, and activate the ChatGPT BB Forum Bot Plugin.

  4. Configure the Plugin:

    • Go to the plugin settings page.
    • Enter your OpenAI API key.

Configuration

OpenAI API Key

To use this plugin, you need an OpenAI API key. You can obtain this by signing up on the OpenAI platform.

Custom User Prompts

Users can set their own custom ChatGPT prompts in their profile settings. This allows for personalized responses based on user-defined prompts.

  1. Go to the user profile page.
  2. Find the "ChatGPT Prompt" field.
  3. Enter a custom prompt and save the changes.

Usage

Responding to New Introductions

The plugin listens for new introduction posts and automatically generates a reply using the configured ChatGPT prompt for each user.

Responding to Discussion Posts and Replies

The plugin also listens for new discussion posts and replies, generating responses to keep the conversation active and engaging. It includes context from parent replies to ensure more coherent and relevant responses.

Development

Setting Up for Development

  1. Clone the Repository:

    git clone https://github.com/sergeychernyakov/chatgpt-bb-forum-bot.git
  2. Navigate to the Plugin Directory:

    cd chatgpt-bb-forum-bot
  3. Install Dependencies: If there are any dependencies, install them using Composer or NPM.

Debugging with MAMP

  1. Enable Debugging in WordPress: Add the following to your wp-config.php:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);
    ini_set('display_errors', 1);
  2. View Log Files: The log file can be found at /wp-content/debug.log.

Contributing

We welcome contributions to the ChatGPT BB Forum Bot Plugin! If you have any suggestions or improvements, feel free to submit a pull request or open an issue on GitHub.

Code of Conduct

Please read our Code of Conduct before contributing.

License

This plugin is licensed under the GPLv3. See the LICENSE file for more details.

Documentation

Contact

For any queries or support, please contact Sergey Chernyakov.

BuddyBoss

chatgpt-bb-forum-bot's People

Contributors

eisenwasser avatar sergeychernyakov avatar mehulkaklotar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.