SMFHacks.com

SMF Gallery Pro => Support => Bugs => Topic started by: VividViews on September 16, 2011, 04:36:02 pm

Title: "SMF Gallery Random Image" ezBlock ignores "Number of items per row" parameter
Post by: VividViews on September 16, 2011, 04:36:02 pm
Using SMF 2.0 Final & EzPortal 0.5.1

For the "SMF Gallery Random Image" ezBlock, it doesn't matter what I enter for "Number of items per row". I always get 1 row of images.

I tried entering 8 for "Number of Images to show" and 4 for "Number of items per row" thinking I'd get two rows of four images. Nope. I got one row of eight images. This is an issue for us as our theme kinda breaks when mobile devices hit the home page. If we had rows, they'd be fine.

Tried clearing the SMF file cache and disabling caching as well.
Title: Re: "SMF Gallery Random Image" ezBlock ignores "Number of items per row" parameter
Post by: SMFHacks on September 16, 2011, 07:53:52 pm
To confirm is this part of ezPortal and not SMF Gallery addons or anything
Title: Re: "SMF Gallery Random Image" ezBlock ignores "Number of items per row" parameter
Post by: VividViews on September 17, 2011, 05:41:55 pm
Not really sure. Here are the packages I have installed:

Code: [Select]
1. Facebook_Like v.2.0 2.0
2. Facebook Video BBC 1.0
3. Newsletter Pro 2.0.7
4. Member Notepad 1.0.1
5. SMF Gallery Pro Recent Profile Images 2.0.1
6. Admin Notepad 2.0.1
7. EzPortal 0.5.1

9. Pretty URLs 1.0RC4
10. SMF Gallery Pro SSI 2.1.1
11. SMF Gallery Pro - Video AddOn 3.5.2
12. SMF Gallery Pro 3.0.25
13. reCAPTCHA for SMF 0.9.8a

15. Dream Menu 1.0.6
16. Pretty URLs Extras 1.0
17. Spiders Don't Increase Topic Views 1.1.1

If there's an addon I can install, I'd happily try/use that
Title: Re: "SMF Gallery Random Image" ezBlock ignores "Number of items per row" parameter
Post by: SMFHacks on September 17, 2011, 05:51:58 pm
Yeah that screenshot is part of ezPortal.
Title: Re: "SMF Gallery Random Image" ezBlock ignores "Number of items per row" parameter
Post by: VividViews on September 17, 2011, 06:06:40 pm
Is there any addon of yours I can use? Any suggestion for a fix? I tried digging around the source code files to find the code that generates this block but I came up empty. I'm also a programmer and if I knew where the code was, and had a hint, I could at least take a stab at a fix
Title: Re: "SMF Gallery Random Image" ezBlock ignores "Number of items per row" parameter
Post by: SMFHacks on September 17, 2011, 06:07:28 pm
I built ezPortal so will have to check that out and look for a fix.
Title: Re: "SMF Gallery Random Image" ezBlock ignores "Number of items per row" parameter
Post by: VividViews on September 17, 2011, 06:13:31 pm
PM sent with admin login so you can poke around and get answers to any config questions you may have
Title: Re: "SMF Gallery Random Image" ezBlock ignores "Number of items per row" parameter
Post by: SMFHacks on September 17, 2011, 06:43:13 pm
Fixed post new version of ezPortal 0.5.2 to fix this issue.
Title: Re: "SMF Gallery Random Image" ezBlock ignores "Number of items per row" parameter
Post by: VividViews on September 19, 2011, 02:00:29 pm
Thanks! That fixed it