Jump to content

Featured Content for IPS4.x+


Recommended Posts

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 by CP_User
Link to comment
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.

Link to comment
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.

Link to comment
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.

 

Link to comment
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.

forum2.png

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

forum1.png

 

Link to comment
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.

forum2.png

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

forum1.png

 

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.

Link to comment
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.

deadimgs.jpg

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 by onlyME
Link to comment

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

 

Link to comment
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?

Link to comment
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.

deadimgs.jpg

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 ??

Link to comment

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.

cimage.png

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.

 

 

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...