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 DawPi
-
-
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();
-
I know. I have own copy of each release texts and noticed it too.
-
1 hour ago, Canis said:
Can't find it the the 4.7.16 Release Notes?
-
Do you have Redis enabled maybe?
-
10 minutes ago, Marafa said:
number of topic reads is not increasing after a new read
That number is updating frequently by the task, not live. Wait a little or run task called viewupdates.
11 minutes ago, Marafa said:Total number of members not updated after new registration
You mean that number displaying in the widget? 🙂
It's cached, so wait a little or refresh them from a Support tab in the ACP by using a Clear System Caches button at the right of it.
Everything is fine in the end.
-
I suggest that you base the newly created portal, i.e. the home page, on the Pages application. Much better and supported by the IPS.
- Thomas P, Sonya* and Claudia999
- 3
-
For a future reference see something like this:
https://invisioncommunity.com/search/?q=setLastComment&quick=1&type=forums_topic
Save your time. 🙂
-
-
6 hours ago, Marc Stridgen said:
To be fair, code can be incorrect too.
I'm speaking about that part only:
11 hours ago, WebCMS said:The url by ID alone "/blogs/blog/5" does not work but strangely partial url "/blogs/blog/5-x" works as it does with topics, etc.
It's done and works as expected. For example part of the furl.json file:
"blogs_blog": { "friendly": "blog/{#id}-{?}", "real": "app=blog&module=blogs&controller=view", "verify": "\\IPS\\blog\\Blog", "seoPagination": true },
Friendly part must contain "-" to works properly.
-
4 hours ago, WebCMS said:
but strangely partial url
It's intentional and has worked like this... since the beginning, I think.
So please stop wrong accusations without checking the source, code at least. 🙂
-
3 hours ago, Allan - TheTechTribe said:
is that a browser issue
I think this ^ (due to RAM overload or something, using by a browser).
-
Also Snagit. I've been using it for years.
- AlexWebsites and Marc Stridgen
- 1
- 1
-
They should utilize the built-in bookmark feature available in most browsers or use an app like Pocket. It's often more effective than other apps.
-
You should ask more. 😉
-
10 hours ago, Jelly Belly™ said:
I'd like the option to be able to remove all exif data, V4.5 already allows us to remove sensitive data but that doesn't go far enough, exif data is irrelevant to a lot of sites and is just extra clutter
https://forum.invisionize.pl/files/file/889-dp42-exif-forum-attachments/
https://forum.invisionize.pl/files/file/890-dp45-exif-gallery-images/
-
3 hours ago, Randy Calvert said:
I don’t know the plugin and I don’t know your install, but if it were me…
I know. 😉
That mod do not touching anything related to sessions etc.
-
For anyone interested I have something like this:
https://forum.invisionize.pl/files/file/920-dp45-delete-ip-addresses-device-history/
-
29 minutes ago, Thomas T. said:
. just change the option. Strange that it is not by default.
Will be once you'll enable it:
https://invisioncommunity.com/notifications/options/
-
-
-
-
-
Use my support topic to get any info or confirmations. IPS closed MP here so we need to use our own systems to provide it.
Thanks for understanding!
-
Mixin for UI?
in Developer Connection
Posted
What kind of module you're talking about?