Everything posted by ASIKOO
-
Pages: You are using custom PHP blocks. These will no longer function in v5.
I have exactly the same thing as you. On my side, it is not up to the forum to generate this special data. Eventually, the PHP code could be replaced by a wget in javascript (if the URL is not sensitive), not yet tested. With the removal of custom PHP, editing of post source code and custom ad placements, I will not be migrating to IPS 5...
-
invision 5 beta date
Okay, you can start the beta, I'm here now! 😎🤣
-
Blocking all "+" in registration email addresses?
The "+" feature isn't just for gmail, but with gmail, a.b.c@gmail.com = abc@gmail.com, ab.c = abc etc...
-
Problem with Ad images
Maybe this can help you, If you have uBlock Origin, disable it for your website. I have this problem because uBlock Origin considers the area to be an advertisement.
-
How do i create something like this?
This might help you.
-
A (very) brief look at Invision Community 5
I like this teaser, looking forward to discovering this new modern forum view and the theme editor seems awesome
-
Buying new self hosted licence - how to choose few applications?
Hi, I migrated to the new terms because it is much more interesting for me. But, I didn't see it in this thread (or else I'm blind) -> Although the archive to download does contain all the applications mentioned, it's a bit confusing to be able to "repurchase" the applications with the new terms 😅 Just to mention it to you, if this is a small oversight in the customer area 😆
-
Buying new self hosted licence - how to choose few applications?
Ooupsi, thx 😅
-
Buying new self hosted licence - how to choose few applications?
-
API REST - /api/core/members/{ID}/warnings
I confirm, it works better haha
-
API REST - /api/core/messages
I didn't think to use http_build_query() for this, indeed it works with. Unlike you, I used (as it worked with the other APIs by IPS, I didn't ask myself any questions...) curl_setopt($ch, CURLOPT_POSTFIELDS, $post); Thank you @Nathan Explosion Orignal code $api = "https://domain.example/api/core/messages"; $key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx'; $post = [ 'from' => 26583, // Bot Account 'to' => [ 17997, 26105, 22505 ], // Staff 'title' => 'title of private message', 'body' => 'send by api', ]; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $api); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch, CURLOPT_USERPWD, $key); curl_setopt($ch, CURLOPT_USERAGENT, 'Core X'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $post); $result = curl_exec($ch); $status = curl_getinfo($ch, CURLINFO_HTTP_CODE); $curl = json_decode($result); curl_close($ch); var_dump($result);
-
API REST - /api/core/messages
Ahah, no problem 🙂 if it helps, to try to understand... \IPS\Request::i()->to is considered as string according to gettype();, so the script fails is_array() check. I forced hard in the code, to test and it works, PM is send (of course I restored the original file) 😄
-
API REST - /api/core/messages
There are 2 lines for the "to" parameter. I tested with 1 user id then I commented it in the code, I wanted to send a private message to several members during my test. 'to' => [17997,26105,22505], // Staff
-
API REST - /api/core/messages
Hi, I wanted to test the API to send a private message, I think it doesn't work? I don't understand the error, it seems correct according to the documentation, is it a software problem? No error message in IPS logs. Parameters $post = [ 'from' => 26583, // Bot Account 'to' => [17997,26105,22505], // Staff //'to' => [22505], 'title' => 'title of private message', 'body' => 'send by api', ]; Dump test.php:52:string '{ "errorCode": "1C374\/3", "errorMessage": "INVALID_RECIPIENT" }' (length=72) Sincerly, ASIKOO
-
PHP8 will be the minimum version from November 2022
Is the software compatible with PHP 8.2?
-
first post on topic end?
Same for my community, in 4.7.7.
-
Test URL Reset
Solved, thanks @Jim M🙂
-
Test URL Reset
Hi, It's possible to reset my test URL please? At the time, I had voluntarily chosen another domain to do some tests without impacting my production domain under Cloudflare. Today, I want to create a beta subdomain. Thank you ❤️ Sincerly, ASIKOO
-
Moderation Alerts - Required Option
Good idea!
-
The same user reacted twice to the same posting
Yes indeed, when I checked in the database, there were indeed 2 reactions for the same post and for the same user.
-
The same user reacted twice to the same posting
It happens to me too, it's rare and random (Self-hosted). Using a custom theme (not the default one) along with 2/3 plugins/apps, difficult to determine where the anomaly comes from. I was thinking a quick double click and a temporary server slowdown.
-
4.7.3: 128M > 1024M
Hi, Reading your topic, I tried to upgrade my IPS installation to 4.7.3. I use Apache as web server, nginx as reverse proxy on Debian with cloudflare and PHP 8.1.7 with 256M (memory_limit) (I haven't tried 1024M). I didn't encounter any problems during the upgrade, everything is fine. Sincerly, ASIKOO
-
API REST - /api/core/members/{ID}/warnings
Hi, The problem is still relevant with the latest version of the software (4.7.2.1) : Sincerly, ASIKOO
-
Ability to Ban/Restrict a member from Their Posts.
-
API REST - /api/core/members/{ID}/warnings
According to the documentation, only the "moderator" field is required (according to oauth or api rest). By sending the following parameters, a warning is issued : 'acknowledged' => true, // (Optional) 'moderator' => 26583, // Bot Account By sending the following parameters, no warning is issued. 'acknowledged' => false, // (Optional) 'moderator' => 26583, // Bot Account With this error : test.php:42:string '{ "errorCode": "EX1366", "errorMessage": "UNKNOWN_ERROR" }' (length=66) And : INSERT INTO `MD_core_members_warn_logs` ( `wl_date`, `wl_member`, `wl_moderator`, `wl_expire_date`, `wl_points`, `wl_reason`, `wl_note_member`, `wl_note_mods`, `wl_acknowledged`, `wl_content_app`, `wl_content_module`, `wl_content_id1`, `wl_content_id2` ) VALUES ( 1659974386, 27304, 26583, -1, 0, 0, NULL, NULL, '', NULL, NULL, NULL, NULL ) Incorrect integer value: '' for column `metin2_dev`.`MD_core_members_warn_logs`.`wl_acknowledged` at row 1 As soon as I set the "reason" parameter, I get the errors of the first message. test.php:42:string '{ "errorCode": "EX1048", "errorMessage": "UNKNOWN_ERROR" }' (length=66) And : INSERT INTO `MD_core_members_warn_logs` ( `wl_date`, `wl_member`, `wl_moderator`, `wl_expire_date`, `wl_points`, `wl_cheev_point_reduction`, `wl_reason`, `wl_note_member`, `wl_note_mods`, `wl_acknowledged`, `wl_content_app`, `wl_content_module`, `wl_content_id1`, `wl_content_id2`, `wl_suspend` ) VALUES ( 1659878338, 27304, 26583, -1, 100.0, NULL, '15', 'Member MSG', NULL, '', NULL, NULL, NULL, NULL, -1 ) Column 'wl_cheev_point_reduction' cannot be null The API seems not to allow to control the field: wl_cheev_point_reduction