sobrenome
-
Posts
2,525 -
Joined
-
Last visited
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 sobrenome
-
-
I had the same issue. The message should not be something went wrong, but you need to renew the app license!
-
-
On 9/4/2019 at 10:39 AM, bfarber said:
Looks like Instagram supports OAuth2 logins.
Is Instagram still accepting logins? I tried to update my Instagram Login Handler that was not working anymore and I saw this message on Facebook Developers:
QuoteNote that Basic View is not an authentication tool. The data returned by the API cannot be used to authenticate users of the application or log in to the application. If your app uses API data to authenticate users, it will be rejected during the review of the app. If you need an authentication solution, use Facebook Login instead.
-
On 9/16/2017 at 10:16 AM, Adriano Faria said:
One example I use:
/** * Send pm */ public function messageMembersSend( $member, $subject, $content ) { /* Setup pm title and msg */ $msgTitle = $subject; $msgPost = $content; \IPS\Member::loggedIn()->language()->parseOutputForDisplay( $msgTitle ); \IPS\Member::loggedIn()->language()->parseOutputForDisplay( $msgPost ); /* Set the receiver */ try { $member = \IPS\Member::load( $member ); } catch( \OutOfRangeException $ex ) { return; } /* Set pm sender */ try { $pmSender = \IPS\Member::loggedIn(); } catch( \OutOfRangeException $ex ) { return; } /* Valid sender? */ if( !$pmSender->member_id ) { return; } /* Create conversation */ $conversation = \IPS\core\Messenger\Conversation::createItem( $pmSender, $pmSender->ip_address, \IPS\DateTime::ts( time() ) ); $conversation->title = $msgTitle; $conversation->to_member_id = $member->member_id; $conversation->save(); /* Add message */ $message = \IPS\core\Messenger\Message::create( $conversation, $msgPost, TRUE, NULL, NULL, $pmSender ); $conversation->first_msg_id = $message->id; $conversation->save(); /* Authorize everyone */ $conversation->authorize( $member ); $conversation->authorize( $pmSender ); /* Send notification */ $notification = new \IPS\Notification( \IPS\Application::load('core'), 'private_message_added', $conversation, array( $conversation, $pmSender ) ); $notification->send(); }
How could I set the $pmSender as the same as receiver $member?
I have tried:
public function messageMembersSend( $member, $subject, $content ) { /* Setup pm title and msg */ $msgTitle = $subject; $msgPost = $content; \IPS\Member::load( $member )->language()->parseOutputForDisplay( $msgTitle ); \IPS\Member::load( $member )->language()->parseOutputForDisplay( $msgPost ); /* Set the receiver */ try { $member = \IPS\Member::load( $member ); } catch( \OutOfRangeException $ex ) { return; } /* Set pm sender */ try { $pmSender = \IPS\Member::load( $member ); } catch( \OutOfRangeException $ex ) { return; } /* Valid sender? */ if( !$pmSender->member_id ) { return; } /* Create conversation */ $conversation = \IPS\core\Messenger\Conversation::createItem( $pmSender, $pmSender->ip_address, \IPS\DateTime::ts( time() ) ); $conversation->title = $msgTitle; $conversation->to_member_id = $member->member_id; $conversation->save(); /* Add message */ $message = \IPS\core\Messenger\Message::create( $conversation, $msgPost, TRUE, NULL, NULL, $pmSender ); $conversation->first_msg_id = $message->id; $conversation->save(); /* Authorize everyone */ $conversation->authorize( $member ); $conversation->authorize( $pmSender ); /* Send notification */ $notification = new \IPS\Notification( \IPS\Application::load('core'), 'private_message_added', $conversation, array( $conversation, $pmSender ) ); $notification->send(); }
But I get an error: 4C124/6 Illegal offset type in isset or empty
I am trying to send an error message to myself on a plugin.
-
On 4/9/2021 at 8:18 PM, CoffeeCake said:
Yes!
Nice! I will learn and build!
First doubt: plugin or app for just some tasks?
-
9 hours ago, AlexWebsites said:
See:
Can custom task methods be added?
-
On 6/5/2020 at 6:57 PM, The Old Man said:
The way the newer variations of SVG and JS are implemented in FA5 offer faster, compressible resources, when you go into the FA5 Dashboard, it tells you which methods are better than others. They're saying FA6 will be improved again, I've no reason to not believe them and that's from the people creating it.
I like fast!!
I have been begging for a faster IPS with less JavaScript and less CSS burden and maybe font awesome 6 could also be added to the light speed petition!
-
-
On 10/25/2020 at 7:04 AM, Daniel F said:
There’s at least one WhatsApp app/plugin in our marketplace
No working plugin until now for 4.5. IPS should consider a built in WhatsApp sharing button.
-
-
Any news about this feature?
- Claudia999, xtech and Haku2
- 3
-
9 hours ago, opentype said:
Firstly, please remove that larger chunk of code. That’s commercial software I sell. It should not be republished publicly.
Sorry about that.
9 hours ago, opentype said:And to answer your question: unfortunately not. IPS’ function to get topic images doesn’t give access to a thumbnail. Otherwise I would have already done that.
I will ask for it on feature suggestions.
Thanks!
-
For topic feed, superblocks are coded like this:
removed
Image thumbnail and actual image are the same:
{{$items[$counter]['image']= $firstPhoto;}} {{$items[$counter]['image_thumb']= $firstPhoto;}}
Is there a way to show the thumbnail on superblocks topic feed?
-
1 hour ago, stoo2000 said:
You're more than welcome to submit a support ticket with access information and I'll take a look. I doubt it's related though. All the background task does is read data from one location and insert it into another.
As soon as the background processes ended the errors were gone! Thanks!
-
5 hours ago, AlexWebsites said:
Can't seem to update in 4.5 within the ACP and am getting:
System log shows an entry:
RuntimeException: {
"errorCode": "2S303\/N",
"errorMessage": "NO_PERMISSION"
} (401)
#0 /home/hhh/public_html/applications/core/modules/admin/marketplace/marketplace.php(207): IPS\core\modules\admin\marketplace\_marketplace->_api('downloads/files...', NULL, true)
#1 /home/hhh/public_html/system/Dispatcher/Controller.php(90): IPS\core\modules\admin\marketplace\_marketplace->install()
#2 /home/hhh/public_html/applications/core/modules/admin/marketplace/marketplace.php(40): IPS\Dispatcher\_Controller->execute()
#3 /home/hhh/public_html/system/Dispatcher/Dispatcher.php(152): IPS\core\modules\admin\marketplace\_marketplace->execute()
#4 /home/hhh/public_html/admin/index.php(14): IPS\_Dispatcher->run()
#5 {main}Had the same issue. After renew could update. And while the background process was running, had 500 error on forums topics and error system logs on themes.
-
24 minutes ago, bfarber said:
This is for attachments and will not apply to things like Gallery images or Pages record images (but would apply to attachments in either application, e.g. to comments or the body of a Pages article).
My translation is missing the link. I will look at the original English entry. Thanks.
24 minutes ago, bfarber said:Changes to a Pages record image are not retroactive - there is no tool to rebuild the existing thumbnails.
Any plans to add the rebuild tool on Pages?
-
Could not find it on 4.5. Was this feature removed?
-
On 12/27/2018 at 2:18 PM, Joel R said:
Go to ACP > System > Posting
In General tab, look for 'rebuild existing images' in description of "Maximum image dimensions to display"
Is this for forums only or also for Pages and Gallery?
-
@Jordan Invision any chance to get the moderation control over wiki contributions on 4.6? We are not using this great IPS feature yet because without moderation our community can loose great content to spam.
-
Maybe in 4.6?
-
16 minutes ago, Jordan Invision said:
I can confirm WebP will be available in our next release (which is 4.6 btw) 🙂
Perfect!!
-
On 2/22/2021 at 11:23 AM, Rikki said:
Also, in reality, if we were going to take the opportunity to redo our entire frontend codebase, we'd likely move to a reactive framework to build a better frontend
It would be amazing to use IPS with Next.js. I did all that I could to meet google core web vitals standards, but my community is still ranked as poor. With the current IPS software design I suppose that is impossible to be ranked as fast by google. And for those that need Adsense, absolutely impossible.
-
-
We need faster communities to better ranking in google.
Do we still need to load JQuery? Or the community could be updated to use only vanilla JavaScript and drop one more file that slow down the loading?
😁
https://tobiasahlin.com/blog/move-from-jquery-to-vanilla-javascript/
Invision Community 4.6.0 Beta 1 is live!
in Invision Community Insider
Posted
Are the latest versions of REDIS and ELASTIC SEARCH supported by 4.6?