Jump to content

legionaire

Clients
  • Posts

    245
  • Joined

  • Last visited

  • Days Won

    2

 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 legionaire

  1. I get the following error while in DEV mode and does not matter if I have anything installed (3rd party) or not

     Whoops \ Exception \ ErrorException (E_DEPRECATED)
    explode(): Passing null to parameter #2 ($string) of type string is deprecated

    This happens even when I try and go to support.  I have erased the entire installation and re-installed 4.7.3 and it remains the same.  I am running PHP 8.1, any help to chase this down would be appreciated.  This is what shows up when I click on support

    Could contain: Page, Text, Letter, Menu, Word, Number, Symbol

  2. My site works great under PHP 8.0, but when I switch to 8.1 I get nothing but blank pages, contacted my host to look into it, they tried to come up with a solution for several hours this is what I received from them, just wanting to know if anyone else has had this problem, or if you may see something that myself and hosting platform has over looked, below is the correspondence I received from my hosting company

    Could contain: Text, Page

    Sorry, this is fresh install of 4.7.2.1, there are no plugins or apps outside of IPS apps (i.e. forums, calendar etc..)

  3. I found that the global template is the one change that seems to be affecting this.  IF you ensure that the global template does not have any changes to it (revert it prior to upgrade) and set it as default prior to upgrading you will be OK, but any other themes that have global template changes made will show this error. 

  4. On 7/3/2021 at 6:10 AM, livegames.co.il said:

    When I start to use ranking, the rank image is distorted, placed in the wrong place, and masses the side profile. It supposes to be placed inside the name latter, as in this site.
    Any ideas? 
    I appreciate any help you can provide. 

    image.png.5d487c860be471a499ed985f23fe6972.png

    This looks like a non default theme, if so you may have to revert any template changes to the postContainer template

     

    in the ACP go to the skin you want to edit, in the templates scroll all the way down to forums,->Topics->postContainer and revert that template

  5. On 8/28/2020 at 2:55 PM, Adlago said:
    
    [[Template core/admin/global/globalTemplate is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

    After login in ACP - only this message.

    Download from Client area don't work.

     

    PS. Message in front page

    
    [[Template core/front/global/updateWarning is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

     

    I had this problem and had to make sure to download the converters as well before it would complete the upgrade

  6. I am trying to add a javascript scroller to the arcade for the latest scores, I think that I am close, but no matter what I do, it just does not scroll the scores

    1. I have created a scrollers folder in arcade/front/controllers
    2. I have placed the javascript file into the scrollers folder and named it ips.scrollers.latest.scores.js
    3. I have created a callout in my code for the javascript like this \IPS\Output::i()->jsFiles      = array_merge( \IPS\Output::i()->jsFiles, \IPS\Output::i()->js( 'front_scrollers' ) );
    4. And, I have put into the HTML file the following line <div data-controller="arcade.front.scrollers.latestScores">

    This is the file which I have created, which I suspect may be the cause of the problem

    Quote

    /**
     * ipsProArcade scroller
     * ips.latestScores.js - Topic view controller
     *
     * Author: legionaire
     */

    ;( function($, _, undefined){
        "use strict";
        ips.controller.register( 'arcade.front.scrollers.latestScores.js', {
            initialize: function()
            {
                /* A function that runs automatically when it sees an HTML element with "data-controller='app.front.parentFolder.fileName'" as an attribute */
                /* this.scope is a reference to this element */
                this.on( jsEvent, '.childClass', this.latestScores ); /* This is how you listen for an event in a child element inside the scope */
            },

     

            latestScores: function (e) {
                e.preventDefault();


    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
        <script type="text/javascript">
    $(document).ready(function() {
        var ob = $('.scrollingtext1');
        var speed = 70000;
        
        ob.bind('marquee', function() {
            var tw = ob.width();
            var ww = ob.parent().width();
            ob.css({ right: -tw });
            ob.animate({ right: ww }, speed, 'linear', function() {
            ob.trigger('marquee');
            });
        }).trigger('marquee');
        
        ob.hover(function() {
            ob.stop();
        }, function() {
            var tw = ob.width();
            var ww = ob.parent().width();
            var cur = parseInt(ob.css('right'), 10);
            var speedDecrease = 1 - ((cur + tw) / (ww + tw));
            ob.animate({ right: ww }, speedDecrease * speed, 'linear', function() {
            ob.trigger('marquee');
            });
        });
    });
         </script>
            }
    }
    }(jQuery, _));

    IF anyone could point me in the correct direction it would be much appreciated

×
×
  • Create New...