Jump to content

Community

Martin A.

+Clients
  • Content Count

    3,888
  • Joined

  • Last visited

  • Days Won

    16

Martin A. last won the day on October 23 2019

Martin A. had the most liked content!

About Martin A.

  • Rank
    Community Regular
  • Birthday 11/10/1987

IPS Marketplace

  • Resources Contributor
    Total file submissions: 7

Recent Profile Visitors

53,594 profile views
  1. The change was a silent patch in 4.4.9.1, and not part of the 4.4.9.2 release. Probably why it's not mentioned anywhere.
  2. It should only throw a E_DEPRECATED error now, which can be suppressed in php.ini. Based on the path in your error stack I'm going to assume you have access to that. error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR PHP will only die on errors after you change error_reporting to this. The other option is to go back to PHP 7.3.
  3. As far as I can see, it does not. I see that the code in Content\Controller is looking for the "page" param, but that does not exist in the request. In the JS (ips.ui.pageAction.js) you're trying to get this using "ips.utils.url.getParam( 'page' )", but since you've changed the page param to "/page/X" that function is not able to find it. But there is one named "ips.utils.url.getPageNumber" that you should use instead. An alternative fallback would be to look at the pagination element. $( 'ul[data-ipspagination] li.ipsPagination_active a' ).data( 'page' );
  4. https://invisioncommunity.com/4guides/suite-applications/pages/recreating-the-release-notes-section/making-it-interactive-with-javascript-r148/ It's a change to the javascript used there.
  5. If you have this issue yourself, and wondering how to solve it, the change would be on this part: this._ajaxObj = ips.getAjax()( link, { data: { rating_submitted: 1 } }) .done( function (response) { var responseContent = $("<div>" + response + "</div>"); var content = responseContent.find('#elCmsPageWrap'); infoPanel.html( content ).css({ height: 'auto' }); $( document ).trigger( 'contentChange', [ infoPanel ] ); }); Change it to: this._ajaxObj = ips.getAjax()( link, { data: { rating_submitted: 1 } }) .done( function (response) { var responseContent = $("<div>" + response + "</div>"); var content = responseContent.find('#elCmsPageWrap'); infoPanel.html( content ).css({ height: 'auto' }); window.scrollTo( 0, 0 ); //$( 'body, html' ).animate({ scrollTop: 0 }); // Or this if you want to animate the effect. $( document ).trigger( 'contentChange', [ infoPanel ] ); });
  6. What is it that you want to achieve? I think you should be able to do this by altering the application (and/or module) permissions. The constant is still around, but it does not do what it used to do. It's only used for some special testing circumstances now.
  7. I reported this bug 10 days ago. It happens to all sites using S3, or a custom file storage URL that isn't the same as the base URL for the installation. This happened due to a change in 4.4.7. Will be fixed in the next maintenance release, but not sure if that will be 4.4.8 or 4.5.0. Ticket ID #37482 And it only happens if you embed it into the post. If you leave it out, the comment will be created and the video automatically appended. But you'll get the same error if you try to edit that comment.
  8. <h3 class='ipsType_sectionHead'><span class='ipsType_break ipsContained'>{{if \count( $collection ) > 1 }}{$i}. {{endif}}{$input->label}</span></h3> Use that as the replace in pollForm to get exactly what you want. A single question poll will not get any numbers, but multiple questions will. And this as the replace in "poll" <h3 class='ipsType_sectionHead'><span class='ipsType_break ipsContained'>{{if \count( $poll->choices ) > 1 }}{$i}. {{endif}}{$question['question']}</span></h3>
  9. Yes! Sorting by votes will in most cases give you a reply that makes less sense, as it's out of context. Thankfully people don't use the voting feature a lot in the IPS Development Gateway, but I always click the "Sort by date" button when entering a topic/question with multiple replies.
  10. Hi, You can do that by giving the member a warning and checking the "Suspend from accessing the site" box.
  11. Not impossible to break it in the middle either. You just have to make sure you are on an empty line when you hit enter in order to break out if it. In this case I had to hit enter twice, then move the cursor up one line (to get to the empty line) then hit enter again.
  12. There's a setting for this in the forum settings.
×
×
  • Create New...