Jump to content

PinPics

Clients
  • Posts

    230
  • Joined

  • Last visited

Reputation Activity

  1. Like
    PinPics reacted to Matt Finger in Invision Community 5: The all-new editor   
    Invision Community 5 has a brand new editing experience powered by a lightweight, fast React text editor built for mobile and modern browsers.
    The venerable CKEditor v4 at the core of our current editor is starting to show its age, so we wanted a clean slate with Invision Community v5 with an editor that was optimized for mobile use, easily extensible and had a feature set that would take us into the next era of Invision Community and beyond.
    The obvious choice was to consider the latest version of CKEditor, but it didn't fit our needs as it wasn't easily extensible, external plug-ins would no longer be possible, and its large footprint would affect page speed scores and be painful to use with a mobile connection.
    After a long search, we settled on Tiptap as the base for our editor. Written in React, loaded in chunks when needed for optimal performance and with many APIs and extensibility options, it was the perfect fit.

    Aside from the technical improvements, the editor offers new tools and a great base for writing our own plugins. I'll walk you through the main features throughout this blog. If you want a more technical deep dive, then please see my development blog.
    The Toolbar
    The toolbar has been redesigned to put the most commonly used styles first, with the least used styles and functions into an ellipses menu. The new paragraph menu contains the header styles, as well as the code block. The plus menu adds lists, boxes and quotes. The benefit of this new compact menu is that it displays just the same on mobile. Currently, there are different editor styles for desktops, tablets and mobiles with some style buttons removed to save space. With Invision Community 5, this is no longer the case. Even the smallest display gets all the functionality.
    mobile-toolbar.mp4
     
     
    Emojis & Icons
    Emojis have become a great way to embellish writing and express emotion. The new emoji picker has been modernized with larger emojis and tooltips to showcase the emoji shortcodes.
    The Icons tab, new for Invision Community 5, allows you to add Font Awesome Icons directly to your content.

    Lastly, both the emoji selector and the shortcode suggestion dropdown support arrow-key navigation, so you don't have to move your hands from the keyboard to the mouse.
    Content Boxes
    The feature I'm personally most excited about is boxes.
    The concept started as an abstraction of spoilers because sometimes you just want "a box" - a section that stands out from the rest of the content, something we do manually in our documentation and guides on this site. Each box has a tile and the following options:
    Expandable - You can mark a box as "expandable" which is functionally the same as a spoiler. One improvement is that expandable boxes use native HTML details and summary elements instead of plain Javascript animated divs. Colors - You can optionally keep it grey on grey like spoilers, but I think that's so boring! The colors automatically adjust to the theme colors, so it will look great in dark and light mode. Float (left/right/none) - You can make the box align to the left or right of other content just like you can for images Width - When the box is floated, you can set the width to big, medium or small. Boxes.mp4
    Link Expansion
    Invision Community has long expanded some links, such as YouTube, offering more context or even a mini-player where appropriate.
    With Invision Community 5, we've added support for embedding dynamic link previews using site metadata. This is a preview of a topic on our forum.

    For those unaware, the Open Graph (OG) Protocol is essentially a way webpages can specify a title, image, and description to be dynamically embedded on another platform. This is the underlying technology when you see the link preview in Meta, X, Slack, or iMessage.
    Code Blocks and Inline Code
    The new editor adds inline, syntax-highlighted code blocks and inline code. Both formats can be applied via the toolbar, or optionally, you can wrap text in a single backtick (`) to convert it to an inline code block or triple backticks (```) to convert it to a code block.

    The code blocks also support numerous languages for syntax highlighting, including a new custom highlighter for the Invision HTML Template Syntax (Invision Community theme creators and application developers, you're welcome!)
    Semantic Headings and Relative Sizes
    Invision Community 5 adds a block selector with headings 1 through 6 in the new editor. It's possibly the most common request I hear so that people can use consistent styling rather than just big bold text in a paragraph tag. Semantic headings are also ideal for SEO and accessibility.
    In addition to the block selector, you can create headings with the corresponding markdown shortcut. Consecutive pound signs (#) at the start of a line followed by a space (the number of pounds corresponds to the "level" of the heading). For example ### creates a Heading 3 (<h3/>) creates the heading for you.
    Using clear header tags means screen readers and search engines can better understand your content as using absolute font sizes, such as 16px, can make it unclear what type of element is actually being used. Is it a heading or just a paragraph with large bold text?
    Furthermore, you may want different sizes depending on the content and device type. Mobile devices may benefit from a large base font size. So we added percent-based font sizes which change the font size based on whatever the default would be for that block.
    text-menus.mp4
    Further UX Improvements
    The new editor in Invision Community 5 has several tangible improvements, including a mobile-first design.
    In the current editor, some functionality was hidden behind modals and double clicks, which are either not obvious on mobile devices or not possible at all. The new editor no longer relies on modals and instead uses buttons and dropdown menus that work perfectly with mobile and other touch-based devices.
    New Line Arrows
    For block content, such as boxes, images and quotes, we've added the ability to create a new line before or after the block with the click of a button. This was an issue of frustration for mobile and touch devices where it was not always clear where the cursor was and a finger is a much less accurate aiming device!

    Sticky Toolbar
    Anyone who has authored a long piece of content knows the pain of scrolling up and down to get the toolbar in view. To make writing longer content less stressful, we've made the toolbar sticky so that it will always be fixed at the top of the editor after scrolling down.
    sticky-toolbar.mp4
    Markdown Style Shortcuts
    One common request is to support markdown in the editor. While we opted not to include full markdown support, the new editor recognizes many markdown-style formatting shortcuts.
    markdown.mp4
    Colors
    A common challenge with rich text editors on sites with multiple themes is colors often need to consistently look right across all themes. This is even more important with Invision Community 5, as it has a native dark mode feature. For this reason, we opted to offer a reduced set of color options that all adapt dynamically to the theme. I mentioned this about box colors above, but this is also true of the font color. The difference in shade is slight, but it's very noticeable without it. Toggling between light and dark mode will never produce unreadable text.
    colors.mp4
    We can't wait for you to try the new editor; it has already been very popular with our small testing group. Which feature are you most looking forward to trying?

    View full blog entry
  2. Like
    PinPics got a reaction from pihu02 in Adding Links in footer area?   
    Hi!
    Where do I find the option to create links in the footer area like you have here?

    Thanks!
  3. Like
    PinPics reacted to teraßyte in [BUG 4.7.16] Exception thrown when editing a member's restrictions in ACP with Downloads application   
    This exception is thrown when editing a member's Warnings & Restrictions from an ACP profile:
    Whoops\Exception\ErrorException thrown with message "Undefined array key "idm_block_submissions"" Stacktrace: #7 Whoops\Exception\ErrorException in \system\Patterns\Bitwise.php:112 #6 Whoops\Run:handleError in \system\Patterns\Bitwise.php:112 #5 IPS\Patterns\_Bitwise:offsetGet in \applications\downloads\extensions\core\MemberRestrictions\Downloads.php:48 #4 IPS\downloads\extensions\core\MemberRestrictions\_Downloads:save in \applications\core\extensions\core\MemberACPProfileBlocks\Warnings.php:130 #3 IPS\core\extensions\core\MemberACPProfileBlocks\_Warnings:edit in \applications\core\modules\admin\members\members.php:1307 #2 IPS\core\modules\admin\members\_members:editBlock in \system\Dispatcher\Controller.php:107 #1 IPS\Dispatcher\_Controller:execute in \system\Dispatcher\Dispatcher.php:153 #0 IPS\_Dispatcher:run in \init.php:934  
    The issue is caused by the save function's code in /applications/downloads/extensions/core/MemberRestrictions/Downloads.php (line 48):
    public function save( $values ) { $return = array(); if ( $this->member->idm_block_submissions == $values['idm_block_submissions'] ) { $return['idm_block_submissions'] = array( 'old' => $this->member->members_bitoptions['idm_block_submissions'], 'new' => !$values['idm_block_submissions'] ); $this->member->idm_block_submissions = !$values['idm_block_submissions']; } return $return; }  
    The value for the old array key is using the wrong "bitoptions" syntax:
    $this->member->members_bitoptions['idm_block_submissions'] when it should be:
    $this->member->idm_block_submissions
  4. Like
    PinPics got a reaction from WP V0RT3X in Adding Links in footer area?   
    @WP V0RT3X Thank you SO much! The plug-in was perfect. I really appreciate that.
  5. Like
    PinPics got a reaction from Sonya* in Adding Links in footer area?   
    @WP V0RT3X Thank you SO much! The plug-in was perfect. I really appreciate that.
  6. Thanks
    PinPics got a reaction from Donald J Trump JR in Adding Links in footer area?   
    Hi!
    Where do I find the option to create links in the footer area like you have here?

    Thanks!
  7. Thanks
    PinPics reacted to Jim M in Newsletters and opt-in options?   
    This is available in a few areas:
    On registration a user can opt in or out. Through the widget, the user can opt in or out. Then in Account Settings -> Notification Settings -> Newsletter. Then, obviously, when the user receives a bulk mailing, there is an unsubscribe option.
  8. Like
    PinPics reacted to Jim M in Horizontal Line Option in Editor   
    This is the purpose of the custom button 😉. You set it up in HTML but your users just click the button in the toolbar to evaluate it.
     
  9. Like
    PinPics reacted to Nathan Explosion in Horizontal Line Option in Editor   
    Just add a custom button:
    Here's the HTML:
    <hr>  
  10. Thanks
    PinPics reacted to Marc Stridgen in Horizontal Line Option in Editor   
    Its not something we are likely to add within version 4, as the editor itself is changing in version 5, and you can do this already in that version 😉 
  11. Like
    PinPics got a reaction from Marc Stridgen in Possible to change order of Emoji groupings?   
    Hi!
    Thanks to both of you for the replies. 
    That plug-in looks great, but it's probably more than we'd want to put in for the feature. It looks great, though!
  12. Like
    PinPics got a reaction from Myr in Save Draft - IC5   
    Just popping in to add that I would second this suggestion. 
    A "save as draft" option would be fabulous, particularly in Pages. We have a database set up for articles, and it would be SO much easier to have a draft option there. Multiple members have to go over articles for that area, so right now, we have to use a private Club area for those members to review and add to articles -- then transfer them into the Pages database.
  13. Like
    PinPics got a reaction from ASIKOO in Save Draft - IC5   
    Just popping in to add that I would second this suggestion. 
    A "save as draft" option would be fabulous, particularly in Pages. We have a database set up for articles, and it would be SO much easier to have a draft option there. Multiple members have to go over articles for that area, so right now, we have to use a private Club area for those members to review and add to articles -- then transfer them into the Pages database.
  14. Like
    PinPics got a reaction from Square Wheels in Save Draft - IC5   
    Just popping in to add that I would second this suggestion. 
    A "save as draft" option would be fabulous, particularly in Pages. We have a database set up for articles, and it would be SO much easier to have a draft option there. Multiple members have to go over articles for that area, so right now, we have to use a private Club area for those members to review and add to articles -- then transfer them into the Pages database.
  15. Like
    PinPics got a reaction from CheersnGears in Save Draft - IC5   
    Just popping in to add that I would second this suggestion. 
    A "save as draft" option would be fabulous, particularly in Pages. We have a database set up for articles, and it would be SO much easier to have a draft option there. Multiple members have to go over articles for that area, so right now, we have to use a private Club area for those members to review and add to articles -- then transfer them into the Pages database.
  16. Like
    PinPics got a reaction from Matt in Invision Community 5: Assign topics to moderators   
    Very nice feature! Definitely looking forward to this . . . and appreciating this advance notice, since we will build a few areas of the site with this feature in mind. Thanks so much!!
  17. Like
    PinPics reacted to teraßyte in Where are Followers of a Member stored?   
    The data is in the core_follow table. They need to filter by:
    follow_app=core follow_area=member follow_rel_id=XXX (where XXX is the member ID)
  18. Thanks
    PinPics reacted to Daniel F in Where are PM strings stored?   
    core_message_posts contains the messages and core_message_topics contains the "containers"
  19. Haha
    PinPics reacted to Marc Stridgen in Invision Community 5: The story so far...   
    🤔-Thinking about the bug
    👀-Looking for the solution to the bug
    📰-Writing the fix for the bug
    ➡️-Exiting when he realised the bug fix didnt work
    👤-Hiding in the shadow to see if anyone notices
     
  20. Thanks
    PinPics reacted to Jim M in Link for Online Events only?   
    This is not something which we currently have. The current search for online events would not be valid for other users and would expire for yourself as it uses a CSRF key. You're more than welcome to submit a topic for Feedback to see if this is something in the future we can provide.
  21. Agree
    PinPics reacted to Marc Stridgen in Online Event doesn't show when filtering search?   
    Apart from its not showing up whether dates are selected or not, and Im unable to reproduce my end unfortutely. If he selects only "online events" and clicked to search, there is nothing shown either
  22. Thanks
    PinPics reacted to Marc Stridgen in Online Event doesn't show when filtering search?   
    No problem. Glad to hear you are trying to get everything into one place. Im sure that will serve you a lot better going into the future
  23. Thanks
    PinPics reacted to Jim M in Clubs Tab in Profiles Not Always Showing Clubs   
    Glad to hear we were able to find the issue! Thanks for reporting 🙂 
  24. Thanks
    PinPics reacted to Randy Calvert in Clubs Tab in Profiles Not Always Showing Clubs   
    When a tech opens a ticket for you simply reply to the email saying you are adding X and add them as a CC.  Just make sure you actually put them in the CC field at that point and send. 
  25. Like
    PinPics got a reaction from Jim M in Clubs Tab in Profiles Not Always Showing Clubs   
    Thank you SO much! I am getting written instructions to be sure I can set this up right in the future. We will not touch a thing until the ticket is finished. I just so appreciate you guys getting in!!
×
×
  • Create New...