Adriano Faria Posted November 8, 2018 Posted November 8, 2018 About This File This plugin will allow admins to choose which tabs to display in users profile and set their ordering. zomBEE 1
Giray Posted June 22, 2019 Posted June 22, 2019 (edited) Hi Adriano. Bought, uploaded and when I go to edit settings, I get a Something went wrong. Please try again. Also, my profile tabs disappear completely when I enable the plugin. If I disable, they all come back. Thoughts? Thanks! Edited June 22, 2019 by Giray
Giray Posted June 22, 2019 Posted June 22, 2019 Hi. If I go to Error Logs, I don't see an error for the plugin. Weird. Or should I look elsewhere? It might be a conflict. I'll PM you the system log I just found.
Adriano Faria Posted June 22, 2019 Author Posted June 22, 2019 Just tested on a 4.4.4 with some 3rd-party stuff and works fine: Will take a look in your board. Giray 1
Giray Posted June 22, 2019 Posted June 22, 2019 Thanks for the immediate support. Much appreciated, as always.
Adriano Faria Posted June 22, 2019 Author Posted June 22, 2019 The error comes from the other 3rd-party resource indeed. Log is the same from your PM. My plugins "loads" tabs from all apps. There's an error in the tab of this resource, that's why my fails to shows the settings. So I disabled the resource, ran the support tool to clean the board cache and it works: - Settings: - Profile view: After re enble the resource, the error comes back. So ask suppor for the other dev and show the error log. He probably just need to use a try/cache to prevent the OutOfRangeException, which is the error. Giray 1
Adriano Faria Posted June 22, 2019 Author Posted June 22, 2019 @Giray, when you click in the pencil to adjust the settings of my plugin, just click to open on a new tab then you will get the proper and resumed error. Giray 1
Fosters Posted June 30, 2019 Posted June 30, 2019 (edited) @Girays issue was our trophies tab, which called \IPS\Module::get('trophies','modulename') which works for everybody.. BUT, your plugin is calling the tab extensions (which are meant to be called only from the frontend), from the ACP, so the module can't be found. I have adjusted now my code and passed the 3rd parameter for the "area" to search for a frontend module. /** * Get a module * * @param string $app * @param string $key * @param string|NULL $area * @return \IPS\Application\Module * @throws \OutOfRangeException */ public static function get( $app, $key, $area=NULL ) I guess this could be useful for other coders too.. Edited June 30, 2019 by Fosters Adriano Faria and Giray 2
Giray Posted June 30, 2019 Posted June 30, 2019 Thank you!! And thank you for reaching out to other coders in a spirit of cooperation (a good lesson for all of us). I look forward to getting other great apps from you.
CheersnGears Posted July 2, 2019 Posted July 2, 2019 It's a shame this isn't part of core features, but thank you @Adriano Faria for building it. It works perfectly for me. Adriano Faria and Giray 1 1
Sonya* Posted July 14, 2019 Posted July 14, 2019 (edited) What happens if I set the tab About me to be first and there is no this tab in the user profile? Because he has not filled out the field. Will it fallback to the second tab I've defined or the activity tab? Edited July 14, 2019 by Sonya*
Adriano Faria Posted July 15, 2019 Author Posted July 15, 2019 1 hour ago, Sonya* said: What happens if I set the tab About me to be first and there is no this tab in the user profile? Because he has not filled out the field. Will it fallback to the second tab I've defined or the activity tab? Yes, About Me and Clubs do not show if they're empty: Sonya* 1
jinnie Posted September 22, 2019 Posted September 22, 2019 Quick question. If I set a new order, will the first tab I set in that order be the one that shows up as the default page when users click on their profiles? For example, I basically want the About Me tab to be the page that opens when people click on profiles while right now it links to the Activity tab so if I set the order to have the About Me one first will it do that?
Adriano Faria Posted September 22, 2019 Author Posted September 22, 2019 (edited) Yes, as shown in the video in the post from June 22. Not able to paste lunks here. There’s a bug on iOS13. @jinnie Edited September 22, 2019 by Adriano Faria
jinnie Posted September 22, 2019 Posted September 22, 2019 2 minutes ago, Adriano Faria said: Yes, as shown in the video in the post above yours. @jinnie awesome, thanks for the quick reply!
Maxxius Posted October 10, 2019 Posted October 10, 2019 @Adriano Faria I don't think this mod has anything which would help in the case when forum has too many Tabs and all of their titles are cut after 3+ characters because IPS software wants to fit all the tabs just in 1 line and making tab titles as short as it can. Which makes this whole profile tab feature less attractive and illegible. So could your mod be upgraded or another mod be made to allow to list tabs in two or more lines to their titles are displayed in full?
Adriano Faria Posted October 10, 2019 Author Posted October 10, 2019 Yes, it doesn't has and it isn't its purpose. If you too many tab, hide some. That's the purpose of the plugin. 🙂
Maxxius Posted October 10, 2019 Posted October 10, 2019 Yes I understand - not the purpose. But in theory since all tabs are valuable is there a way to fit tabs in multiple lines? As another plugin I mean, is that doable?
Allfict Posted October 15, 2019 Posted October 15, 2019 Plugin didn't work for me on 4.4 I get an error: what can i do to fix this?
Adriano Faria Posted October 15, 2019 Author Posted October 15, 2019 5 hours ago, Allfict said: Plugin didn't work for me on 4.4 I get an error: what can i do to fix this? Anything in the logs? Instead of clicking in the pencil, click to open on a new tab; it will show you the error.
Allfict Posted October 17, 2019 Posted October 17, 2019 (edited) On 10/15/2019 at 1:44 AM, Adriano Faria said: Anything in the logs? Instead of clicking in the pencil, click to open on a new tab; it will show you the error. this is what I got: A configuration or server error has occurred EX0 Something went wrong. Please try again. TECHNICAL DETAILS OutOfRangeException: (0) OutOfRangeException: (0) #0 public_html/init.php(816) : eval()'d code(70): IPS\Application\_Module::get('trophies', 'items') #1 public_html/applications/trophies/extensions/core/Profile/TrophiesAndMedals.php(40): IPS\trophies_hook_Member->canViewTrophies() #2 public_html/applications/core/modules/admin/applications/plugins.php(973) : eval()'d code(31): IPS\trophies\extensions\core\Profile\_TrophiesAndMedals->showTab() #3 public_html/applications/core/modules/admin/applications/plugins.php(973): eval() #4 public_html/system/Dispatcher/Controller.php(85): IPS\core\modules\admin\applications\_plugins->settings() #5 public_html/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute() #6 public_html/applications/core/modules/admin/applications/plugins.php(43): IPS\Node\_Controller->execute() #7 public_html/system/Dispatcher/Dispatcher.php(152): IPS\core\modules\admin\applications\_plugins->execute() #8 public_html/admin/index.php(14): IPS\_Dispatcher->run() #9 {main} Edited October 17, 2019 by Allfict
Adriano Faria Posted October 17, 2019 Author Posted October 17, 2019 5 minutes ago, Allfict said: this is what I got: That has happened before and It is an issue in the Trophies app: You better try with Fosters as he said it was fixed.
Recommended Posts