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
    What’s the use case to remove? You just don’t populate the hook. Replacing can you not just replace the template?
  2. Philip_B posted a post in a topic in Feedback
    thanks $rows works in the template. Do you know why when injecting in different params they are not picked up? $row is more useful in a foreach, even $rowCount which is available and allows me to get the row from $rows isnt recognised if I extend the array.
  3. Philip_B posted a post in a topic in Feedback
    {{if $row->mapped('pinned') == 1 }} {{endif}}Above doesnt work (even after changing the raw file to pass in $row). Read the template doc to make sure im doing it right. Below does work: {{if 1 == 1 }} {{endif}}
  4. Philip_B posted a post in a topic in Feedback
    I like it, makes sense and extensible. Any wiki to use or examples? Im setting up my first for an individual topic row and the forums_front_forums file is passing in the $rows variable. Any idea how to get the current $row which prob makes more sense? $return .= \IPS\Theme\CustomTemplate::getCustomTemplatesForHookPoint( "forums/front/forums/topicRow", "topicRow:before", [ $table,$headers,$rows ] );
  5. Excellent. Confirmed this as well last night when adding a profile cover photo.
  6. Thanks is there an oEmbed config somewhere to lookup different providers? Any wiki or code I can read would be useful.
  7. I had this working in my 2.3 site last week, is there an extension point in the JS I can look at?
  8. sorry, I mean I switched this off before while investigating the issue. Guests can still post
  9. thanks both, i switched that off previously when was investigating:
  10. fantastic 🤣 I managed to get around this by saving down the restricted moderator again which saves down all the required JSON settings. Not ideal and will be time consuming if I need to do this on all 70 rows.
  11. when editing the group or individual a much richer JSON is saved down with all the permissions.
  12. This is set when editing moderators in the ACP. Looks like a default is not set which is flagging this error. Looks to be a bug, let me know how to proceed without editing every moderators. Working out a runbook for an upgrade so flagging a few issues in a test install
  13. hi team - in system/application/applications.php there is a function which looks for can_manage_sidebar this calls in the end system/member/member.php: If the permission is not found NULL is returned and you end up with exceptions like Return value must be of type bool, null returned How can I add this permission? Checked group JSON and dont see any with this permission, editting the group in the ACP also doesnt look to have this setting
  14. thanks @Esther E.
  15. Upgrades Invision 4 -> 5, cleared cached - not seeing anything in the theme resources ACP section. Is this expected? Skin works and can edit using the advanced editor in the UI. Not seeing any skin files in the datastore; chmod 0777 No errors in the ACP or logs/ Ive done a couple of upgrades now testing upgrade steps and speed and this has never populated.
  16. Looks like after editing a post with YouTube embeds they are parsed out and saving removes them. This does not happen if I create a new embed and edit the post. Any insight into this?
  17. This is via a test migration and I will be running a final migration in a couple of days. This allows me to tweak any migration script if required.
  18. hi guys, final step of the migration. What ive notices so far: Youtube embeds converted across (custom tag different to media) 🟢 Twitter embeds converted across 🟢 Spotify and Soundcloud embeds did not - empty iframe 🔴 image starting with http are not converted only https (link is pasted with no image) 🔴 Are there any known workaround for these? 5 I can probably just replace in the database with https.
  19. Found this one as well, removed the underscore and re-run
  20. thanks both - fixed. Managed to reset the gallery install by deleting the row in core_applications. I made my own gallery on the previous 2.3.5 version and the table name was the same as the current gallery install. Another step forward
  21. thanks for helping! Deleting the applications/gallery folder and added back the one from invision 5 (this was the one I already had). Upgrader: There are no applications available to upgrade Do you know how invision knows it should update the gallery? Im not seeing any gallery entries in ibf_core_upgrade_history
  22. hi, tried to install the gallery, at first mentioned about CHMOD on applications/gallery and once resolved now looks to be in a bad state: Asks to upload a gallery .tar file on the right button but not clear where I download this or how I reset the app. Looked in ibf_core_applications and nothing obvious also tried to delete and re-add the folder. Deleting removes the line above, including back adds the line back.
  23. thanks appreciated. Changed max_allowed_packet from 1M -> 10M - must have been a large skin insert