Jump to content

BoomScapeOfficial

Clients
  • Posts

    12
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by BoomScapeOfficial

  1. Thank you for adding this to your todo list, I appreciate that, the big issue for me is because this all connects with our Game Server, and we handle bans from their account on IPB, ofcourse I can just implement an IP Ban system on the game end of things, but this isn't good practice when it comes to unbanning that players IP. As I mentioned above, banning their IP from cloudflare wouldn't make a difference in my specific case, as the API which isn't accessed through the website, but through our game server which is hosted on a separate server. The user never needs to access the website for registering. Of course I could add extra steps to the sign up process, like making the user confirm their email, but I prefer not to do this, which makes the sign up process easier for the user.
  2. That is a terrible way of banning IPs from accessing the website, staff members don't have access to our Server where this would be configured. Not sure why you'd discourage using IP bans, in certain cases it is required.
  3. I'll look into this, but please can you add that functionality to your to do list, I'm really surprised functionality like that has never been asked about before, as it really doesn't make sense to allow registration through an API, where the IP Ban is never checked.
  4. To be honest it feels impossible to find things around this site so would be helpful if you linked something. Would also be super helpful for you guys to add this as a default API functionality, how it isn't is beyond me.. There isn't even any API usage that can look at 'core_banfilters', I'm literally stunned how you guys haven't added this. Though at the same time it makes sense as you never even know if a member is IP Banned as there is no filter for it, unless you manually search for it through the 'ban settings', overall it seems to be incredibly lazy how the banning system is done on IPB. For example, you can move a player to 'banned' group when banning them, but once the ban is automatically removed it doesn't even put them back in the previous group they had lol. I think others would agree, it's handled incredibly bad. I'd like to see improvements made to that and would really like to see some type of API functionality where I can check to see if the person registering is IP banned before letting them sign up through the API.
  5. I am really lost as to how this isn't a method? Why am I paying $60 per 6 months and not even getting basic endpoints is beyond me.. This is all default stuff on other systems, really disappointing to hear this as you can IP Ban people, but they can still register through the API as their IP is never checked as there is no functionality for it? Really disappointing Is there even any documentation on how to add your own endpoints with IPB as I can't find anything online for adding custom endpoints to IPB
  6. Hello, I am adding to my API that I currently have. I am needing to add a check to see if the IP Address is matched against the banned IP Address table, as far as I know it should be done like so with the API "https://your-community.com/api/index.php?/core/members/ip/{ip}"; With {ip} being replaced with the IP with the users IP to check against it in our database. But this doesn't work, it just returns an error "errorCode": "3S291/2", "errorMessage": "BAD_METHOD" Does anyone know how this can be done, it seems extremely hard to use the API Documentation on IPB and seems to be missing a lot of the methods on the following page https://invisioncommunity.com/developers/rest-api/index/ I have also tried for example, would appreciate if someone could point me in the right direction here! /api/index.php?/core/members/&ipaddress
  7. Hey, I am using the following script for API logins if (isset(\IPS\Request::i()->email) and isset(\IPS\Request::i()->password)) { $login = new \IPS\Login(); $loginHandler = \IPS\Login\Handler::findMethod('IPS\Login\Handler\Standard'); $email = \IPS\Request::i()->email; try { $member = $loginHandler->authenticateUsernamePassword($login, $email, \IPS\Request::i()->protect('password')); if (28 === $member->member_group_id) { echo json_encode(array( "STATUS" => "BANNED", "MEMBER_ID" => $member->member_id )); die; } echo json_encode(array( "STATUS" => "VALID", "MEMBER_ID" => $member->member_id )); } catch (\IPS\Login\Exception $ex) { if ($ex->getMessage() == 'login_err_bad_password') { echo json_encode(array("STATUS" => "INVALID_PASSWORD")); } else { echo json_encode(array("STATUS" => "INVALID_EMAIL")); } } } This was working fine for invalid passwords previously, but now the exception chucks out numbers/letters like so 8415284d58274fdc9d0900706cd58f46 Meaning it'd never match 'login_err_bad_password' as it previously did? Really stuck on this and would appreicate some help if anyone could provide!
  8. Hey! Recently I had to re-import my database due to some issues on my host machine. After doing the re-import everything seemed fine, then a few days later I've noticed all these weird letters appearing I've attached some media but it's basically these weird Â's and other weird symbols, I was wondering if anyone knows how to fix this issue as it's made the whole of the forums look strange on older posts. I have tried the 'Something isn't right' option in the admin backend but it didn't fix this issue. Thanks!
  9. It can be done with PHP, that's basically what I'm asking for in this post?
  10. I get that, but I'm asking for a solution to allow admin pinned topics to show not an answer that I already know
  11. Hey, not a third party app using the following setting to block off users seeing users posts, but I would like them to be able to see pinned topics, see the image below for the current setup
  12. Hey, Basically have a staff application section in our Forums but unsure how we allow it so everyone can see the pinned template? Currently no one can see this section and there doesn't seem to be an option in IPB to allow for this pinned topic to be shown in that section? I know it's possible to do as I did have it working a few years back but unsure how to do it now?
×
×
  • Create New...