Everything posted by Code Name Jessica
-
What are the limitations for sending attachments?
Code Name Jessica replied to Jędrzej95's topic in Invision Community 5: Beta Testing's Beta DiscussionI wanted to prove what I was saying, but when I: SHOW COLUMNS FROM core_attachments; +--------------------------+--------------------------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------------------+--------------------------------------+------+-----+---------+----------------+ | attach_id | int(11) | NO | PRI | NULL | auto_increment | | attach_ext | varchar(250) | NO | | | | | attach_file | varchar(250) | NO | | | | | attach_location | varchar(250) | NO | MUL | | | | attach_thumb_location | varchar(250) | NO | MUL | | | | attach_thumb_width | smallint(6) | NO | | 0 | | | attach_thumb_height | smallint(6) | NO | | 0 | | | attach_is_image | tinyint(4) | NO | | 0 | | | attach_hits | int(11) | NO | | 0 | | | attach_date | int(11) | NO | | 0 | | | attach_post_key | varchar(32) | NO | MUL | 0 | | | attach_member_id | bigint(20) unsigned | NO | MUL | 0 | | | attach_filesize | int(11) | NO | | 0 | | | attach_img_width | int(11) | NO | | 0 | | | attach_img_height | int(11) | NO | | 0 | | | attach_is_archived | int(11) | NO | | 0 | | | attach_moderation_status | enum('skipped','approved','pending') | NO | | skipped | | | attach_security_key | varchar(255) | YES | | NULL | | | attach_labels | text | YES | | NULL | | | attach_img_rotate | smallint(6) | YES | | 0 | | +--------------------------+--------------------------------------+------+-----+---------+----------------+ attach_filesize is still int(11). That has the 2GB limit... Let me dig into this a little more
-
What are the limitations for sending attachments?
Code Name Jessica replied to Jędrzej95's topic in Invision Community 5: Beta Testing's Beta DiscussionIn IC4, the file size limit was constrained by the int(11) field in the database, which has a maximum value of 2,147,483,647 bytes (~2GB). This is because the int type is a 32-bit signed integer. In IC5, Invision upgraded the relevant database fields to bigint(20), allowing for a maximum file size of 9,223,372,036,854,775,807 bytes (~8EB). This change means the file size limit on the database side is no longer a bottleneck. (At least that is what I understand)
-
[Suggestion] Floating Author Column
Code Name Jessica replied to SeNioR-'s topic in Invision Community 5: Beta Testing's Beta DiscussionUmmm. Ok, if you notice I didn't tag you. This was more for someone else wondering the same thing. Also, I don't use ChatGPT, I use Kate Editor which has no AI crap in it. I will make sure I do not reply to anymore of your posts. Thanks
-
[Suggestion] Floating Author Column
Code Name Jessica replied to SeNioR-'s topic in Invision Community 5: Beta Testing's Beta DiscussionYou can use JavaScript to achieve this by calling: this.getElement().findOne('whatever-the-class-is'); With this approach, you can add, remove, or modify the element as needed. Alternatively, you can locate the relevant CSS and include it in your custom.css file. Here are the pros and cons of each approach: JavaScript: Pros: No need to alter the underlying code, making it easy to implement. Cons: If the id or class changes in future updates, the script will no longer work. CSS: Pros: Minimal editing required, and changes will persist even if your template updates. Cons: Similar to JavaScript, if the id or class changes, your modifications will stop working. Each method has its strengths and weaknesses, so choose based on your specific requirements and how likely it is for the element to change in future updates.