Jump to content

Seth Jones

Members
  • Posts

    115
  • Joined

  • Last visited

Recent Profile Visitors

2,868 profile views

Seth Jones's Achievements

  1. No, I just need to store the memberID in the table, correct?
  2. Is there a guide on how to add a settings form like plugins for applications? I wanted to add a simple settings form for my application that was originally a plugin. Thanks!
  3. I wanted to clarify my question. My plugin uses the database table core_members, which is not allowed anymore. I needed to make it use a separate database table called profileSongs_song which holds the profile songs URL. I needed help with linking the database tables with the member ID. Any tips is appreciated. protected function _profileSongSet( \IPS\Helpers\CoverPhoto $song ) { $this->member->kuzi_song_path = isset( $song->file ) ? (string) $song->file : NULL; $this->member->save(); } So this line is what I need to change. $this->member->kuzi_song_path = isset( $song->file ) ? (string) $song->file : NULL; I have a database schema created in my application called profilesongs_song, with the profile song URL which the column name is songPath.
  4. How do we query a database separate in an application? For example, if an application has something called profileSongs, how would we query that and retrieve a table value in php? Any examples or documentation available?
  5. Can someone list me a place to find documentation on how to handle errors in IPS suite?
  6. How exactly does Invision Power Board handle error logs and messages? Generally we use try catch. catch ( \RuntimeException $e ) { if ( method_exists( get_parent_class(), __FUNCTION__ ) ) { return \call_user_func_array( 'parent::' . __FUNCTION__, \func_get_args() ); } else { throw $e; } }
  7. In the applications, I have updated the language.xml file with the new strings, and it is not imported into the application directly in dev_mode. How do I update language words in the application as for plugins this works for what I expect just not for applications. Inside the data folder of my application, I have where the lanague.xml is modified after the application is installed. What do I need to do for it to save to the application properly?
  8. How do you authorize a client using the API? Like, I want to enter a form that verifies the account using the username or password, or a key generated from an oAuth like Facebook. Any tips or guides to get started with?
  9. We are trying to move our login system on our game server to use the oAuth API for logins. Does anyone know the best practice to use this? For example, we have a C# login server which checks tables for certain items, then we apply it to our player save file. Although, we use a custom C# .DLL to invoke a browser on the client side, then it receives a token and sends it to the login server.
×
×
  • Create New...