Jump to content

Interferon

Clients
  • Joined

  • Last visited

  1. I am currently on IPB v4.7.5. Should I upgrade straight to version 5, or should I install v4.7.20 first, and then update to 5?
  2. Oh, I thought the sidebar was just another view option the user selected.
  3. I would like to see that left side panel in action, but it does not seem to be an option on this site? Is it disabled or is there something else I need to do to bring it up?
  4. It seems highly dependent on the number of results returned. Just using an API key and a browser, when perPage is set to 1 I estimate it takes about one second to return. With perPage set to 100 it takes about 23 seconds. But when I am browsing through the web interface, the page load times are very fast.
  5. I found these values in the response: totalResults totalPages The documentation just says "this endpoint does not return a response": https://invisioncommunity.com/developers/rest-api?endpoint=downloads/files/GETindex
  6. This is what I am working on. All the content is being loaded from IPB.
  7. I'm not sure how to implement pagination using the REST API. In the file retrieval end point you specify the number of files per page and the page number: https://invisioncommunity.com/developers/rest-api?endpoint=downloads/files/GETindex I want to display the page numbers like the web interface does, but I don't see any way to get the total number of pages or files in a category? Are you supposed to just keep incrementing the page number until the call returns no more files?
  8. Ah, I found it. This is good. I am going to disable the inline code in my install, because that's very confusing to have two different methods. //Create a camera auto camera = CreateCamera(world); camera->SetClearColor(0.125); camera->SetPosition(0, 1.4, -1); camera->SetFov(70); //Add camera controls camera->AddComponent<CameraControls>(); //Create light auto light = CreateBoxLight(world); light->SetRange(-10, 10); light->SetArea(15, 15); light->SetRotation(45, 35, 0); light->SetColor(1.2); //Main loop while (window->Closed() == false and window->KeyDown(KEY_ESCAPE) == false) { world->Update(); world->Render(framebuffer); }
  9. Our community is, to a large extent, a programming forum. I have not upgraded to version 5 yet but I just noticed the code formatting I am seeing in this forum right now does not look good. When I paste code in to the text editor, an extra line break is added to each line. Then when I select the "inline code" formatting it formats each line as a separate block. There's also no syntax highlighting, which makes it much harder to read. Is this the only option that exists in IPB5? //Create a camera auto camera = CreateCamera(world); camera->SetClearColor(0.125); camera->SetPosition(0, 1.4, -1); camera->SetFov(70); //Add camera controls camera->AddComponent<CameraControls>(); //Create light auto light = CreateBoxLight(world); light->SetRange(-10, 10); light->SetArea(15, 15); light->SetRotation(45, 35, 0); light->SetColor(1.2); //Main loop while (window->Closed() false and window->KeyDown(KEY_ESCAPE) false) { world->Update(); world->Render(framebuffer); } Embedded code in old forum threads looks fine: https://invisioncommunity.com/forums/topic/444202-lua-test/#findComment-2733455 Is there an option for this, and it just isn't turned on in the forum here? I would like to try it out.
  10. Just running this end point with the default options takes 6 seconds on my forum: https://invisioncommunity.com/developers/rest-api?endpoint=downloads/files/GETindex This behaves the same with a C++ desktop application, or with a PHP script running on the same server. A little debugging yields this information: time_namelookup: 0.144395s time_connect: 0.238170s time_appconnect: 0.449827s time_pretransfer: 0.449919s time_redirect: 0.000000s time_starttransfer: 5.473372s ---------- time_total: 6.230231s Is this typical? Any ideas why this might be happening? I have not upgraded to version 5 yet.
  11. I don't know how technically feasible it is, but in IPB 6 you should move towards instant interaction. Blur the lines between a forum and a chat program. I think it will be very successful and if anyone can do it, you guys can.
  12. The problem is resolved. Thank you.
  13. I think I have located these in /home/(username)/logs, but I don't see any useful information. There are just a lot of lines like this: xx.xxx.xxx.xxx - - [03/Jan/2025:07:07:54 -0500] "GET /community/blogs/entry/1893-beta-update-available/?tab=comments HTTP/1.1" 500 1282 "https://www.xxxxxxxx.com/community/profile/16126-membername/content/?type=blog_entry_comment&change_section=1" "Scrapy/2.11.2 (+https://scrapy.org)"
  14. I added this value to a new constants.php file. This allowed the dashboard login screen to appear. After pressing the Sign In button, the next page just keeps loading until this page is displayed after about a minute: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@xxxxxxxxxx.com to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. The main website, outside of IPB, is working correctly.
  15. I went to my community website today and saw this error: We're sorry, but a temporary technical error has occurred which means we cannot display this site right now. You can try again by clicking the button below, or try again later. Attempting to access the Admin CP page gave this error: [[Template core/admin/global/globalTemplate is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] I have made no recent changes to my community. All plugins and extra apps are disabled, except for VideoBox. No new PHP errors are appearing in the error_log file. Currently my site is offline and I am locked out of the Control Panel. The access information you have for my site is up-to-date.