Code Monkey home page Code Monkey logo

rexshop-mybb's Introduction

A mybb 1.6.x & 1.8.x plugin to integration with Rex Digital Shop.

Installation

Mybb Setup

Upload the files to their apprpriate folders in mybb you can just drag the inc folder into the forum root folder and everything will place itself correctly. Go to your mybb admin panel and click on "Configuration"(In the top navigation bar) and then on "Plugins"(In the left hand sidebar). Find the RexShop plugin and click "Install & Activate".

Go to your mybb admin panel and click on "Configuration"(In the top navigation bar) and then on "Settings"(In the left hand sidebar). Scroll down until you find "RexShop Setting".

Once there you will need to type in 3 values, which can be found in your rex shop configuration page. All you need to do is go to your store on rex digital shop: Click Here Click on the cogwheel at the bottom left. Then click on the developer tab in the sidebar.

Now copy & paste your client id, secret & api key to their appropriate settings in your mybb admin panel. Make sure you don't share your api key & secret with anyone.

Next you just need to setup your products on rex digital shop. When you're finished go into addons and create an addon called "Usergroup", set the type to "hidden". And in the value field you write the id of the usergroup you would like to give to the user once they buy. Then attach the addon to all your products which awards that usergroup. You can create multiple addons with the same name if you want different producs to give different usergroups.

Addon Variables (Watch the youtube video below to learn about addons)

  • 'usergroup' this will decide which usergroup a user will end up in (use the group id (gid)
  • 'excludeusergroups' this is a comma seperated list (Example: 2,3,4) of usergroups that are not allowed to purchase this product.
  • 'onlyusergroups' this is a comma seperated list (Example: 2,3,4) of usergroups that are the only ones allowed to purchase this product.

Video Tutorial

See the setup process in a short video: https://www.youtube.com/watch?v=OzDC_Nkdwm4

Webhook URL

To setup the webhook url properly make sure you set the link to the root of your misc.php file in the root of your forum like so: http://yoursite.com/forum/misc.php?payment=rexshop

rexshop-mybb's People

Contributors

srexi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rexshop-mybb's Issues

Cant access shop via url or link

17116A9C-E3E9-4C4E-B8B3-938E1AC82021

I keep getting that massage
And when i try to gift shop perk to a member it fails also

i have tried

domain.dk/Forum/misc.php payment = rexshop dont work

i have tried domain.dk/misc.php payment = rexshop that works but gives me the issue as the picture shows

PHP 8.0 support

Correct me if I am wrong but it looks like the MYBB rexshop integration does not support PHP 8.0.

The first error I saw was that there's an issue (the variable is already defined) with the defined "TIME_NOW" variable in "rexshop.php". I wasn't able to check if there are more things to fix but I am guessing yes.

Mybb version was:
1.8.30

The only fix I found so far is reverting back to PHP 7.4

Task Errors Mybb 1.8.30

I didn't notice this before but I am getting errors for the resxshop.php task as well

Type: 2
File: inc/tasks/rexshop.php (Line no. 49)
Message
Undefined property: MyLanguage::$task_rexshop_ran
Back Trace: #0 /home/mombotkr/public_html/inc/class_error.php(229): errorHandler->email_error(2, 'Undefined prope...', 'inc/tasks/rexsh...', 49)
#1 /home/mombotkr/public_html/inc/class_error.php(153): errorHandler->error(2, 'Undefined prope...', 'inc/tasks/rexsh...', 49)
#2 /home/mombotkr/public_html/inc/tasks/rexshop.php(49): errorHandler->error_callback(2, 'Undefined prope...', '/home/mombotkr/...', 49)
#3 /home/mombotkr/public_html/inc/functions_task.php(90): task_rexshop(Array)
#4 /home/mombotkr/public_html/inc/functions.php(243): run_task()
#5 [internal function]: run_shutdown()

I'm investigating it as we speak I'll report back once I did some more troubleshooting

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.