Everything posted by chopin
-
MP3 Player with Tracks and a PDF embedded viewer
With version 4, I was able to code in an mp3 player that can handle multiple tracks within topics and posts, with a PDF viewer along its side, like this. However with the new update, I am left unsure how simple it will be to code this in myself. The reason why this will be tricky is because the default uploads first have to be hidden. This means if this is not carefully coded, there would be duplicate attachments in a topic or post. I could be wrong, but at a cursory glance I am not seeing a way to replace existing tags in v5, making this functionality impossible to code (the right way). And unfortunately, the default mp3 uploads don't have any way of labeling what the mp3 is. You will notice in my example, that every track is clearly labeled by the mp3 file name. So I am wondering if the developers can look into the following: Can we have an embedded mp3 player that handles tracks within topics and posts? Where each track is named by it's file name? I am using Soundmanager2 Can we also have a way to embed pdfs, like in my example, where each pdf is named by it's file name? The idea is to have a click open an embedded window, as to not download the file. I realize the second bullet point is a bit of a specific use case scenario, but since my community is based on reviewing musical compositions, I need a better way to show pdfs. The way I currently have this set up works ok because a click on the musical score opens up an embedded pdf viewer, without having to download the file. I don't want to necessarily download pdfs when I am reviewing or just listening to someone's work. If this can be added into the core functionality, this saves me a lot of headache from having to maintain my own application. While I don't mind coding custom apps, I just don't see an easy way any longer to add this functionality into v5 myself. Let me know if this is feasible!
-
IC5: Introduction to Listeners
I kind of have a problem with the current mp3 uploads. The default mp3 uploads don't have any way of labeling what the mp3 is. And I'm not seeing a way to customize this without hacking the actual template files (because I am not seeing a way to replace tags). So I'm left with this: Can the developers look into: Embedded mp3 players that handles tracks? A way to embed pdfs so that a click doesn't download the file? The way my community works, is that we review music in specific forums. And it's very common to attach multi-movement works in a topic or a post, along with a pdf score. Maybe I can get lucky here and the developers can code this in for me? 😀
-
IC5: Introduction to Listeners
Man, if you could extend your app to work in topics and posts, I'd hold off on upgrading, and wait to purchase your app lol. Here's an example of how I currently am implementing mp3 tracks and pdf embeds: Example Topic The pdf display is just a simple click, that takes the user to the embedded pdf file. The mp3 player I have is soundplayer, but could be whatever player that allows multi tracks. Let me know if you'd be up for extending your app. The less maintenance I have to do with invision, the better since I am working on another large software product.
-
IC5: Introduction to Listeners
Hi @Matt, I'm a little late to the game, but it appears that making template edits is no longer possible. I needed some type of way to read mp3 files, and auto embed a custom mp3 player into a post (I use soundmanager). But I also needed a way to take pdfs and have them clickable via a Google pdf reader. If this is no longer possible with v5, then I will accept it (less work on my end to maintain something ha!), but I just want to make sure before I do the upgrade.
-
IC5: Developer Center
Thanks! Read through it, and posted a question there.
-
IC5: Introduction to Listeners
Ok with this new system, I'm wondering if I can achieve the same functionality I currently have. Let me explain what I'm doing: With mp3 uploads, I have my own mp3 player, because it accounts for multiple movements (multiple tracks). I also coded in a nice frontend to allow embedded pdfs using google pdf viewer. My method overrides the default mp3 player behavior using template hooks. It also removes the "embedded attachments, such as pdf uploads". Since I'm making template edits, I wonder if Listeners is what I need? Would it be a content listener? Or is there no longer a way to make a template edit replacement (by inserting custom functionality)?
-
IC5: Developer Center
Ok perfect, this definitely is working out well. I have a follow-up question about hooks. My old code looks like this: class player_hook_attachedFile extends HOOKCLASS_ { public static function hookData() { ... } } Is there anything I have to change here? I'm assuming you renamed hooks to theme editor?
-
IC5: Developer Center
One more question (possibly a follow up). In order to update custom apps, do you suggest "creating a new app" from scratch in dev tools. Then create all modules, or other files through dev. Then copy over the logic from the old app file by file? I tried installing my app just to see if it works, but it doesn't. Something about a namespace. Or is the method even easier? Should I just change the namespaces (by following the patterns in the forum app, etc)? The problem is that if I copy over my app in the applications folder, it says its out of date and must be reinstalled. But I can't reinstall it via the tar file because its out of date.
-
IC5: Developer Center
Oh man, ok, lol. Will have to put aside a few days for this then. Any chance I can get my hands on the new sdk so I can get started on this?
-
IC5: Developer Center
Will my custom applications work out of the box? I hope so, if not, I have a lot of work to do.
-
Do word filters work in profiles?
Here is a profile that uses a word in one of our word filters. It's a 4 letter word that starts with "s" and ends with "t". It appears that the word filter does not work in custom profile fields. Do you know if this is an oversight? Or is this an intentional design? Btw, none of us care about the s word in the profile, but we are wondering why the filter hasn't been applied. Thanks!
-
WAMP Installation Issue after upgrade to PHP 8
Ok just figured it out this morning (last night was difficult because there were all kinds of problems with my WAMP setup as it was 2 years old!). PHP had to be upgraded in order to get my 4.x test install working properly, but I was not noticing that each time I went to click "INSTALL", it was giving me localhost//admin/install with 2 double slashes. But that is what was giving me the headache, and I am sure this person's issue that I linked to had the same problem as me. Removing the double slash was the quick and easy fix.
-
WAMP Installation Issue after upgrade to PHP 8
I literally have the same problem as this person: Same error message and everything. I clear out my config_global.php so that I can just have a fresh install on my dev computer. But invision is assuming a default username of blank according to the error message. I am thinking this is a bug but I am unsure. There may be a workaround which is to copy over my database on my live site, but it would be a pain for me to do so. It's much cleaner and easier to do a fresh install for testing purposes. Any ideas?
-
Badges Admin Area: Need Pagination
I see. I should have said "should be simple UNLESS they used a different approach" 😅
-
Badges Admin Area: Need Pagination
Ah, thanks for the info. I've created applications with their dev tools (which are fantastic) and they have an easy to implement pagination widget in their SDK. So it would be a fairly simple thing to add on their end that would greatly improve the user experience. Hopefully this will be addressed in that update!
-
Badges Admin Area: Need Pagination
I am specifically talking about this page here: app=core&module=achievements&controller=badges I have a very eager staff at my community who love making new badges. We have around 122 custom ones so far! The problem? There's no pagination on this admin page, and the page takes a bit to load. I was wondering if a pagination can be added to help with this problem? Thanks!
-
Clicking on notifications: Number of unread notifs goes to 0. Everything turns "read"
Ok, I understand, thanks for the clarification. Will relay the message to the user that this is working as intended.
-
Clicking on notifications: Number of unread notifs goes to 0. Everything turns "read"
Ok I see. Just a simple follow up. Is there any way to have it where the dropdown notifications menu retains its "unread" status until it has actually been clicked? For example, shouldn't it at the very least mirror what's seen on the "/notifications/" page?
-
Clicking on notifications: Number of unread notifs goes to 0. Everything turns "read"
I'm just going to directly quote an issue a member of my forum came to me with: So my questions would be: Is there a way to have the notification count subtract by 1, as you click on each notification? If not, is there a way to keep the the messages in the notifications unread, until it is clicked? This leads me to the next issue, and I am not sure if this is a bug. The dropdown notification menu is always marked as "read". But the notification page correctly marks the threads as unread or read. They don't match, and you can take a look at my screenshot for an example.
-
How to update a member log in method from Facebook to Email
Ok thank you for the help.
-
How to update a member log in method from Facebook to Email
Is it possible for a user to update their login method from Facebook to normal email sign in? Can you take a look at this user inquiry and let me know if / how this could be achieved?
-
Topic view count not updating
Nevermind, I think my cron tasks were backlogged. I forgot that I updated my PHP to 8.0 recently and changing the cron command seemed to have fixed the issue.
-
Topic view count not updating
For some reason my forum's topic view count is no longer updating. Any ideas on why this is? You can check it out for yourself here.
-
Attachment Downloads Error
Ahh, ok I see the problem. Thank you for the tips, I was able to resolve by using the security key field in the core attachments table.
-
Attachment Downloads Error
After a certain date, it seems that the attachment downloads link stopped working at some point. If you take a look here, you will see what I mean: Gadget PDF: June 20, 2021 (works!) Piano Sonatina in D.pdf: July 16, 2021 (does not work) I'm unsure what is going on here, but it does seem like an update of some sort broke the download links. Do you think this is something that could be fixed in a new update?