Jump to content

Community

VizionDev

Members
  • Posts

    583
  • Joined

  • Last visited

  • Days Won

    6

 Content Type 

Profiles

Downloads

IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Forums

Store

Everything posted by VizionDev

  1. Hey Stu, would this allow raw json output? Ah, I assume only if suite wrapper is disabled.
  2. No they do not allow direct access to the MySQL Database. (I've asked)
  3. Your host / provider. If you're on the IPS Cloud Community, You don't have access to this.
  4. Yup that'd be where it's from, I'll add it as source
  5. Each YouTube video has 4 generated images. They are predictably formatted as follows: http://img.youtube.com/vi/<insert-youtube-video-id-here>/0.jpg http://img.youtube.com/vi/<insert-youtube-video-id-here>/1.jpg http://img.youtube.com/vi/<insert-youtube-video-id-here>/2.jpg http://img.youtube.com/vi/<insert-youtube-video-id-here>/3.jpg The first one in the list is a full size image and others are thumbnail images. The default thumbnail image (ie. one of 1.jpg, 2.jpg, 3.jpg) is: http://img.youtube.com/vi/<insert-youtube-video-id-here>/default.jpg For the high quality version of the thumbnail use a url similar to this: http://img.youtube.com/vi/<insert-youtube-video-id-here>/hqdefault.jpg There is also a medium quality version of the thumbnail, using a url similar to the HQ: http://img.youtube.com/vi/<insert-youtube-video-id-here>/mqdefault.jpg For the standard definition version of the thumbnail, use a url similar to this: http://img.youtube.com/vi/<insert-youtube-video-id-here>/sddefault.jpg For the maximum resolution version of the thumbnail use a url similar to this: http://img.youtube.com/vi/<insert-youtube-video-id-here>/maxresdefault.jpg All of the above urls are available over https too. Just change http to https in any of the above urls. Additionally, the slightly shorter hostname i3.ytimg.com works in place of img.youtube.com in the example urls above. Source: http://stackoverflow.com/questions/2068344/how-do-i-get-a-youtube-video-thumbnail-from-the-youtube-api
  6. Hey David, http://php.net/manual/en/book.mysqli.php http://php.net/json_encode http://php.net/json_decode http://php.net/file_get_contents http://php.net/header header('Content-type: application/json'); $Sql = new MySQLi("localhost", "username", "password", "database_name"); $st = $Sql->query("SELECT * FROM forums_topics ORDER BY tid DESC LIMIT 200"); echo json_encode($st->fetch_all(MYSQLI_ASSOC));
  7. More precisely, you want to sync to seperate forums. May I ask why? Google HATES duplicate content and one or the other website will be punished for it. Unless you mean for statistical purposes, you could just create a php file that pulls data from the database and outputs it as JSON, from there your server can grab it, and work with the data using json_decode(file_get_contents("http://ipb.mysite.com/json/topics.php?output=json"), true); If so and you're wanting someone to do it for you, send me a PM and we can work something out.
  8. Turns out most of my themes are broken on IPS4.1 Beta - Time to get busy remaking them :sweat: Thanks to @Makoto for helping me set it up locally, legend :) 

  9. Thanks for redistributing my theme on a piracy website. Look forward to seeing you banned for your pirated version of IPS @ http://veownersclubaus.com

  10. And if you need the CSS guide, click the link in my signature. It will be updated soon for any changes in 4.1
  11. You can tell why there is very minimal dark themes out there, they're a total b**ch. Gotta find a way to streamline this a lot quicker...... hmmm

  12. Yeah, would definitely be handy.
  13. An awesome new theme and a dark version of Gamer ESC are pending review

    home.thumb.png.422726b0802c300bb93804e22home.thumb.png.da1fa61bc0b41339f29450a94

  14. @Mark would you happen to know where I could find this? - cheers
  15. Hey guys, Does anyone have access to the web.config (IIS) equivalent of the .htaccess used in Pages and throughout the forum Stuck with URLs like: /index.php?/my-not-so-friendly-url/ Thanks in advance.
  16. My pleasure I would probably recommend opening a support ticket for this also.
  17. If you're joining cross-database, it's gotta get pretty slow with that size of a database. I believe eliminating your archive would resolve your issue, atleast export it out then check for a change, if no change place them back and continue searching for a solution
  18. +1 - It was also be outstanding if you could define rel='follow' / rel='nofollow'
  19. Unfortunately you can't, you will have to send a request to IPS to add a max-width to videos while media max-width is >979px If this is referring to your own website, this can be done through theme customization but is rather technical.
  20. Your screenshot reveals JS is working fine, You should open a support ticket as this is database related more than likely
  21. Everything is working perfectly fine for me, do you have a different computer to try?
  22. http://www.anzaf.net/slider/amazingslider.js Failed to load resource: the server responded with a status of 404 (Not Found) http://www.anzaf.net/slider/initslider-1.js Failed to load resource: the server responded with a status of 404 (Not Found) Other than that, JS is loading fine for me on Chrome Version 45.0.2454.93 Win 7
×
×
  • 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