Donation system 1.8
#1
I want some sort of system that allows people to donate to me, and if possible they get some sort of userbar.
Reply
#2
You can use some 1.6 plugins as well.
You just need to make some small changes.


  1. Find your plugin
  2. Upload it as you normal do
  3. Go to inc/plugins/ and open YourDonationPlugin.php
  4. Find a part looking like this (near the top of the document)
    function plugin_name_info ()
    {
        return [
            'name'           => 'plugin name',
            'description'    => 'plugin description',
            'website'        => 'website of the plugin',
            'author'         => 'author',
            'authorsite'     => 'website again',
            'version'        => 'version',
            'codename'       => 'code name',
            'compatibility'  => '16', //What YOU'RE looking for
        ];
    }

  5.  Change it so it look like this:

    function plugin_name_info ()
    {
        return [
            'name'           => 'plugin name',
            'description'    => 'plugin description',
            'website'        => 'website of the plugin',
            'author'         => 'author',
            'authorsite'     => 'website again',
            'version'        => 'version',
            'codename'       => 'code name',
            'compatibility'  => '18*', //What YOU'RE looking for
        ];
    }

  6. Save, refresh and enjoy!

- We just changed your plugins compatibility from mybb 1.6 -> mybb 1.8.x . The star '*' we added after, means that it would fit every mybb 1.8 version, such as 1.8.0 & 1.8.1.

- Remember to add it to your header template :-)
OBS! For helping, see my forum information here:

Version: 1.8.3
Theme: Square theme
(Download link)
Reply
#3
Thank you for tutorial brother
buat i'm so delete compatibility for working in every version Big Grin

    return [
        'name'           => 'plugin name',
        'description'    => 'plugin description',
        'website'        => 'website of the plugin',
        'author'         => 'author',
        'authorsite'     => 'website again',
        'version'        => 'version',
        'codename'       => 'code name',
    ];
}
The Writing Talents in The World
Find Tutorial , Create Writing Talents Now
Reply
#4
That's an option as well, right. :-)
OBS! For helping, see my forum information here:

Version: 1.8.3
Theme: Square theme
(Download link)
Reply
#5
(2014-10-27, 06:45 AM)Nucky Wrote: Thank you for tutorial brother
buat i'm so delete compatibility for working in every version Big Grin

    return [
        'name'           => 'plugin name',
        'description'    => 'plugin description',
        'website'        => 'website of the plugin',
        'author'         => 'author',
        'authorsite'     => 'website again',
        'version'        => 'version',
        'codename'       => 'code name',
    ];
}

It is not a good idea to skip the compatibility line. That is just a lazy solution and once 2.0 gets released, it will not work properly anyway.
Reply
#6
i did it like this 16*,18*,18.1* and now these plugins work, but Dragon is right, some wont work, cause the coding parts were for 1.6 and not 1.8
Anyways good luck.
[Image: vissenforumlogo.png]
Reply
#7
can you guys link me to a donation plugin that works for the 1.8 series please , thanks in advance
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)