Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


 Content Type 


Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory


Release Notes v5





Everything posted by teraßyte

  1. Have you double-checked the old task isn't present anymore in the tasks.json file? I had the same issue once, and the problem was that the code kept re-adding it because it was still in the file.
  2. Read this topic: https://invisiondevs.com/topic/27-how-to-downloadpurchase-files/ However, ignore the first part about the deposit and look at the last line: I guess @Kirill Gromov will update your group once he sees your reply(?).
  3. @Marc Stridgen The site being unable to reach the license server shouldn't generate those multiple warnings in ACP, though. It's something that should be looked into. 😋
  4. It's not listed in the new Marketplace's site. You can find it directly on the developer's site: https://invisiondevs.com/files/file/2-robokassa-payment-gateway/
  5. No, there is no option to moderate blog entries. I assume that's because blogs are technically "owned" by the users who create them. You'll need some kind of custom modification to add blog entries to the approval queue like other content. Unless one already exists, but I don't remember seeing one.
  6. The template core > front > profile > allFollowers was updated in 4.7.14 to include type casting for the page value in the bottom pagination: {template="pagination" group="global" app="core" location="global" params="$url, ceil( $followersCount / 50 ), (int) \IPS\Request::i()->page ?: 1, 50"} However, the top pagination in the same template is still missing the (int) type casting: {template="pagination" group="global" app="core" location="global" params="$url, ceil( $followersCount / 50 ), \IPS\Request::i()->page ?: 1, 50"}
  7. The articles page is the default one when you install the application. You simply need to select the new page you made as the default one. You can do so from the menu on the right of the page's row. Open it and click on Make default page for this folder.
  8. Do you have the Pages application? If you do, you can set it up as the default application and create your homepage there. With that, the forum URL will become https://www.scalewings.org/forums/ without needing to use a "swoc" subfolder.
  9. Their site has been having more and more issues lately. I'd suggest to your members to use another hosting image service.
  10. Small trick: Compress all the files you have to upload into a single ZIP file, upload it to the server, and then uncompress it through SSH. It saves a lot of time. 🙂
  11. https://invisioncommunity.com/clientarea/free-trial
  12. Yes. But remember that together with the files, you also need the correct PHP version, though. You're likely using PHP 7.4 or an earlier version because 4.5 doesn't support PHP 8. (Support for PHP 8.0 was added in 4.6 if I remember correctly.)
  13. A few points: Until you upload the new 4.7.14 files in the correct location, the upgrade script will tell you there's nothing to upgrade. After uploading the new files you get a 500 error because the last 4.7.14 version requires PHP 8 and you still need to run the upgrader from /admin/upgrade. If you want to be sure the upgrade works correctly, you could try a test upgrade on a copy of the forum on another folder/server first.
  14. There's a plugin by @Adriano Faria to remove the Pages option from the quick search menu. That would make it default to Everywhere in your situation. However, after the move from the IPS Marketplace, the plugin is missing from his site. I've already let him know. You can keep an eye on his site for when it's re-added: https://www.sosinvision.com.br/ Another option would be to convert the pins database to a custom application or a database in the Pages application. That would take quite a lot of time to get things set up, though. 😋
  15. For Application.php you can use: /** * Cleanup after saving * * @param bool $skipMember Skip clearing member cache clearing * @return void * @note This is abstracted so it can be called externally, i.e. by the support tool */ public static function postToggleEnable( $skipMember=FALSE ) { # Parent call parent:postToggleEnable( $skipMember ); # Your code here # [...] } Or you can also extend set_enabled(): /** * [Node] Set whether or not this node is enabled * * @param bool|int $enabled Whether to set it enabled or disabled * @return void */ protected function set__enabled( $enabled ) { # Parent call parent:set__enabled( $enabled ); # Your code here # [...] } They actually use set_enabled() to switch the application's tasks (which is what you want to do with the login handler): /* Update other app specific task statuses */ \IPS\Db::i()->update( 'core_tasks', array( 'enabled' => (int) $this->enabled ), array( 'app=?', $this->directory ) );
  16. It's in the Integrations area in ACP. Look at the last part of this guide:
  17. Don't use the upgrade script in ACP. Try going manually to /admin/upgrade instead.
  18. Yes. That setting is not restricted to a specific forum, blog, gallery album, etc. It applies to everything the user posts.
  19. There is no default option like that in Invision Community. You need a modification for it: https://www.invisioneer.org/files/file/36-dp42-topics-per-time/
  20. While reviewing some code in the forums application I found a couple of places that check the wrong class name for topics if the group is allowed to hide its own topics. These are the 2 files where IPS\forums\Topics needs to be replaced with IPS\forums\Topic: Line 649 in \applications\forums\modules\front\forums\forums.php $canHide = ( \IPS\Member::loggedIn()->group['g_hide_own_posts'] == '1' or \in_array( 'IPS\forums\Topics', explode( ',', \IPS\Member::loggedIn()->group['g_hide_own_posts'] ) ) ); Line 530 in \applications\forums\sources\Topic\Topic.php $canHide = ( $item ) ? $item->canHide() : ( \IPS\Member::loggedIn()->group['g_hide_own_posts'] == '1' or \in_array( 'IPS\forums\Topics', explode( ',', \IPS\Member::loggedIn()->group['g_hide_own_posts'] ) ) ); I searched all the files just in case, but those are the only ones I found.
  21. There is no option for that currently. You need to edit the template core > front > global > logo and replace (twice) the link: {setting="base_url"} with the one you want to use.
  22. There is a tool in ACP to rebuild the achievements right away (see the button in the Other Settings screenshot): Before rebuilding, you can change the rules so that they add only 1 point for each content they make. By default, users get 10 points for a new item they post and 5 points for each comment/reply.
  23. It's the joined column in the core_members table. The value must be a UNIX timestamp: https://www.unixtimestamp.com/ Example timestamp for the current time: 1700338973
  24. Yeah. With 10k accounts, options #1 and #2 aren't really feasible. 😅 The only real option would be #3. A quick script to import a CSV file that contains only the account email and their joined date. It could quickly go through the data to update the date column in the members' table using the email. It should be easy enough for your developer in case you want to go ahead with it.
  • Create New...