GWJ bugs, feature requests, and updates

Michael wrote:

As I said in my post

Doh! Caught skimming.

11PM Eastern, 8 Pacific, and this place is slowwwwwwww.

A small, but fun update today from DoggettCK. You'll now notice a Youtube button in the toolbar above post / comment text areas. Use it to more easily put in Youtube videos!

Please note that DoggettCK submitted this fix to me months ago, and it's totally my fault we haven't had it until now. Sorry for the delay, DoggettCK!

I was wondering when that was going up - seen it in the codebase

Sounds like a handsome and talented developer.

Yay!

how does that youtube thing work? I tried linking this video using the youtube button but it doesn't seem to work.

Gaald wrote:

how does that youtube thing work? I tried linking this video using the youtube button but it doesn't seem to work.

Same as before - just use the code after the v=

For now, just the code works. I'm still working on a general solution for full links.

I had a minor issue. This could very likely be user error, but I wanted to remove a thread from my favorites list on the site but every time I click on the "Remove from Favorites" link on the first page of the thread I always get a "This Page Does not Exist" message within the GWJ web site frame.

Anyone else have this issue?

I have tried posting this photo a few times now and it keeps failing. I have done it before from smugmug.com and it worked fine and is still working. In this case the photo shows up in the preview fine. Then when I post it, it shows up right. But as soon as I hit refresh it becomes broken. Has something changed? or am I missing something now?

Thanks

It might be hotlinking prevention. Take the URL of the non-working image and try loading it in a new tab by itself. Some sites will only let you see an image on their server if the referrer is their own site, or you're logged in. In the case of a hotlinked file (GWJ is the page it's displayed on, image is hosted by someone else) that referrer will show the host of the hotlinked file who's using their image.

Scratched wrote:

It might be hotlinking prevention. Take the URL of the non-working image and try loading it in a new tab by itself. Some sites will only let you see an image on their server if the referrer is their own site, or you're logged in. In the case of a hotlinked file (GWJ is the page it's displayed on, image is hosted by someone else) that referrer will show the host of the hotlinked file who's using their image.

It works fine when I paste http://popspond.smugmug.com/photos/i... in a empty tab. To remove variables I opened up an incognito tab and checked and got the same result. It works in a separate tab but not on the post.

I am going to test it here...
IMAGE(http://popspond.smugmug.com/photos/i-tCwtSXp/0/X2/i-tCwtSXp-X2.jpg)
This image shows up in the "preview comment" page before I post.

What has been happening is it will show up after I hit post but will break when I refresh the page.

Edit: yup happened again.

Yeah, they're probably blocking GWJ as a referrer -- that's why it works in a blank tab. Not sure why it would work in Preview, though.

OK, I just tried it myself. It does not work when I post it, but it does work when I load it directly in a new tab (which doesn't send any referrer at all.)

They're blocking you from hotlinking images there. You'll need to find another host for your pictures if you want to embed them in GWJ posts.

edit: now that it's in my cache, I'm seeing it in your post, but I wasn't before. Then I did a shift-refresh, which completely reloads everything from scratch, and it disappeared again. They're definitely, for sure, blocking GWJ from embedding images on their servers. You'll need a better place to store your pictures.

Crimeny wrote:

I had a minor issue. This could very likely be user error, but I wanted to remove a thread from my favorites list on the site but every time I click on the "Remove from Favorites" link on the first page of the thread I always get a "This Page Does not Exist" message within the GWJ web site frame.

Anyone else have this issue?

@Crimeny - Do you see this issue on all favorites, or just one of them?

doogiemac wrote:

@Crimeny - Do you see this issue on all favorites, or just one of them?

All of them. I want to unfavorite the Mass Effect 3 threads since I have nothing more to add to the discussion, but I am unable to do so.

Edit:

Nevermind. I just got the "remove from favorites" link to work. Thanks for the assistance.

Would it be possible to add a twitter line in the User Account area under the Other Info tab. It may also be nice to add a Google+ area too.

Hey everybody, there's something I've been working on for a while now whenever I have some free time (that's turned out to be "not a lot" the last few months). But, I think I'm pretty happy with where it's at, and we're ready to get some other eyeballs on it:

GWJ Mobile Web! http://gamerswithjobs.mobify.com

I've used this cool service called Mobify to put it together. Mobify is essentially a proxy for the website, and what they end up doing is grabbing the page, ripping out all the stuff we don't need on the mobile web site, and adding in custom styles that I define using their administrative tools. I've been regularly catching up on my favorite threads while viewing the site on my iPhone, and it's pretty f'ing great.

For the techies in the room, the current Mobify solution is proxy-based. However, Mobify will soon be releasing their client-side tools, which will allow us to implement the same suite of changes, but directly on the site, meaning we won't need to go through their proxy, and that we can also do things like tablet-specific styles, etc. In the meantime, the proxy does provide some really nice benefits like down-scaling images and videos to fit the viewport, as well as some solid caching and compression that makes the site quite speedy on a mobile device.

So, check it out and let me know what you think! I'm sure there are parts of GWJ functionality I'm not commonly using, and that I may have overlooked, so I'd love your feedback.

I've been using the mobile site for a few months, and I've been really happy with it. Quoting/replying doesn't really work, but I can live without those.

Bonus_Eruptus wrote:

I've been using the mobile site for a few months, and I've been really happy with it. Quoting/replying doesn't really work, but I can live without those.

This is one limitation to using the Mobify proxy service - the full set of JavaScript that would normally come across the wire doesn't make it. Once we can switch to client-side mobile delivery, we should be able to have stuff like that available again.

doogiemac wrote:

Hey everybody, there's something I've been working on for a while now whenever I have some free time (that's turned out to be "not a lot" the last few months). But, I think I'm pretty happy with where it's at, and we're ready to get some other eyeballs on it:

GWJ Mobile Web! http://gamerswithjobs.mobify.com

Looks great, doogiemac, it's a huge improvement! Can't wait to see what it's like when you've got full control over it.

I just submitted a pull request that will allow long URLs in YouTube links, based on this Stack Overflow answer.

It should handle all of the following link styles:

latest short format: http://youtu.be/NLqAF9hrVbY
iframe: http://www.youtube.com/embed/NLqAF9h...
iframe (secure): https://www.youtube.com/embed/NLqAF9...
object param: http://www.youtube.com/v/NLqAF9hrVbY...
object embed: http://www.youtube.com/v/NLqAF9hrVbY...
watch: http://www.youtube.com/watch?v=NLqAF...
users: http://www.youtube.com/user/Scobleiz...
ytscreeningroom: http://www.youtube.com/ytscreeningro...
any/thing/goes!: http://www.youtube.com/sandalsResort...
any/subdomain/too: http://gdata.youtube.com/feeds/api/v...

Does it support linking to timecodes? (And I presume it still supports the old "only the video" bare NLqAF9hrVbY style.

Hypatian wrote:

Does it support linking to timecodes? (And I presume it still supports the old "only the video" bare NLqAF9hrVbY style.

It basically behaves like the short version, just stripping out the code and creating the embed tags. However, since the embed tags support "&start=$seconds", it should just be a matter of finding that in the regex.

Jamie Zawinski was right.

I'll probably pull that code out of regexes and use parse_url to just grab the appropriate query parameters.

Short codes could do something like:

[youtube start=20]NLqAF9hrVbY[/youtube]

Long ones would just pull it out of the URL.

doogiemac wrote:

So, check it out and let me know what you think! I'm sure there are parts of GWJ functionality I'm not commonly using, and that I may have overlooked, so I'd love your feedback.

One thing it does is resize large images that overwhelm the other mobile site and end up making text display ultra tiny. That's actually what I came into the thread to ask about on the regular mobile site, because it makes me wish threads would move to the next page every time somebody posts a decent sized image.

Not sure I like how the headers/user boxes work. They end up taking way too much space.

Hypatian wrote:

Does it support linking to timecodes? (And I presume it still supports the old "only the video" bare NLqAF9hrVbY style.

As of a few minutes ago, it now supports timecodes in the long version, so all of the following should work:

[youtube]http://www.youtube.com/watch?v=3sQEb...
[youtube]http://www.youtube.com/watch?v=3sQEb...
[youtube]http://www.youtube.com/anythingyouwa...
[youtube]3sQEb9TSACY[/youtube]

And since I missed it in your comment before, yes, the short version is still supported.

The previous regex I had for the long versions was too clever for its own good, so I shortened it to require "v=11DIGITCODE", then used the URL parser to get the good stuff, including time codes. One thing that does suck is that on YouTube, you can use "&t=1h10m30s", but embedded players only support seconds, so it has to convert it to "&start=4230".

Cool!

Wow, the server is just falling into a ditch today. The site's barely usable at 10:30 Eastern.

Malor wrote:

Wow, the server is just falling into a ditch today. The site's barely usable at 10:30 Eastern.

Yeah, pretty much everyone on IRC is having the same problem accessing the site.

Malor wrote:

Wow, the server is just falling into a ditch today. The site's barely usable at 10:30 Eastern.

To be honest, I've had issues with GWJ for months. I often have crazy long times 'connecting'. This is not a complaint, just an FYI ... I'm not looking the gift horse in the mouth.

It's weird, sometimes, a page will load in one second, then the next page takes 30 to 45 seconds to connect, then the next might take 5 seconds, then 30, then instantly, then 60 seconds. For me, this has been happening for a long time. I've tried different browsers, and different PC's in the house.