Jump to content
Announcing Achievements! ×

Community

Jarrod Davis

+Clients
  • Posts

    17
  • Joined

  • Last visited

1 Follower

About Jarrod Davis

  • Birthday 01/15/1968

Contact Methods

Profile Information

  • Gender
    Male
  • Location
    USA
  • Interests
    Game Development

Recent Profile Visitors

835 profile views
  1. Hi, a few things: 1) You place a block on a page, by default the title is "Issues", if you try to edit this title and save, it will be blank and remain blank no matter what you try to change it to until you remove and add it again without editing. Thus, at the moment, the title can only be "Issues". 2) If you have not released a version yet and click on release history, you get a big scary message. Can there be something else like "No releases yet", something other than this:
  2. There would be no way to make it embed YouTube links automatically, would there? I just imported a YouTube channel, it's just the title/link to video. I can past the URL in but kind of defeats the purpose of automating, I have to go in and manually past the link. I'm happy that it works, so not complaining, but it would be nice to tell it to embed these vids.
  3. Ahh, I see. Well, how about that. 😁 Many thanks @RocketStang I've never tried the RSS imports before and wanted to get it setup today. Cool! Thanks again.
  4. Is it possible to make your RSS/Atom Feed Imports get updated automatically? As it stands you have to click the refresh button manually. I'm wondering if this can be automated somehow? I saw one app in the marketplace that seems to do this with the option of refreshing automatically, but it does not work with latest version of IPS. The other RSS features (for pages) do not import enough info like RSS/Atom Feed inside AdminCP does. Maybe somehow setup a cron to run it, but how, if that is possible?
  5. I had to do <yoururl>/admin/upgrade on my self-hosted site.
  6. Hi, thanks for the reply. Hmm... I wish I had discovered this about a week ago. Haha. I purchased IPS to power my indie game dev studio. It seem to be able to do all that we need in one package. That was appealing to me. I had been thinking about how I wanted to implement the online high score and discovered the REST API and figured ok maybe I can use this. I've only had the software a few weeks now and slowly been learning how to use these type of features. I just discovered the CSS stuff and the above takes advantage of that. What I need is: 1. The game needs to be able to send/get scores via HTTP GET/POST 2. Those scores can be viewed on a webpage and they can auto-refresh, but just in the section they are display in. The original idea was maybe I can use REST and then create a template to display the data. The problem has been learning about how IPS works to be able to do all of that. Honestly I've just been lost in figuring out IPS backend and asking question and getting any kind of response has been slow going. Most of the time all I would need is just a simple example and I can then take that and run with it. The only REST example I could find was the only one in guides and from that I was able to get working what I originally had. I was told to post in the forums for help and, hehe, you are the only person that has even responded. Are using those classes fast? I mean do they trigger all the events that is normally triggered if you using REST? Using REST took 3 calls and all the data it returns was a huge overhead and not needed. So think 100s of people posting scores all around the world at the same time. I did not find a way to get the data back sorted by a custom field so I would have to sort on my end, and in that time someone else could have made a post and now what I have in memory waiting to updated would be invalid. So I gave up on trying to use REST. Using those classe can I directly access the database and update the records? Are there any simple examples of their use? Are there any docs for these classes? Thanks.
  7. So, the next thing I wanted to do is have the score auto-refresh after a certain time. The scores will be in a section of the page and I did not want the whole page to refresh, so I came up with this change to make that work: 1. Take the Score block from above and put it in render_score.php 2. Create an HTML block with the following code and add this to your page: <script> $(document).ready(function(){ setInterval(function(){ $("#scores").load('/scores/render_score.php') }, 30000); $("#scores").load('/scores/render_score.php'); }); </script> <div id="scores"></div> It will display the score after the page load, then the "scores" div will refresh.
  8. Welp, in the end. I had to use a different method, but I think I finally got some results. I ended up using a separate MySQL database and php script to submit/retrieve the scores. This scripts returns JSON data so I created a PHP block to grab this data and display using IPS CSS.
  9. Is it possible to set the perPage value? It seem to default to 25. I need it to be something like 10 in one case and 50 in another. I'm attempting to make an online highscore feature for my game projects. I finally figured out how to create/display a database record via REST, now just trying to get all these little nagging issues resolved so I can come up with a working solution. I guess I would need to make a custom template to display the data. That is the next step to figure out, sigh. How to make custom templates. Any way, if anyone has any advice on how best to do what I'm trying to do, would be most appreciated. Thanks.
×
×
  • 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