Jump to content

Daniel F

Invision Community Team
  • Posts

    6,574
  • Joined

  • Days Won

    37

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by Daniel F

  1. Nope, it’s there since 4.0.0 Alpha 1
  2. There’s one as part of the IP. Pages application.
  3. Yea, something strange is going on here, the real API gateway ( http://poolspaforum.com/forum/api/index.php ) returns a "pseudo 301" page with the status 200 mentioning that the new url is https://poolspaforum.com/forum/api/core/members
  4. You shouldn't use the 4.4 dev files for 4.5! You can get the 4.5 dev files on the same page where you can download 4.5
  5. There’s a 3rd party plugin available in our marketplace
  6. downloads_files is the correct one. The file owner is stored in the submitter column.
  7. You could use the theme resources system to upload your own image without the need for a ftp/sftp client
  8. We have removed the session id from the ACP urls, meaning that you have to make sure to use CSRF protections in all your methods which change a state! We also advice to use \IPS\Request::i()->confirmedDelete() in all your methods where you're deleting data! One of the few examples from the MP reviews is this code: protected function approve() { if ( !\IPS\Request::i()->id ) { \IPS\Output::i()->error( 'node_error', '2myApp', 404, '' ); } $a = \IPS\myApp\Item::load( \IPS\Request::i()->id ); $a->open = 1; $a->save(); /* Log History */ \IPS\myApp\History::addEntry( 'foo', x, \IPS\Member::loggedIn()->name ); \IPS\Output::i()->redirect( \IPS\Http\Url::internal( '.' )); } Once an administrator with a valid ACP session calls the url, he would automatically approve the advert, meaning that any member could post an encoded URL (or use one of the other methods which I'm not going to mention here ) to lead the admin into the trap! To prevent that this happens, you have to utilise the CSRF key and to check in your method if the key is valid, before anything else is done!
  9. Your cron task is quite confusing and introducing unncessary overhead. foreach ( \IPS\Db::i()->select( '*', 'contenthistory_visits' ) as $row ) { \IPS\Db::i()->delete( 'contenthistory_visits', array( 'ch_date<?', \IPS\DateTime::create()->sub( new \DateInterval( 'P' . \IPS\Settings::i()->ch_prune_logs_days . 'D' ) )->getTimestamp() ) ); } What's the point of the foreach loop? There's really no need to iterate over all the rows in contenthistory_visits, you can just run the query which you have inside the loop.
  10. Our zapier Integration will of course include support for databases, records , comments and reviews. BTW, you’re already able to use our REST endpoints in combination with Zapier Webhooks to run operations with records, comments and reviews. https://invisioncommunity.com/developers/rest-api
  11. That’s the Post before Registration follow up
  12. You can just create your own robots.txt file and upload it via FTP to your host, or if you’re using CiC, just create a new page called robots.txt
  13. Please submit a ticket so that we can take a look at this.
  14. It’s not enough to include the init.php , you also need to initialize the dispatcher .
  15. Just to clarify. You were already able to accomplish this within forums since IPS 4.0 (probably even before) The change in 4.5 covers now also club forums. So, as Club Owner, when creating a new forum feature, you see now a new setting for this
  16. Hi, that's possible with the forum application:) When creating or editing a forum in the ACP, you have following setting under the "Forum Settings" tab, which controls this
  17. IPS 4.5 will include a new option for advertisements allowing you to define to not show the advertisement on such pages.
  18. Don't forget that Records "doesn't exist", it's just a virtual class used to create the real implementation aka Records1, Records2 ( the Database ID is attached to the classname), this means you need to use the proper record class name. Instead of \IPS\cms\Records it's going to be \IPS\cms\Records1 ( replace 1 with your database id )
  19. 1. The installation is an exclusive feature provided by a custom application here on invisioncommunity.com which is the server-side backend of the new ACP MP installation feature in 4.5 . It would be pointless to provide this in the downloads app product for others;) You'll still have your "Download" Button. 2. There's still a download button
  20. That's a simple widget using our new Page Builder - Text Widget 🙂
  21. BTW, we have a recovery mode which will disable all 3rd party apps and plugins and which will literally fix 99% of the issues after an upgrade 🙂 https://invisioncommunity.com/4guides/client-services/getting-support-r292/#recoverymode
  22. There's indeed already a plugin for creditor https://ckeditor.com/cke4/addon/table
  23. That's an issue with a 3rd party application or plugin which added a custom column to your forums_posts database table called charmod_name
×
×
  • Create New...