Jump to content

Community

bfarber

+Clients
  • Posts

    163,867
  • Joined

  • Days Won

    346

Community Answers

  1. bfarber's post in Are FB video embeds still working? was marked as the answer   
  2. bfarber's post in The themes are "stuck" in the archive was marked as the answer   
    When you disable archiving, topics get flagged to be unarchived, and then an unarchive task runs periodically to remove the topics from the archive. This can take some time.
  3. bfarber's post in "Automatically follow content" via REST API was marked as the answer   
    You can follow an item by calling to POST /core/members/{id}/follows. You can do this manually after posting the content item. I'll raise a suggestion internally to allow automatic following during posting.
  4. bfarber's post in 3.4 to 4.x Upgrade: CMS content BBCODE was marked as the answer   
    Custom bbcode should be converted upon upgrade to 4.x.
    You do need to whitelist custom CSS classes as mentioned, however, if you are using them.
  5. bfarber's post in Unit/Functional/Integrated testing suites was marked as the answer   
    We do not follow TDD and there are no automated unit tests available at this time.
  6. bfarber's post in ips.ui.drawer is not documented was marked as the answer   
    No specific event is triggered when a drawer is opened or closed.
    You could look for the element in question becoming visible or not.
  7. bfarber's post in BUG: Column type for CheckboxSet is wrong in Converter was marked as the answer   
    I've raised your concern internally for further investigation. Thanks!
  8. bfarber's post in Moderation history does not work after update was marked as the answer   
    This is an issue that should be rectified in an upcoming release.
  9. bfarber's post in Recommended training/guides/online workshops for plugin dev was marked as the answer   
    Our developer documentation here is the fundamental source for learning our framework, but naturally we encourage you to browse through the source code to be familiar with it if you are working to write addons for our software.
    I'll raise your suggestion of training sessions/workshops internally for consideration.
  10. bfarber's post in Access to repo to make PRs? was marked as the answer   
    Our repository is not public and we do not accept public PRs.
    You can, however, describe what you are suggesting to change here and we'll tackle the leg work if we're in agreement. 🙂 
  11. bfarber's post in Creating a custom conversion was marked as the answer   
    This isn't a commonly used feature so it's probably largely undocumented.
    You almost certainly don't need to create a Library class. These classes define how to translate data from a converter into the applications installed (e.g. blog, forums, downloads, etc.). Unless you are wanting to convert data from an external source into a new application within Invision Community, the library class would be unnecessary, because we already have libraries for all of our core applications.
    A Converter class is needed for each type of content you wish to convert, and translates to the files you see under applications/convert/sources/Software/*. You'll see there are folders for each app (which are each defined by Library classes), and then underneath each folder is a class for each type of software supported. If you want to allow conversions of blog, calendar and forum content from "Some Random Made Up Forum v2.0", then you'll want to create software classes for Core, Blog, Calendar and Forum.
    From there, you will need to define certain mapping methods that outline what is convertable, and you will need to create the methods that actually get called to perform the conversion. Your best option is to copy code from one of the existing software classes and modify it to suit your needs in most cases.
  12. bfarber's post in Bug: Deleting Page database does not delete record image was marked as the answer   
    Thanks, I've raised this internally to have it checked on for a future release.
  13. bfarber's post in Where is the rss template stored? was marked as the answer   
    "Source" probably comes from the feed itself.
    You can shut off "Read full article" by editing the RSS feed in the AdminCP and disabling adding the link (it's a per-feed setting).
  14. bfarber's post in Commerce 4.5: trials without credit card was marked as the answer   
    This is an intended change designed to help boost income for sites using free trials. A lot of users will provide a credit card when offered a free trial, and then allow their subscription to continue without cancelling it, but may never come back to provide their credit card if not required to up front. It's a pretty common sales tactic.
    Ultimately, as mentioned, this is intended, but I could see a desire for a setting perhaps to control the behavior. Either way, I'm not sure this is really an ideal topic for the development gateway forum here. Would you like me to move this to the feedback forum instead?
  15. bfarber's post in creating a theme with theme editor or app development was marked as the answer   
    I am unaware of any designers creating applications just to create their themes. Most designers use the theme system to create their themes, however many designers use Designers Mode for this purpose.
  16. bfarber's post in sending multiple \IPS\core\AdminNotification was marked as the answer   
    For AdminCP notifications we would not recommend sending multiple of one instance (or trying to), but rather following the pattern we use of grouping the notifications appropriately.

     

     
     
    When clicking on the "View all notifications" link you get more details, i.e.
     

  17. bfarber's post in IPS Community Suite 4.5.4.2 was marked as the answer   
    If you are self-hosted, we recommend taking a backup before applying upgrades as mentioned by @Miss_B.
    It is often a good idea to upgrade a test installation first to ensure there are no compatibility problems before upgrading your live site. That said, as a general rule upgrading between minor point releases (i.e. 4.5.2 to 4.5.4) should not cause you any issues, while upgrading major point releases (i.e. 4.5.x to 4.6.0) should be treated with extra caution due to a higher likelihood that third party customizations such as plugins, applications and themes will no longer be compatible.
  18. bfarber's post in Code doesn't execute if I turn off dev mode was marked as the answer   
    I didn't spot any IN_DEV-specific checks or extra caching that would describe the behavior you are seeing. You will probably need to debug up the chain to see where the caching you are mentioning comes from.
  19. bfarber's post in Memory + behaviour leak when destroying CKEditor instances was marked as the answer   
    Thanks, I've logged an issue internally to have this checked on for our next release. Appreciate the feedback!
  20. bfarber's post in Query does not run in the upgrade version of the app was marked as the answer   
    The upgrade processes are not ran when installing an application, only when upgrading it. You need to create an install folder and add all the queries necessary for a new installation there. Look at one of our first party apps for an example (Blog, Downloads, etc.). You'll find applications/blog/setup/install/* which has everything needed for a new installation, and then any changes since the first version are individually tracked in the applications/blog/setup/upg_XXXXX/* version folders.
  21. bfarber's post in No CSS files Created via Plugin-in upload was marked as the answer   
    Yes, this is already fixed for our upcoming 4.6 release. 👍
  22. bfarber's post in lang issue was marked as the answer   
    This has already been fixed for our upcoming 4.6 release. 👍
  23. bfarber's post in How to confirmedDelete() in Ajax was marked as the answer   
    Adding that parameter will effectively tell the backend confirmedDelete() method that the request was confirmed.
    The typical manner of doing this is to add the data-confirm attribute to the link, and then call confirmedDelete() on the backend. Don't forget to use a CSRF check if appropriate (which is most likely the case if you are deleting something through a GET request).
  24. bfarber's post in Forbidden You don't have permission to access this resource. was marked as the answer   
    Downloads uses the friendly URL path of "/files". Do you happen to have an actual folder on your server named "files"? If so, Apache would route the request to that folder and the request would never make it to our software - the solution would be to rename that folder to something else.
  25. bfarber's post in Help Please - Custom Block Upcoming Events Calendar Feed was marked as the answer   
    {{if !$event->mapped('locked') AND $event->hidden() === 0}} ... {{endif}}  
×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy