Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
CP_User Posted September 14, 2016 Posted September 14, 2016 (edited) 4 minutes ago, onlyME said: I will add an option to ignore locked topics. Do you have the same problem when getting contents from forum feed (rss)? Not from RSS, I simply made a new slider, added 1 forum, set permissions and then added to the forums index. When I pressed save, it just displayed a white box, wouldn't load the slider, cleared cache, and browser cache. I did work fine If I selected ALL FORUMS which I thought was weird? But I do have it working now. Edited September 14, 2016 by CP_User
onlyME Posted September 14, 2016 Author Posted September 14, 2016 5 minutes ago, CP_User said: Not from RSS, I simply made a new slider, added 1 forum, set permissions and then added to the forums index. When I pressed save, it just displayed a white box, wouldn't load the slider, cleared cache, and browser cache. I did work fine If I selected ALL FORUMS which I thought was weird? But I do have it working now. May be you turned on 'ignore topics with no images', and in this case, the topics in selected forum don't have any images so the slider is empty.
CP_User Posted September 14, 2016 Posted September 14, 2016 1 minute ago, onlyME said: May be you turned on 'ignore topics with no images', and in this case, the topics in selected forum don't have any images so the slider is empty. This wasn't enabled at first, I only switched it on after I realised that all forums setting worked. With all the default settings the slider wouldn't show. I will see if I can replicate it. Whatever it was, it seems to work fine now. Left the default settings in place and the slider works. So my issues is fixed.
Heyhoe Posted September 14, 2016 Posted September 14, 2016 Any chance of supporting the new Classifieds app from Adriano? On classifieds we can have a package which has the option to FEATURE the ad. If these ads could be placed in your slider that would be fantastic! Lenny Warren, Vladimir Bardiyan and Cav3y 3
Jirinex Posted September 14, 2016 Posted September 14, 2016 I think there is a bug there. I have currently set the feed from pages and to only read 4 records, i don't want any more. It does display only 4, but in the background it loads 10, then cuts it down to 4 to display.
Chris59 Posted September 14, 2016 Posted September 14, 2016 Nope nothing help .... i use 4 themes from ipsfocus and same issue on all of them ....also same on default theme .....
onlyME Posted September 14, 2016 Author Posted September 14, 2016 27 minutes ago, CP_User said: This wasn't enabled at first, I only switched it on after I realised that all forums setting worked. With all the default settings the slider wouldn't show. I will see if I can replicate it. Whatever it was, it seems to work fine now. Left the default settings in place and the slider works. So my issues is fixed. Let me know if you see it again. 18 minutes ago, Heyhoe said: Any chance of supporting the new Classifieds app from Adriano? On classifieds we can have a package which has the option to FEATURE the ad. If these ads could be placed in your slider that would be fantastic! I'm not sure but I will consider. 10 minutes ago, Jirinex said: I think there is a bug there. I have currently set the feed from pages and to only read 4 records, i don't want any more. It does display only 4, but in the background it loads 10, then cuts it down to 4 to display. Yes, it needs to read the page source first to get all rss items, then cuts X items to display. Heyhoe and Vladimir Bardiyan 2
VR6Pete Posted September 14, 2016 Posted September 14, 2016 I have to replicate those settings and did not work I'm afraid. There is no feed as such as I simply just selected the forum sections from the drop down list. The page I am trying to set it up on is: https://www.vr6oc.com/forum/forums/
onlyME Posted September 14, 2016 Author Posted September 14, 2016 1 minute ago, VR6Pete said: I have to replicate those settings and did not work I'm afraid. There is no feed as such as I simply just selected the forum sections from the drop down list. The page I am trying to set it up on is: https://www.vr6oc.com/forum/forums/ Which RSS URL do you use on your slider?
VR6Pete Posted September 14, 2016 Posted September 14, 2016 Just now, onlyME said: Which RSS URL do you use on your slider? There is no RSS feed as I am using the Get contents from "Forum" where I then select the forums I wish to use.
onlyME Posted September 14, 2016 Author Posted September 14, 2016 9 minutes ago, VR6Pete said: There is no RSS feed as I am using the Get contents from "Forum" where I then select the forums I wish to use. I can not reproduce this issue, can you give me the screenshots of slider & widget configurations?
VR6Pete Posted September 14, 2016 Posted September 14, 2016 1 minute ago, onlyME said: I can not reproduce this issue, can you give me the screenshots of slider & widget configurations? on the widget configuration despite selecting my feed associated with forum, it keeps defaulting back to my slider that is on the home page. will upload screenshots shortly. Above, if I select "Forum" and click save, next time I open it again it displays the "Home" widget, so not actually able to select "Forum" for what ever reason, but if I add feed from gallery, it selects and remembers the option OK
onlyME Posted September 14, 2016 Author Posted September 14, 2016 6 minutes ago, VR6Pete said: on the widget configuration despite selecting my feed associated with forum, it keeps defaulting back to my slider that is on the home page. will upload screenshots shortly. Above, if I select "Forum" and click save, next time I open it again it displays the "Home" widget, so not actually able to select "Forum" for what ever reason, but if I add feed from gallery, it selects and remembers the option OK There are 2 options that you enabled "Get last image in last post", "Ignore topics if no images". So if a topic has no images in latest post, it will be ignored. Try to turn off "ignore topics if no images" you will see your slider.
Lenny Warren Posted September 14, 2016 Posted September 14, 2016 4 hours ago, Heyhoe said: Any chance of supporting the new Classifieds app from Adriano? On classifieds we can have a package which has the option to FEATURE the ad. If these ads could be placed in your slider that would be fantastic! I'd love this as well... ? Cav3y and Heyhoe 2
VR6Pete Posted September 14, 2016 Posted September 14, 2016 Still not working I've set it with the most relaxed configuration possible and I know I have images available. I still cannot select "forum" on the widget configuration. It just defaults back to the first value.
CP_User Posted September 14, 2016 Posted September 14, 2016 (edited) Have you tried clearing the site cache and browser cache? Permissions set correctly? Not sure why mine started working randomly after changing the settings. Edited September 14, 2016 by CP_User
onlyME Posted September 15, 2016 Author Posted September 15, 2016 (edited) 10 hours ago, VR6Pete said: I still cannot select "forum" on the widget configuration. It just defaults back to the first value. Try to open \applications\featuredcontent\widgets\fcontentWidget.php Find $form->add( new \IPS\Helpers\Form\Select( 'sliderID_to_show', isset( $this->configuration['sliderID_to_show'] ) ? $this->configuration['sliderID_to_show'] : 0, TRUE, array( 'options' => $options, 'parse' => 'normal' ) ) ); Replace by $form->add( new \IPS\Helpers\Form\Select( 'sliderID_to_show', isset( $this->configuration['sliderID_to_show'] ) ? intval( $this->configuration['sliderID_to_show'] ) : 0, TRUE, array( 'options' => $options, 'parse' => 'normal' ) ) ); Save I see the issue slider can not be shown because all images have dead links. Try to use this cimage version https://invisionpower.com/applications/core/interface/file/attachment.php?id=71715 Or config your cimage to allow external url. Edited September 15, 2016 by onlyME VR6Pete 1
InsideEdge Posted September 15, 2016 Posted September 15, 2016 Hello @onlyME, I've used your great slider for several years, and it was working perfectly up until a couple of days ago when I tried to get to work on my site which causes an error. I believe this has caused your slider to disappear. I've cashed the site many times, I've uninstalled the Global Header Message app from my site, cashed again and uninstalled all the other apps and pluggins and enabled the slider, and it still won't show on the index or my forum page. I'm currently on 4.1.14.3 and I've downloaded and installed your latest version of the featured slider, please take a look. http://www.hockeyforums.net/ thank you
onlyME Posted September 15, 2016 Author Posted September 15, 2016 6 minutes ago, InsideEdge said: Hello @onlyME, I've used your great slider for several years, and it was working perfectly up until a couple of days ago when I tried to get to work on my site which causes an error. I believe this has caused your slider to disappear. I've cashed the site many times, I've uninstalled the Global Header Message app from my site, cashed again and uninstalled all the other apps and pluggins and enabled the slider, and it still won't show on the index or my forum page. I'm currently on 4.1.14.3 and I've downloaded and installed your latest version of the featured slider, please take a look. http://www.hockeyforums.net/ thank you Can you give me ACP access so I can take a look?
VR6Pete Posted September 15, 2016 Posted September 15, 2016 16 hours ago, onlyME said: Try to open \applications\featuredcontent\widgets\fcontentWidget.php Find $form->add( new \IPS\Helpers\Form\Select( 'sliderID_to_show', isset( $this->configuration['sliderID_to_show'] ) ? $this->configuration['sliderID_to_show'] : 0, TRUE, array( 'options' => $options, 'parse' => 'normal' ) ) ); Replace by $form->add( new \IPS\Helpers\Form\Select( 'sliderID_to_show', isset( $this->configuration['sliderID_to_show'] ) ? intval( $this->configuration['sliderID_to_show'] ) : 0, TRUE, array( 'options' => $options, 'parse' => 'normal' ) ) ); Save I see the issue slider can not be shown because all images have dead links. Try to use this cimage version https://invisionpower.com/applications/core/interface/file/attachment.php?id=71715 Or config your cimage to allow external url. Will take a look tomorrow ??
VR6Pete Posted September 16, 2016 Posted September 16, 2016 Morning, Still having issues I'm afraid. the fix for fcontentWidget.php worked, so now able to select the slider. I replaced my cimage folder with the one you provided in the attachment. But the slider is still not displaying. From F12 debugging tools I can see the URLS are loading, but are not being rendered into the slider. Notice some of the off-site URLs are being pulled in by the imageproxy as I am running https on my website. Example: https://www.vr6oc.com/cimage/webroot/img.php?src=https://www.vr6oc.com/forum/applications/core/interface/imageproxy/imageproxy.php?img=https:/scontent.cdninstagram.com/t51.2885-15/s640x640/sh0.08/e35/14031617_1314889621871942_1234446545_n.jpg?ig_cache_key&key=6da7259694889384f3dda53cb8729f313d875d6d73e4a576b9e92e9ce13678e0&w=310&h=220&cf&q=90 I have checked that the real URL is valid, which it is: https://scontent.cdninstagram.com/t51.2885-15/s640x640/sh0.08/e35/14031617_1314889621871942_1234446545_n.jpg Furthermore I have checked locally hosted images, which appear to open OK in browser but are not rendered in a slider, https://www.vr6oc.com/cimage/webroot/img.php?src=https://www.vr6oc.com/forum/uploads/monthly_2016_08/IMG_1472588274.333787.thumb.jpg.6f73550e2093d5e303f4d80a6ce38aae.jpg&w=310&h=220&cf&q=90 Even with cimage disabled, sliders do still not render... Suspect it may have something to do with the image proxy handling as the following just returns a 500 error internal error? https://www.vr6oc.com/forum/applications/core/interface/imageproxy/imageproxy.php?img=http:/uploads.tapatalk-cdn.com/20160914/47a98f4b98da05b8b253087d0d40be8c.jpg&key=20515b650b26ac5f99a2383703f6cc859e539d01021d68599a81b8afca952199 again, http:/uploads.tapatalk-cdn.com/20160914/47a98f4b98da05b8b253087d0d40be8c.jpg is a valid URL to the image.
onlyME Posted September 16, 2016 Author Posted September 16, 2016 There is a known issue with the slider. It can not be shown if it has 1 or more broken images. See it https://www.vr6oc.com/forum/applications/core/interface/imageproxy/imageproxy.php?img=http:/uploads.tapatalk-cdn.com/20160914/47a98f4b98da05b8b253087d0d40be8c.jpg&key=20515b650b26ac5f99a2383703f6cc859e539d01021d68599a81b8afca952199 img=http:/uploads It should be img=http://
onlyME Posted September 16, 2016 Author Posted September 16, 2016 11 minutes ago, VR6Pete said: ah, I see, is there a fix for that ? Check your pm, I sent you a file to fix.
InsideEdge Posted September 16, 2016 Posted September 16, 2016 @onlyME Is there a way to see the entire log / list of slider entries (topics / images) in the ACP as we could before on 3.4.9 ? My site is hosted by IPS and I don't have ftp access. It would just be easier to prune old entries as needed to make sure there aren't any old broken image files.
Recommended Posts