MyBB Community Forums

Full Version: Making my first plugin :P
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey.

So I'm making my first plugin, and everything seems to be going well at the moment. I followed a tutorial from MyBB Source and got the basics up and running (e.g, settings and activation deactivation yaddah yaddah). But now I'm have some trouble with some other things.

Problem 1:
When I go to make my thing echo something on to the index_start part, it comes up at the very top above the container. How do I make it go just above the navigation? (Like colourful announcements.)

Problem 2:

When I try give that echo a class, e.g pm_alert it doesn't seem to work and give me an error. How do I fix this? Or even if possible, make it ad it's own class.

Problem 3:

Using the settings; how can I pull a random thread from the specified FID?

Thanks to anyone that helps.