Integration of myBB with website - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html) +--- Forum: General Support (https://community.mybb.com/forum-176.html) +--- Thread: Integration of myBB with website (/thread-234658.html) |
Integration of myBB with website - johncircle - 2022-01-11 I want my website and my mybb board to be connected. I Googled and made the integration, and I'm able to get a username id, as long as I specify their ID, but nothing happens when I'm using the function as explained. What I'm trying to do is verify a connection of one to the forums, via my website, and then show their name. Here's my code, as well as my attempts to get a username:
RE: Integration of myBB with website - Matt - 2022-01-11 Quite a bit that doesn't make sense here. You're calling this:
Which should give you the user without you needing to do anything else, but $uid isn't defined anywhere. Then this:
makes no sense as $user isn't a MySQL query so not sure why you're calling mysqli_fetch_array on it. All you should need is the get_user() line, but I'm not sure if $uid needs to be passed through or where you'd get it from. I'd suggest reaching out to the MyBB Integrator author for documentation. |