Adriano Faria Posted July 25, 2018 Author Posted July 25, 2018 (edited) 9 hours ago, Brainy S. said: I would be extremely curious to know if you are able to replicate this problem based on the steps I provided, or not. I can confirm the hook working even with the app setting disabled, that is fixed, but I got no error when I change the author. Tested on my dev board (4.3.5), author is changed, no error logged. Tested on my online board (4.3.4), no error logged: Let me know if I did something different than your post. If I did, please, be clear and straight. Edited July 25, 2018 by Adriano Faria
newbie LAC Posted July 25, 2018 Posted July 25, 2018 - Log in as member and create new topic - Log in as admin (note this admin shouldn't have linked accounts or turn of the setting Allowed Groups to POST AS another member) and edit that topic. Now topic author is Guest BTW the above setting is not displayed correctly on ACP $form->add( new \IPS\Helpers\Form\Select( 'la_groups_postas', \IPS\Settings::i()->la_groups_protected == '*' ? "*" : explode( ',', \IPS\Settings::i()->la_groups_postas )
Adriano Faria Posted July 25, 2018 Author Posted July 25, 2018 3 minutes ago, newbie LAC said: - Log in as admin (note this admin shouldn't have linked accounts or turn of the setting Allowed Groups to POST AS another member) and edit that topic. Yes, it wasn't checking the setting. Now it is so that's probably why I can't reproduce as I fixed this before test and make the video. public function processAfterEdit( $values ) { parent::processAfterEdit( $values ); if ( \IPS\Settings::i()->la_groups_allowed == '*' OR \IPS\Member::loggedIn()->inGroup( explode( ',', \IPS\Settings::i()->la_groups_allowed ) ) AND ( \IPS\Settings::i()->la_groups_postas == '*' OR \IPS\Member::loggedIn()->inGroup( explode( ',', \IPS\Settings::i()->la_groups_postas ) ) ) ) { if ( $this->starter_id !== $values[ 'la_topic_author' ] ) { $this->changeAuthor( \IPS\Member::load( $values[ 'la_topic_author' ] ) ); $post = \IPS\forums\Topic\Post::load( $this->topic_firstpost ); $post->author_id = $this->author()->member_id; $post->author_name = $this->author()->name; $post->save(); } } } Will fix the setting. Tks.
newbie LAC Posted July 25, 2018 Posted July 25, 2018 5 minutes ago, Adriano Faria said: Now it is so that's probably why I can't reproduce as I fixed this before test and make the video. That fix also doesn't work On the video you create/edit topic as one member You need 1 admin account without linked users In this case $values[ 'la_topic_author' ] is null if ( $this->starter_id !== null )
Adriano Faria Posted July 25, 2018 Author Posted July 25, 2018 What's New in Version 3.1.5.1: Fix error when editing first post of topic under certain conditions Thanks to @newbie LAC for clarifying the issue.
Joey_M Posted July 26, 2018 Posted July 26, 2018 I get an error when selecting to post a new topic @Adriano Faria, I have PM'ed it to you. Will reply here. ?
Adriano Faria Posted July 26, 2018 Author Posted July 26, 2018 What's New in Version 3.1.5.2: Fix error when starting a new topic Joey_M 1
Joey_M Posted July 26, 2018 Posted July 26, 2018 Thank you for providing a very quick fix @Adriano Faria, your support is second to none. Cheers! ? Adriano Faria 1
Club Dark Posted August 14, 2018 Posted August 14, 2018 Hi @Adriano Faria I have been experiencing some issues on my 4.3 board with v3.1.5.2. On the Account Settings page I get the following error: Quote [[Template core/front/system/settings is throwing an error. This theme may be out of date. Run the support tool in the AdminCP I tracked the error down to data/theme.xml:123 <template template_group="global" template_name="linkedAccountsGlobalLink" template_data="" template_location="front" template_app="linkedaccounts"><![CDATA[{{if \IPS\Settings::i()->la_on AND \IPS\Settings::i()->la_groups_allowed == '*' OR \IPS\Member::loggedIn()->inGroup( explode( ',', \IPS\Settings::i()->la_groups_allowed ) )}} Simply checking for NULL first fixes it i.e <template template_group="global" template_name="linkedAccountsGlobalLink" template_data="" template_location="front" template_app="linkedaccounts"><![CDATA[{{if \IPS\Settings::i()->la_on AND \IPS\Settings::i()->la_groups_allowed == '*' OR ( \IPS\Member::loggedIn() != NULL AND \IPS\Member::loggedIn()->inGroup( explode( ',', \IPS\Settings::i()->la_groups_allowed ) ))}} Not sure why \IPS\Member::loggedIn() would return NULL but apparently it does sometimes
Adriano Faria Posted August 14, 2018 Author Posted August 14, 2018 (edited) Can’t reproduce. LoggedIn() will return a guest if it isn’t a member and Guests can’t use this app; Guests isn’t an option in the allowed groups setting. Instead of checking NULL, check if it is a member: if \IPS\Settings::i()->la_on AND \IPS\Settings::i()->la_groups_allowed == '*' OR ( \IPS\Member::loggedIn()->member_id AND \IPS\Member::loggedIn()->inGroup( explode( ',', \IPS\Settings::i()->la_groups_allowed ) ) I’ll take a look in the logs of my both boards. Edited August 14, 2018 by Adriano Faria
Robert Parten Posted October 8, 2018 Posted October 8, 2018 Forgive my stupidity, but I installed it via uploading the tarball; however, the "Linked Accounts" feature isn't available to the users. It shows as an Application which is installed, but no luck. I am running the latest version of the forum software. Any help is appreciated and thanks in advance.
Adriano Faria Posted October 8, 2018 Author Posted October 8, 2018 Just now, Robert Parten said: Forgive my stupidity, but I installed it via uploading the tarball; however, the "Linked Accounts" feature isn't available to the users. It shows as an Application which is installed, but no luck. I am running the latest version of the forum software. Any help is appreciated and thanks in advance. Did you used the settings? Choose which groups can use it?
Robert Parten Posted October 8, 2018 Posted October 8, 2018 First, I applaud the incredibly fast response, I must say I am very appreciative of your response time on this, I know it is community driven, but you've exceeded expectation. My screen is different, I was literally looking for the exact same layout but couldn't find it, I did locate it this way, attached screenshot. Sorry for my ignorance and not investigating the layout of my platform a little better, but your screen shot gave me the hint I needed to find it. Once again, many thanks and forgive me, I am new to this forum software. Adriano Faria 1
Adriano Faria Posted October 8, 2018 Author Posted October 8, 2018 (edited) 2 minutes ago, Robert Parten said: First, I applaud the incredibly fast response, I must say I am very appreciative of your response time on this, I know it is community driven, but you've exceeded expectation. My screen is different, I was literally looking for the exact same layout but couldn't find it, I did locate it this way, attached screenshot. Sorry for my ignorance and not investigating the layout of my platform a little better, but your screen shot gave me the hint I needed to find it. Once again, many thanks and forgive me, I am new to this forum software. Yes, screnshots on Community page can vary due to the resources you got installed. Thanks for your kind words. 🙂 Edited October 8, 2018 by Adriano Faria Robert Parten 1
Dean Spencer Posted December 28, 2018 Posted December 28, 2018 I was wondering if this will have the ability to post as X user in Blogs, Gallery and Downloads.
Adriano Faria Posted December 28, 2018 Author Posted December 28, 2018 I doubt, really. It’s a one-payment only, no renewal... so it doesn’t make things attractive to keep investing time and adding new stuff. The answer for now is no. Maybe in a further version. Anyway, feel free to send a PM. I can extend to other areas for as a custom job. Dean Spencer 1
Edward Collins Jr. Posted January 14, 2019 Posted January 14, 2019 Hi @Adriano Faria! We encountered this error when attempting to search the logs. I am not sure if you can reproduce it, but you need a video clip of it, please do let me know!
Adriano Faria Posted January 14, 2019 Author Posted January 14, 2019 Works fine to me: It seems like a deleted member or something and it's still in the logs. Did remember deleting members recently? Need to know to adjust the MemberSynch extension.
Edward Collins Jr. Posted January 26, 2019 Posted January 26, 2019 @Adriano Faria, Thanks for responding. To my knowledge, we haven't deleted anyone.
Adriano Faria Posted January 26, 2019 Author Posted January 26, 2019 I would need to take a look atw your data. Send a PM with ACP credentials. I’ll take a look today later.
Adriano Faria Posted January 30, 2019 Author Posted January 30, 2019 Compatible with IPS 4.4. Bluto, Joel R and PasXal 3
Joel R Posted February 15, 2019 Posted February 15, 2019 Thank you for upgrade and continued maintenance to 4.4!
Joel R Posted March 20, 2019 Posted March 20, 2019 Currently running Linked Accounts v3.1.5.2 on Invision Community 4.4.
h2ojunkie Posted March 25, 2019 Posted March 25, 2019 Are there any known issues with the latest version of this app on IPS 4.3.6 and chrome? I just bought this app, and it works 100% on firefox. But on chrome, after installing the app, the main navigation doesn't work as intended. The app installs fine, I'm able to go to my account settings and link an account fine but here's where I go wrong For example on mobile - once the app is installed - simply opening the main mobile nav menu causes you to instantly be logged out of the site. On desktop with the full desktop nav - trying to click on the "linked accounts" icon opens the modal for a split second, before it redirects to an error page for the app <board url>/linkedaccounts/accounts/ But this redirect only happens if you've linked an account. If no accounts are linked, clicking the icon opens the modal correctly. The "create" menu and the user menu both open and work, but the notification, PM and report center icons all end up instantly redirecting to the corresponding page for each feature instead of opening the modal. So whatever is causing the linked accounts icon to not properly open the modal without triggering a page navigation, is also affecting the other 3 icons i mentioned. No JS errors thrown. Running support tool and flushing the browser cache have no affect either.
Recommended Posts