Jump to content

Daniel F

Invision Community Team
  • Joined

Everything posted by Daniel F

  1. @TheJackal84 Is this a custom flashmessage? If yes, take a look at my 4.3 changes post If not, I’ll be happy to take a look at your issue No‘
  2. Invision Community 4.3 introduces a new Reply to a Review feature. To support Review Replies, your Review class needs to define author_response in the column map. namespace IPS\myapp; class _MyClass extends \IPS\Content\Review { public static $databaseColumnMap = array( /* etc */ 'author_response' => 'author_response', ); } Additionally, you must add a Mediumtext column to your content items database table with the defined name from the columnMap. New ReviewReply related methods: /** * Has the author responded to this review? * * @return bool */ public function hasAuthorResponse() /** * Can the specified user respond to the review? * * @note Only the author of the content item can respond by default, but this is abstracted so third parties can override * @param \IPS\Member|NULL $member Member to check or NULL for currently logged in member * @return bool */ public function canRespond( $member=NULL ) /** * Can the specified user edit the response to this review? * * @param \IPS\Member|NULL $member Member to check or NULL for currently logged in member * @return bool */ public function canEditResponse( $member=NULL ) /** * Can the specified user delete the response to this review? * * @param \IPS\Member|NULL $member Member to check or NULL for currently logged in member * @return bool */ public function canDeleteResponse( $member=NULL )
  3. NOPE, please not! For the record, I'm not talking about your use case, only about your hook... Just a minor suggestion, please use IPS\Application: convertLegacyParameters() instead of overriding the session class. This would be the "official" place for such redirect, this definitely doesn't belong into the session object! You can see some examples in the core or forums app:)
  4. This was a bug which I have fixed for IPS 4.3 ( The report and reportComment Form page returned response code 404 instead of 403 )
  5. Daniel F replied to -RAW-'s post in a topic in Marketplace
    Please change the error in the modules/admin/manage controller. You really shouldn't throw a logged exception If the admin has no permission to award somebody throw new \Exception( \IPS\Member::loggedIn()->language()->get( 'awards_others_err' ) ); Same with throw new \Exception( \IPS\Member::loggedIn()->language()->get( 'awards_obtainable_err' ) )
  6. Daniel F replied to Adriano Faria's post in a topic in Marketplace
    There's a bug in the winners task Only subclasses of Dispatcher can be instantiated #0 /home/ing/public_html/forum/system/Theme/Theme.php(727): IPS\_Dispatcher::i() #1 /home/ing/public_html/forum/system/Theme/Theme.php(824) : eval()'d code(886): IPS\_Theme->getTemplate('global', 'core') #2 /home/ing/public_html/forum/system/Theme/SandboxedTemplate.php(56): IPS\Theme\class_raffles_front_view->memberRow(Object(IPS\raffles\Raffle), Object(IPS\Member), Array, 1) #3 /home/ing/public_html/forum/system/Theme/Theme.php(824) : eval()'d code(1730): IPS\Theme\_SandboxedTemplate->__call('memberRow', Array) #4 /home/ing/public_html/forum/system/Theme/SandboxedTemplate.php(56): IPS\Theme\class_raffles_front_view->raffleWinners(22, Array) #5 /home/ing/public_html/forum/system/Theme/Theme.php(824) : eval()'d code(720): IPS\Theme\_SandboxedTemplate->__call('raffleWinners', Array) #6 /home/ing/public_html/forum/system/Theme/SandboxedTemplate.php(56): IPS\Theme\class_raffles_front_submit->updateTopicWithWinners(22, 'giveaway', Array) #7 /home/ing/public_html/forum/applications/raffles/tasks/Winners.php(160): IPS\Theme\_SandboxedTemplate->__call('updateTopicWith...', Array) #8 /home/ing/public_html/forum/applications/raffles/tasks/Winners.php(104): IPS\raffles\tasks\_Winners->updateTopicWithResult(Object(IPS\raffles\Raffle), Array) #9 /home/ing/public_html/forum/system/Task/Task.php(248): IPS\raffles\tasks\_Winners->execute() #10 /home/ing/public_html/forum/system/Task/Task.php(217): IPS\_Task->run() #11 /home/ing/public_html/forum/applications/core/interface/task/task.php(60): IPS\_Task->runAndLog() #12 {main}
  7. Daniel F replied to Gabriel Torres's post in a topic in Feedback
    There's no setting for this. If you have permissions to edit the tile you can longpress on the title till an input box appears.
  8. Daniel F replied to Gabriel Torres's post in a topic in Feedback
    That's a core feature.
  9. Daniel F replied to Michael.J's post in a topic in Marketplace
    Hi, Your app contains several language strings with the same key, as present in the core application, which is causing translation issues . At a quick glance, I've noticed "delete","quote", "guest". I would suggest to add an app specific prefix to the key or to reuse the existing langstrings from the core to avoid such issues in the future
  10. Thanks for bringing this to our attention. I have fixed this for the next release:)
  11. This seems to be a bug in IPS 4.2. You could disable and re-enable the "Enable template disk caching" setting on the Advanced Settings Page to fix this temporary
  12. Daniel F replied to Adriano Faria's post in a topic in Marketplace
    That's a bug in your app... The extensions class name is Image and you're using Images in view.php \IPS\Output::i()->metaTags['og:image'] = \IPS\File::get( 'raffles_Images', $this->raffle->thumb )->url;
  13. It's part of the converter app.
  14. I'll still reply, maybe it's useful to other people if the application / plugin was uninstalled, you should drop the column. If the application / plugin data should remain in the database, I would suggest to just set a default value for this field.
  15. Daniel F replied to Adriano Faria's post in a topic in Marketplace
  16. This entry is about our IPS Community Suite 4.2 release In IPS Community Suite 4.2 we have added a bunch of new settings for the Downloads Index Page. Downloads Index Page - Settings With 4.2 you'll be able to hide any of the boxes. Hidden Most Downloads Box Another often requested feature was that people want to be able to choose the categories from where the files should be fetched This way you'll be able to hide files from some very old categories. Hidden Categories
  17. Daniel F replied to Spanner's post in a topic in Feedback
    We have an internal topic about this, because it's not a simple fix which requires us to change almost the whole FURL system
  18. Daniel F replied to Adriano Faria's post in a topic in Marketplace
    There's a bug in this application which is causing a 500 error page caused by this line in your hook: public function log( $status, $member ) { if( \IPS\Dispatcher::i()->controllerLocation === 'front' AND \IPS\Settings::i()->llogs_groups == '*' OR $member->inGroup( explode( ',', \IPS\Settings::i()->llogs_groups ) ) ) { you're not checking if $member is null or an instance of \IPS\Member which results in following fatal error: [22-Sep-2016 10:07:32 UTC] PHP Fatal error: Call to a member function inGroup() on array in /home/zzzz/public_html/init.php(442) : eval()'d code on line 37 So each time somebody tries to login with a not existing account, it results in a 500 error page
  19. This was fixed for 4.1.13
  20. CSS Shouldn't be vanished while the background processes run. Please submit a ticket and i'll take a look
  21. Daniel F replied to Adriano Faria's post in a topic in Marketplace
  22. Daniel F replied to Owdy's post in a topic in Technical Problems
    It's already on our internal suggestions list:)
  23. Daniel F replied to Owdy's post in a topic in Technical Problems
    A broken image link
  24. Daniel F replied to Adriano Faria's post in a topic in Marketplace
    No, it handles this for applications, but not plugins. Plugins aren't meant to have own extensions, but you're using one here.
  25. Daniel F replied to Adriano Faria's post in a topic in Marketplace
    @Adriano Faria you should delete the notifications which belong to this plugin while the uninstall process of this plugin. Once the plugin was uninstalled, the "delete_account" notifications can't be loaded anymore and will cause an exception.