Robert222 Posted March 1, 2021 Share Posted March 1, 2021 I'm really liking the Superblocks plugin. Very nice indeed. One thing though, how do you create a block to show a "Featured" article? sobrenome 1 Link to comment
Robert222 Posted March 1, 2021 Share Posted March 1, 2021 When I try to create a superblock to show the latest "Image Reviews" the "Superblock Template" doesn't show up within the 'Template' selection box? sobrenome 1 Link to comment
Robert222 Posted March 1, 2021 Share Posted March 1, 2021 25 minutes ago, Robert222 said: One thing though, how do you create a block to show a "Featured" article? Forget this. I've worked it out. sobrenome 1 Link to comment
Martin Paver Posted March 4, 2021 Share Posted March 4, 2021 Hi all, I had a question about the sizing of images as events. I have attached an image where the large image scales correctly as a smaller version when there are 3 events but when it is highlighted as a showcase, the image doesn't seem to scale right. Any sizing dimensions you suggest would be great 🙂 sobrenome 1 Link to comment
opentype Posted March 4, 2021 Author Share Posted March 4, 2021 36 minutes ago, Martin Paver said: Any sizing dimensions you suggest would be great 🙂 Well, the suggestion would be not to put text on the edges. The images are shown using the CSS background image mode “cover”, so whatever the aspect ratio, there will be no “black bars” on either side. The image is scaled up so it goes from every edge to every opposing edge. But that also means, things can be cut off in one of the two directions. But the calendar does that as well, so that’s not something that needs to be solved just for SuperBlocks. sobrenome and Martin Paver 2 Link to comment
AlexJ Posted March 6, 2021 Share Posted March 6, 2021 @opentype - Please pardon my rookie question. I would like to use superblock but my skills are D- in Pages app. Do you have some video which I can follow? I would like to update my homepage but i am having hard time. I created page and when I try to drag and drop, I don't see blocks. Under blocks option, I don't see superblocks. sobrenome 1 Link to comment
opentype Posted March 7, 2021 Author Share Posted March 7, 2021 (edited) 10 hours ago, AlexJ said: @opentype - Please pardon my rookie question. I would like to use superblock but my skills are D- in Pages app. Do you have some video which I can follow? I would like to update my homepage but i am having hard time. I created page and when I try to drag and drop, I don't see blocks. Under blocks option, I don't see superblocks. It’s a template. You need to create a custom feed block and then assign that template. Then you access that custom block on the front page. Please follow the instruction in the “Additional Information” tab. It walks you through every step. Edited March 7, 2021 by opentype sobrenome 1 Link to comment
sobrenome Posted March 12, 2021 Share Posted March 12, 2021 (edited) For topic feed, superblocks are coded like this: removed Image thumbnail and actual image are the same: {{$items[$counter]['image']= $firstPhoto;}} {{$items[$counter]['image_thumb']= $firstPhoto;}} Is there a way to show the thumbnail on superblocks topic feed? Edited March 13, 2021 by sobrenome Link to comment
opentype Posted March 13, 2021 Author Share Posted March 13, 2021 7 hours ago, sobrenome said: Is there a way to show the thumbnail on superblocks topic feed? Firstly, please remove that larger chunk of code. That’s commercial software I sell. It should not be republished publicly. And to answer your question: unfortunately not. IPS’ function to get topic images doesn’t give access to a thumbnail. Otherwise I would have already done that. sobrenome 1 Link to comment
sobrenome Posted March 13, 2021 Share Posted March 13, 2021 9 hours ago, opentype said: Firstly, please remove that larger chunk of code. That’s commercial software I sell. It should not be republished publicly. Sorry about that. 9 hours ago, opentype said: And to answer your question: unfortunately not. IPS’ function to get topic images doesn’t give access to a thumbnail. Otherwise I would have already done that. I will ask for it on feature suggestions. Thanks! Link to comment
Meowcious Posted April 13, 2021 Share Posted April 13, 2021 (edited) hi @opentype I just installed the SuperBlocks plugin and I can see the templates under the Content tab for some things like a Downloads Feed but for some reason Image Feed and Album Feed is not showing the superblocks as a template selection, I only see the standard one. Any ideas? Edit** I just saw there was an XML to download for Gallery. my mistake!! Please ignore. Edited April 13, 2021 by Meowcious Link to comment
Sonya* Posted April 26, 2021 Share Posted April 26, 2021 Suggestion: templates for the Similar Content Widget (by tags) and Activity Stream Widget. Both default IPS templates look a bit ugly 😄 I wish there were SuperBlocks templates for them. sobrenome 1 Link to comment
opentype Posted April 26, 2021 Author Share Posted April 26, 2021 9 minutes ago, Sonya* said: Suggestion: templates for the Similar Content Widget (by tags) … I could imagine that as a stand-alone template product if there is enough interest. Sonya* and sobrenome 2 Link to comment
Sonya* Posted April 26, 2021 Share Posted April 26, 2021 8 hours ago, opentype said: I could imagine that as a stand-alone template product if there is enough interest. I had a vision. Imagine, there is an app called SuperWidgets. The app has custom templates for system widgets: Recently Browsing with overlapping user avatars like in SuperTopics Who's online with overlapping user avatars like in SuperTopics Similar Content like SuperBlocks Activity Stream like SuperTimeline The app was submitted by @opentype in Marketplace, and I've bought it immediately. End of the vision. 🙃 sobrenome, opentype, Claudia999 and 1 other 4 Link to comment
Maxxius Posted May 3, 2021 Share Posted May 3, 2021 Hello, @opentype I'd like to know can anything be done so Latest blog images would not be served as a full size image? I was checking out the demo but having heavy images will not do well the eyes of search engines. Link to comment
opentype Posted May 3, 2021 Author Share Posted May 3, 2021 1 hour ago, Maxxius said: Hello, @opentype I'd like to know can anything be done so Latest blog images would not be served as a full size image? You can change the blog-specific image settings for the plugin from “show all” to “auto”, which will show less of the hi-res images. Unfortunately, there aren’t any thumbnails available as for Pages for example. Maxxius 1 Link to comment
Dll Posted July 26, 2021 Share Posted July 26, 2021 This is throwing an error for us on 4.6.4 using php 8 (was fine on php 7). Quote TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/html/forum/system/Theme/Theme.php(860) : eval()'d code:2575 Stack trace: #0 /var/www/html/forum/system/Theme/Theme.php(860) : eval()'d code(2575): count(NULL) sobrenome and opentype 1 1 Link to comment
Afrodude Posted August 17, 2021 Share Posted August 17, 2021 The plugin causing this issue after updating to PHP 8 [[Template core/global/plugins/superblocks is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] I created a default theme to test, and I got same result above on topic feeds and post feeds. sobrenome 1 Link to comment
Afrodude Posted August 29, 2021 Share Posted August 29, 2021 (edited) Hi @opentype. I saw other members reported issues with PHP v8 beside me a while ago. Is there any fix coming up soon for this plugin to support PHP v8? Edited September 6, 2021 by Afrodude Dll 1 Link to comment
opentype Posted August 29, 2021 Author Share Posted August 29, 2021 37 minutes ago, Afrodude said: Hi @opentype. I saw other members reported issues with PHP v8 beside me a while ago. Is there any fix coming up soon for thing plugin to support PHP v8? Already submitted. Waiting for approval. Afrodude, Dll and yameth 3 Link to comment
Editorn Posted September 8, 2021 Share Posted September 8, 2021 Hi, Thanks for the update. Are there any differences in the template that will overwrite our modified Superblocks template? Best regards Link to comment
opentype Posted September 8, 2021 Author Share Posted September 8, 2021 24 minutes ago, Editorn said: Hi, Thanks for the update. Are there any differences in the template that will overwrite our modified Superblocks template? Best regards What exactly have you modified? The Pages templates weren’t changed. If they were, you would get an option during the update to compare the changes and decide. What did change was the plugin theme template. If you had changed that, then your custom version would remain until you click “revert” in the theme template editor. You can also see the changes there. Editorn 1 Link to comment
Editorn Posted September 8, 2021 Share Posted September 8, 2021 3 hours ago, opentype said: What exactly have you modified? Thanks for your quick reply. I have modified the template located under core>global>plugins>superblock. As I understand, an upgrade won't break the modifications? Link to comment
haqzore Posted September 8, 2021 Share Posted September 8, 2021 (edited) @opentype - is there a way to make block text/titles links? Ex: Upcoming Events block - make block title a link to the calendar. Forum Replies block - make block title a link to /forums/ etc... Similarly, the labels of the Calendar & Forums under the block contents - could those be made links to the Calendar / Forum / Gallery the associated content is contained within? Quick example: Edited September 8, 2021 by haqzore Link to comment
opentype Posted September 8, 2021 Author Share Posted September 8, 2021 31 minutes ago, Editorn said: Thanks for your quick reply. I have modified the template located under core>global>plugins>superblock. As I understand, an upgrade won't break the modifications? It shouldn’t. But then it also wouldn’t update what needs to be updated for PHP8. As with any theme modifications, you would have to manually resolve these type of conflicts. 13 minutes ago, haqzore said: @opentype - is there a way to make block text/titles links? It’s not an option and there are no plans to make it so. haqzore 1 Link to comment
Recommended Posts