sonimik1 Posted December 25, 2015 Posted December 25, 2015 On 23/12/2015 at 0:45 AM, Mike John said: It might be possible if your willing to change the type of truncate used to "hide" the post rather then remove. Let me know and can put together some edits. But right now it can't extract 1 image from a post and display it separately. Yes please..
Michael.J Posted December 28, 2015 Author Posted December 28, 2015 On 25/12/2015 at 0:25 AM, sonimik1 said: Yes please.. If you open your acp > theme editor > portal > front > browse > topicRow. Find: <div data-ipsTruncate data-ipsTruncate-size='{setting="portal_topic_truncate"} lines' data-ipsTruncate-type='remove' class='ipsType_medium ipsType_richText ipsContained' > {$topic->truncated( false )|raw} </div> Replace With: <div data-ipsTruncate data-ipsTruncate-size='{setting="portal_topic_truncate"} lines' data-ipsTruncate-type='hide' class='ipsType_medium ipsType_richText ipsContained' > {$topic->content()|raw} </div> Save. Try that and see if it works how you wanted. sonimik1 1
Gorgasm Posted December 30, 2015 Posted December 30, 2015 (edited) Can i use this in 3.4.8 ? Thanks Edited December 30, 2015 by Gorgasm
Michael.J Posted January 3, 2016 Author Posted January 3, 2016 On 29/12/2015 at 6:46 AM, sonimik1 said: still the same How the same? No changes at all or not working how you want? On 30/12/2015 at 8:30 PM, Gorgasm said: Can i use this in 3.4.8 ? IPB 3.4 version can be found here.
Michael.J Posted January 5, 2016 Author Posted January 5, 2016 On 3/1/2016 at 7:59 PM, sonimik1 said: No changes at all Can you paste some of the text you changed?
sonimik1 Posted January 6, 2016 Posted January 6, 2016 On 5/1/2016 at 7:57 AM, Mike John said: Can you paste some of the text you changed? Text hides nothingTruncate main topic - 20 out full
ehku Posted January 6, 2016 Posted January 6, 2016 A suggestion to @Mike John: The current layout leaves a wide space below the avatar. Although this does not seem to be a problem on larger screens, it should be optimized for phone screen. I suggest Mike to resize the avatar and put it into the title bar. VoronAlex and prupdated 2
deepsheet Posted January 6, 2016 Posted January 6, 2016 After upgrading to the latest IPB 4.x, I'm getting this error: Wed, 06 Jan 2016 13:18:41 +0000 (Severity: 4) 46.246.xxx.xxx - http://example.com/ Template store key: template_1_2b3106f5121a5ec568245e6eecbe3f60_widgets rebuilding and requested again (portal, front, widgets) ------------------------------------------------------------------------ Forum returns HTTP 500, administration works fine... If I disable the App, forum returns back to normal. Any ideas?
Michael.J Posted January 7, 2016 Author Posted January 7, 2016 18 hours ago, sonimik1 said: Text hides nothingTruncate main topic - 20 out full I'm still unclear about this, can you paste the surrounding changes you made in the acp and theme editor when you applied the find and replace instructions? 15 hours ago, ehku said: A suggestion to @Mike John: The current layout leaves a wide space below the avatar. Although this does not seem to be a problem on larger screens, it should be optimized for phone screen. I suggest Mike to resize the avatar and put it into the title bar. I'll note this for the future and what responsive design changes I can add. 13 hours ago, deepsheet said: After upgrading to the latest IPB 4.x, I'm getting this error: Can you try uninstalling and then re-installing the Portal again? Just tested with v4.1.6.1 and wasn't able to reproduce this error.
sonimik1 Posted January 7, 2016 Posted January 7, 2016 Dear Sir, I keep to your instructions and substitute as you told me but when I select truncate, the post is always complete, no matter the number of lines that I set. The only thing that changes is a text right below that displays a blank space and leaves the whole text right above. What I need to display first is the image of the post right above, and then some text. Regards.
deepsheet Posted January 10, 2016 Posted January 10, 2016 On 1/7/2016 at 5:10 AM, Mike John said: Can you try uninstalling and then re-installing the Portal again? Just tested with v4.1.6.1 and wasn't able to reproduce this error. That did the trick... Weird! Thanks!
Michael.J Posted January 11, 2016 Author Posted January 11, 2016 On 7/1/2016 at 7:37 AM, sonimik1 said: I keep to your instructions and substitute as you told me but when I select truncate, the post is always complete, no matter the number of lines that I set. The only thing that changes is a text right below that displays a blank space and leaves the whole text right above. What I need to display first is the image of the post right above, and then some text. I'll need to troubleshoot this on your board then as I haven't been able to reproduce any issues.
ehku Posted January 13, 2016 Posted January 13, 2016 Hi @Mike John: It seems that the Portal plugin is not compatible with IPS 4.1.7. Could you please check? prupdated 1
Joey_M Posted January 14, 2016 Posted January 14, 2016 (edited) @Mike John - How would I make it three columns instead of just the two? I'd like to have two sidebars, one left and the other right - with the main content within the centre. Sorry, I've decided it's fine as it is. Edited January 15, 2016 by Joey_M
Maxthon_Fr Posted January 15, 2016 Posted January 15, 2016 On Wednesday, January 13, 2016 at 0:22 PM, ehku said: Hi @Mike John: It seems that the Portal plugin is not compatible with IPS 4.1.7. Could you please check? I have this error : 2016/01/15 10:17:37 [error] 2284#0: *495111 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined method IPS\portal\extensions\core\FrontNavigation\Portal::activeOrChildActive() in /var/www/forum4/system/Theme/Theme.php(692) : eval()'d code on line 6929" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: localhost, request: "GET /forum4/index.php?/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "www.maxthon-fr.com", referrer: "http://www.maxthon-fr.com/forum4/index.php?/" Michael.J 1
Greg W Posted January 16, 2016 Posted January 16, 2016 Not working with 4.1.7 here either, I have had to disable it for the site to run Michael.J and prupdated 2
Michael.J Posted January 18, 2016 Author Posted January 18, 2016 Not tested but confirmed. I'm going through a set of IPB 4.1.7 upgrades this week that addresses changes that break any of my apps. prupdated 1
B_U_R_I Posted January 20, 2016 Posted January 20, 2016 Any update on this? I'd like to update, but I'm using portal as my landing page ATM... prupdated 1
prupdated Posted January 22, 2016 Posted January 22, 2016 (edited) On 1/16/2016 at 3:47 PM, Greg W said: Not working with 4.1.7 here either, I have had to disable it for the site to run Same problem here. I was able to work around it for now by editing this file: /applications/portal/extensions/core/FrontNavigation/Portal.php changed line reading: class _Portal to class _Portal extends \IPS\core\FrontNavigation\FrontNavigationAbstract I assume it has to do with some menu issue in 4.1 like is shown in one of the patches to 4.1.7 that refers to this type of error. I'm not sure if this workaround causes any other problems, but this at least got me going on 4.1.7 and easier than restoring back to 4.1.6.1. If you haven't upgraded yet, I would hold off until it's fixed though. Edited January 22, 2016 by prupdated Michael.J 1
Greg W Posted January 24, 2016 Posted January 24, 2016 On 22/01/2016 at 11:25 AM, prupdated said: Same problem here. I was able to work around it for now by editing this file: /applications/portal/extensions/core/FrontNavigation/Portal.php changed line reading: class _Portal to class _Portal extends \IPS\core\FrontNavigation\FrontNavigationAbstract I assume it has to do with some menu issue in 4.1 like is shown in one of the patches to 4.1.7 that refers to this type of error. I'm not sure if this workaround causes any other problems, but this at least got me going on 4.1.7 and easier than restoring back to 4.1.6.1. If you haven't upgraded yet, I would hold off until it's fixed though. Thanks for that, it has got mine working again prupdated 1
Michael.J Posted January 31, 2016 Author Posted January 31, 2016 I've just uploaded a version that fixes a few minor bugs and confirms IP.Board 4.1.x compatibility. Only upgrade if using this version or later. SaltyBart and prupdated 2
SaltyBart Posted February 1, 2016 Posted February 1, 2016 On 18 december 2015 at 10:50 PM, Ramy Daas said: Is it possible to create left blocks with this portal? I'd like to have blocks on both side of the page. Right & Left. Hi Michael, the update 1.5.3 works great! If you have time, can you look to the ability to create left blocks on this potal ? Thanks! Regards, Bart
Michael.J Posted February 2, 2016 Author Posted February 2, 2016 15 hours ago, R-023 said: If you have time, can you look to the ability to create left blocks on this potal ? On the to do list for a future version. webheaded and SaltyBart 2
Recommended Posts