Giter Site home page Giter Site logo

nameless-tebex's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nameless-tebex's Issues

Subscription Support

As the title says, right now the Tebex integration module does not support packages that are subscriptions, only on-off purchases. Would it be possible to have the Tebex integration have support for packages that can be purchased as subscriptions as well?

Thank you

[Suggestion] Tebex

Dear Samerton,

First of all i hope you are doing okay.

I got a qeustion if you can add the following widgets in the tebex module on namelessmc.

  • add TopDonator
  • add Full support on check out / support for the module so you don't have to get directed to buycraft.

(Maybe a usefull link for reference https://shop.thearchon.net/checkout/basket )

have an amazing day!

Br,
Jeffry

Order of price and currency in packages

It would be nice to have a possibility to change order of the price and currency in packages.
Some currencies are using currency symbol after the price, so it would be a good change.

For example: right now there is currency first and price second (โ‚ฌ5). After change it should be the other way round (5โ‚ฌ).

Images not displaying on packages

Images not displaying on packages. Worked prior to update to pr8/9. Running the 1.1.0 version.

Images are already uploaded at /uploads/store with proper package ID. It seems like the images aren't getting pulled.

image

[Bug] Option to enabe widgets in store not available

The option to enable the widget on the store page is for some reason not there... Is this intentional?
Would be kinda weird since i wouldnt want it to be enabled anywhere else than the store, for example the top purchases i would only want players to view in the store.
image

pr13 Support

This module does not seem to work on pr13 yet.

i18n

Didn't test before the release ๐Ÿ˜„,
https://cdn.padow.ru/M2wj

The main category is seen as a sub-category

Good evening, in my tebex I have the SkyBlock category with sub-categories outlining other things that can be purchased, but I noticed that in my NamelessMC the skyblock category is seen as the main category, even though it has no packages inside.

image
image

Package image & description import

The current importer lacks the ability to bring in images and descriptions for packages. By sending a request to the packages endpoint with verbose enabled that should return that data from Tebex. Here is what I did in order to get it working with sync:

curl_setopt($ch, CURLOPT_URL, 'https://plugin.buycraft.net/packages?verbose=true');

$ch_result = curl_exec($ch);

$result = json_decode($ch_result);

if(!isset($result->error_code)){
	$db->createQuery('TRUNCATE TABLE nl2_buycraft_packages_descriptions');

    if(count($result)){
        foreach($result as $package){
            $db->createQuery('INSERT INTO nl2_buycraft_packages_descriptions (`id`, `package_id`, `description`, `image`) VALUES (?, ?, ?, ?)', array(
                $package->id,
                $package->id,
                $package->description,
                Output::getClean($package->image),
            ));
        }
    }
}

I'm not too familiar with PHP, so I wasn't sure how to get the id to just auto increment in the DB.

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.