Jump to content

rastafari

Clients
  • Posts

    41
  • Joined

  • Last visited

 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 rastafari

  1. 23 hours ago, Square Wheels said:

    Do these still work?

    I tried adding this in the Footer HTML of the Header and Footer section of the theme, but it still shows on my phone.  I'd really like to hide this as it's a chat icon and it's rather intrusive on my phone.

    <div class='ipsResponsive_hidePhone ipsResponsive_hideTablet'>
    <script>stuff here for the chat service</script>
    </div>

     

     

    Give it a try with  ipsResponsive_showDesktop

  2. On 12/1/2023 at 9:12 AM, WebCMS said:

    I turned it off -

    Pages > Databases > Articles > Forums tab > Post topic > OFF

    Could contain: Text, File, Computer Hardware, Electronics, Hardware

     

    But every new article published under Articles is still getting cross-posted into the Discussions forum along with the entire body (duplicate content). How do I stop it?

     

    Open dropdown menu and check if anything is selected.

    Unselect it and it will stop cross posting.

    The "post topic" switch did not work as expected in my case.

  3. In other words if you want to work the above code with auto ads do not place fixed ads anywhere in your community.

    The only way I found that seems to work properly is to exclude a page from auto ads and on this page in your community to add custom blocks with fixed ads.

    This way the above code works correclty.

     

    With ips internal advertisements when you check a specific location to show the advertisement(e.g. Just above the page footer) is there a way to exclude specific pages? ?

  4. 3 hours ago, Marc Stridgen said:

    You could also add some random text at the top to ensure its inserting things as required

     

    it works as it should and appears correctly on page source.

    17 hours ago, Randy Calvert said:

    Try turning those off...  because they may be causing problems

    and finally that`s the problem.

    The first part of fixed ads is exactly the same code as auto ads .

  5. On 9/22/2022 at 10:43 PM, Randy Calvert said:

    This is not something you can check on/off in the core platform, but it's a relatively simple template edit.  In the global template, you can do something like:

    {{if \IPS\Member::loggedIn()->member_group_id === 4}} 
    
    	SOME CODE HERE THAT WOULD ONLY SHOW TO ADMINS
    
    {{endif}}

    If you wanted to show some code to a bunch of different member groups...  

    {{if in_array( \IPS\Member::loggedIn()->member_group_id, array( 5, 10, 11 ) )}}
    
    	SOME CODE HERE THAT WOULD ONLY SHOW TO SPECIFIED GROUPS
    
    {{endif}}

     

    Unfortunately it didn't work for auto ads .

  6. 3 hours ago, Marc Stridgen said:

    Youtube videos by default would be responsive to the width of your site. So there would be nothing to really center here.

    I have pasted as "centered" with editors button

    Could contain: File

     

    and the code

     

    <div class="ipsEmbeddedVideo" contenteditable="false">
    	<div>
    		<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" frameborder="0" height="113" src="https://www.youtube.com/embed/KYhFtMKNId4?feature=oembed" width="200"></iframe>
    	</div>
    </div>
    
    <p style="text-align: center;">
    	&nbsp;
    </p>
    

     

  7. I figure out to display the lock status icon with supergrid frontpage.

    How is it possible to display the lock status icon in category listing?

    When i insert that

    {{if $record->locked()}}<span><i class='fa fa-lock'></i></span> {{endif}}

    in supergrid listing(recordRow template) it breaks.

×
×
  • Create New...