Jump to content

Philip_B

Clients
  • Joined

  • Last visited

Everything posted by Philip_B

  1. Philip_B posted a post in a topic in Feedback
    Yeah I see this after searching but no option before searching or to change the default anywhere.
  2. Philip_B posted a post in a topic in Feedback
    Yeah this is great and I use it every day as well as the advanced search. However, where is the place you can set the order by?
  3. Philip_B posted a post in a topic in Feedback
    Thanks I don’t see any sort by option. Am I missing something?
  4. Expected: searching by title will return individual topics which match the search criteria Actual: searching by title also searches the body and returns multiple results for the same topic
  5. Philip_B posted a post in a topic in Feedback
    Currently there doesnt appear to be any way to search by date without first searching and then changing the dropdown sort by. This often hits flood control for users who want to directly search by date. You can tweak the priority algo to be flat but then this would make relevant searches defunct. Is this something that can be included?
  6. thanks @Jim M - the internal marker stored in core_pfields_content -> field_{n} is adjusted? Looks the same on a small sample size
  7. I have a list of flags for country - any reason there is a statement that changing the order affects existing values? I can see these being stored in core_pfields_content with the name rather than the index so order should not be impacted? Second follow up question, can we have the ability to add key, value for these (essentially internal id and display id) - this is useful if you want to link this to for example a flag image.
  8. This might be expected but would suggest there is a difference between deleting a topic or post and deleting the whole forum. Might be worth adding another option at the global level for this.
  9. thanks admin access should be setup for my website. Going to /events/2-events/?&view=month this is the club forum. Clicking Create Event at the top takes you to the default calendar and not the club event cal.
  10. Unfortunately not, it looks to be creating an event in the main calendar. This means pressing this button for a club leader is denied but pressing the smaller in day + is allowed.
  11. On the club calendar there is a button in the top right (create event) to add to the main calendar and an in day + sign to add an event into the club calendar. Is this expected, even when you are inside the club calendar in the breadcrumb menu and link from the club? If so this is (a) confusing (b) leads to people not having permission to create events in the main cal vs the club and (c) on the mobile removes the ability to add a club event.
  12. not sure how these are triaged. Ive had to update the code so no longer present on my site. I was having 100+ comments a day. \applications\blog\sources\entry\entry.php | 813 else if(!$member->member_id) { return FALSE; }
  13. Also thought i could skip running background processes on 4.x as they showed up on 5.x. Had a ton of errors in the logs, even though the process looked like it was progressing and completing. I had to run all of these on 4.x including rebuilding posts which took ~ 1 day even after changing the increment batch size.
  14. thanks this is very timely. I had to add an additional check - some data was not serialized and just a string of one question (very old data ~2006). Edge case so accepting this will be lost. public function get_choices(): array { $choices = json_decode($this->_data['choices'], true); # If json_decode fails, try unserialize as a fallback if (json_last_error() !== JSON_ERROR_NONE) { $choices = @unserialize($this->_data['choices']); # If the result is a proper array update the database to use JSON if ( is_array($choices) ) { $this->choices = $choices; $this->save(); } } if ( !is_array($choices) ) { $choices = []; } return $choices; }
  15. Philip_B posted a post in a topic in Feedback
    any thoughts @Esther E. or anyone else on the Invision staff. You mentioned UI extensions, any more details? + hooks currently take a $rows object which seems unusual. How can we use the actual $row data in the hook? I can do the work, just need some overarching understanding of the moving parts.
  16. requirement checker should tell you what diffs you have and what is unsupported. I went through countless test runs and tweaks and above XAMPP works well with the php.ini change. Look forward to seeing the conversion tool
  17. download and install, XAMPP 5.6.14 (sourceforge.net) uncomment in php.ini extension=openssl this will work for 3.x. suggest upgrading any 2.x so you have a consistent version.
  18. Will send over later today from my notes
  19. Philip_B posted a post in a topic in Feedback
    Thanks @Esther E. , only after the last pinned item do I check the bool and display the markup. but this is somewhat a detour 🙂 I haven’t seen anything on UI extensions and does it make more sense to have a $row object passed into these hooks?
  20. I just updated 2.3 -> 5.03. Ideally you will want to move to 4.x first to give more modern PHP and MySQL support. Do you want to run these online or just locally?
  21. Philip_B posted a post in a topic in Feedback
    Thanks, the above shows after the last pinned topic as a divider as I check on the bool flag. There is a hook but this takes a $rows object. Is there any wiki on UI extensions or anything I can do here without updating the base template?
  22. Philip_B posted a post in a topic in Feedback
    interesting thanks @Esther E. These are the changes - im not able to add into the hook because there is no access to the $row objext: "forums/front/forums/topicRow", "topicRow:before" \static\templates\forums_front_forums.php | 2810 if ( $row->mapped('pinned') == 1 ): $isPinned = TRUE; else: if ( $isPinned == TRUE ): $return .= <<<IPSCONTENT <li class="ipsData__item ipsData__item--seperator"> <span><strong>Forum threads</strong></span> </li> IPSCONTENT; $isPinned = FALSE; endif; endif;.ipsData__item--seperator { padding: 3px; font-size: 14px; color: inherit; background-color: var(--i-headerSecondary--ba-co); }
  23. Philip_B posted a post in a topic in Feedback
    I’ve separate pinned and normal topics which is a start, but to do this in a templatised way I need access to the row object.
  24. Philip_B posted a post in a topic in Feedback
    Fantastic, so how do you use the row object in a hook inside the loop? Happy with any paradigm of development. Currently I’m having to put the code I need outside of the hook inside the source code while I then need to track when upgrading.