Tips for a newbie
#1
Hi guys, I'm approaching to mybb plugin development. I know a little little php so this would be the perfect moment to start improving my skills. I need to create a plugin which handles in different ways the attachment files in the postbit. I already found that at attachment.php:170 the test of the file types begins , I was going to inject my code straight into the mybb files but I decided to develop a plugin instead. Where should I start? I don’t know anything about mybb plugin development.
Reply
#2
Could you explain a little more what exactly you're trying to do? But yes I would say you're definitely on the right track by making a plugin. Editing the core files is almost always a bad idea and you should be very careful if/when doing so.
My Plugins: [1.8]|[1.6]

** Selling custom plugin that enables Bitcoin payments. PM me if interested in purchasing! **
Reply
#3
You would have to use hooks.
Reply
#4
First I'd start with this thread: https://community.mybb.com/thread-137925.html

While it is a bit old, it covers a lot of basics. Once you get that down, you might take a look at the advanced guide I have on my Github. https://github.com/dragonexpert/tutorial...pment.html
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)