
Everything posted by Daniel F
-
core_file_logs is pretty big
There’s a setting on the ACP file settings page to remove old data from the table. Please make sure that it’s active
-
Site is down with error Undefined constant 'IPS\HTMLENTITIES
Either your templates or a 3rd part plugin are outdated. Ill take a look at the ticket ASAP 🙂
-
How to have a different homepage for guest?
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
-
Clubs - Settings - Content Apps
You can do this inside the group permissions!
-
How are you preparing to upgrade to 4.5?
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.
-
Best way to run a script on new signup?
I would suggest to use the MemberSync extension which will be called literally always when a member is created/edited/deleted
-
How are you preparing to upgrade to 4.5?
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.
-
X Amount Of Days Before Posting In Specific Forum
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.
-
Warning message of task not running
It was improved for 4.5 🙂
-
CodingJungle's Apps [support topic]
It seems that strategem member sync extension is causing an infinite loop;) public function onDelete($member) { $m = Member::load($member->member_id); .. $m->delete(); }
-
Linked Accounts - Post As
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()
-
how to change contrast on create, message on top right
What’s the link to your site to see if anything is overwriting it?
-
I can't access to the forums after Pages is the default app
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.
-
So many issues...
Please submit a ticket so that we can take a look at this.
-
Some dates don't showing
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
-
Pages templates
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.
-
Pages templates
Something like this ? 🙂 It's not Elementor, but it heads to the right direction, or? 😉
-
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.
-
core/OverviewStatistics
What it does Overview extensions allow your applications to provide none content related statistics data for the ACP - Statistics Pages. How to use This extension requires a defined $page variable, where you can define if the provided statics data should be shown on the User or Activity Statistics page. /** * Return the sub-block keys * * @note This is designed to allow one class to support multiple blocks, for instance using the ContentRouter to generate blocks. * @return array */ public function getBlocks() { return array( 'reactions' ); } The getBlocks method returns an array with all available blocks. /** * Return block details (title and description) * * @param string|NULL $subBlock The subblock we are loading as returned by getBlocks() * @return array */ public function getBlockDetails( $subBlock = NULL ) { } The getBlockDetails method need to return an array with following keys: app - The app key for your application. (required) title - Language key for the title of the block. (required) description - A brief description of the data. (optional) refresh - Refresh rate of the statistics in seconds. form - Boolean value to specify if a node filter should be provided. /** * Return the block HTML to show * * @param array|NULL $dateRange NULL for all time, or an array with 'start' and 'end' \IPS\DateTime objects to restrict to * @param string|NULL $subBlock The subblock we are loading as returned by getBlocks() * @return string */ public function getBlock( $dateRange = NULL, $subBlock = NULL ) { } The getBlock method returns the rendered template from the block and can be filtered by date.
-
So sad for 4.5 delay
Have you seen https://invisioncommunity.com/files/file/9143-sd-course-box/ ? It's amazing and already available in our marketplace , while LMS had to be removed from our MP for various reasons!
-
Job Board App ?
This was a simple privat job, where I've set up the pages database and created 2 custom templates. Have you tried yourself to create such a database?
-
Job Board App ?
I've had a client where we indeed accomplished this via the pages app.
-
Elasticsearch Version 7 & IPB?
Yes
-
Keep original aspect ratio
Interesting. It's selected for me when I edit your image. Edit: OK, there's actually a condition controlling this.
-
Keep original aspect ratio
Do you mean inside the editor? I've just tested it and it selected for me.