Jump to content

Omri Amos

Clients
  • Joined

  • Last visited

Everything posted by Omri Amos

  1. Interesting, I thought I was related to the type of the forums, not their depth. I will give this a try. OK THIS ACTUALLY WORKED! Awesome, thank you for the great idea 🙂
  2. yeah, I noticed that too. I liked it better the way it was before.
  3. wait, isn't this how embeding works already for years? (at least on V4)
  4. I think you are mixing "feed" with "fluid".. The problem with my current setup is that I get a complete full block for each single forum (categories are ignored). Let's say I have 5 categories at the root level, and then 4 forums on each category for a total of 20 forums, without any sub-forums for these forums. CATEGORY 1 FORUM 1, FORUM 2, FORUM 3, FORUM 4 CATEGORY 2 FORUM 5, FORUM 6, FORUM 7, FORUM 8 CATEGORY 3 FORUM 9, FORUM 10, FORUM 11, FORUM 12 CATEGORY 4 FORUM 13, FORUM 14, FORUM 15, FORUM 16 CATEGORY 5 FORUM 17, FORUM 18, FORUM 19, FORUM 20 So since I have 20 forums, the "feed" view will simply ignore the categories and will display 20 blocks, for the 20 forums, with 5 recent topics from each forum on its own block. This basically acts just like an "extended" version of the classic "table" view (where each forum gets its own row, with one recent topic), but with a bigger block for each forum instead of a simple row, and with 5 recent topics from that forum instead of just one. What I actually want the "feed" view to do: Show me only 5 blocks (because my root level got 5 categories, one block for each category) and show 5 recent topics that are merged from the 4 forums each category got. In addition, show the actual forums inside that categories the same way it currently shows sub-forums. How I could actually accomplish that right now: 1. create one generic category (because for some reason I MUST have at least one? it won't let me save a "discussions" forum with no parent) 2. convert all 5 categories I currently have to "discussions" forums 3. put all 4 forums from each category as a sub-forum of that discussions forum Why is this a bad solution: Because now I will have an actual empty discussions forum that acts as a silly placeholder for a "category", with only the sub-forums as actual active forums. Users might click on it and instead of them getting to the category view (that simply shows the forums inside it) they will be thrown to a weird empty forum view... Does it make more sense now?
  5. I love the new "feed" style of the forum index. However, I notices that it doesn't work as I hoped it would. It takes all the main forums and shows combines messages from each main forum and all its sub-forums. I don't use sub-forums. Instead, I have many categories, one for each subject (type "category" and not "discussions" because I didn't want people to post inside a main "category" forum) and then have multiple "discussions" forums inside each category. I want the feed view to show combined topics from all the "discussions" forums inside each "category". It there a way to make it work? I could technically change all the categories into "discussions" forums (which will make all the existing "discussions" forums under it sub-forums) and then it will work - but then I will just have an empty forum for each subject that will confuse people.
  6. Hi, Just to clarify - I fixed this issue already by deleting the rows on "hw_core_approval_queue" that referenced some waiting-for-approval items from this plugin. Either way I don't think this is something that should be pointed at the author as the plugin was LONG DELETED. Anyway, I was able to fix this issue. My current issue is this error 500 on the frontend: Fatal error: Type of IPS\core\Statuses\_Status::$commentClass must be ?string (as in class IPS\Content\Item) in /home/hwzone/public_html/community_dev/applications/core/sources/Statuses/Status.php on line 23
  7. after the upgrade the admin dashboard was fine but the community returned error 500. I deleted these 2 files as mentioned on other topics but it didn't help: applications\core\extensions\core\FrontNavigation\Promoted applications\nexus\extensions\core\FrontNavigation\NetworkStatus So I checked the actual error: Fatal error: Type of IPS\core\Statuses\_Status::$commentClass must be ?string (as in class IPS\Content\Item) in /home/hwzone/public_html/community_dev/applications/core/sources/Statuses/Status.php on line 23
  8. ok update: I searched for "classifieds" on the entire DB and was able to find a few references to it, mainly some logs and some stuff on 'hw_core_approval_queue'... I deleted all the relevant rows in 'hw_core_approval_queue' and now the upgrade started.
  9. Hi, I'm trying to upgrade my community to the new beta (this is a duplicated test installation of my full 120K users / 5.9M posts community). Right after confirming the server requirements etc, I immediately got this error: It's important to note that "classifieds" is a 3rd-party plugin ("application") that I NO LONGER USE and I actually DELETED it from the software some months ago - it does not exist any more. Here's a screenshot from my live website's dashboard showing that it is no longer in existance at all: It is also physically does not exist on the filesystem: There is also no reference to it in the hw_core_applications table: How can I overcome this error and continue with the upgrade?
  10. I checked the source code, based on the 400 response code I understand that this is the relevant code from CommentController: I debugged the code and found out that \IPS\Request::i()->author was indeed 0, but as a string (as always with POST fields). And since you are using === to check explicitly against an int, it failed. I manually changed it to if ( intval(\IPS\Request::i()->author) === 0 ) and now it's working fine. But manually changing core files is obviously not something I should do, so please fix this in the official code (both V4 and V5?)... Thanks
  11. According to the docs, sending out author param as 0 means post as guest (with author_name as his name) However when I try to post a comment as guest, I get "errorCode": "1F295/2", "errorMessage": "NO_AUTHOR". If I try to use an ID of an actual existing user instead of 0 - it's working fine. I am 99% sure this worked in the past (a few years ago) so maybe something changed? Just to make sure this is not a permissions issue I verified that the forum I'm trying to post to have commenting permissions for guests (even though I don't think it needs to have it in order to post via the API). Am I missing something?
  12. What are the next steps for the V5 release, after this alpha preview site? Will there be public downloadable betas for us to try on our own servers? or we'll have to wait for the final release for this? (hopefully sometime this year?)
  13. My most anticipated feature is the built-in dark mode... I love to see that it's easily controllable via the data-ips-scheme="dark" attribute on the HTML tag. It's super easy to manage with JS, ensuring a consistent dark mode across IPS and my WordPress website. Does the new version's theme system still allow us to include external files? I use this on my theme to include my website's header: {insert="../wp_header.html"}, will this still work?
  14. Is there any public demo site available based on this new version, just to play around with it?
  15. Thank you. I noticed that what I'm looking for is probably in the 'core_login_links' table. I will take a look at this link as well.
  16. I will take a look at the db to figure out how google-accounts users are stored in the database, I bet I can replicate that..
  17. ok 🫠 Is it possible for me to have this on my website, and then just create a new user on the forums with an API call? I'm look at this: https://invisioncommunity.com/developers/rest-api?endpoint=core/members/POSTindex Only problem is that I will have to choose a password for him, instead of him being able to login with Google... maybe there's a way around this?
  18. I have no problem adding it to my theme, also include the logic to show it only to guests. However, I'm not sure how to implement the actual registeration/login after I received the token from google.
  19. Hi, Is there a way to add "Google One Tap", which is the sign-in with google popup that shows up automatically on page load? You can find it on many sites, like Stackoverflow, Medium, Kayak, Linkedin, and other large websites. works even better on mobile: This is the code to call the pop: <script src="https://accounts.google.com/gsi/client" async defer></script> <script> function handleCredentialResponse(response) { // Handle the response from Google One Tap console.log("Encoded JWT ID token: " + response.credential); // Add your logic to handle the credential response } window.onload = function() { google.accounts.id.initialize({ client_id: 'YOUR_CLIENT_ID', callback: handleCredentialResponse }); google.accounts.id.prompt(); // Display the One Tap prompt }; </script> Is it possible to integrate this with Invision Community's sign up/in form? I already have the "signin with google" obviously, but I really want to trigger this popup when a gues comes to my website.
  20. Hi, I noticed that it is possible to integrate my wordpress website's login with IPS, using OAuth and adding wordpress as a "sign in with.." method. However, this will still require the users to manually click "login" and choose this option, which is confusing considering they already logged in to the wordpress website (which is on the same domain). Right now I have a custom solution and I use IPS as the "server", while my Wordpress website detects that the user is logged in to the forums and automatically logs them into wordpress. But I want to switch this around, have the users login to my wordpress website, and let IPS auto log them in. Is it possible in any way?
  21. at "some point"? so we won't get V5 together with the cloud users?
  22. I disagree. I also have a local website that 99% of its users are from one country only. I don't want to completely block other countries from accessing my website as viewers (this is also very bad for SEO), but I do want to prevent them from registering new accounts.
  23. Any person who OWNS A WEBSITE/FORUM is not a common user... None of the users in this community is a common user IMO.