iacas Posted October 23, 2020 Posted October 23, 2020 I'm waiting on this bug to be fixed, and iAwards to be updated, and then I think I can finally upgrade to 4.5, now 4.5.4. Justin Stellman 1
marco2306 Posted October 25, 2020 Posted October 25, 2020 Unfortunately does not work in IPS 4.5. Today 2 users registered and no post was created, although everything was set and activated. How can I fix that?
DawPi Posted October 26, 2020 Posted October 26, 2020 Open: applications/autowelcome/sources/Alerts/Alerts.php Find: $topic->pinned = ( \IPS\Settings::i()->aw_topic_settings && mb_strpos( \IPS\Settings::i()->aw_topic_settings, 'pin' ) !== false ) ? TRUE : FALSE; $topic->state = ( \IPS\Settings::i()->aw_topic_settings && mb_strpos( \IPS\Settings::i()->aw_topic_settings, 'close' ) !== false ) ? 'closed' : 'open'; Change to: $topic->pinned = ( \IPS\Settings::i()->aw_topic_settings && \in_array( 'pin', \IPS\Settings::i()->aw_topic_settings ) ) ? TRUE : FALSE; $topic->state = ( \IPS\Settings::i()->aw_topic_settings && \in_array( 'close', \IPS\Settings::i()->aw_topic_settings ) ) ? 'closed' : 'open'; Save, upload & test if it helped. optrexnz 1
bosss Posted October 26, 2020 Posted October 26, 2020 4 hours ago, DawPi said: Open: applications/autowelcome/sources/Alerts/Alerts.php Find: $topic->pinned = ( \IPS\Settings::i()->aw_topic_settings && mb_strpos( \IPS\Settings::i()->aw_topic_settings, 'pin' ) !== false ) ? TRUE : FALSE; $topic->state = ( \IPS\Settings::i()->aw_topic_settings && mb_strpos( \IPS\Settings::i()->aw_topic_settings, 'close' ) !== false ) ? 'closed' : 'open'; Change to: $topic->pinned = ( \IPS\Settings::i()->aw_topic_settings && \in_array( 'pin', \IPS\Settings::i()->aw_topic_settings ) ) ? TRUE : FALSE; $topic->state = ( \IPS\Settings::i()->aw_topic_settings && \in_array( 'close', \IPS\Settings::i()->aw_topic_settings ) ) ? 'closed' : 'open'; Save, upload & test if it helped. Should we make those changes in 2.5.6 (ips 4.4) ver or 2.6.1 (ips 4.5)?
DawPi Posted October 26, 2020 Posted October 26, 2020 4.5.x. But I didnt tested it well so please make backup first. bosss 1
optrexnz Posted October 27, 2020 Posted October 27, 2020 19 hours ago, DawPi said: Open: applications/autowelcome/sources/Alerts/Alerts.php Superstar as usual @DawPi I can confirm the edit works and new members are now welcomes again on 4.5.4 Now does anyone know how I can get an active @ tag in a post please as that would make me extremely happy?
DawPi Posted October 27, 2020 Posted October 27, 2020 6 hours ago, optrexnz said: Now does anyone know how I can get an active @ tag in a post please as that would make me extremely happy? What you mean?
bosss Posted October 27, 2020 Posted October 27, 2020 13 hours ago, optrexnz said: Superstar as usual @DawPi I can confirm the edit works and new members are now welcomes again on 4.5.4 Now does anyone know how I can get an active @ tag in a post please as that would make me extremely happy? Just tested and for me works not - no topics, no PM and no email.
Dknelson Posted October 27, 2020 Posted October 27, 2020 Same for me. I installed it but it's not generating a post. I'm running the latest version of 4.5.
bosss Posted October 27, 2020 Posted October 27, 2020 (edited) 11 minutes ago, Dknelson said: Same for me. I installed it but it's not generating a post. I'm running the latest version of 4.5. Me too - run latest version but i downgrade to ver 2.5.6 and made test - worked fine - created topic and sent PM - email disabled! Edited October 27, 2020 by bosss
bosss Posted October 27, 2020 Posted October 27, 2020 4 minutes ago, Dknelson said: How do I downgrade to that version? PM sent!
bosss Posted October 27, 2020 Posted October 27, 2020 (edited) 10 minutes ago, asigno said: I still can't even install it. Where is problem and which version? Edited October 27, 2020 by bosss
optrexnz Posted October 27, 2020 Posted October 27, 2020 (edited) 5 hours ago, bosss said: Just tested and for me works not - no topics, no PM and no email. Maybe it depends on what php version you are using? v7.4.11 Doing a dream here. I commented out the 2 lines it replaced and just pasted in the new entries. I have my topic set to post 1 hour after joining. 13 hours ago, DawPi said: What you mean? In my welcome topic, I say Hello Dawpi, welcome to the site. I want it to say Hello @DawPi, welcome to the site Edited October 27, 2020 by optrexnz
bosss Posted October 27, 2020 Posted October 27, 2020 (edited) 3 minutes ago, optrexnz said: Maybe it depends on what php version you are using? Doing a dream here. I commented out the 2 lines it replaced and just pasted in the new entries. I have my topic set to post 1 hour after joining. Tested with php 7.3.1 and 7.4 - works not (with changes). Downgrade to ver 2.5.6 works fine (posted immediately) Edited October 27, 2020 by bosss
Dknelson Posted October 29, 2020 Posted October 29, 2020 (edited) On 10/27/2020 at 6:22 PM, bosss said: Tested with php 7.3.1 and 7.4 - works not (with changes). Downgrade to ver 2.5.6 works fine (posted immediately) Thanks much. Downgrading to 2.5.6 worked for me also. Edited October 29, 2020 by Dknelson
Olmyster Posted October 29, 2020 Posted October 29, 2020 On 10/27/2020 at 6:09 PM, Dknelson said: How do I downgrade to that version? Same question for me. Thanks.
Dknelson Posted October 29, 2020 Posted October 29, 2020 You will have to remove the new version, get a copy of the old version, and manually install it.
Michael.J Posted November 4, 2020 Author Posted November 4, 2020 I've got a new update ready that is just being tested a bit more by a few others and then will be released soon. (Because of the previous update causing problems, I'm a bit more cautious this release.) These are the changes, if you've got any more bugs to report, please let me know now. Bug fix for validate member. Bug fix with topic settings stopping new welcome alerts. Background queue to convert and then remove the legacy welcome member field. Only members who joined within 2 weeks will receive the time delay welcome. Mercury5, asigno, The Old Man and 4 others 4 3
Square Wheels Posted November 4, 2020 Posted November 4, 2020 7 hours ago, Michael.J said: I've got a new update ready that is just being tested a bit more by a few others and then will be released soon. (Because of the previous update causing problems, I'm a bit more cautious this release.) These are the changes, if you've got any more bugs to report, please let me know now. Bug fix for validate member. Bug fix with topic settings stopping new welcome alerts. Background queue to convert and then remove the legacy welcome member field. Only members who joined within 2 weeks will receive the time delay welcome. Thank you!!!
Michael.J Posted November 17, 2020 Author Posted November 17, 2020 The update has been uploaded and is pending approval. The Old Man, Square Wheels, Kenneth Baker and 1 other 2 2
Dean_ Posted November 19, 2020 Posted November 19, 2020 Updated from 2.5.6 and the welcome post still do not work. Uninstalled and gone back to the previous version again mate.
Olmyster Posted November 19, 2020 Posted November 19, 2020 1 hour ago, Dean_ said: Updated from 2.5.6 and the welcome post still do not work For me, it's work fine now. Thanks @Michael.J.
asigno Posted November 19, 2020 Posted November 19, 2020 Thanks for the update @Michael.J, I've tried to update from 2.6.0 to 2.6.2 but still get the following error, even after the manual code change you recommended. Sorry, you do not have permission for that! 1S111/1 Duplicate entry '2' for key 'PRIMARY'
Recommended Posts