wu :: forums (http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi)
riddles >> general problem-solving / chatting / whatever >> experimenting with some new URLs
(Message started by: william wu on Oct 16th, 2008, 7:17pm)

Title: experimenting with some new URLs
Post by william wu on Oct 16th, 2008, 7:17pm
http://wuriddles.com
http://forums.wuriddles.com

more to come ...

http://easy.wuriddles.com
http://medium.wuriddles.com
http://hard.wuriddles.com
http://putnam.wuriddles.com
http://cs.wuriddles.com


(still working on things, moving stuff around)

Title: Re: experimenting with some new URLs
Post by Noke Lieu on Oct 16th, 2008, 8:48pm
They're certainly easier to remember... :D

Title: Re: experimenting with some new URLs
Post by Grimbal on Oct 17th, 2008, 8:26am
I had trouble with cookies.  By default, I refuse 3rd-party cookies.  I had to explicitly accept them for www.ocf.berkeley.edu.

Title: Re: experimenting with some new URLs
Post by william wu on Oct 17th, 2008, 8:32am
Thanks for letting me know. I don't know how to solve that problem though ... if anyone has a suggestion, please put it forward.



Title: Re: experimenting with some new URLs
Post by Sir Col on Oct 17th, 2008, 12:46pm
A long overdue and wonderful decision, William. Bravo!

Are you thinking of having the website hosted elsewhere or are you going to continue using the URLs to load the website into a frame?

In the meantime, one option would be to use Javascript to detect if cookies are disabled and if they are then display an advisory message on the login page. Something like the following code would do the job:


Code:
var cookieEnabled=(navigator.cookieEnabled)? true : false

if (typeof navigator.cookieEnabled=="undefined" && !cookieEnabled) {
  document.cookie="testcookie"
  cookieEnabled=(document.cookie.indexOf("testcookie")!=-1)? true : false
}

if (!cookieEnabled) document.write("<p>Cookies are disabled. To login please explicitly enable cookies for berkeley.edu.</p>");

Title: Re: experimenting with some new URLs
Post by Grimbal on Oct 17th, 2008, 2:25pm
Another problem is with the refresh (F5).  It returns to the home page.  That doesn't happen under www.ocf.berkeley.edu.
It becomes very annoying for instance when you create a new topic and you forget to fill in the subject field.  You get an error message.  You can go back to the submit page, but you cannot submit again.  The button is disabled to prevent multiple posts.  So far it is the same under both URLS.  Under the old URL you can refresh the page to re-enable the button and submit.  Under the new URL it returns to the main forums list and you loose your message.

Note: I use Firefox 3.0.3 on Windows 2000.

Title: Re: experimenting with some new URLs
Post by towr on Oct 17th, 2008, 3:09pm
That's because if you use those urls, you're actually seeing the site in a frame. (So you'd need to use "refresh frame", from the context menu, (right click) )
One solution might be to have the short url simply transfer you to the ocf url, using javascript and/or meta refresh.

Title: Re: experimenting with some new URLs
Post by william wu on Oct 17th, 2008, 4:18pm
Having the short URL point to the long URL will fix all these problems, but maintaing a short URL would certainly be desirable for aesthetic reasons, which is sort of the whole point behind getting the short URLs. Currently the forwarding is set up to simply mask the long URL.

What I should probably eventually do is purchase webhosting service from the same company I got the domain names from. However, my powers there would be far less flexible unless I purchase a shell account, which has a significant monthly cost (relative to my own budget).

In any case, I would like to host the site somewhere else where I can have root access.

Title: Re: experimenting with some new URLs
Post by towr on Oct 18th, 2008, 11:01am

on 10/17/08 at 16:18:18, william wu wrote:
In any case, I would like to host the site somewhere else where I can have root access.
Do you particularly need root access? Isn't a shell account sufficient?

How much bandwidth/datastorage are we using anyway?

Title: Re: experimenting with some new URLs
Post by chandrawijaya on Jun 3rd, 2009, 8:23pm
Its nice new topic of your site. And also easy to remember domain name. Well done.

Title: Re: experimenting with some new URLs
Post by raven on Sep 14th, 2009, 9:09am
Hi,

Just so you know, this forum is my favorite recreational destination on the web...

RE cookies: they are pretty much the standard for caching information on the client, and people who disable them will know that this poses some barriers to their convenience.  You might be able to cobble something together that emulates cookies using Flash and storing data on the client that way; but Flash will likely be disabled too, if cookies are.

RE short URLs: I would have to play around with this some, but using an .htaccess file for redirects might get around your frames problem -- although probably not.  I would have to go hands-on and try it out to know for sure.

RE hosting: I've referred a lot of clients to BlueHost.com and have never been disappointed with them or their very responsive customer service -- and no, I'm not a BH Rep. -- of course this does not get around the budget issue which I am facing myself now that I've returned to school after so many years.

For what it's worth; it would be my pleasure to help in any way I can to support this forum -- gratis.  And though I don't have any direct experience with YaBB, I've been building websites and working with JavaScript and PHP for around 10 years now.

Thanks for providing such a wonderful playground William!


Title: Re: experimenting with some new URLs
Post by Dufus on Sep 23rd, 2009, 6:43am

on 10/17/08 at 12:46:50, Sir Col wrote:
... Are you thinking of having the website hosted elsewhere or ...
[/code]


Mods, any developments on the front of migration to new host(s)?

Last time I had a email exchange with William he had mentioned about such plans.
I cannot express how much I missed this forum during the outage period. Particularly more than usual as I had so many job interviews lined up during that outage period (Hail Murphy!).

Title: Re: experimenting with some new URLs
Post by towr on Sep 23rd, 2009, 6:47am

on 09/23/09 at 06:43:29, Dufus wrote:
Mods, any developments on the front of migration to new host(s)?
I haven't heard anything new about it.

Title: Re: experimenting with some new URLs
Post by fizyka on Oct 1st, 2011, 4:40am
Great thing :)
Very easy to remember and pretty good looking :)

Title: Re: experimenting with some new URLs
Post by khuram4u on Dec 25th, 2011, 1:37am
New urls are easy to remember but will you discard the present URLs ? or this will work parallel with the new ones!

Title: Re: experimenting with some new URLs
Post by william wu on Dec 25th, 2011, 7:01am
They are working in parallel.
If we discard the present ones, then I would ideally use redirects so people wouldn't get lost.

Title: Re: experimenting with some new URLs
Post by fizyka on Dec 30th, 2011, 3:18pm
I think parallel is good option - old people wouldn't get lost and new people could have an easy to remember url :)

Title: Re: experimenting with some new URLs
Post by Wanturo21 on Mar 15th, 2012, 2:18am
Pretty great. It is easy to keep in mind. urls work parallel
Thanks a million!

Title: Re: experimenting with some new URLs
Post by arun gupta on Jun 18th, 2012, 10:30pm
That is almost similar, just need to add some easy words before "wuriddles".  :)

Title: Re: experimenting with some new URLs
Post by benmartorano on Oct 19th, 2012, 9:09pm
True... you could redirect the new easy to remember url to the existing site.



Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board