Jump to content

Foxtrek_64

Clients
  • Posts

    67
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by Foxtrek_64

  1. When installing a custom theme, it is recommended to install the theme and then create a child of that theme to hold all of your modifications. This allows you to update the root theme without losing your modifications. It would be nice if we could lock the parent theme, possibly as an opt-in action, to prevent accidentally editing the theme when making edits. This is especially prevalent when having to make a change cross multiple theme installs, such as when you have both a light and dark theme installed. As for implementation, this could be a bit field on the theme's database configuration. If true, the edit button is disabled and hidden and navigating to the link the button would normally take to you would show an error. Adding a field like this would be backwards compatible, as the default value (false/0) would result in the same behavior as we have in the current version.
  2. When creating custom fields, the ability to select a specific database entry or forum post, better yet filtered by the specific forum, would be appreciated. Use case: I have a staff application form (forms provided by third party plugin) where there is a field requesting a link to their membership application. This field is a URL field. Using regex, I can filter this field to only accept entries from the current domain, and even filter it down to just forum links in general, but there is no mechanism to allow the selection of a specific thread or post.
  3. Hi all, Just making this post to help gauge interest in the ability to use FontAwesome kits and allow the use of FontAwesome Pro in IC5. This option would allow administrators to provide a kit url in the ACP which would unlock the ability to use FontAwesome Pro. Currently, IC5 uses locally hosted FontAwesome 6 Free.
  4. In the database entry in the ACP, select Fields and add a new field called Order. Make this an Integer field, and set the minimum to 0 and make it required. Under the Display Options tab, disable all display options. In the options for the database, go to Options -> Field Options -> Sort. A new entry under the Sort dropdown for Order should now be present. Select ascending order for higher numbers to be visible later. I also recommend separating order by at least 100. So for instance, the first record should be 0, the second should be 100, the third should be 200, and so forth. This way if you find out that you want to put the second item after the third, you can change its order to 250. This avoids needing to reorder the entire record set.
  5. These are the available sort options: You could add a custom "Order" field to the record and sort by that field. I would make it an integer and separate records by 100 or 1000. There is no built-in drag and drop sorting option unfortunately, but you could suggest that.
  6. Just thinking outside of the box here- You could create a profile field, and then use a custom box to display the field of a particular user. It would require knowing the user's unique id (which can be acquired by hovering over their user account and inspecting the link preview) and leveraging a bit of IC code to pull the user object, and then requesting the profile field by id. I'm not 100% sure what this would look like off the top of my head though. I'm also not 100% sure what the switcher on the left would look like programmatically. Downsides to this solution: Only one human can edit this data (excluding admins), so if you have an organization they may need to engage in some password sharing. In order for this field to be visible anywhere outside of the ACP, it needs to at least be visible in profiles. So people viewing their profile would end up seeing this in their sidebar. --- If you absolutely must have things display the way they do in your sample, your best bet may be to commission a custom plugin. Otherwise, it may be worth while just to use a database and leverage one of the more traditional views.
  7. This may be an option I'm missing somewhere. I like the idea of having the donation widget, but the primary way people will be donating is by purchasing subscriptions or one-time items in the store. Is there a way to flag a product/subscription as a donation item such that it automatically bumps the donation goal or would this need to be done via a service like Zapier once all of the commerce interactions are present?
  8. Regarding FontAwesome Pro, is it too early to ask for details on how icons are loaded? The preferred way if you ask the vendor is to use their kits, and icons can then simply be referenced by using the corresponding `fa-icon-name` class. I'm not necessarily asking for nitty gritty technical details, but could you extrapolate a bit on what system you use to load icons and why providing our own kit url would not work? I understand if a lot of this is still under wraps given the status of IC5.
  9. This feature is inspired by another product, Woltlab. The Woltlab store feature which is very similar to the marketplace here allows site administrators to publish package links. These package links can be added to a client's ACP, and combined with either a username and password for the vendor's site or some kind of token, allows the client's site to securely check for updates to plugins and, given the correct credentials, download and install said updates in a manner similar to how the Marketplace used to work. Limitations: There would need to be some way to properly identify and limit packages available on this link to Invision Applications. Guides, sample html templates, and discographies need not apply. This may be somewhat of a solved issue already, given the Invision marketplace would have needed to deal with this question. There should be a disclaimer somewhere that while this method can guarantee that applications were not changed between the time of uploading and the time of downloading (via hashing, which may also be a good way to verify integrity before installing), there is no mechanism for reproducible builds (linking a particular "build" of an application to any particular commit in a source repository), nor does package verification in any way guarantee that any particular download is safe to install or use. Include standard warranty disclaimers. Sites which offer this capability should require an HTTPS certificate to be present, used for TLS encryption. We should be able to reuse the one attached to their website. With free certificate providers like Let's Encrypt, this should not be a high bar to pass. A Marketplace-like view in the ACP would be nice, but is not required. This is not intended to provide a new store front, but to alleviate a common complaint I hear about the removal of the marketplace: specifically, users must regularly check several websites for updates to their plugins on a regular basis, and this means maintaining a login with each. This simply provides some sort of automation for checking on updates and optionally installing them if the client's site supports it.
  10. Does the default value field on custom form fields (e.g. with databases) allow for variables or does it only accept raw text? For instance, if I have an email field, is there a way to configure its default value to be that of the currently signed in user?
  11. Apologies if this has been brought up prior- The guides page on Installing a Ready-Made Language Pack suggests that you can find these language packs in the now defunct Marketplace. Were there at one time language packs maintained by IPS or were all of them developed and maintained by the community? If there are language packs maintained by IPS, will these be made available for download somewhere?
  12. Thanks Ryan! That seems to have resolved the issue.
  13. When creating a URL field in a database, we should have the option as a toggle to limit links to same-site URLs only. In other words, if your site's canonical link is www.example.com and this option is enabled, then provided links may only be to pages on www.example.com. Edit: I know I can provide regex for this as below, but I would consider this to be a bit of a hacky solution. https?:\/\/www\.example\.com\/forums\/topic\/[0-9a-zA-Z-]+\/?
  14. I've tried with just fa-solid. It does not pass validation.
  15. I have a database field which accepts FontAwesome icon classes. It's a text field with the following regex: ^(fa(-[0-9a-zA-Z]+)+)( (fa(-[0-9a-zA-Z]+)+)+)*$ Plugging this regex string into regexr, it properly validates my chosen FontAwesome declaration: fa-solid fa-balance-scale-right fa-4x If the regexr link dies, the only custom setting is that I've configured it to be PCRE validation. However, when attempting to create a new record, it fails the regex operation. What is causing this validation to fail?
  16. I'm trying to figure out the difference between a Subscription and a Product with automatic renewal. The differences I see between them seem to be very slight, such as showing up under Subscriptions rather than Store and products generally having a lot more in the way of configuration. In my case, I want to offer subscription packages for my game server, with each package providing in-game and on-forum benefits. Functionally, I plan to use the webhooks API to be able to publish purchase events to my game server, which will then handle providing the perks to the player. Would subscriptions or products with automatic renewal be better for me in this situation?
  17. I host a forum for an online game community, for which I use the events feature to invite people to in-game events. I would like to be able to create venues corresponding the in-game locations, but venues require a mailing address. Currently we must work around this by requiring event hosts to specify venues in the event description. I see a few potential directions here: Add a Yes/No question for "Venue Has Address" which toggles the Address field. Add a Yes/No question for "Venue Has Mailing Address". When Yes, the Address field is shown as today. When No, a simple text field is displayed allowing the user to provide custom input. The ability to specify our own fields. For instance, I may want to specify a specific tavern in a specific city. In real life, this would simply be the name of the tavern and a mailing address we can punch into maps. But in a fictional world, all that may be needed here is the name of the tavern and the name of the city. In practice this could look like option 2, but having the flexibility to provide that additional information is useful.
  18. I would like to allow my community members to change the privacy settings of their clubs without relying on administrator intervention. I don't think this is necessarily something that needs to be controlled per group, so just a Yes/No option in Club settings controlling "Can users change own club's privacy settings" or something similar should be sufficient. Example use case: I create a Private club because I do not want others interacting or creating content while I'm setting up the initial layout and publishing initial content. When it is ready, I want to change the privacy to Public or Open to allow users to see and interact with my club.
  19. Once a club is created by the user, there doesn't appear to be a way to change the privacy setting except by admin intervention. There also doesn't seem to be a permission to allow club owners to change club visibility/privacy. Does this exist or should I make a request for such a feature? Example use case: User creates a Private club in order to get the initial set up done in private. Once setup is complete, they navigate to the club settings to find they cannot change visibility. They then message staff to help, and an admin has to go into the ACP to change visibility.
  20. Not sure if this should be suggested here or as a plugin for the text editor, but relative links back to sites on the same community should be possible. There are a few ways I can see doing this: Naked URIs. A link to /forum should be expanded to https://www.example.com/forum . Currently, this expands to https://%2Fforum. Use a replacement symbol. Razor (C#'s web rendering engine) uses ~, so a link to ~/forum should be expanded to https://www.example.com/forum. We could use other symbols too, but this comes with the benefit of familiarity. UI change, allowing us to select between an internal and external link. This could get infinitely more complex, either allowing naked URIs as suggested in #1 or having us explicitly select a page to link to, such as how the Menu Builder in the ACP works (though I assume most people are probably going to be linking between forum threads or to blog posts or the like, so it'll have to include those). I am most in favor of #2 myself. I imagine there would need to be an editor change so as not to prepend http:// to the front of links which use the replacement symbol, as well as not encoding the replacement symbol, but we'd need some help from the Invision Framework itself, finding and replacing instances of the replacement symbol with the canonical link. This should be cached whenever the post is saved, but allow for converting back if the content is ever edited. The reason behind this change is for portability: Admins change the domain name of the site, such as for rebranding purposes. Updating content can be a painful chore. Porting content. In some cases, I like to stage content on my dev instance before porting to production, and having to manually scroll through documents to find where I linked to other things can be kind of annoying.
  21. As discussed in the linked support thread, I have a page I've built using folders which lives at /docs/dmca/takedown-notice. When navigating to the page, this url is reflected in my url (friendly urls enabled), however the breadcrumbs simply contain the file name and omit the path. I would like pages to be able to build breadcrumbs, but this may require a bit of changes to how the page system works. Currently, in order to have a folder work as its own page, you have to create a page where the Page Filename is index.html. This automatically gets visually stripped from friendly urls. I see three implementation options: Require each folder to have an index.html page. This is an implementation detail and can be hidden, perhaps by getting rid of folders and pages and just allowing pages to be children of other pages. This way, the same logic used to build the url can be used to build the breadcrumbs. Fall back to a path. Let's say I have a page at /docs, which is its own page (or a folder with an index.html page), but /docs/dmca is not its own page. The breadcrumb entry for /docs should go to the /docs/index.html page and the breadcrumb entry for /docs/dmca should work up the breadcrumb list until it finds the next available page, in this case /docs. This is information that can be calculated and cached ahead of time. Worst case, it should fall back to the canonical homepage. Add the option, per page, to hide the breadcrumb. No breadcrumb, no problem!
  22. Hello, Maybe there's a setting for this somewhere and I just haven't found it. I have created a page at /docs/dmca/takedown-notice on which I host a custom block. This path was built in the ACP using folders. However, this path does not reflect the breadcrumbs on the page, which are simply Home > Guide to Submitting a DMCA Takedown Notice. How can I get the breadcrumbs on the page to observe the folders? There are index.html pages at both /docs and /docs/dmca, so clicking the corresponding breadcrumb links will not be an issue for users, set up as such:
  23. I don't mind sharing. I have @aXenDev's Font Awesome 6 plugin here: In order to unlock FontAwesome 6 Pro, I sent them a private message showing my payment receipt for Pro, and they sent me a plugin that enables Pro. I have to wonder if the size is because it has downloaded the entire Font Awesome 6 library and included it in source form. The largest file in the tar seems to be data/theme.xml. That file is 15 mb by itself. aXen, perhaps you could chime in here? Also out of curiosity, why not just modify the free plugin to accept an optional kit link? Kits are FontAwesome's preferred way to distribute their Pro version. If no kit link is provided, it should fall back to the public (free) version. If a kit link is provided, it should attempt to use that.
  24. How big is the TAR file you're uploading? 15 Mb. Would the maximum upload size be an Invision setting or a server-side setting? Have you tried installing any other applications or plugins? I've been able to upload an update to my site theme if that counts. But this is the only time I've had a plugin install outside of the marketplace.
×
×
  • Create New...