# Adapt github changes to my own site

**URL:** https://meta.discourse.org/t/adapt-github-changes-to-my-own-site/83832
**Category:** Support
**Created:** [March 26, 2018, 6:35am UTC](https://meta.discourse.org/t/adapt-github-changes-to-my-own-site/83832 "2018-03-26T06:35:40Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [March 27, 2018, 8:13am UTC](https://meta.discourse.org/t/adapt-github-changes-to-my-own-site/83832/4 "2018-03-27T08:13:28Z")

</div>

I know, “plugin” sounds like overkill because it’s a big word. But all a plugin really does it modifies/amends discourse’s code, which is exactly what you’re trying to do, right? Of course you can do so much more with plugins than change 2 lines of code, but changing those two lines is entirely possible and not overkill at all. It’s pretty much the same as what you’ve tried, only the “proper” way. It’s so easy that even I was able to do it:

> [@Hack to enable invitations for Trust level 1 users](https://meta.discourse.org/t/hack-to-enable-invitations-for-trust-level-1-users/44103/18):
>
> Thanks to @vinothkannans’s primer above, I managed to put together the [discourse-TL1-invites plugin](https://github.com/tophee/discourse-TL1-invites). tada My first one, yeay! sunglasses And the best thing is: it works (from what I can tell so far). The only thing I am a bit unsure about is that I am not 100% sure whether I am allowing TL1 users anything apart from forum invites and topic invites here: The only change I made is obviously the trustlevel in line 37, but I don’t quite grasp, what all the possible objects are that TL1 use…

Check out that topic and see if you can make it work for your case.

---

_[View the full topic](https://meta.discourse.org/t/adapt-github-changes-to-my-own-site/83832)._
