Blockgets with other extensions


User avatar
IvanPF
Site Admin
 
Posts: 1865
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Mon Aug 02, 2021 8:14 pm • via Web
I have created a small plugin to make BBpreview compatible with cBB Blockgets.
In the attached file there are two folders.

The content of the "plugin" folder must be uploaded to the "/ext/" folder. This plugin will do the compatibility.

The "simple view" folder contains modified "FLATBOOTS" style files from blockgets. These files only need to be uploaded if you need the plugin to work with the "simple" view of the blocks. (The only edit they have is that I have added the event "topiclist_row_append")
This event will be added by default in the next version of the cBB Blockgets.

After uploading the files it is necessary to clear the cache for it to be enabled.
Attachments
BBpreview compatibility.zip
(10.01 KB) 35 times
User avatar
Leinad4Mind
 
Posts: 184
Joined: Thu Oct 15, 2015 10:10 pm
 Mon Aug 02, 2021 10:47 pm • via Web
Thanks, works perfectly
User avatar
Leinad4Mind
 
Posts: 184
Joined: Thu Oct 15, 2015 10:10 pm
 Tue Aug 03, 2021 11:54 am • via Web
When creating a new page I got this error: Data too long for column 'page_groups' at row 1 [1406]

This is what I had on page_groups: "5,4,7,2,3,29,26,25,11,18,20,23,12,15,14,22,13,17,16"

And besides BBFront I can't make it work with BBDonation either. The page is donation/index.html.

EDIT: I make a version for the calendar_body.html for flatboots: https://www.diffchecker.com/u95X0yH9

Before:
Image
After:
Image
User avatar
IvanPF
Site Admin
 
Posts: 1865
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Wed Aug 04, 2021 12:29 pm • via Web
EDIT: I make a version for the calendar_body.html for flatboots: https://www.diffchecker.com/u95X0yH9

Thanks. I will include it in the next version
User avatar
Leinad4Mind
 
Posts: 184
Joined: Thu Oct 15, 2015 10:10 pm
 Thu Aug 05, 2021 1:41 pm • via Web
Btw Ivan, on the calendar, the Month information "January 2021" could be a button where we coudl navigate easely between months and years.
User avatar
Leinad4Mind
 
Posts: 184
Joined: Thu Oct 15, 2015 10:10 pm
 Sat Aug 28, 2021 7:51 pm • via Web
Leinad4Mind wrote:
IvanPF wrote:
I came up with this, but the sql I wrote outputs duplicates images, because of the multiple prefixes... how can I join all duplicates prefixes name (b.name)? Is it possible via sql?

To get all the prefixes for each topic, you will have to do two sql queries, one to get the posts info and topic ids and another for the prefixes. I had given you an answer using the functions of the bbprefix extension, but I realized that it did not work well, and I deleted it.
One question:
RIBBON, what format should it have? A string with all the prefixes joined or do you need it to be an array to use it in the style?


A string with all the prefixes joined.
EDIT: In fact, since it can be in some cases very big... let make an array instead, that way the frontend will have more power to style it.


@IvanPF, could you help me out with the sql? Thanks in advance
User avatar
Leinad4Mind
 
Posts: 184
Joined: Thu Oct 15, 2015 10:10 pm
 Tue Dec 07, 2021 6:15 pm • via Web
After a lot of testing and recheck all errors I collected, there is only 3 little issues to solve:

On the Topic Index Block, with Flatboots, the Next button on pagination doesn't work.
And on simple mode (Topic Index Block) the bbemojis aren't parsed and appear as text.
And last, compatability with 2StepAuthentication extension on login block.

PS: If you can help me out on my last post I'll appreciate

Best regards!
Previous

Who is online

Users browsing this forum: No registered users and 1 guest

cron