Jump to content

Afrodude

Members
  • Posts

    912
  • Joined

  • Days Won

    7

Reputation Activity

  1. Like
    Afrodude got a reaction from Senior2323 in [Bug] Resent Status Update   
    4.5, 4.6 and 4.7 
     
    Whenever you submit a reply to any recent status update the saving button keep showing "Saving......" since IPS updated to 4.5, and the bug still shows on 4.6 and 4.7. 

    Then if you refresh the page, you will notice that reply is already posted. 
  2. Like
    Afrodude got a reaction from SeNioR- in [Bug] Pages/ Plugin/ Feeds from database   
    4.6 and 4.7 same results. 
    After creating a database and you want to add a widget on the homepage.

    This widget doesn't show if the topics there are hidden or not like any other widget for the staff members
     
    For example 
    Articles is a custom widget using Pages custom blocks widget. 

     
    Topic 02 at that database is hidden, yet it shows like it's not like other widgets. 
     
    A question in here there was a little Preview screen on pages plugins why it was removed on version 4.7? 
     
  3. Like
    Afrodude got a reaction from SeNioR- in Controllers can be initialized on detatched DOM nodes if another controller uses cleanContentsOf   
    This bug is there since version 4.5, and I opened a support ticket that I don't have access to it anymore where IPS staff told me it's not related to their system. 
    I opened another topic without noticing someone else @Colonel_mortishas found and reported what really causing this issue. 
     
     
     
  4. Thanks
    Afrodude reacted to Adriano Faria in Ban Members From Forums   
    I can't reproduce using IPS 4.6.12.1 and PHP 8.0.X:
    Posts were splitted from topics using multi mod action and the post action.
    No error logged.
  5. Thanks
    Afrodude got a reaction from Adriano Faria in Ban Members From Forums   
    @Adriano Faria Hi,
     
    I received this error while splitting a reply into existing topic.
     
    #0 /forums/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(Error), 'template_error') #1 /forums/applications/forums/modules/front/forums/topic.php(189): IPS\Theme\_SandboxedTemplate->__call('topicHover', Array) #2 /forums/init.php(903) : eval()'d code(38): IPS\forums\modules\front\forums\_topic->manage() #3 /forums/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\banfromforums_hook_bmffTopicView->manage() #4 /forums/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #5 /forums/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute() #6 /forums/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute() #7 /forums/index.php(13): IPS\_Dispatcher->run() #8 {main} I am still on 4.6 
    Update:
    I disabled the application and ran some testing nothing happen, so just take a look please. 
  6. Agree
    Afrodude reacted to Colonel_mortis in Controllers can be initialized on detatched DOM nodes if another controller uses cleanContentsOf   
    The symptom of this for regular status updates is that when you submit the status, it gets stuck on "Saving", despite having submitted successfully:

  7. Like
    Afrodude reacted to Colonel_mortis in Controllers can be initialized on detatched DOM nodes if another controller uses cleanContentsOf   
    If you have something like
    <div data-controller="foo"> <div data-controller="bar"></div> </div> ips.controller.register("foo", { initialize: function() { ips.controller.cleanContentsOf(this.scope); } }); The controller on bar will be initialized on the dead element, and never cleaned up:
    ips.controller.register("bar", { initialize: function() { console.log(document.contains(this.scope[0])); // => false }, destroy: function() { console.log("destroyed"); // never called } }); This happens because ips.controller#_findControllers is called once to get all controllers to load, then the controllers are run one by one. If the foo controller is run first (and I'm not sure if that's guaranteed to be the case), cleanContentsOf will drop the bar element, but it won't run the destructor because the controller hasn't been initialized yet. When all of that logic has finished running, it then runs the bar controller, even though it is no longer applicable.
    Sure, you might say, but nobody would call cleanContentsOf synchronously during init, right? Yes, you do.
    Concretely, the problem this causes me is that the commentFeed of a status update exists twice, one in the document and one detatched. This means addToCommentFeed events end up getting processed by both, the detached one first, and the detached one ends up throwing an exception.
    There are a few different ways this could be fixed:
    Fix the double initialization of profiles. Seems straight forward enough, and that appears to be the only instance of this issue at the moment. Guard ips.controller#initControllerOnElem with node.contains(elem), to ensure that the node is still a child Run the destructor code from cleanContentsOf in a `setImmediate` block, to give the other controllers an opportunity to be initialized before getting cleaned up
  8. Like
    Afrodude reacted to Adlago in Parse html ...mayby issue   
    When a browser performs "parse html" - there is a task being performed that I can't determine what it is.
    This task creates a large delay when booting mobile.

    Does anyone have any idea what this task is?
  9. Like
    Afrodude reacted to teraßyte in (TB) QR Code Share Service [Support Topic]   
    This modification is already compatible with 4.7 and I've just submitted a new version to mark it as compatible (no actual changes).
    Those who have it already installed can keep using it without problems. 👍
  10. Agree
    Afrodude reacted to JohnDar in CSS question...or disappointment   
    For my part, I would be happy if all CSS were readable, as before, for reference even if not editable. The latest patch shows modified CSS and allows reverts of existing changes but unchanged CSS are still hidden and therefore, you can't use search.
    It was so useful being able to search for something (even something as simple as a colour) and then quickly locate the code, copy it and then paste a modded version into custom CSS.
  11. Agree
    Afrodude reacted to Adlago in CSS question...or disappointment   
    Restore direct CSS edit and everything will be OK
  12. Agree
    Afrodude reacted to Adlago in CSS question...or disappointment   
    95% of your base CSS is not used effectively - and every online test shows it. Especially when a site uses external ads.
    Also, there are enough ways to combine effectively used css into one css - and notice, without changing the structure of your development - just a small change in loading. Etc.
    Any such change, even a small one, involves direct css editing... And a lot of testing and analysis... But it's worth the effort... This can't be done in designer mode, only in direct editing... It's individual for each site, each site uses different resources and requires different tweaks to improve... Etc.
    With these restrictions you are now "scoring an own goal"...
    PS. See your site

    All this slows down the loading of the site, especially on mobile. With direct editing CSS and ...one more thing, a solution to this delay is found...
  13. Like
    Afrodude reacted to Sonya* in FX Pages - a free collection of Pages templates   
    Please confirm, that you have attached Fxpages/images.js to the page with the database:

    I cannot see it in your page source.
  14. Like
    Afrodude reacted to The Old Man in Time for an IPS4 performance review/update?   
    I don't know about you, but I'm wondering if it's perhaps overdue that IPS got stuck into a huge performance and speed based review and implement it in the next medium sized update! I think a lot has changed in recent years in relation to site performance. Core Vitals in Lighthouse as many admins will be aware are now much more important in terms of SEO ranking, performance isn't just for the obsessed enthusiasts any longer!
    Google Search Console tells me that on one of my IPS Communities, my Mobile Pagespeed test result sucks, just 28%-30% at present, so I started checking a few things under the hood. I like to keep my sites high performing, so I was quite surprised it was so low. 
    One thing I found out in minutes looking at the optimisation list and then checking my IPS configuration is that if you have the IPS Lazy Loading feature enabled, it doesn't apply to your uploaded images in Advertisements or Post Author Member Group Icons. Both are shown in my topic view so I get scored down on mobile in particular.
    I think it's now time that Native Lazy Loading was offered, either as a choice or as the default if enabled.
    Also where possible IPS should support Local WebP conversion via the Task Manager.
    I know some of us sometimes bash IPS for not delivering more obvious updates like Gallery, Blog, Pages and Commerce improvements for the sake of instead quick things like disabling features but IPS4 is quite a huge behemoth these days, no matter your pricey VPS, CiC, use of Redis pools etc.
    More performance improvements I'd like to see considered include...
    (Now admittedly I'm basing this list on a similar big audit that another website framework I invested in conducted and implemented last year. These are the options you can now simply toggle off/on as a result in their Dashboard. They can make a huge difference to bloat.)
    Dynamic Modular Framework
    Enable this to allow the IPS Framework to only load code that are actually used on the page, and process the logic for the features in actual use.
    Dynamic CSS
    Dynamic CSS could greatly reduce CSS file size by dynamically generating only the styles and assets necessary for the features and modules you actually use. This eliminates most if not all CSS file bloat and greatly improves load times.
    Dynamic Icons
    Font Awesome is 2 generations behind. The FA4 icon font could be broken up into various subsets. These subsets are loaded only when needed based on the modules and features used on each page. If you need access to the entire icon font on all pages (for example, if you are using lots of FA icons in a custom theme or want to allow members to insert them via the post editor), then you could disable this option and load the entire icon font library on all pages.
    Load Dynamic Stylesheet In-line
    This option dequeues the IPS style.css file and prints the needed contents in-line. This removes a render blocking request and improves the PageSpeed scores of individual pages. However, it also prevents the style.css file from being cached. Since the stylesheet is often smaller when dynamic or critical, it could be recommended to keep this option enabled. Accepted there are some potential CSP-related security concerns with inline CSS an or JS.
    Critical CSS
    Critical CSS greatly improves website load times and Google PageSpeed scores by deferring non-critical styles and eliminating render-blocking CSS requests. Critical CSS often covers what most users see when first loading the page, so called 'above the fold' content.
    Critical Threshold Height
    When Critical CSS is enabled, IPS would determine an "above the fold threshold" and defer all styles for elements below the fold. However, this threshold is just a estimate and can vary on different devices. Increasing threshold height will deffer fewer styles, resulting in slightly slower load times but less of a chance for Cumulative Layout Shifts to occur. If you are experiencing CLS issues you can then increase or lower the threshold 'height' via a drop-down low, medium, high setting.
    Dynamic JavaScript Libraries
    When enabled, IPS would only load external JavaScript libraries when they are needed by a specific sections or modules on the page. This removes unused JavaScript from the main scripts bundle and improves load times.
    Improve Google Fonts Loading
    Enable caching of Google Fonts and load them inline. This reduces render-blocking requests and improves page load times. Also presents an opportunity to switch to the Google Fonts API, to offer a dynamic dropdown list to allow admin to choose from all available GFonts. The Task Manager could check for and cache new versions of selected fonts in use weekly.
    Limit Google Fonts Support For Legacy Browsers
    Enabling this option will lower the size of Google Fonts and improve load times, however it will limit Google Fonts support in some very old browsers. You can turn this off to increase support for losers insisting on their older insecure browsers at a slight cost to performance.
    Defer jQuery And jQuery Migrate
    When possible, jQuery and jQuery Migrate could be moved to the body to speed up load times. If a third party plugin registers jQuery as a dependency, it would be moved back to the head.
    Enqueue jQuery Compatibility Script
    Some third party scripts may be incorrectly enqueued without declaring jQuery as dependency. If jQuery is deferred, these scripts could break. If you are experiencing console errors after enabling the "Defer jQuery And jQuery Migrate" option, you can enable this option, which will load an additional compatibility script that will attempt to solve the issue. (You can turn this feature off if everything is working fine without it).
    Defer Additional Third Party Scripts
    Warning: This can cause JavaScript errors in some cases and should be used with care. When enabled, scripts registered by plugins and themes will be deferred to improve performance and jQuery will always be loaded in the body.
  15. Like
    Afrodude got a reaction from OptimusBain in [Forums] Saved Actions   
    I like how tags can be used as prefix.

     
    It would be nice if you include this feature to [Forums] Saved Actions

     
    Perhaps off/on button Add tag/prefix. 
     
    Example
     

     
  16. Like
    Afrodude reacted to Adriano Faria in [Forums] Saved Actions   
    Waiting to be reviewed: https://invisioncommunity.com/files/file/10124-prefix-tags-in-saved-actions/
  17. Like
    Afrodude reacted to Kirill Gromov in Live Messenger   
    New versions 1.0.2 is waiting for approval:
    Can't send empty message now. Selecting a display style: bar or bubble. New setting for margin from the bottom on mobile devices. Some fixes.
  18. Agree
    Afrodude reacted to Askancy in Live Messenger   
    If a person has the form selected and clicks submit or presses send, it sends a blank message, whereas it should behave like the message application and not send anything...
    In addition, live messenger should not be shown if a user is not logged in
  19. Haha
    Afrodude reacted to aia in Why not offer push notifications solution   
    Cool gif, I'll save it for the moment when IPS will officially support the dark theme for the frontend 😉
  20. Like
    Afrodude reacted to Kirill Gromov in Live Messenger   
    Hello, @Askancy!
    New 1.0.1 version is waiting for approval and in this version I have added a setting to disable this floating block. Perhaps in the next versions I will add the ability to customize the position of the block on mobile, thanks.
  21. Agree
    Afrodude got a reaction from Mason Hills in Saved Actions Tags   
    @Mason Hills
     
    I have already suggested that 3 months ago. 
     
     
    Hopefully IPS listens, but everyone's know that they wouldn't. 
  22. Agree
    Afrodude got a reaction from Mason Hills in [Forums] Saved Actions   
    I like how tags can be used as prefix.

     
    It would be nice if you include this feature to [Forums] Saved Actions

     
    Perhaps off/on button Add tag/prefix. 
     
    Example
     

     
  23. Like
    Afrodude reacted to Kirill Gromov in Live Messenger   
    Support Topic for the app Live Messenger
        
    Live Messenger for Invision Community. This app is not an alternative to the standard IPS Messenger, but a handy add-on. Live Messenger was created to relieve communication with other users. Loading and sending new messages is happens without reloading the pages. The main advantage of this application is that you can quickly write or read a personal message on any community page.
    Features
    Quick Buttons: create pm, open messenger and show/hide Live Messenger window. Quick access to recent private messages. Quick access to the private conversation. Messages in a minimal design, without distracting design elements. Select the groups that can use Live Messenger. PM read/unread icon. Quick message sending.
  24. Like
    Afrodude reacted to Kirill Gromov in Pages - Feed offset in block widget   
    Hm.. A few hours ago, a downloadable version was available for 4.4. I will upload an update today.
  25. Like
    Afrodude reacted to Sonya* in FX Pages - a free collection of Pages templates   
    @Dreadknux The feature is already implemented in the last version. I am just testing it with 4.7 Beta that's why no release in Marketplace yet.
    You can copy-paste a new code from here https://invisionify.com/uploads/page_objects/toc.js.9dfc64d46d40b781a8c0758cccaf01dd.js?v=b574a07d041653147371 And here is an example for an article that uses it https://invisionify.com/blog/how-to-create-curated-youtube-videos-for-community/
×
×
  • Create New...