Jump to content

Tom

Members
  • Posts

    1517
  • Joined

  • Last visited

  • Days Won

    1

Tom last won the day on June 4 2018

Tom had the most liked content!

6 Followers

Profile Information

  • Gender
    Male
  • Location
    UK

Contact Methods

  • Skype
    tomsterritt

Recent Profile Visitors

45930 profile views

Tom's Achievements

Newbie

Newbie (1/14)

299

Reputation

  1. Tom

    phpVMS REST API

    You make calls to the API endpoints. I've fixed the readme, seems GitHub changed how they parse markdown and broke it Make sure you're including a Basic Auth token on all requests.
  2. Tom

    phpVMS REST API

    You'll need to add the header "Authorization" with the value "Basic dXNlcm5hbWU6cGFzc3dvcmQ=", where dXNlcm5hbWU6cGFzc3dvcmQ= is base64_encode($username.':'.$password)
  3. Tom

    phpVMS REST API

    @bass Can you give any more information than "does not work"? What response do you get? Don't forget to set the 'Authorization' header.
  4. Tom

    phpVMS REST API

    In its current state the API requires basic auth user credentials set in the Authorization header for every request. Also unless you've set up URL redirects you'll need to access it via "site.com/action.php/api/..."
  5. Tom

    phpVMS REST API

    The endpoints are documented in the readme on GitHub - they're mostly GET requests so very simple. How you make those GET requests depends on what you're doing (i.e. from Javascript, or an app, etc.) but you can find tons of tutorials on making HTTP requests online.
  6. Tom

    VAForum 2

    Yep, open source. This is released under the license of the original VAForum, and any derived works should be too. Feel free to open a pull request too, I'm happy to merge in any changes if they benefit everyone. The general code structure is the same as phpVMS. Also I'll let you figure out how to show different images, I'm sure there's many different ways to do it...
  7. Use the browser developer tools to find the element pushing the page width out. I would check myself but the site is different now.
  8. Why would this hamper the use of your free domain? If you're not restricted on your usage I'm not sure why you'd want to limit people accessing your site - what if the person you limit was interested in signing up, and now goes elsewhere instead?
  9. Tom

    SimpleNews

    Feel free to open a pull request with your fixes
  10. Tom

    SimpleNews

    This plugin doesn't make any changes for input/output encoding. You'll want to check the encoding on the phpVMS news table vs the encoding you've specified in the header. For best support you'll want them to be UTF8.
  11. There's a strange character around the top of your <body> that seems to be kicking the site down a line - fix that and then set height:120px; on #templatemo_header
  12. Do you want vars on your index as well as other functions? Or is that it? Either way you'll just have to write some logic in __call to deal with the various possibilities.
  13. My understanding is you want to handle calls to the module (class) for routes (functions) that might not exist? That right? codon itself might not have anything, but PHP has __call? public function __call($name, $args) { // ... } where $name is the first regular variable of your route: index.php/module/var/... and $args is an array containing all the rest: index.php/module/var/arg/arg/... This isn't so much remapping as handling calls to functions that don't exist, so if you visit index.php/module/action and function Module::action() exists, it will only call that function, not __call.
  14. On OS X this behaviour is built in (with more natural physics too), and the plugin exaggerates scroll distance a lot more than I exaggerated the disapproval of this technique. A scroll to take me from the top of this page to the bottom of your first post takes me all the way down your entire website One should come to expect the odd critique here and there on a public forum, requested or otherwise, especially when showing off a website to a load of people who build websites Responding with hostility doesn't really make people want to help in the future, especially if asked for - wouldn't want to waste your valuable time after all. P.S. If you don't want a discussion in the future there's an entire forum devoted to your requirements called "Virtual Airlines News", woah
×
×
  • Create New...