Jump to content

Midnight Modding

Members
  • Posts

    7,098
  • 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

Everything posted by Midnight Modding

  1. Well, when I run the generateSitemap task in the acp on my test site and on my live site it says it runs successfully. So I am starting to think if I change anything it won't fix whatever is causing that one person to get the error. But someone from IPS told him my app is what threw the exception and it is from function url(). Hard to do anything if I can't reproduce the issue. edit: well it said ran successfully, but it output a blank line. When I updated the furl file and put the url properties back into the node file, it says successfully submitted to google. For now it goes to a nonexisting page, but I assume otherwise it fixed the problem.
  2. Some here have made apps before where content items had a dummy node (and I have done that in a private app too), so what did they do about this if you must have a node url?
  3. For my app I never made a public page that lists content items for a specific node. I felt it didn't really need it and so I just listed all active content items together, regardless of node. So I commented out the various url properties in my node class, since there is nowhere for it to lead to, which would show a node's content items. Well, now it's causing someone's sitemap task to have an exception thrown since that is what function url() in Model.php does, since I commented out my url properties. So I guess I will have to add a page per node in? I just assumed that it wasn't a requirement to have per node content item listings. In this app, there's usually only 1 or 2 content items active at a time so seemed pointless to then make per node listings. I could have them all redirect to some generic page, but that would be odd. Can't the sitemap just link only to the main app page and leave it at that? But even then, maybe some other areas could get messed up from that same exfeption too.
  4. I see what it is... Basically it's trying to get the url to a category page listing all pickems in a specific category. But I never even made such a feature for this app. I asked about it in the dev forum, but most likely I will just add in such a page per category, but it's really pointless for this app because most sites will have 1 or maybe 2 pickems going on at a time, so what's the point of then having a separate category page listing pickems for that one category? Also, when a pickem is over, there is a button in the acp you can press to make it disappear off of the main page of the app. But I really should probably make some way of getting to those old pickems also. Hopefully I can get something done within a few days, but wasn't expecting too have to basically ad a new feature in. Somehow nobody noticed that issue before.
  5. I will look into it, but I remember intentionally trying to have that disabled, so not sure why it's even trying to add it.
  6. yeah, back when I did a sports betting app for 3.x, it did decently ok, but not a huge number of customers. Also, I had never personally bet on anything, so I had it really simple where it didn't even have moneylines, exactly. It sort of had spreads or just flat out picks where all were the same. Of course, SINCE then I did do sports betting for real and I won a lot and then I lost a huge chunk back on stupid bets where I was betting thousands I finally had to try to quit where I don't lose all my profits back! It's been so rough quitting too and I keep being tempted to bet. So I WOULD update my own old sports betting app, but it may then tempt me to do real bets again. lol. And this app really hasn't sold much, but I am still glad I made it because I would like using it myself. I am hoping long term I can get better at design, get brackets finished (they ARE finished as far as functionality, just the buggy form and never got a good looking bracket to display them), and maybe someone will think of some other cool ideas for features that won't clutter the app too much. I like how this app allows to break it down into weeks, days, groups, whatever, or just have them all as one set of picks without being broken up. Also fixing accidental mistakes and using tie breakers are pretty nifty. I like making apps that have some sort of fun to them. I made a tournaments app, sports betting app, reviews app, point system, and then this one is the only one for 4.x, though. Also, yeah I talked to thejackal privately in the past. I was also annoyed that he made those apps since I had made 3.x versions! But people were wanting them for 4.x and I was too slow getting to them because of annoying health issues. He told me why he was leaving, but I forget now. He didn't like something related to marketplace or some policy or something, but I forget exactly. Well, I updated my own tournaments app privately fore someone. If it happens to be more how you want it, I could update the public version. I just figured nobody would want it, given that a tournaments app is already out. It had a brackets feature, but I don't know if it would be what you want or not. That bracket feature is more member vs member foe video games, whereas the one I am finishing up in this app is more for PREDICTINFG real life bracket results. I wish I could ever get a forum site active myself because I badly want to use some cool apps myself, but it's just me there anymore. lol. Also, I was GOING TO make a fantasy sports app, but it would probably not be ideal to release one because you pretty much would have to either pay a stats provider to send out stats updates or you'd have to manually be entering hundreds of players' stats each day. lol. Plus I'd have to figure out how to do a fancy draft, ie learn new programming languages. I mays till make one, though, because I've done fantasy sports for 20+ years and would love to make my own site of it. Anyway, if you have any ideas for other apps it's possible I'd want to make some other apps. I don't know if you were around a long time ago for 2.x, but back then this guy mike made a casino app and it was so fun! It had a slot machine similar to the wheel of fortune ones and it had keno and a lot of fun games to play and then see which members did the best on them. I begged him over and over to update it and it never got updated even for 3x, let alone 4.x.
  7. yeah, if he can give me some info on it, I could probably eventually do that. In the past when I made apps I had my own standalone point system and then there was something similar to member shop back then where I had a setting to use that point system. But for ip.suite 4.x I only did this one app and I did update my tournaments app, but only a custom copy of it. Then someone else released a tournaments one here. But anyway, I am always liking to integrate point systems when I can. Actually, one of the first apps I ever made was for sports betting and also had brackets. It had them for ncaa, mlb, nfl, nhl, nba. It's been a bigger pain doing brackets for this one, though, because I was using the ip.suite wizard form and it's buggy. As long as the user makes a pick for ALL games of the given round, it works fine. But if I accidentally left a game unpicked, it was somehow not giving an error and it was moving right to the next round of the tournament and letting them pick that round with no teams in one of the games! And you couldn't even make the wizard go back and I asked on here and nobody responded. A shame because it definitely works. I did my own bracket for fun for the ncaa tournament a couple years ago and tested it and it properly did everything. Even the "undo" feature worked great in case I accidentally set the wrong winner, I changed it and it moved the correct one into the correct place on the bracket. I just need to figure out some way around that wizard bug and also I have never found a good way of showing the bracket on the screen.
  8. I basically finished the bracket part, except 2 issues were 1. a bug in the type of form/setup I was using and nobody would ever answer me about it on the various dev forums and 2. I couldn't ever get the bracket to look like a bracket because I'm not good at design. We have a long time before the next ncaa tournament, though. As far as conference tournaments, I'm not sure because of how they are all so different, with different numbers of teams having byes, etc... I have this one where play in games can be used so technically the code is there to allow for byes, but I guess I'd have to just get it working with different numbers of teams. In a past sports app I made, I basically had to just specifically put in different playoff types, such as nhl playoffs, nba playoffs, etc... because of the different rules. In nhl and nfl they reorder teams after the first round, so some of these are too tricky to have it work automatically, without just hardcoding in different examples. As far as the history, for a long time nobody was seeming to need it updated and I was wanting to test it live, but was on shared hosting since I haven't really done as much programming for a while. So didn't have php 8 and also had more health issues. Usually, my apps have barely anything needing to change to work on the latest ip.suite versions, though. What slowed this up back for 4.5/4.6 was me trying to get the brackets in. I should have just released it first without them for those versions. I'm mainly just wanting to get them done far ahead of the next ncaa tournament. The app definitely functions very well and has a lot of stats (some stored ones I don't use at this point).
  9. ok version 1.1.3 is available now. the changelog explains the new features. like I said, they were custom, so no idea if anyone else will care to use them. they are pretty nifty, though, especially in small pickems/tournaments. In bigger ones you'd have to spend forever adding all of the choices for top scorer or top team.
  10. I submitted a new version of this. I forgot to mention in the changelog that I also took category permissions into effect for latest poll widgets and other pages where it was showing them regardless of those settings. Once it is downloadable and you install the new version, you will need to edit your categories because I changed a permission and added a new permission in it. I had mostly finished brackets, but still some hiccups, so took most of the code for it back out and will have to add those some other time. There are some new features, such as ability to let members predict which team will win a pickem and which scorer will be the top scorer. These are all custom features someone had me add in, which were allowed to be in the download here. Another feature is ability to let members predict exact scores instead of only the winner of a game. If you do not want to use those new features then you might as well turn advanced tiebreakers off because that pretty much just uses those new features to break ties at the end of the pickems.
  11. Got curious from that other user's post of something only happening in_dev and sure enough this only happens in_dev also.
  12. I see now it's only when giving admins permission to 'read', but no permission to 'view'. Set both to yes or both to no and the error doesn't happen. But still seems like it should not be doing this when I don't use Reportable. Also, no clue why it only does it for the first category and if I do the same permission on the second category it does not give an error. Not sure it's worth me wasting time trying to go through IPS files to see what is going on because it doesn't really make sense to give a group read permissions and not view permissions, anyway.
  13. When I go to one of my categories for my app and I take away read permission within the category for admins, everywhere on the site gives the following error. I track it back to the following code from an ip.suite file: $reportCount = \IPS\Db::i()->select( 'COUNT(*)', 'core_rc_index', $where )->first(); So it's something related to report center, but 1. I don't enable anything related to report center for this app and 2. why would it only do it when i change a specific category permission? It doesn't even do it if I change another category's same permission.
  14. yes. I see what the problem is. I don't see a code button in the editor, but anyway, in that line there from Tree.php, it's passing that array or null to $this->getRoots(), but getRoots() does not even use any parameters. So I did my own _getRoots() method and changed the following line: to: where $extra is the passed array from above. SO now it works.
  15. When using $rootsPerPage for a Tree, it's still showing every root on the same page in acp. It shows the pagination correctly (ie, I have 88 rows, set it to 10, it shows there are 9 pages), but then every page simply lists all 88 roots. For this app, no subcategories are even allowed and it could have a lot of roots, so I figured I should have it broken into pages, especially since I don't see much reason for anyone to reorder them, anyway. I can't remember if I confirmed it working in the past or maybe it has just always been this way. I see the line in Tree.php that gets the rows and it sure seems like it's correct...
  16. Finally getting this submitted any day now hopefully. So hopefully someone is still left who wants it. I went through all kinds of things, had to get php8 eventually, and on and on.
  17. I have this basically done for 4.7 except I didn't test with php 8 yet and having a situation to even be able to use php 8 (long story). edit: as I test this and use it for the first time in a while, this is a nifty system if I do say so myself. lol. You can set it to use weeks but just call them something else such as stages of the world cup, for instance, to split up the games. Also someone had me add in some features I forgot about since it's been so long... Options to allow predicting exact scores, tournament winner, top scorer in tournament, etc...
  18. Hey, sorry I didn't notice you posted in here. I have had this working on 4.6 for ages and so far I don't see anything that would stop it from working on 4.7, but I hadn't uploaded it here still because 1. I had put in some code for brackets and run into bugs with the IPS software and 2. I haven't made 100% sure on 4.7 yet. I am just going to take some of the brackets code out and not have the feature active where I can upload it, but I totally messed up by not doing it before (U.S.) football games started! In the future, if someone really needs this updated or ahs feature requests, etc... I will notice right off if someone sends me a PM. This topic went so long with nobody posting, I just thought nobody was needing it soon.
  19. If anyone needs this soon I could just submit it without finishing brackets first... I just figured it would be better to finish it, but I have the rest finished and took out some brackets code where it won't have it active yet.
  20. This is odd. I have 2 sites using ip.suite. They are on the same server. If I try to post on them, one of them works fine and the other one won't post no matter what. The post button changes to saying posting and just sits there. This site (this Invision company site) looked like it was going to do it also. But then it posted, just was slow doing it. Just odd that one site is behaving differently than the other, whether it be my internet or whatever else it could be. Using same browser on both too. I assume it's not related to the invision software, so posted in this forum, but who knows... maybe it's a combo of issues, since one works and one doesn't. edit: now it started working. so no clue...
  21. I really want to get this publicly released (added some features for livegames), but what's frustrating is how certain ip.suite features are set up. Mainly for brackets I did it where you add them with a wizard (do step 1,m click button, then step 2, click button, etc...) and if someone accidentally doesn't pick a team for one of them, it just moves right along to the next step without giving an error! I am tempted to release it, anyway, as all software has some bugs in it, but it's a really annoying one because if people don't make sure and do the picks correctly, the whole thing messes up and I have tried for a long time to get someone tot ell me how I can force it to error out because nothing seems to make it do it. lol.
  22. will finally get this done soon... Just figured I better finish the brackets and have that paid for (someone was paying me to add it in) first. Very little left to dot here. Also, soon after I release it I need to raise the price because this is a more specialized app and only a few get it, but I'll probably leave it this price a short time afterwards for people who were already wanting it.
  23. Well, I think I finished everything, depending on whether or not I can put this one feature in (haven't been paid for it, so may need to release it without that for now...)
  24. lol I didn't realize they are already talking about 4.6 Don't worry, wont be a long wait that time. Not any activity in here other than me talking to myself, so not sure who wants it, anyway, but I still like getting things updated regardless and plus I am a big sports fan so always wanting to improve for myself as well. edit: that quickly I made sure I didn't need to do any changes in this or my private apps from their part 1 of 4.6 changes. So done there...
×
×
  • Create New...