Jump to content

ossipetz

Clients
  • Posts

    288
  • 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 ossipetz

  1. hmm. So it's not in the English translation? Like there: You should be able to just change the text there without the need to edit anything 🤔
  2. cool out of curiosity: what file did you modify? and why? i hoped all would be possible through the admin panel 🤔
  3. Hello the texts used by the widget should be in the language manager (sources) in the admin panel (Customization -> Languages) just like all other texts, the key is "block_tfRocketChatWhosOnline". The uppercasing is from the stylesheet.
  4. hello! Thanks for visiting ? We currently still use the extension from wohali with rocket.chat. I still can't get the integrated oauth server to work with the chat and I have trouble to diagnose whats wrong. The profile pictures are not imported into the chat, users just re-upload them or use different ones. We also published a widget to show who's online in the chat: So if anyone get can get the integrated oauth to work and can share the settings?
  5. Hello We use Rocket.Chat as chat solution for our community. For now we use the OAuth Server Application to authenticate. That works quite nice. But since there is now a native OAuth API I wonder if it is possible to move over. Currently it does not work. What I have: IPB Side: Client Type: Custom Confidential OAuth Client Available Grant Types: Authorization Code Redirection URIs: https://chat.tolkienforum.de/_oauth/tolkienforumipb (copy paste from what rocket chat told us) Authorization Prompt: New sign ins only Show in Account Settings?: on IPB generated a client-id and a secret-id (used below). I left the scopes tab untouched but added groups. But I don't really understand that part. Rocket.Chat side, added a custom OAuth application: Url: https://www.tolkienforum.de Token Path: /oauth/token Token sent via: Payload Identity Token sent via: Payload Identity Path: /api/core/me Authorize Path: /oauth/authorize Scope: profile email groups (tried to match this with scopes from the forum, but not sure what this is) Id: copy paste client-id from the forum Secret: copy paste secret-id from the forum Login Style: Popup Username field: name Merge Users: true These are the settings. When logging in to the chat server the login popup show up, I can log in but get an error message: since the Client-Id is copy pasted I'm not sure if that error is actually correct. But well: anything is possible Did someone manage this to work? And if so what are your settings? Any hints welcome!
  6. hellooo thanks for trying the extension! Thats a bit hard to tell whats wrong - the stacktrace does not contain any of the sources of this extensions. Do the system logs in the admin panel contain some more information? I'll have a look whats done in the files mentioned... Are there any php functions disabled for your hosting?
  7. Uploaded version 1.2.2 to improve the error handling. There was an issue with the used exception classes which did not come up in DEV mode but in production mode Think this will resolve the issue above.
  8. coming back to something reported by @jmw253 on the marketplace: Error: Class 'IPS\tfrocketchat\widgets\Exception' not found (0) #0 C:\inetpub\wwwroot\applications\tfrocketchat\widgets\tfRocketChatWhosOnline.php(167): IPS\tfrocketchat\widgets\_tfRocketChatWhosOnline->readJsonFromUrl('https://chat.si...', Array, Array) #1 C:\inetpub\wwwroot\system\Widget\Widget.php(731): IPS\tfrocketchat\widgets\_tfRocketChatWhosOnline->render() #2 C:\inetpub\wwwroot\uploads\template_3_94a9d7649fb9cdbfc784d3516e61a717_global.php(14808): IPS\_Widget->__toString() #3 C:\inetpub\wwwroot\system\Theme\SandboxedTemplate.php(56): IPS\Theme\Cache\class_core_front_global->widgetContainer('sidebar', 'vertical') #4 C:\inetpub\wwwroot\uploads\template_3_94a9d7649fb9cdbfc784d3516e61a717_global.php(12460): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array) #5 C:\inetpub\wwwroot\system\Theme\SandboxedTemplate.php(56): IPS\Theme\Cache\class_core_front_global->sidebar('right') #6 C:\inetpub\wwwroot\uploads\template_3_94a9d7649fb9cdbfc784d3516e61a717_global.php(5420): IPS\Theme\_SandboxedTemplate->__call('sidebar', Array) #7 C:\inetpub\wwwroot\system\Theme\SandboxedTemplate.php(56): IPS\Theme\Cache\class_core_front_global->globalTemplate('1fa89c086a6a3d0...', '\n<div class='ip...', Array) #8 C:\inetpub\wwwroot\system\Dispatcher\Dispatcher.php(166): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array) #9 C:\inetpub\wwwroot\system\Dispatcher\Standard.php(103): IPS\_Dispatcher->finish() #10 C:\inetpub\wwwroot\system\Dispatcher\Front.php(556): IPS\Dispatcher\_Standard->finish() #11 C:\inetpub\wwwroot\system\Dispatcher\Dispatcher.php(148): IPS\Dispatcher\_Front->finish() #12 C:\inetpub\wwwroot\index.php(12): IPS\_Dispatcher->run() #13 {main} I had a similar issue when rebooting my server and rocket.chat was not yet reachable. I'll have to investigate - currently I don't really know how to reproduce that issue. Probably the error handling does not cover all situations The widget runs with 4.2.5. Nothing changed there that I'm aware of. Hang on...
  9. This is the support Topic for the Rocket.Chat Online Users extension. Either post your issues here or head over to the GitHub project to report an issue there.
  10. I would say so. I've created a test installation from the 3.4.7 live board and followed the instructions from the upgrader. No issues with this anymore since beta 5. The issue tracker also does not seem to contain obvious issues. The background tasks took some time to run. While they run some posts look a bit broken (quotes for example are not yet styled). So I think I'm going to upgrade soon
  11. ​Thanks! Is the whole public folder required? Thats on of those folders that contain themes and images and stuff that I would think most of it is no longer used after an upgrade to IPS4?
  12. hallo are there instructions on what to copy from a 3.4.7 to 4.0.0 board so that no orphaned files stick around? Currently I copy the old board and gallery files, then copy the IPS4 files over them and upgrade. But I assume that leaves some 3.4.7 files around that are no longer needed? So if I want to do a more minimalistic upgrade to a new location or make sure nothing is left behind that can be deleted: I dump and re-import the databaseinstall all new ips4 filescopy the uploads folder?copy the gallery imagesand thats it? Thanks!
  13. File Name: Restrict allowed chars in usernames File Submitter: ossipetz File Submitted: 15 Jan 2006 File Category: Modifications Hallooooo this small mod will prevent user to use chars for usernames when they register. import the settings file in admin panel. a new section 'Usernames' will appear. open the file: /sources/action_public/register.php search for: //----------------------------------------- // Check for errors in the input. //----------------------------------------- if ( ! $in_username OR strlen($len_u) < 3 OR strlen($len_u) > 32 ) { $form_errors['username'][] = $this->ipsclass->lang['reg_error_username_none']; } replace with: // additional username checks: $in_usr_minlength = (int)$this->ipsclass->vars['usernames_minlength']; $in_usr_maxlength = (int)$this->ipsclass->vars['usernames_maxlength']; $in_usr_badchars = "/[". preg_quote($this->ipsclass->vars['usernames_badchars']) ."]/"; //echo "PATTERN: $in_usr_badchars"; //if(preg_match($in_usr_badchars, $in_username)){ // echo "BAD CHARS"; //} if (! $in_password OR strlen($len_p) < $in_usr_minlength OR strlen($len_p) > $in_usr_maxlength OR preg_match($in_usr_badchars, $in_username) ) { $form_errors['password'][] = $this->ipsclass->lang['reg_error_no_pass']; } maybe its of some use for someone :-) Click here to download this file
  14. *WHOHOO* way too soon :-) will the GDK be released too? new version looks VEERRRYYY cool :-)
×
×
  • Create New...