Jump to content

DawPi

Clients
  • Posts

    8,313
  • Joined

  • Last visited

  • Days Won

    19

DawPi last won the day on February 2

DawPi had the most liked content!

Contact Methods

Profile Information

  • Gender
    Male
  • Location
    .pl

Recent Profile Visitors

158,328 profile views
  1. Did you specify the $table->rowsTemplate value? 🙂 It's required for a front DB Helpers if I'm not wrong.
  2. It can't be done from there. Such changes require custom modding. I might be interested in doing something like this so anyone interested PM me please.
  3. Send them money directly on the bank account or PayPal? 🤔
  4. I've done custom mod for reordering screenshots in the Downloads. Working fine on edit or new version page. See: video_1.mp4
  5. This is the same. Open forumRow template bit, find: Find: {{$count = \IPS\forums\Topic::contentCount( $forum, TRUE );}} Change to: {{$count = (int) \IPS\forums\Topic::contentCount( $forum, TRUE );}} Does it help?
  6. I can confirm that. Problematic forum has: string(5) "1510+" As a $count. 😉
  7. It won't work in my situation I affraid. I needed to change that part in the uploader but... It's done. I've added custom script code before body end: <script defer> $(document).ready(function() { (... rest of the code ....) But thanks for your efforts!
  8. What kind of module you're talking about?
  9. Hello, we have mixins for controllers: But what about mixins for UI? For example how can I change that part from a ips.ui.uploader.js: /** * Sets up this instance * * @returns {void} */ var init = function () { uploaderID = $( elem ).identify().attr('id'); if( options.listContainer ){ listContainer = $( options.listContainer ); } else if( $( elem ).find('[data-role="fileList"]').length ) { listContainer = $( elem ).find('[data-role="fileList"]'); } else { listContainer = $( elem ); } // Do we need to insert a wrapper though? if( ips.templates.get( options.template + 'Wrapper' ) ){ listContainer.prepend( ips.templates.render( options.template + 'Wrapper' ) ); // Move any existing items var firstItem = listContainer.children().first(); firstItem.append( listContainer.children().not( firstItem ) ); // Set listContainer to the wrapper listContainer = firstItem; // And initialize any widgets we might have $( document ).trigger( 'contentChange', [ listContainer.parent() ] ); } // Add document events $( document ).on( 'addUploaderFile', _addUploaderFile ); $( document ).on( 'removeAllFiles', _removeAllFiles ); // Any files to start with? if( options.existingFiles ){ try { var files = $.parseJSON( options.existingFiles ); if( files.length ){ _buildExistingFiles( files ); } } catch (err) { Debug.error("Couldn't build existing files: " + err ); } } if( _supportsDraggable() ){ $( elem ).find('.ipsAttachment_supportDrag') .show() .end() .find('.ipsAttachment_nonDrag') .hide(); } // Load the appropriate files var load = ['core/interface/plupload/plupload.full.min.js']; if( !ips.getSetting('useCompiledFiles') ){ load = ['core/interface/plupload/moxie.js', 'core/interface/plupload/plupload.dev.js']; } ips.loader.get( load ).then( function () { _setUpUploader(); _initUploader(); _postInitEvents(); _setUpFormEvents(); }); }, And add something after: _setUpFormEvents();
  10. I know. I have own copy of each release texts and noticed it too.
  11. Do you have Redis enabled maybe?
×
×
  • Create New...