Jump to content

Tom S.

Clients
  • Posts

    628
  • Joined

  • Last visited

  • Days Won

    2

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Tom S.

  1. 2 hours ago, Marc Stridgen said:

    We would be unable to assist with changing the URL of your test instance, as the test URL on file also has an installation present

    I'm in the process of migrating it. So, when I've finished migrating, turned off the old test site the button in the client area will work? Or I would still need to reach out to you?

    And separate question. My plan is to have the test site on a different domain to the live one, that should be fine right?

  2. I wish to update the test URL I use for my license, however, wen I click on the "Change Licensed URL" button I get the following error:

    Quote

    There seems to still be an installation of Invision Community at the URL on file. Before you can change the URL, you must first remove the existing installation.

    I don't wish to change the url of the live site. Could I get some assistance with that?

  3. I've made a topic about this before but I feel it's something that is severely lacking yet so useful and probably a fairly easy feature to implement. 

    We need better statics about how our site is performing with relation to customers. Right now all we have are general overview of what was purchased and revenue. There is also some markets data which is nice, but we really should be able to see things along the line of:

    • How long are users staying subscribed to renewal products (churn rates)
    • How much are users spending on average per month
    • What is the average revenue per customer
    • What is the conversion rate of trial to paying

    etc etc...

    All this info should already be available within the database in some kind of form, we just need a nice visual way to interpret it and create reports.

    On a side note, Stripe has some reporting tools already on their platform but when I go there, it's empty. So I wonder could the API be better setup so that stripe can use the sales data coming from IPS? That would already be a big win.

    Thanks

  4. Hi,

    I wanted to know if IPS uses any kind of solution such a kafka to listen/react to database changes and trigger events.

    Basically, I want to trigger certain actions when particular changes in the DB occur. But it's much cleaner to use a system like kafka to just wait for the changes, rather than have to manually trigger them all over the place in code. Does IPS have such a functionality in place?

    Thanks

  5. I couldn't figure out from reading this article: 

    I created a simple dropdown menu using this format:

    <!-- The trigger -->
    <a href='#elMyMenu_menu' id='elMyMenu' data-ipsMenu>Open Menu</a>
    
    <!-- The menu -->
    <ul id='elMyMenu_menu' class='ipsMenu'>
    	...
    </ul>

    But I want to be able the listen to open and close events. How can I create an event listener using ips.ui.menu?

    As a side note, a lot of these articles lack an actual example which would save people from having to post to the forum.

  6. Hello,

    When I run this line: ($tab has the value of 'comments')

    $record->commentReviews( $tab );

    I get the following error:

    Quote

    Only subclasses of Dispatcher can be instantiated

    My guess is it throws the error when it hits this line in Records.php:

    return \IPS\cms\Theme::i()->getTemplate( static::database()->template_display, 'cms', 'database' )->comments( $this );

    Can't figure out why this is happening though. Am I missing a step? I do run init.php already beforehand.

  7. Inside a record in pages, I've allowed ratings (out of 5). But once a user has entered a rating, it's fixed and they cannot change it. Why is that? I can maybe understand keeping it fixed for reviews. But it doesn't make sense for simple 5 star ratings.

    So my feedback is, please allow people to change their star rating. It's especially a problem if a user misclicks.

  8. 8 minutes ago, Daniel F said:

    Don't forget that Records "doesn't exist", it's just a virtual class used to create the real implementation aka Records1, Records2 ( the Database ID is attached to the classname), this means you need to use the proper record class name. Instead of \IPS\cms\Records it's going to be \IPS\cms\Records1 ( replace 1 with your database id ) 

     

    Thanks Daniel! Looks to be working now 🙇‍♂️

  9. Hello,

    I'm trying to get a CMS record in a custom PHP script using:

    \IPS\cms\Records::loadFromSlug($id, false);

    But I am getting the following error:
     

    Quote

    BadMethodCallException:  (0)
    #0 /applications/cms/sources/Records/Records.php(1688): IPS\Content\_Item->container()
    #1 /system/Patterns/ActiveRecord.php(335): IPS\cms\_Records->get__forum_record()
    #2 /applications/cms/sources/Records/Records.php(1547): IPS\Patterns\_ActiveRecord->__get('_forum_record')
    #3 /applications/cms/sources/Records/Records.php(2038): IPS\cms\_Records->__get('_forum_record')
    #4 /applications/cms/sources/Records/Records.php(176): IPS\cms\_Records->useForumComments()
    #5 /applications/cms/sources/Records/Records.php(345): IPS\cms\_Records::constructFromData(Array)

    The problem seems to be when this gets executed:

    $this->container()->forum_override

    I don't know what the issue could be. Any ideas?

  10. Hello,

    I'm trying to create an extension following this guide: 

    It says:

    Quote

    Extensions are created in the Developer Center for your application in the AdminCP.

    But I don't fully understand it (maybe providing a quick example of setting one up might help 🙂 ). Am I suppose to create an extension as part of a plugin? And if so does that mean I have to create it as a hook? But I thought those are different so I'm confused.

    I want to create an extension for MemberSync so that I can run custom code when a user is created/deleted etc.

    Any guidance would be appreciated, thanks!

  11. Hi,

    I would like to execute some custom PHP after a new user registers. What would be the best way to implement that? It's important that it covers any new kind of signup. So whether they:

    1. signup with usual flow
    2. signup with social media
    3. signup through checkout

    etc...

    I have no reservations to editing source code if that would yield the best result.

    Thanks

  12. Hello,

    It's great that there is a statics section in the ACP that shows some useful info regarding sales and income on a basic level. But it would be great if it could give you deeper information about members buying products with renewals:

    • What is the average number of months users renew a particular product
    • What percentage of users that churn after 1 month, 2 months etc...
    • If a product offers multiple renewal options. What is the percentage split between the different renewals options that people choose.

    Thank you for your consideration.

  13. 2 hours ago, Joel R said:

    I actually think any UIX decisions from here on out by IPS need to be judged in the context of mobile first. 

    Agreed. It almost needs to be that desktop and mobile use two different themes, different JavaScript, etc.

    A good example is the release notes page:

    5B49A4B6-CE60-4608-A160-8387BA2FA122.thumb.jpeg.5b2404a736b362842fe5d7e021f16704.jpeg

    Works pretty well on desktop but is awful on mobile, because it was built using this widely used responsive design tactic of just collapsing everything on top of each other.

  14. 1 minute ago, The Old Man said:

    You can speed things up by only using the style of icons you actually need.

    Or if you're willing to put in the work, you can download the icons you need as an svg file and host them locally. Added bonus is that's one less external call your site has to make.

     

×
×
  • Create New...