Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 8, 20186 yr About This File This plugin will allow admins to choose which tabs to display in users profile and set their ordering.
June 22, 20195 yr 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, 20195 yr by Giray
June 22, 20195 yr 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.
June 22, 20195 yr Author Just tested on a 4.4.4 with some 3rd-party stuff and works fine: Will take a look in your board.
June 22, 20195 yr Author 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.
June 22, 20195 yr Author @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.
June 30, 20195 yr @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, 20195 yr by Fosters
June 30, 20195 yr 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.
July 2, 20195 yr It's a shame this isn't part of core features, but thank you @Adriano Faria for building it. It works perfectly for me.
July 14, 20195 yr 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, 20195 yr by Sonya*
July 15, 20195 yr Author 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:
September 22, 20195 yr 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?
September 22, 20195 yr Author 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, 20195 yr by Adriano Faria
September 22, 20195 yr 2 minutes ago, Adriano Faria said: Yes, as shown in the video in the post above yours. @jinnie awesome, thanks for the quick reply!
October 10, 20195 yr @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?
October 10, 20195 yr Author 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. 🙂
October 10, 20195 yr 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?
October 15, 20195 yr Author 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.
October 17, 20195 yr 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, 20195 yr by Allfict
October 17, 20195 yr Author 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.