Adriano Faria Posted December 8, 2015 Author Posted December 8, 2015 Tks for letting me know. I'll fix it for the next version. In the meantime, you need to delete of the lang keys: either membersAway_days_desc or membersaway_days_desc then you can translate it. Do you want a query for it or can you do it ?
Gabriel Torres Posted December 8, 2015 Posted December 8, 2015 @Adriano Faria please provide me with a query that I can run here, I have no clue about the new database structure... Thanks
Adriano Faria Posted December 8, 2015 Author Posted December 8, 2015 1 minute ago, Gabriel Torres said: @Adriano Faria please provide me with a query that I can run here, I have no clue about the new database structure... Thanks Give a few minutes. Goingo to my PC. I'm on a mobile device now.
Adriano Faria Posted December 8, 2015 Author Posted December 8, 2015 57 minutes ago, Gabriel Torres said: @Adriano Faria please provide me with a query that I can run here, I have no clue about the new database structure... Thanks Better than that: Quote What's New in Version 2.1.2: Fixed a duplicated language string, which was preventing the correct translation of a language bit. New version removed the duplicated language bit on my tests. Try it.
Gabriel Torres Posted December 8, 2015 Posted December 8, 2015 @Adriano Faria Here is the thing, and I hope you will understand my feedback. If I simply upgrade the plugin, the duplicate language strings are still present. So I assume that I have to uninstall the old version and install the new version. However, the install/uninstall process of this plugin takes forever, eventually giving a server timeout. This happens because the install/uninstall script creates new rows at the core_members table.This works fine for small forums, but on a big forums like ours, with half million users, this is simply not the best way to do it. Any addition or removal of new rows to the core_members table on a forums with 500.000 records will take several minutes. A more intelligent solution, IMHO, is to create a new table with the data you want. The creation/removal of this table would be very fast, and this table would take up much less space on the database as well, since there won't be too many users using this feature at the same time, and this table would hold data only for the users that have the member away feature enabled. If the member_id is not in this table, this means the user doesn't have this feature enabled. BTW. This is an issue with several of your plugins. I don't want to play down the importance of all your plugins, but usually they are tested at your side on a forum that doesn't have too many users/topics/posts and they work fine, so you are not able to see the issue I am talking about. So, in summary, I am stuck, as I can't remove the plugin, as the uninstaller times out probably while trying to DROP the rows it added. I don't know if it would be safe to manually drop those via command shell and then try to uninstall.
Adriano Faria Posted December 9, 2015 Author Posted December 9, 2015 13 hours ago, Gabriel Torres said: Any addition or removal of new rows to the core_members table on a forums with 500.000 records will take several minutes. Yes, if you have 500.000 records in your table, ANY plugin will take a long time, not just this one. 13 hours ago, Gabriel Torres said: BTW. This is an issue with several of your plugins. I don't want to play down the importance of all your plugins, but usually they are tested at your side on a forum that doesn't have too many users/topics/posts and they work fine, so you are not able to see the issue I am talking about. This is something I can't improve. My board has 33,800 users with 191,486 posts. That's all I got; that's where I can I test any resource. I don't think anyone with a big board, like you, will borrow their board to make tests, do you ? 13 hours ago, Gabriel Torres said: A more intelligent solution, IMHO, is to create a new table with the data you want. A new table will result in a new query everywhere. That, in my POV, is not acceptable and if it can be avoided, I do. Things like that are added on members table because it is already loaded. Plus, a topic with 2, 3, 7 users will work fine... but in a busy board with 100, 200 users in a topic, It will not be a good thing to try.
Gabriel Torres Posted December 9, 2015 Posted December 9, 2015 @Adriano Faria here is the thing I am stuck at the moment with this plugin. I need to uninstall it and install it again, but I am stuck. The maximum I could do was to disable it. If I try to uninstall it, the page goes blank. So I guess I would need to force its removal or do a manual removal, but I don't know how to do it. Or, I could simply leave it installed and manually delete the duplicate phrases. I don't know how to do it. In fact, I asked you to tell me how to do this manually, but instead you provided us with a new version. I know that you wanted to help me out, however due to the issue I described, I believe it is better to simply delete the duplicate phrases. Can you help me? Thanks.
Adriano Faria Posted December 9, 2015 Author Posted December 9, 2015 Funny because it worked on my test. Anyway, let's delete the duplicated phrases. Run this query on your PHPMyAdmin or SQL Toolbox: SELECT * FROM core_sys_lang_words WHERE word_key = 'membersAway_days_desc' It will appear twice, if you have 2 languages. As it is duplicated, will appear 4 times. Take note of the word_id in results. Then delete it. delete FROM core_sys_lang_words WHERE word_id IN( XXXX, YYYY ) Add the prefix to your table, in case you use one. Gabriel Torres 1
Gabriel Torres Posted December 9, 2015 Posted December 9, 2015 Thanks for the help! I will try and let you know what happens! Adriano Faria 1
Gabriel Torres Posted December 9, 2015 Posted December 9, 2015 @Adriano Faria that indeed solved the issue of duplicate phrases, but now I get messages like "[[Template core/global/plugins/memberAwayGlobalWarn does not exist. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]" This is happening probably because I tried to remove the plugin, and it is seems part of it was removed. If I try to uninstall it, I get: This webpage is not available ERR_CONTENT_DECODING_FAILED The webpage at (hidden) might be temporarily down or it may have moved permanently to a new web address. I tried to upgrade it with itself, but then I get a 500 error. I wonder if there is a way to force this plugin to be removed or a manual way to get rid of it, as right now my only option is to disable it... Thanks.
Adriano Faria Posted December 9, 2015 Author Posted December 9, 2015 That's because it removed the template when you tried to uninstall it. Run the Support tool on your ACP -> System -> Support -> Something isn't working correctly to update the cache. Or provide ACP access so I can fix it.
Gabriel Torres Posted December 9, 2015 Posted December 9, 2015 Hi, I tried that and it didn't work. I will provide you with ACP details. Sending you a PM.
Adriano Faria Posted December 12, 2015 Author Posted December 12, 2015 On 09/12/2015 at 8:18 PM, Gabriel Torres said: Hi, I tried that and it didn't work. I will provide you with ACP details. Sending you a PM. All fixed. Please, try. Tripp★ and Gabriel Torres 2
Gabriel Torres Posted December 12, 2015 Posted December 12, 2015 Everything is working fine now. Thank you so much for going the extra mile and provide an outstanding support! Adriano Faria 1
Adriano Faria Posted January 29, 2016 Author Posted January 29, 2016 What's New in Version 2.1.3: Script optimization on plugin uninstall Gabriel Torres 1
duyfr Posted March 16, 2016 Posted March 16, 2016 i just installed but it dont show in profile page ?
duyfr Posted March 16, 2016 Posted March 16, 2016 59 minutes ago, duyfr said: i just installed but it dont show in profile page ? no problem now , just because my custom skin , fixed
duyfr Posted March 19, 2016 Posted March 19, 2016 hello again me , just 1 small suggestion , can you add 1 function show a notice when someone change their status "member away" ?
Adriano Faria Posted March 21, 2016 Author Posted March 21, 2016 On 19/03/2016 at 9:39 AM, duyfr said: can you add 1 function show a notice when someone change their status "member away" ? It already appears in all posts + user profile. Isn't it enough? Tripp★ 1
Adriano Faria Posted March 26, 2016 Author Posted March 26, 2016 What's New in Version 2.1.4: IPS 4.1.9 Compatibility
duyfr Posted March 28, 2016 Posted March 28, 2016 On 20/03/2016 at 10:51 PM, Adriano Faria said: It already appears in all posts + user profile. Isn't it enough? it would be nice , it make more easy to control our member activity , some member dont have to much post , and now he is a "member away" i dont think i can find his post easily , 1 option notice to 1 group (ex : admin ) when 1 member change their status "member away" or 1 list can show all member away , it will help us to much ,
Adriano Faria Posted March 28, 2016 Author Posted March 28, 2016 6 hours ago, duyfr said: it would be nice , it make more easy to control our member activity , some member dont have to much post , and now he is a "member away" i dont think i can find his post easily , That's why there's a tab on ModeratorCP to list all members away:
HLCWarrior Posted April 9, 2016 Posted April 9, 2016 i just purchased but its not working please help
Adriano Faria Posted April 9, 2016 Author Posted April 9, 2016 4 minutes ago, HLCWarrior said: i just purchased but its not working please help What doesn't work exactly?
Recommended Posts