MyBB Community Forums

Full Version: Website integration - ban question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Well I'm currently working on a website that has MyBB integrated in to it, how ever I have one problem.

When ever a user is banned they're automatically redirected to the forum ban page.

Is there any way I could prevent this from doing this? because it's really awkward, especially when I have a AJAX form that auto validates forms, and prints the HTML page for the Forum instead of printing out a message I wanted printing out.

To Mods/Admins: If this is the incorrect area to be posting this, then I apologise, I'm just desperate for help.

To those who can help; it is appreciated, even if Your solution doesn't solve it.

Thanks in advance.
Can we get a link to the website/forum? Perhaps a test account that is banned and one that is not.
Sure, please standby.

I'll update this post.

Login @ http://status.ragekit.co.uk/index.php?method=login

Username: testing-mybb
Password: qwerty123

Once logged in redirect to: http://status.ragekit.co.uk/ - It turns out it masks the page actually.
This is what I get:
http://i.imgur.com/CrsJs.png

Is that what you want... or not?
Okay, can you describe exactly how everything is integrated?
That's what I'm trying to get rid of, I want to display a custom ban message because the AJAX form I use displays the page's HTML source.
If you integrate your website with your forum, when you close your board it also close the website too.

So your board status is your web status.
Oh, didn't know this also, is there a way to stop this then?
A possible solution is to modify the core of the ban function to redirect to whatever page you want.

Is that plausible?
(2011-09-19, 04:42 AM)Masayoshi Wrote: [ -> ]A possible solution is to modify the core of the ban function to redirect to whatever page you want.

Is that plausible?

I wouldn't know where to look Toungue If You could tell me the best spot to alter this then it'd be greatly appreciated Smile
Dunno if I'm allowed to bump up threads, but any update on this?

Thanks in advance.
Pages: 1 2