Plugin system and the postbit
#1
Forgive me if this seems like a really noobish question, but I'm honestly confused as to how to do this.

Basically I've written a basic plugin which works fine, but what I'd like to do is add a field to the user information to the right of the post (postbit?), where all of the warning level, post and join date information is. I've looked through the MyBB wiki but have failed epically to find a way to do this - any ideas?

I'd like to emphasise the fact that I'm not writing a mod, I'd prefer to use the plugin system because of the obvious benefits with ease of upgrading in the future. Using v1.4.2 currently.

Thanks.
Reply
#2
You'll need to use the find_replace_templatesets to to add your variables to the postbit_author_user

http://crossreference.mybboard.de/inc/ad...e.html#l12

You should run your find_replace_templatesets in the activation function to add your custom postbit variables, then run it again in the deactivation function to remove them.
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net
Reply
#3
Thanks! Also, incredibly fast replies - another reason MyBB is the best forum software ever; you guys rock Toungue
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)