Jump to content

Adriano Faria

Clients
  • Posts

    31,864
  • Joined

  • Days Won

    475

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Projects

Release Notes v5

Invision Community 5 Bug Tracker

Forums

Events

Store

Gallery

Everything posted by Adriano Faria

  1. I can’t reproduce. It was tested exactly in the board you have access for the Movies app in the default theme. Make sure the plugin was uninstalled from your system. This is now an application. Anyway, you can see in the post above yours that there’s a new version awaiting to be reviewed. Reply back after install 1.3.0.1.
  2. I have submitted a fix. Now it's just wait for them to review and make it public.
  3. I’ll take a look.
  4. What's New in Version 2.1.1 Compatible with IPS 4.5 only!
  5. What's New in Version 1.3.0 Now coded as an application New setting to choose if want to show flags in all apps installed or in specific ones Script optimization due to new marketplace guidelines drop column from members tables and use own table to store members preferences. IPS 4.5 only!
  6. If you want to make a quick file edit, then open applications/nexus/sources/Package/Item.php and find: class _Item extends \IPS\Content\Item implements \IPS\Content\Featurable, \IPS\Content\Shareable, \IPS\Content\Embeddable, \IPS\Content\MetaData, \IPS\Content\Searchable and change to: class _Item extends \IPS\Content\Item implements \IPS\Content\Featurable, \IPS\Content\Shareable, \IPS\Content\Embeddable, \IPS\Content\MetaData/*, \IPS\Content\Searchable*/
  7. Not a bug. This is hardcoded in the content item. It implements the \IPS\Content\Searchable. A plugin can deactivate it, I guess. Worst case scenario, a simple file edit can handle it.
  8. Fist screenshot shows you can select mofr than one in forum view.
  9. I have a converter. Send a PM if you're interested. 👍
  10. What's New in Version 4.2.2: Fix the INSTALL routine
  11. Is: /** * @brief Cache Expiration * @note We allow this cache to be valid for XX hours */ public $cacheExpiration = XXXXX; still valid? I see it was removed from Calendar Upcoming Events widget. I also use it in one of my resources.
  12. No. These tabs (cast, crew, seasons, trailers and similar) are ajax loaded and reflect the current state of the movie in the TMDB site. I do not store any of these data; only the main movie data (title, subtitle, description, poster, status, release date, genres, language, homepage, IMDB link, budget, revenue, running time for movies or episode time for TV shows, season (for TV Show) And number of episodes (for TV Show).
  13. All data are grabbed from TMDB and added in your database. The API works only to provide the data. Images are uploaded to your server as any uploaded image. Let me know if you want to test it online.
  14. Is it yours app or from IPS? If it yours, then just add the data-controller to your template. If it isn't, you will need.
  15. See this other example I have in the Upcoming Events widget from Calendar app. It will add a countdown: ;( function($, _, undefined){ "use strict"; ips.controller.register( 'rsvpevents.front.widget.eventcountdown', { initialize: function() ... Then I added the attributes to the Calendar template via template plugin: /* !Hook Data - DO NOT REMOVE */ public static function hookData() { return array_merge_recursive( array ( 'upcomingEvents' => array ( 0 => array ( 'selector' => 'div.ipsWidget_inner > div.ipsPad_half > ul.ipsDataList.ipsDataList_reducedSpacing > li.ipsDataItem.ipsClearfix > div.ipsDataItem_main.cWidgetComments', 'type' => 'add_inside_end', 'content' => '{{if \IPS\Settings::i()->rsvpevents_display_countdown}} {template="eventCountdown" group="widget" location="front" app="rsvpevents" params="$event"} {{endif}} {template="eventAttendees" group="widget" location="front" app="rsvpevents" params="$event"}', ), 1 => array ( 'selector' => 'div.ipsWidget_inner', 'type' => 'add_attribute', 'attributes_add' => array ( 0 => array ( 'key' => 'data-controller', 'value' => 'rsvpevents.front.widget.eventcountdown', ), ), ), ), ), parent::hookData() ); } And then I call the JS, also via pluin, in the init() of the widget: /** * Initialize this widget * * @return void */ public function init() { if( \IPS\Settings::i()->rsvpevents_display_countdown ) { \IPS\Output::i()->jsFiles = array_merge( \IPS\Output::i()->jsFiles, \IPS\Output::i()->js( 'front_widget.js', 'rsvpevents', 'front' ) ); } parent::init(); } Will result in: It seems confusing and you bet it is. 🙂
  16. The JS should be something like ips.FOLDER.controller., so latest.scores seems wrong. You used latestScores, which is different than the js above. ------------- My example: Then on HTML I got: ...data-ipsForm data-controller="movies.front.movies.submit"{{endif}}> submit is the controller (php file) on modules/front/movies folder.
  17. The whole IP.Board 3 had this.
  18. The error will anyway if I don't add it due to this in the admin dispatcher: /* Unless there is a flag telling us we have specifically added CSRF checks, assume any AdminCP action which contains more than app/module/controller/id (i.e. anything with "do") requires CSRF-protection */ if ( !isset( $this->classname::$csrfProtected ) and array_diff( array_keys( \IPS\Request::i()->url()->queryString ), array( 'app', 'module', 'controller', 'id' ) ) ) { \IPS\Session::i()->csrfCheck(); }
  19. Can you please add: /** * @brief Has been CSRF-protected */ public static $csrfProtected = TRUE; to the files "templates" in applications/core/data/defaults: ControllerBlank.txt ControllerList.txt ControllerNode.txt when the location is admin. Thank you.
  20. I’ll send a PM with the template when I reach my PC, if no one else helps here first.
  21. Where do I change the private message email behavior in 4.5 where it shows just a piece of the content? I want to show the whole message as in 4.4. Thank you.
×
×
  • Create New...