Jump to content

Tom

Members
  • Posts

    1517
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Tom

  1. You still seem to have at least 3 jquery-dependent things loaded before jquery, by the way. Open up the console in your browser and it'll point you right to them.
  2. Did you check the console? It's your friend. You have a bunch of code dependent on jquery running before you load in jquery.
  3. If you wrap the file_get_contents method in a <pre> (to preserve the line breaks) and add some CSS for font style etc you should get the same result.
  4. Never do this. Ever. So insecure, and really not beneficial at all - they just typed it to register, I'm sure they can remember it. If not, there's already a feature to reset it.
  5. You can use the following to check whether they've arrived after posting the form: if($_POST){ ... } So I imagine you'll probably want to put your $url = ... and your iframe inside that. Also btw you ought to remove those semicolons there outside of the style="" attribute, and for best browser compatibility you should set height/width attributes using unitless values (i.e. height="400" rather than height="400px") - IE will sometimes have a strop and make things the wrong size.
  6. You should put your code where it is appropriate: If you're fetching data you should have a class in core/common to handle database interaction. If you're manipulating datasets etc to give to the template, it should be in your module. If it's purely to create the view output, it should be in your template(s). As for the issue you're seeing, it may be easier to set up another route in your module to post data to, then once you're happy everything's working you can move things around to post data to the page you want.
  7. Tom

    phpVMS REST API

    phpVMS REST API A basic REST API module for access to phpVMS data and functionality, for example in third party clients & other sites. Note: This is very much still in development. It isn't very thoroughly tested or remotely complete in functionality, however it is a start and I'm putting it up to allow others to contribute and speed up development. Use with caution. Current Features: Username/password user auth for all requests via Basic Auth Only available to confirmed registered users Removes sensitive information from responses (encrypted password, salt, emails, IP addresses) All PUT/POST data is expected to be JSON Get paginated news list (requires SimpleNews) Get individual news item (requires SimpleNews) Get pilot list Get individual pilot details Get details of current user (of the API) Get schedule list Get individual schedule Bid on a schedule Approve/Reject registrations (Admin) Obviously there's a lot left to do so I welcome contributions. You can find the code & more detailed information on GitHub. If you have any issues please open them on GitHub rather than a forum post here. https://github.com/t...phpVMS-REST-API
  8. There's an updated version with a bunch of security fixes and also blocks guests: https://github.com/tomsterritt/VAForum2
  9. Sounds like you made some progress on it? If you still have that, pop it up on GitHub and we can contribute to it
  10. If you navigate to the modules/Plugins/uploads folder in your FTP client does it exist? Does it have the correct permission set? Alternatively, is your server file system case sensitive? The folder it's looking for contains a capital letter, whereas based on the logs the name is in lowercase.
  11. Have you removed your own reference to jQuery?
  12. It sounds like it's trying to read a directory that doesn't exist. Have you followed the plugin installation instructions correctly?
  13. Both true. Try replacing the core_head one with a newer version (still from Google CDN). It should still be available for bootstrap here. You'll probably just want to go through your site and check things that phpVMS uses jQuery for are still working.
  14. You can either get rid of your own call to jQuery, or replace the file included with phpVMS and update the head tpl. I would opt for the first as you can't be certain a newer version of jQuery is compatible with the phpVMS code.
  15. That's what this bit is in there for: If you don't want to send an attachment, don't specify an attachment.
  16. Sounds like a load of your database has disappeared. ^ A backup would be the quickest measure to get back online. Also check your logs or speak to your host to see why it happened and make sure it doesn't happen again.
  17. Where are you changing the encoding setting on the database? You'll likely need to go all the way to each field to change their encoding, changing just the database/table isn't enough. You'll also then need to correct any errors as they don't get fixed when the encoding is changed - you can do some find/replace magic to fix them all at once.
  18. Tom

    email subject

    https://github.com/nshahzad/phpVMS/search?utf8=✓&q=%22Registration+at%22&type=Code
  19. Tom

    Join Date

    You want to look at the php date_format() function. The documentation is a little difficult to follow now, so you essentially want to do: $justDate = date_format($userinfo->joindate, "Y-m-d");
  20. 1. That has nothing to do with this support thread 2. It's not really any of your concern, if brussels airlines want to chase them over it then I'm sure they're perfectly capable. I expect having chosen to use the name of a real world airline they have thoroughly researched the implications and legal restrictions and decided to ignore them @Ismaelpec what skin are you using? Might it be worth changing the file extensions of the skin you're using to match those of the crystal skin (i.e. .tpl <-> .php) because you have a different version to what the skin was built for?
  21. As far as I'm aware fivedev doesn't come with email inboxes. Where have you set up your emails to send from?
  22. Completely agree with the above. Totally overlooked people PMing regarding posts in the support forum. I disagree with doing that entirely. If you're going to offer to help, do so publicly and in keeping with the nature of the forum you're posting in (i.e. don't push your paid services outside of the paid services forum).
  23. I think everything said so far in this thread still makes sense in whichever context you understand the original post. People put very little effort into helping themselves and expect far too much to be done for them. There's loads of support answers already in the forum which will adequately answer the vast majority of support requests and modules that can be easily adapted to accommodate peoples' needs - but nobody can be bothered to try for themselves. If people aren't going to use the free resources available to them already then sure others are going to want to charge for their time to do it for them.
  24. I've made some free things available a while back, and while I'm not around helping so much anymore that's mostly because I don't have time - we have jobs and our own stuff to get on with too? It annoys me somewhat when people complain about this and take help for granted, especially as people do help for free on a very regular basis and in a timely manner (certainly compared to the free support you get from paid products and companies where they don't respond for weeks on end). What do you do for a living? How do you pay for things to get through life? I'm a web/font-end developer, so this is my day job. Put yourself in the position of the people you're asking help from. You'd be happy to do some work for a friend in your spare time, but imagine now that some random person you've never met before comes along and says they want you to do something, potentially quite complex, in your own free time, but they make very clear they have no intention of paying/compensating you for said precious time. Something you're normally paid for during the day. Would you not feel a little annoyed too?
  25. What for? If you're doing anything with Flash these days then you're doing it wrong.
×
×
  • Create New...