API functions?
#1
Is there a function I can call with a parameter of a UID that will ban a person's account? I am trying to integrate banned accounts from my game into the MyBB forum so they are synchronous.
Reply
#2
Not sure. Look at the banning page in the ACP. If it makes use of it, then it exists. Otherwise just do what the page does
All my plugins are available for free at MyBB Extend and on my GitHub. MyBB-Plugins.com has been closed and none of my plugins are officially maintained or supported.
Reply
#3
It basically just does manual database entries which is quite deceiving when I worked it out. The "mybb_banned" table in the database is strictly for storing ban reasons and lift dates. The simplest and most efficient way to ban some is to just change their usergroup to the banned group in the "mybb_users" table which seems to be what the MyBB scripts check for before displaying a page.

Thanks for your help Pirata. Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)