Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by CodePixel
-
-
Just now, LiquidFractal said:
"safety" per se wasn't your primary concern
if IPS Staff didn't check if apps/plugins are safe for end user, can you even imagine how many more problems would they have from community owners that used said app/plugin and got hurt by it, even more chargebacks, even more tickets/emails, even more problems.
Would you want that for your company?
-
4 hours ago, Hisashi said:
PS could go another route, which in this case would be to charge a small fee to developers who publish resources with a limited free version.
This will go the same route it went before, although this looks like a good idea, again - this puts IPS in place where they have to be a middle-man which costs time and effort for very little amount of money which is just simply not worth it. Imagine you having a company and people would require you to work almost for free, would you do it just for the community?
-
-
11 minutes ago, Robert Angle said:
I would like to ask why the structure of the Invision Marketplace couldn't still exist here, but instead of financial transactions and downloads being handled by Invision, just remove the commerce aspect of it and just let it be a "Downloads" directory with hyperlinks back to the author's site.
This has been said already and answer will be still the same, if IPS decides to provide even a downloads with links forwarding to authors website, they put themselves in place where they still have to be some sort of middle man and people will hold them accountable if something goes wrong, or demanding removal of such file from downloads.
It's simply not worth it for them as a business and I fully understand that you should too.
- Jim M, Ryan Ashbrook and Lindy
- 2
- 1
-
3 minutes ago, Joel R said:
My goal for this new Marketplace Directory is simple: provide an independent directory using Downloads. It will link you to the providers' own website for support.
I admire you in doing so, I'm not saying that this can cause you some problems but I'm also not saying that this will be just a directory, imagine if some developer "scams" client, he will then come to you to find a solution, if you are willing to be a mediator in such scenarios, that's admirable, but I personally wouldn't have time or will to engage with people because of someone else's error.
-
5 minutes ago, sudo said:
Losing the ability (an ability we had in the past) to download a copy thus losing our purchases for good is a bit nuts.
Why instead of talking about this here, won't you contact authors of apps/plugins you use to find a solution that fits both parties?
I understand that this isn't something you are happy about but until October there is more than enough time to transfer your purchases from MP to Author's website.
- Charles, Cedric V and LiquidFractal
- 3
-
1 minute ago, Adriano Faria said:
This is one example from one of my resources:
class _Main extends \IPS\core\MemberACPProfile\MainTab
{
/**
* Get left-column blocks
*
* @return array
*/
public function leftColumnBlocks()
{
return array(
'IPS\membernotes\extensions\core\MemberACPProfileBlocks\AccountData',
);
}
/**
* Get main-column blocks
*
* @return array
*/
public function mainColumnBlocks()
{
return array(
'IPS\membernotes\extensions\core\MemberACPProfileBlocks\Notes',
);
}
/**
* Get right-column blocks
*
* @return array
*/
public function rightColumnBlocks()
{
return array();
}/**
* Get Output
*
* @return string
*/
public function output()
{
return parent::output();
}
}
Mobile phone. No way to use CODE tag.
Thank you!
-
17 hours ago, Daniel F said:
You'll also need either a hook or a MemberACPProfileTabs extension to register the new block/tell the system where to show the block.
Can any info about this be found somewhere?
-
4 minutes ago, DawPi said:
Could you show us your code maybe?
It's basic extension code, didn't change anything.
-
Hello, i'm trying to make something work on my localhost installation and after 2 hours of trying to add a block to ACP Member Profile, i'm coming here to ask for help.
What i did:
- I've created an extension trough Developer Center
- I've tried to change default output from return 'Hello World!'; to template but neither of those two seem to be working.
- I've disabled DEV_MODE to check if that was the issue but even with dev_mode disabled, nothing showed.
Is there something i'm missing?
-
Just now, Adriano Faria said:
You shouldn’t replace the ID by the “name”. You should allow both:
array( ‘id’, 'column_name');
and call the node using the name, like;
……load( ‘bla bla bla’, ‘column_name’ );
That’s the same case when you load a member by name or email.
That's good to know, not needed in my case but still, thank you!
-
Update: yes it's possible by doing this:
#1: Add this to your Node class:
/** * @brief [ActiveRecord] Database ID Fields * @note If using this, declare a static $multitonMap = array(); in the child class to prevent duplicate loading queries */ protected static $databaseIdFields = array('column_name');
#2: then load node row by custom column like so
\IPS\yourapp\class\class::load($id, 'column_name');
-
Hello,
is there a way to load a Node by column_name instead of by id like it is by default?
-
Support & Ideas topic for
App is still pending approval, i will post information when it's available.
-
Problem has been already solved, solution was to change loaded class with hook inside those two functions
public static function supportsModal() & public function __construct()
-
This can be done via custom app, i can make that for you, if you're interested drop me DM for details.
-
Hello, i'm trying to add Turnstile Captcha to my website, i've managed to add new captcha settings into Spam Prevention but when i'm visiting website Whoops throws me this error:
I've created Turnstile class inside my app, set namespace to IPS\Helpers\Form\Captcha; but that didn't help, is there any way to redirect that new Captcha to load from class \IPS\myapp\Captcha\Turnstile?
-
Problem solved, all i had to do was unset that value inside formatFormValues function.
/** * [Node] Format form values from add/edit form for save * * @param array $values Values from the form * @return array */ public function formatFormValues( $values ) { if(isset($values['fa_icon'])) { unset($values['fa_icon']); } return parent::formatFormValues( $values ); }
-
class cpfiafi_hook_forum_settings extends _HOOK_CLASS_ { public function form( &$form ) { parent::form($form); if(isset(\IPS\Request::i()->id)) { try { $icon = \IPS\cpfiafi\ForumIcon::load( \IPS\Request::i()->id ); } catch ( \OutOfRangeException $e ) { // $icon = new \IPS\cpfiafi\ForumIcon(); } $form->addTab( 'tab_settings' ); $form->addHeader( 'header_settings' ); $form->add( new \IPS\Helpers\Form\Text('fa_icon') ); if ( $values = $form->values() ) { $icon->id = $this->id; $icon->fa_icon = $values['fa_icon']; $icon->save(); } } } }
-
Back to the issue at hand, i've decided to make a new Node for that settings i want to add, everything cool and all, works and saves but i get error all the time that colum input_icon is undefined in field list, i tried doing unse
unset($values['input_icon']);
but that didn't help. I'm stuck completely and i don't know how to unset this variable so it doesn't try to save inside Forum node.
-
1 minute ago, Nathan Explosion said:
unset them from the values so that it doesn't attempt to save in forums_forum
This gave me an idea, you've helped a lot, thanks!
-
2 hours ago, Nathan Explosion said:
If you are intending to release the resource on the MP then you shouldn't think about doing this and instead should...
To then retrieve those settings when loading a forum, you'd need to hook into constructLoadQuery in \IPS\forums\Forum and do something like this:
protected static function constructLoadQuery( $id, $idField, $extraWhereClause ){ $parent = parent::constructLoadQuery($id, $idField, $extraWhereClause); $parent->join('your_table', 'your_table.forumid=forums_forum.id'); return $parent; }
Okay this is good, exactly what i need to load data, question is how to save data in those additional fields?
-
-
Hello (yet again)
I'm currently working on custom Login Handler and noticed that if i login using external login, it works fine but when i cancel registration member isn't being deleted
This got me thinking, do i need a special code to verify if user cancelled registration or?
My forum will not work when converting to self hosting. I am having problems installing backups.
in Classic self-hosted technical help
Posted
I'll be able to help as well.