Jump to content

Daniel F

Invision Community Team
  • Joined

Everything posted by Daniel F

  1. We have also an additional topic covering all the new 4.5 changes and features
  2. Why would you need to uninstall the app/plugin?
  3. It’s only happening when you follow some content and if you have chosen this setting you’ll need a 3rd party app I’d you want it automated without following any content
  4. Daniel F replied to batarjal's post in a topic in Marketplace
    Nope, it’s there since 4.0.0 Alpha 1
  5. There’s one as part of the IP. Pages application.
  6. 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
  7. 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
  8. There’s a 3rd party plugin available in our marketplace
  9. downloads_files is the correct one. The file owner is stored in the submitter column.
  10. You could use the theme resources system to upload your own image without the need for a ftp/sftp client
  11. 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!
  12. Daniel F replied to Adriano Faria's post in a topic in Marketplace
    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.
  13. 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
  14. That’s the Post before Registration follow up
  15. 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
  16. Please submit a ticket so that we can take a look at this.
  17. It’s not enough to include the init.php , you also need to initialize the dispatcher .
  18. 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
  19. 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
  20. Daniel F replied to netonet's post in a topic in Feedback
    IPS 4.5 will include a new option for advertisements allowing you to define to not show the advertisement on such pages.
  21. 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 )
  22. 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
  23. That's a simple widget using our new Page Builder - Text Widget 🙂
  24. This was resolved by updating to beta 3:)
  25. 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