Jump to content

Featured Replies

Posted
comment_269

Discord Login


Discord Integration - an application that allows your members to register using their own discord account. The application will be developed and supplemented with additional functionality. Now it can:

  • Login via Discord account;
  • Use Discord.com photo as profile photo of registering member.

 

comment_299

Something might be wrong with the app.

I have tried setting it up on IPS 4.7.14. I created and set up the Discord app. I copied ID and secret.

Then I try to login, I am taken to discord login form, I login. I then get the confirmation window stating that my app gets access to email and so on. I click yes and get redirected back to IPS with error. Account is not created. Any idea why?

Sorry, there is a problem

Something went wrong. Please try again.
  • Author
comment_314
8 hours ago, Safety1st said:

К сожалению, в РФ с 1.12.2023 г. действует запрет авторизации через иностранные сервисы. Имеет смысл внести это в disclaimer для законопослушных community.

Please write in English, not many people here will understand you. These rules apply to site owners; they have the right to choose which authorization system to use. These rules apply to website owners in Russia; foreign citizens are not required to follow this law.

 

comment_333

Hi

 

I have a bug with new account or  setting account (for users already created)

REPLACE INTO `core_login_links` ( `token_login_method`, `token_member`, `token_identifier`, `token_linked`, `token_access_token`, `token_expires`, `token_refresh_token`, `token_scope` ) VALUES ( 18, 1, NULL, 0, 'EVBE41w4zG48LrdN7ihjNTQWLtYOrk', 1708783182, 'bZIzUeWmUpeM2icPoZCPk0SudxIc0F', '["email","guilds.join","identify"]' )
IPS\Db\Exception: Column 'token_identifier' cannot be null (1048)
#0 /var/www/vhosts/clan-rmg.com/httpdocs/system/Db/Db.php(972): IPS\_Db->preparedQuery()
#1 /var/www/vhosts/clan-rmg.com/httpdocs/system/Login/Handler/OAuth2/OAuth2.php(551): IPS\_Db->replace()
#2 /var/www/vhosts/clan-rmg.com/httpdocs/system/Login/Handler/OAuth2/OAuth2.php(404): IPS\Login\Handler\_OAuth2->_processAccessToken()
#3 /var/www/vhosts/clan-rmg.com/httpdocs/system/Login/Handler/OAuth2/OAuth2.php(170): IPS\Login\Handler\_OAuth2->_handleAuthorizationResponse()
#4 /var/www/vhosts/clan-rmg.com/httpdocs/system/Login/Login.php(339): IPS\Login\Handler\_OAuth2->authenticateButton()
#5 /var/www/vhosts/clan-rmg.com/httpdocs/applications/core/modules/front/system/settings.php(1607): IPS\_Login->authenticate()
#6 /var/www/vhosts/clan-rmg.com/httpdocs/applications/core/modules/front/system/settings.php(64): IPS\core\modules\front\system\_settings->_login()
#7 /var/www/vhosts/clan-rmg.com/httpdocs/system/Dispatcher/Controller.php(118): IPS\core\modules\front\system\_settings->manage()
#8 /var/www/vhosts/clan-rmg.com/httpdocs/applications/core/modules/front/system/settings.php(49): IPS\Dispatcher\_Controller->execute()
#9 /var/www/vhosts/clan-rmg.com/httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\system\_settings->execute()
#10 /var/www/vhosts/clan-rmg.com/httpdocs/index.php(13): IPS\_Dispatcher->run()
#11 {main}

 

comment_334

Hi

 

I have a bug with new account or  setting account

For users already created:

REPLACE INTO `core_login_links` ( `token_login_method`, `token_member`, `token_identifier`, `token_linked`, `token_access_token`, `token_expires`, `token_refresh_token`, `token_scope` ) VALUES ( 18, 1, NULL, 0, 'EVBE41w4zG48LrdN7ihjNTQWLtYOrk', 1708783182, 'bZIzUeWmUpeM2icPoZCPk0SudxIc0F', '["email","guilds.join","identify"]' )
IPS\Db\Exception: Column 'token_identifier' cannot be null (1048)
#0 /var/www/vhosts/clan-rmg.com/httpdocs/system/Db/Db.php(972): IPS\_Db->preparedQuery()
#1 /var/www/vhosts/clan-rmg.com/httpdocs/system/Login/Handler/OAuth2/OAuth2.php(551): IPS\_Db->replace()
#2 /var/www/vhosts/clan-rmg.com/httpdocs/system/Login/Handler/OAuth2/OAuth2.php(404): IPS\Login\Handler\_OAuth2->_processAccessToken()
#3 /var/www/vhosts/clan-rmg.com/httpdocs/system/Login/Handler/OAuth2/OAuth2.php(170): IPS\Login\Handler\_OAuth2->_handleAuthorizationResponse()
#4 /var/www/vhosts/clan-rmg.com/httpdocs/system/Login/Login.php(339): IPS\Login\Handler\_OAuth2->authenticateButton()
#5 /var/www/vhosts/clan-rmg.com/httpdocs/applications/core/modules/front/system/settings.php(1607): IPS\_Login->authenticate()
#6 /var/www/vhosts/clan-rmg.com/httpdocs/applications/core/modules/front/system/settings.php(64): IPS\core\modules\front\system\_settings->_login()
#7 /var/www/vhosts/clan-rmg.com/httpdocs/system/Dispatcher/Controller.php(118): IPS\core\modules\front\system\_settings->manage()
#8 /var/www/vhosts/clan-rmg.com/httpdocs/applications/core/modules/front/system/settings.php(49): IPS\Dispatcher\_Controller->execute()
#9 /var/www/vhosts/clan-rmg.com/httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\system\_settings->execute()
#10 /var/www/vhosts/clan-rmg.com/httpdocs/index.php(13): IPS\_Dispatcher->run()
#11 {main}

New User log:

Error: Class "IPS\steam\extensions\core\MemberSync\Login" not found (0)
#0 /var/www/vhosts/clan-rmg.com/httpdocs/applications/steam/extensions/core/MemberSync/memberSync.php(34): IPS\steam\extensions\core\MemberSync\_memberSync->onValidate()
#1 /var/www/vhosts/clan-rmg.com/httpdocs/system/Member/Member.php(4263): IPS\steam\extensions\core\MemberSync\_memberSync->onCreateAccount()
#2 /var/www/vhosts/clan-rmg.com/httpdocs/system/Member/Member.php(490): IPS\_Member->memberSync()
#3 /var/www/vhosts/clan-rmg.com/httpdocs/system/Login/Handler/Handler.php(349): IPS\_Member->save()
#4 /var/www/vhosts/clan-rmg.com/httpdocs/system/Login/Handler/OAuth2/OAuth2.php(500): IPS\Login\_Handler->createAccount()
#5 /var/www/vhosts/clan-rmg.com/httpdocs/system/Login/Handler/OAuth2/OAuth2.php(404): IPS\Login\Handler\_OAuth2->_processAccessToken()
#6 /var/www/vhosts/clan-rmg.com/httpdocs/system/Login/Handler/OAuth2/OAuth2.php(170): IPS\Login\Handler\_OAuth2->_handleAuthorizationResponse()
#7 /var/www/vhosts/clan-rmg.com/httpdocs/system/Login/Login.php(339): IPS\Login\Handler\_OAuth2->authenticateButton()
#8 /var/www/vhosts/clan-rmg.com/httpdocs/applications/core/modules/front/system/login.php(59): IPS\_Login->authenticate()
#9 /var/www/vhosts/clan-rmg.com/httpdocs/system/Dispatcher/Controller.php(118): IPS\core\modules\front\system\_login->manage()
#10 /var/www/vhosts/clan-rmg.com/httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
#11 /var/www/vhosts/clan-rmg.com/httpdocs/index.php(13): IPS\_Dispatcher->run()
#12 {main}

 

comment_336
3 hours ago, Madhouse said:

I am very interested in a new Discord integration.

Could you please add the ability to auto sync Invision groups to discord roles?

Yes like brillant Discord it is abandoned

  • Author
comment_337
On 2/17/2024 at 5:13 PM, Archerus said:

Hi

I have a bug with new account or  setting account

For users already created:

New User log:

Hello. Your errors are related to another application - Steam. There are no such errors in our Discord application.

On 2/18/2024 at 10:35 AM, Madhouse said:

I am very interested in a new Discord integration.

Could you please add the ability to auto sync Invision groups to discord roles?

You can use an existing application for these purposes - Brilliant Discord Integration. We'll do the same for the v5.

comment_339

Fixed for steam but i have other error:

REPLACE INTO `core_login_links` ( `token_login_method`, `token_member`, `token_identifier`, `token_linked`, `token_access_token`, `token_expires`, `token_refresh_token`, `token_scope` ) VALUES ( 18, 1, NULL, 0, 'EVBE41w4zG48LrdN7ihjNTQWLtYOrk', 1708967295, 'bZIzUeWmUpeM2icPoZCPk0SudxIc0F', '["identify","email","guilds.join"]' )
IPS\Db\Exception: Column 'token_identifier' cannot be null (1048)
#0 /var/www/vhosts/clan-rmg.com/httpdocs/system/Db/Db.php(972): IPS\_Db->preparedQuery()
#1 /var/www/vhosts/clan-rmg.com/httpdocs/system/Login/Handler/OAuth2/OAuth2.php(551): IPS\_Db->replace()
#2 /var/www/vhosts/clan-rmg.com/httpdocs/system/Login/Handler/OAuth2/OAuth2.php(404): IPS\Login\Handler\_OAuth2->_processAccessToken()
#3 /var/www/vhosts/clan-rmg.com/httpdocs/system/Login/Handler/OAuth2/OAuth2.php(170): IPS\Login\Handler\_OAuth2->_handleAuthorizationResponse()
#4 /var/www/vhosts/clan-rmg.com/httpdocs/system/Login/Login.php(339): IPS\Login\Handler\_OAuth2->authenticateButton()
#5 /var/www/vhosts/clan-rmg.com/httpdocs/applications/core/modules/front/system/settings.php(1607): IPS\_Login->authenticate()
#6 /var/www/vhosts/clan-rmg.com/httpdocs/applications/core/modules/front/system/settings.php(64): IPS\core\modules\front\system\_settings->_login()
#7 /var/www/vhosts/clan-rmg.com/httpdocs/system/Dispatcher/Controller.php(118): IPS\core\modules\front\system\_settings->manage()
#8 /var/www/vhosts/clan-rmg.com/httpdocs/applications/core/modules/front/system/settings.php(49): IPS\Dispatcher\_Controller->execute()
#9 /var/www/vhosts/clan-rmg.com/httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\system\_settings->execute()
#10 /var/www/vhosts/clan-rmg.com/httpdocs/index.php(13): IPS\_Dispatcher->run()
#11 {main}

 

comment_343

the problem seems to come from the table structure or token_identifier cannot be null

If I modify the structure by activating the null it corrects the error but IPB does not like this modification, its activates an error in the support center ?

  • Author
comment_344
1 hour ago, Archerus said:

the problem seems to come from the table structure or token_identifier cannot be null

If I modify the structure by activating the null it corrects the error but IPB does not like this modification, its activates an error in the support center ?

Unfortunately we can't reproduce this problem, if you provide FTP access to your site, we can help sort it out!

comment_345
On 2/19/2024 at 9:39 AM, Kirill Gromov said:

The application has been rebuilt and renamed to Discord Login. A separate application will be created to synchronize roles.

+1 for sync role from forum to discord

comment_586

I got a problem

The profile picture not working
My users and me, when we go try to update or profile picture with the discord configuration , we got this error The profile photo URL is invalid

No system logs reliated to that. 

Any idea to solve it ? 


THank you 

  • Author
comment_587
12 hours ago, D-Trox said:

I got a problem

The profile picture not working
My users and me, when we go try to update or profile picture with the discord configuration , we got this error The profile photo URL is invalid

No system logs reliated to that. 

Any idea to solve it ? 


THank you 

Hello. Do you have a selected gif or did you upload the avatar yourself?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.


Guest
Reply to this topic...