Jump to content

Daniel F

Invision Community Team
  • Posts

    6,583
  • 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. This language string is using another string x_members for the member/members pluralisation, so once you translate x_members it should work correct πŸ™‚
  2. Faqole left our community, but there's at least another file in our marketplace, which is able to accomplish this https://invisioncommunity.com/files/file/8377-delete-old-content/
  3. There’s an app by @Fosters with Russian, Chinese , etc character detection for spam protection
  4. You could trigger the cleanup tasks several times manually and see if it helps .
  5. There’s a setting on the ACP file settings page to remove old data from the table. Please make sure that it’s active
  6. Either your templates or a 3rd part plugin are outdated. Ill take a look at the ticket ASAP πŸ™‚
  7. You could create a page and use block permissions to control the blocks visibility for each group or create a stand alone page and use a 3rd party plugin
  8. You can do this inside the group permissions!
  9. A good start which can already be done, would be to ensure that existing MP rules are followed, for example that none of the core database table is changed. I've picked 3 random files from https://invisioncommunity.com/profile/114025-adriano-faria/content/?type=downloads_file and well... while other MP devs started to implement this change months ago to their existing apps, 2 of the 3 random apps which were recently upgraded, were still adding columns to core_members.
  10. I would suggest to use the MemberSync extension which will be called literally always when a member is created/edited/deleted
  11. It's coming with the first available release. It would be probably pointless to release such a topic ( or any of the new already prepared new dev resources) yet because things still change.
  12. You could use the group promotion system for this. Create a new group which is allowed to post in the forum and create a new group promotion rule to move members to this group after being registered for x days.
  13. It seems that strategem member sync extension is causing an infinite loop;) public function onDelete($member) { $m = Member::load($member->member_id); .. $m->delete(); }
  14. That's pointless with errors like https://invisioncommunity.com/forums/topic/451728-account-deactivation/?do=findComment&comment=2817404, they'll only appear once the task was executed by the CLI πŸ˜‰ LOCATION_UNKNOWN #0 /path/to/html/root/system/Member/Member.php(154): IPS\_Session::I() ... #8 /path/to/html/root/applications/core/interface/task/task.php(56): IPS\_Task->runAndLog()
  15. What’s the link to your site to see if anything is overwriting it?
  16. My guess is that something is wrong with your menu links ( are they probably hardcoded??) but please just submit a ticket so that we can take a look at this.
  17. Please submit a ticket so that we can take a look at this.
  18. Yes, this is caused by your custom translation. Please review your translated strings and ensure that they have the same amount of variables as the original English string
  19. Well, while it's not the same, we have a similar system in the background already;) You can already define the base template ( 1,2,3 columns ) while creating a page.
  20. Something like this ? πŸ™‚ It's not Elementor, but it heads to the right direction, or? πŸ˜‰
  21. It gets the data automatically. The form field is just an additional way to reset the value.
  22. Daniel F

    core/RssImport

    What it does RssImport extensions allow your applications to create content from imported RSS Feeds. Administrators can set up RSS imports within the admin control panel from a central location and choose where the RSS items should be created. By adding an extension you can include your application content types in this list. How to use You will need the following 5 methods. For example usage please see /applications/forums/extensions/core/RssImport; /** * Return available options for a Form\Select * * @return array */ public function availableOptions() { } availableOptions allows you to specify the content type to import to. /** * Node selector options * * @param \IPS\core\Rss\Import|null $rss Existing RSS object if editing|NULL if not * @return array */ public function nodeSelectorOptions( $rss ) { } nodeSelectorOptions allows you to choose which container type to import items to as well as any conditions for the nodes available via the permissionCheck callback. /** * @param \IPS\core\Rss\Import $rss RSS object * @param array $article RSS feed article importing * @param \IPS\Node\Model $container Container object * @param string $content Post content with read more link if set * @return \IPS\Content */ public function create( \IPS\core\Rss\Import $rss, $article, \IPS\Node\Model $container, $content ) { } The create method accepts info on the RSS import object as well as the article from the feed being imported, the container selected by the administrator for the import and the article content. This method should be used to create the content item in your application from the RSS article. /** * Addition Form elements * * @param \IPS\Helpers\Form $form The form * @param \IPS\core\Rss\Import|null $rss Existing RSS object if editing|NULL if not * @return void */ public function form( &$form, $rss=NULL ) { } Aside from the container, you can also specify additional form options here. For example you could provide a form field for tags so the admin can specify which tags should be added to the application content item. /** * Process additional fields unique to this extension * * @param array $values Values from form * @param \IPS\core\Rss\Import $rss Existing RSS object * @return array */ public function saveForm( &$values, $rss ) { } The saveForm method can be used to perform additional processing on the values submitted in the form() method above.
Γ—
Γ—
  • Create New...