[3.2][BETA] TCS - Topic Cement Style

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
3Di
Former Team Member
Posts: 14381
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][BETA] Topic Cement Style

Post by 3Di » Tue Mar 05, 2019 8:49 pm

shortmort37 wrote:
Tue Mar 05, 2019 11:56 am
I'm unclear on exactly what this means. Should I declare something like this, instead?

'topic_priority' => array('INT:11', 0),

Where does -2,147,483,648 come from, anyway? I know that the least negative number that can be represented in 16 bits (base 2) is -32,768. The least negative number for 11 digits in base 10 would be -99,999,999,999 - no?
1 - Yes.
2 - http://www.mysqltutorial.org/mysql-int/ / https://wiki.phpbb.com/Database_Type_Map#Numeric
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
✒️ Black Friday 2019 @ The Studio ▪️◾️

User avatar
shortmort37
Registered User
Posts: 427
Joined: Sat Aug 26, 2006 8:40 pm
Location: Upper Darby, PA, USA
Name: Dan Morton
Contact:

Re: [3.2][BETA] Topic Cement Style

Post by shortmort37 » Tue Mar 05, 2019 9:51 pm

Ah; the largest range that can be specified in 32 bits. BTW, that range is incorrect; it should be -2,147,483,648 to 2,147,483,647.

User avatar
3Di
Former Team Member
Posts: 14381
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][BETA] Topic Cement Style

Post by 3Di » Tue Mar 05, 2019 10:17 pm

shortmort37 wrote:
Tue Mar 05, 2019 9:51 pm
Ah; the largest range that can be specified in 32 bits.
No, INT has a storage 4 bytes, that's all.
shortmort37 wrote:
Tue Mar 05, 2019 9:51 pm
BTW, that range is incorrect; it should be -2,147,483,648 to 2,147,483,647.
Feel free to correct the Wiki, you can. :)

On a side note, such change should be done within a new migration which depends on the parent, not on an installed extension for sure.
Btw, there could be someone who assigned a priority of ie.: 4294967295 and downgrading the capacity could lead to issues.
Moreover, there is not a minimum/maximum input's error handling in the HTMl anymore, another issue.

Again, I am discouraging the readers to apply such change if not approved (and therefore deeply tested) by us.

Glad to evaluate suggestions/ideas/PRs for this project if done here: https://github.com/phpBB-Studio/TopicCe ... new/choose
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
✒️ Black Friday 2019 @ The Studio ▪️◾️

User avatar
3Di
Former Team Member
Posts: 14381
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][BETA] Topic Cement Style

Post by 3Di » Tue May 21, 2019 8:11 pm

v1.1.1-beta released - see first post.

This version fixes a couple of issues and needs phpBB 3.2.7 to be installed.

For all those who have already downloaded the extension, the update is simple:

1 - disable and DELETE DATA
2 - delete folder
3 - upload new folder
4 - enable
5 - purge cache

:geek:
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
✒️ Black Friday 2019 @ The Studio ▪️◾️

Steppenwind
Registered User
Posts: 19
Joined: Sat Sep 21, 2019 10:00 am

Re: [3.2][BETA] TCS - Topic Cement Style

Post by Steppenwind » Tue Oct 22, 2019 7:56 am

This is a very neat extension, thank you.

One suggestion:

In my opinion the TCS options only need to be displayed when creating (or editing) sticky posts - other than that (while writing regular posts) they're only in the way.

Would it be possible to make them collapsable?

User avatar
3Di
Former Team Member
Posts: 14381
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][BETA] TCS - Topic Cement Style

Post by 3Di » Tue Oct 22, 2019 6:19 pm

We make a differentiation between topic and post and have a better view.
We extend the faculty to all types of topics, I don't understand why only stickies should be taken into account, so no.
That's fine since is a topic cement application. Posts (which follow the topic) do not have it.

To collapse the options menu is something that is already on the table, it will be for the next version.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
✒️ Black Friday 2019 @ The Studio ▪️◾️

Post Reply

Return to “Extensions in Development”