Jump to content

Community

Daniel F

Invision Community Team
  • Posts

    4,935
  • Joined

  • Days Won

    19

 Content Type 

Profiles

Downloads

IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Forums

Store

Posts posted by Daniel F

  1. There was a setting in vBulletin where you could define a time cutoff ( 30 days by default) and then it would just count the members which were online in these last X days and return them as active members.

    Quite useless statistic for the frontend IMO:) 

  2. Hi,

    Do you mean real apiendpoints using the IPS REST API or regular own controllers inside app/modules/front/... ?
    If the latter, then you can use the Application::allowOfflineAccess method to control if the specific page should be accessible even in offline mode.

     

    	/**
    	 * Can view page even when site is offline
    	 *
    	 * @param	\IPS\Application\Module	$module			The module
    	 * @param	string					$controller		The controller
    	 * @param	string|NULL				$do				To "do" parameter
    	 * @return	bool
    	 */
    	public function allowOfflineAccess( \IPS\Application\Module $module, $controller, $do )

     

  3. 6 minutes ago, Apfelstrudel said:

    the entire site is in english now although the english language pack is disabled. I can't switch it to my local language although it is being showed as active.

    That's intentional, IN_DEV uses the applications/x/dev/lang.php files

    7 minutes ago, Apfelstrudel said:

    All custom SEO urls don't work although they are all listed and activated.

    You'll have to enable this via the DEV_USE_FURL_CACHE constant

    8 minutes ago, Apfelstrudel said:

    All databases don't work anymore. Error code: 256
    ErrorException: You have used a function (count) that should be called from the root namespace for performance reasons (/forum/system/Theme/Theme.php(4465) : eval()'d code::65). (256)

    You an disable this by setting the IN_DEV_STRICT_MODE constant to false.

  4. 17 minutes ago, Chris Anderson said:

    Does IPS provide any feedback to a developer upon submission of an original app or update that based on their future update plans (at that moment in time) the app will end up needing extensive rework or warrant discontinuation as portions of their app's functionality will become core?

    No

    17 minutes ago, Chris Anderson said:

    How about an app that is in between updates, does IPS let developers know that future updates will likely impact their apps?

    We're providing a list of all changes incl. BC breaks once we release the first BETA version.

  5. 2 minutes ago, Nathan Explosion said:

    No worries - the following will hide it....the '6 indicates the 6th 'row in the list...modify if your entry is a different row in your listing,

    
    body[data-pagecontroller="notifications"] ul.ipsDataList_clickableRows li:nth-of-type(6) {
      display:none;
    }

     

    Keep in mind that the list can depend based on a users permissions, also any addition plugins or apps could change the options, so instead of using a theme hook for this, I would suggest to hook into the applications/core/extensions/core/Notifications/BulkMails::configOptions method 🙂

  6. 18 minutes ago, kmk said:

    the carousel feature don't work fine for mobile, example the Our Picks section, in mobile it just have the last article sticky, and can slide it manually. 

    What browser are you using? It's working fine for me with the iPhone and safari (same with the carousels on https://invisioncommunity.com/files/ ) 

     

    That said, there was a bug where the carousel wouldn't work in the sidebar which should be resolved in an upcoming release.

  7. 4 minutes ago, Maxxius said:

    perhaps its possible to make it scroll to a certain DIV instead of coordinates for a lack of a better term.

    Absolutely 🙂 Just get the position of the element you want to scroll to via .offset() https://api.jquery.com/offset/  😉

    Something like following code should work: 

    $('html, body').animate({
                        scrollTop: $("#yourElemSelector").offset().top
                    });

     

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy