Jump to content

Adriano Faria

Clients
  • Posts

    31,855
  • 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. As a custom job, yes. For marketplace, no. Drop a message if you're interested.
  2. Just tested and that's it. Tried with a .zip and it downloads; it doesn't redirect.
  3. I think he's talking about submit files from URLs, like: In that case, when you click to download, you're redirected to that site. /* Download */ if ( $data['record_type'] === 'link' ) { \IPS\Output::i()->redirect( $data['record_location'] ); } else { $file = \IPS\File::get( 'downloads_Files', $data['record_location'], $data['record_size'] ); $file->originalFilename = $data['record_realname'] ?: $file->originalFilename; $this->_download( $file ); } Location: This can be done via plugin.
  4. og:image is what Facebook uses to show as post image: https://developers.facebook.com/docs/sharing/webmasters/?locale=en_US Right click in this topic page and see if it shows og:image in the source code. If it’s there, click in the path and see if the image loads properly. I also not sure if it matters but probably the image should be accessible to guests. Read the page I linked. There are some advices there regarding the image.
  5. Just update to newest and enable it after that.
  6. There's no "superadmin" on IPS4. Admin is a member who can perform actions in ACP. Moderator is a member who can perform action in front end. A user can be a moderator and not be an admin as the user can also be an admin and not be an moderator. It depends on how you set permissions... That's why you have a ADMINISTRATORS and MODERATORS separated page on ACP. Again, you need to be a MODERATOR, and not ADMIN, to move things on front end.
  7. I'm not sure I understand your request but Images are not possible. I can add a FontAwesome icon before the tab title, if that's what you mean.
  8. Nope, there isn't.
  9. I didn't test other apps, only Forums, which has two Moderation Actions menus (top and bottom). The popup opened by them has different size: - Top: - Bottom: Top uses "medium" size which makes the layout weird. Thank you.
  10. C:\wamp64\www\beta\system\Helpers\Form\FormAbstract.php:312: object(Whoops\Exception\ErrorException)[328] protected 'message' => string 'explode(): Passing null to parameter #2 ($string) of type string is deprecated' (length=78) private string 'string' (Exception) => string '' (length=0) protected 'code' => int 8192 protected string 'file' => string 'C:\Windows\Temp\theF15.tmp' (length=26) protected int 'line' => int 10 private array 'trace' (Exception) => array (size=13) 0 => array (size=4) 'function' => string 'handleError' (length=11) 'class' => string 'Whoops\Run' (length=10) 'type' => string '->' (length=2) 'args' => array (size=4) ... 1 => array (size=4) 'file' => string 'C:\Windows\Temp\theF15.tmp' (length=26) 'line' => int 10 'function' => string 'explode' (length=7) 'args' => array (size=2) ... 2 => array (size=4) 'file' => string 'C:\wamp64\www\beta\system\Theme\Dev\Template.php' (length=48) 'line' => int 171 'function' => string 'IPS\Theme\theme_core_global_forms_text' (length=38) 'args' => array (size=14) ... 3 => array (size=6) 'file' => string 'C:\wamp64\www\beta\system\Helpers\Form\Text.php' (length=47) 'line' => int 156 'function' => string '__call' (length=6) 'class' => string 'IPS\Theme\Dev\_Template' (length=23) 'type' => string '->' (length=2) 'args' => array (size=2) ... 4 => array (size=6) 'file' => string 'C:\wamp64\www\beta\system\Helpers\Form\FormAbstract.php' (length=55) 'line' => int 270 'function' => string 'html' (length=4) 'class' => string 'IPS\Helpers\Form\_Text' (length=22) 'type' => string '->' (length=2) 'args' => array (size=0) ... 5 => array (size=6) 'file' => string 'C:\wamp64\www\beta\system\Helpers\Form\Form.php' (length=47) 'line' => int 456 'function' => string 'rowHtml' (length=7) 'class' => string 'IPS\Helpers\Form\_FormAbstract' (length=30) 'type' => string '->' (length=2) 'args' => array (size=1) ... 6 => array (size=6) 'file' => string 'C:\wamp64\www\beta\system\Node\Controller.php' (length=45) 'line' => int 509 'function' => string '__toString' (length=10) 'class' => string 'IPS\Helpers\_Form' (length=17) 'type' => string '->' (length=2) 'args' => array (size=0) ... 7 => array (size=6) 'file' => string 'C:\wamp64\www\beta\system\Node\Controller.php' (length=45) 'line' => int 476 'function' => string '_showForm' (length=9) 'class' => string 'IPS\Node\_Controller' (length=20) 'type' => string '->' (length=2) 'args' => array (size=1) ... 8 => array (size=6) 'file' => string 'C:\wamp64\www\beta\system\Dispatcher\Controller.php' (length=51) 'line' => int 107 'function' => string 'form' (length=4) 'class' => string 'IPS\Node\_Controller' (length=20) 'type' => string '->' (length=2) 'args' => array (size=0) ... 9 => array (size=6) 'file' => string 'C:\wamp64\www\beta\system\Node\Controller.php' (length=45) 'line' => int 69 'function' => string 'execute' (length=7) 'class' => string 'IPS\Dispatcher\_Controller' (length=26) 'type' => string '->' (length=2) 'args' => array (size=0) ... 10 => array (size=6) 'file' => string 'C:\wamp64\www\beta\applications\core\modules\admin\applications\plugins.php' (length=75) 'line' => int 48 'function' => string 'execute' (length=7) 'class' => string 'IPS\Node\_Controller' (length=20) 'type' => string '->' (length=2) 'args' => array (size=0) ... 11 => array (size=6) 'file' => string 'C:\wamp64\www\beta\system\Dispatcher\Dispatcher.php' (length=51) 'line' => int 153 'function' => string 'execute' (length=7) 'class' => string 'IPS\core\modules\admin\applications\_plugins' (length=44) 'type' => string '->' (length=2) 'args' => array (size=0) ... 12 => array (size=6) 'file' => string 'C:\wamp64\www\beta\admin\index.php' (length=34) 'line' => int 13 'function' => string 'run' (length=3) 'class' => string 'IPS\_Dispatcher' (length=15) 'type' => string '->' (length=2) 'args' => array (size=0) ... private ?Throwable 'previous' (Exception) => null protected int 'severity' => int 8192 public 'xdebug_message' => string '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Whoops\Exception\ErrorException: explode(): Passing null to parameter #2 ($string) of type string is deprecated in C:\Windows\Temp\theF15.tmp on line <i>10</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Mem'... (length=9546)
  11. Do the above, if your have FTP and the problem may end up, if this is the cause.
  12. According to @GazzaGarratt, it was disabled when upgraded to 4.7.3. Can you confirm it IS disable, @GazzaGarratt? IF you don't want to wait for the file review, open applications / tournaments / Sources / Tournaments / Tournaments.php and find the method getItemsWithPermission. Change it to: public static function getItemsWithPermission( $where=array(), $order=NULL, $limit=10, $permissionKey='read', $includeHiddenItems=\IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags=0, \IPS\Member $member=NULL, $joinContainer=FALSE, $joinComments=FALSE, $joinReviews=FALSE, $countOnly=FALSE, $joins=NULL, $skipPermission=FALSE, $joinTags=TRUE, $joinAuthor=TRUE, $joinLastCommenter=TRUE, $showMovedLinks=FALSE, $location=NULL ) { $member = $member ?: \IPS\Member::loggedIn(); if ( !$member->isAdmin() ) { $joinContainer = TRUE; } return parent::getItemsWithPermission( $where, $order, $limit, $permissionKey, $includeHiddenItems, $queryFlags, $member, $joinContainer, $joinComments, $joinReviews, $countOnly, $joins, $skipPermission, $joinTags, $joinAuthor, $joinLastCommenter, $showMovedLinks, $location ); } Scanner won't flag as incompatible and you can enable the app.
  13. Apparently not. Tested a couple of resources and it's ok. You have to add: /** * @brief Can be shown in similar content */ public $similarContent = TRUE; to your ContentRouter extension if you want your content item to be displayed in the similar content widget.
  14. It shouldn't be an issue as the app is disable. Something wrong in the framework.
  15. If it is disabled, it shouldn’t point an error. New version is pending. let me know if you have FTP access to your server. 10 seconds fix.
  16. Another test is to click in the bell icon to open on a new tab. It will show the error.
  17. Will this require update resources again to make them compatible?
  18. See the content of the log in your ACP.
  19. This one is faster: But several language bits are shared between front end and ACP so you can’t simply translate one now and leave other to another day. You will have a “mixed” translated ACP.
  20. @Daniel F, what happened to the pending version? Yes, there was, uploaded on October, 17, unless I'm crazy. Anyway, uploaded again:
  21. Ok, thanks. New version pending approval.
  22. New version of this resource will add the ability to choose type of event to be used in Calendar: Both Online Events Physical Events - Online: - Physical: If you choose EITHER in the settings, form won't change as the user will be able to choose ONLINE or PHYSICAL.
×
×
  • Create New...