Jump to content

My Sharona

Clients
  • Posts

    576
  • Joined

  • Last visited

  • Days Won

    1

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by My Sharona

  1. 5 hours ago, Apfelstrudel said:

    May I ask why this step is not part of the standard suite? From my point of view it should be.

    I also have thousands of CLS errors in Search Console. But I assume they also come from lazy load being enabled.

    I don't know about you @Apfelstrudel but my Console Errors began showing up after this last patch, 4.5.4.2.

  2. On 1/19/2021 at 4:32 PM, Adlago said:

    In your theme, you should create a template. For example

    1290266105_Screenshotat2021-01-19232328.thumb.png.e13f0acaefa68c87d7f69207c21fe260.png

     

    Open this template core_global_analysis/preload_css, and add this code

    
    {{foreach array_unique( \IPS\Output::i()->cssFiles, SORT_STRING ) as $file}}
    <link rel='preload' href='{expression="\IPS\Http\Url::external( $file )->setQueryString( 'v', \IPS\Theme::i()->cssCacheBustKey() )"}' as="style">
    {{endforeach}}

    and Save.

    Open your global template, and add before

    
    {template="includeMeta" app="core" group="global" location="global" params=""}

    This

    
    {template="preload_css" app="core" group="analysis" location="global" params=""}
     

     

    Apologies for the delay in responding @Adlago. Thank you much for the explanation. Will attempt to implement later this week. One last question if you don't mind.. Is there a reason why this would not work by simply inserting it into the CSS "Custom" template? 

  3. 30 minutes ago, Adlago said:

    For preload font awesome use this, in your head

    
    <link rel="preload" href="/applications/core/interface/font/fontawesome-webfont.woff2?v=4.7.0" as="font" type="font/woff2" crossorigin="anonymous">

    For preload css, see this

     

    Thank you, @Adlago

     

    I read your thread but like the last user there, I am unsure where exactly to place this code. Would it be: core> front> global> global template or might it work in the "custom css" ?

  4. Via my Google Search Console, I am showing that a number of pages are loading unnecessarily slow in a mobile environment. The most time consuming aspect of these is the webfont load (showing as, "…font/fontawesome-webfont.woff2?v=4.7.0").

    The recommended solution is to declare preload links.

    <head>
      ...
      <link rel="preload" href="styles.css" as="style">
      <link rel="preload" href="ui.js" as="script">
      ...
    </head>

    Can this be added somewhere in the global template(s)?

     

    TYIA

  5. 19 hours ago, bfarber said:

    The software is more focused around receiving payments than sending payments, so there is not a lot of functionality built in to "send" payments.

    You can issue refunds through the software, including partial refunds.

    You can issue account credit to users which can be used to make future purchases.

    When issuing account credit, you can allow users to make withdrawls as has been noted.

    But beyond that, you can't just open an input field and specify an arbitrary amount of money to send a user through whatever payment processor you may be using.

    Thank you sir.

  6. 4 hours ago, Sonya* said:

    You should look for Commerce → Withdrawals in AdminCP.

    Thank you.

    Not sure that would work though. It may if I were able to issue them credits but I don't see how that is possible.

  7. I did a search and didn't find anything that remotely related to what my question is but if it exists and I simply missed it, I do apologize for asking again. There may be a a reason why I didn't find it though, as my question might seem odd. 

    I have a need to not only receive payments but to also send payments. I have looked through the functions and do not see a way for me to send payments. I thought that maybe on the off chance I may have missed it or not looked at it properly, to ask.

     

    Any and all help is greatly appreciated.

     

    TYIA 

     

  8. 3 hours ago, Ryan Ashbrook said:

    I'm not sure what you mean - can you clarify what it is you are wanting to do?

    Everything in the software is fully translatable - just go to your Admin CP > Customization > Languages. Click the Translate button to the right of the language your community is using, and the text box on the top right can be used to find any words you wish to change.

    Thank you for the response, Ryan.

    Let me see if I can be somewhat clearer here.

     

    The default set up when you get the software comes with a default, 'A Test Category' and a default, 'A Test Forum' and a default, 'Welcome' thread. When adding anything more such as another 'Category' or even just a sub forum, you get a, well... I'm not sure what you call it but the text, 'Forums' suddenly appears above the first 'Category' listing.

     

    How would one go about changing the text or removing it completely? Template edit? If so, which one, please.

     

    lssBkg5.png

     

  9. 29 minutes ago, Ehren said:

    Something like this will do the job..

    
    #elUserNav{
    	position: absolute;
    	background: rgba(0,0,0,.6);
    	border-radius: 4px;
    	color: #fff;
    	padding: 2px 10px;
    	-webkit-backdrop-filter: blur(6px);
    	backdrop-filter: blur(6px);
    }
    [dir='ltr'] #elUserNav{ right: 0; }
    [dir='rtl'] #elUserNav{ left: 0; }

     

    If you need help beyond that, it would be best to ask future questions in the Theme Assistance forum, since this forum is technically for Feedback and suggestions.

    I was right, you definitely rock!

     

    Apologies for the out of venue assistance.

  10. On 10/16/2020 at 12:43 AM, Ehren said:

    For future reference, the height of the banner can be controlled by one css variable in 4.5, so you don't need media queries or multiple css selectors.

    For example, this will increase the header height to 300px:

    
    :root{
      --header--height: 300px;
    }

    Or if you only want to edit the height of the mobile header, simply use:

    
    :root{
      --responsive-header--height: 100px;
    }

    From there, you'd then use the "Logo height" setting to control the height of the logo. So if you've set your header to 300px and want your logo to be 150px in height, you'd change the setting to 50%

     

     

    The old user links were positioned using absolute positioning. If you want to replicate this in 4.5, add this to custom.css

    
    #elUserNav{ position: absolute; }
    [dir='ltr'] #elUserNav{ right: 0; }
    [dir='rtl'] #elUserNav{ left: 0; }

    That should work, but let me know if it doesn't 🙂

    Thank you. This works like a charm. You rock!

    Question: The above allows for a full width, 'Site Logo Image' with the header user control panel icons floating on top of the 'image' How would one get that container to move, either up or down? Or, alternatively... wrap it in a bubble of sorts so the icons and text don't get lost in the header image?

     

    TYIA

     

     

  11. Apologies if this was previously asked and answered.

    Does this mod enable the sidebar content particular to each forum page?

    Ex: I have a category with 5 sub forums. I don't want the same sidebar content displayed in each one, I would like to tailor the content to be sub forum specific. Such as, I have 'Recent Posts' displayed within a specific forum page and because of the hook (?) it displays on all forum pages.

     

    Hopefully this is a bit clearer than mud.

     

    Thank you for reading.

  12. Is there a way to have the banner cover the entire width of the page? It seems that the,  'Create+ |  Notifications | Avatar/Account Actions' container is preventing it from displaying behind that.

×
×
  • Create New...