1 (edited by Magix 2009-04-30 20:52:43)

Topic: [TOOL] TinyTee URL Shortener (help needed)

Help!

I have decided to replace the text ad at the bottom with a banner ad. If anybody (*cough* Landil *cough*) can make a beautiful banner that would look nice with the site that can advertise teeworlds, I would be forever grateful.


Original Message

I don’t have any money to spare, as I am a 14 year old without a credit card. I don’t think my parents would let me spend money to donate to a game, so in the past few years, I have been trying to help Teeworlds grow more popular to attract other people who can donate. By advertising on all of my sites and getting my friends to do the same, I have added quite a few players to this game.

For many years, I have been using other websites, such as tinyurl.com to shorten really long links from emails and other times when I need to conserve space. As I was using it today, I realized how ridiculously easy it would be to make it. I estimated it would take me a maximum of 1000 lines of code. With the challenge in mind, I made it in under 900 lines.

While making it, I realized I could use it to advertise Teeworlds! How, you ask? It is a rather basic concept. While waiting 5 seconds for my site to redirect to the link, the user in shown some data about Teeworlds, and is given a link that opens in a new tab (as to not interfere with the redirection). I hope that this will not only help you with your URL shortening needs, but promote Teeworlds as well!

Use this shortener for non-teeworlds related sites and shorten anything, then post it on the site. Anybody who clicks the link will read about teeworlds.


Features
-short URL to start with (will so be shorter if I get a new domain)
-easy to use, just enter URL and the alias that you want
-fast and reliable (set on a super-server with unlimited bandwith)
-PROMOTES TEEWORLDS! (with info on redirection page)


Demo

Take this (64 Characters): http://teewiki.info/wiki/Special:WhatLi … e:Outdated

And turn it into

This (36 characters) http://www.tt.tee-city.net/?outdated


The end “outdated” part was is variable and can be chosen to something even shorter. You enter that part yourself!
Hope you like it!

The actual URL of the page is as follows...

http://tt.tee-city.net

<? php echo "Magix"; ?>
------------------------------------------------
Tee-City <--------- The one Teeworlds site to rule them all!

2

Re: [TOOL] TinyTee URL Shortener (help needed)

Hey Magix! Nice work. I think I will use it for my teeworlds related stuff. But I got the following msg, when trying to open the link:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'teecity1_admin'@'localhost' (using password: YES) in /home/teecity1/public_html/tt/index.php on line 21
Cannot connect to DB!

Antoine de Saint Exupéry: It seems that perfection is reached not when there is nothing left to add, but when there is nothing left to take away.
Besides -  I am the gfx guy!

3

Re: [TOOL] TinyTee URL Shortener (help needed)

Nice idea, I really like it , stealth advertising, but I get the same error as Landil.
Keep up the good ideas! smile

===I take pride in my insanity!===    |    Blender3D    |    What do you think of my post? Rate it!
Admin@SuperSiliconux128:~$quantumphysics --help -mtheory -standardmodel
[quantum_physics]: segmentation fault, core dumped

4

Re: [TOOL] TinyTee URL Shortener (help needed)

Whoops! I forgot to re-insert the SQL after my last update!

The problem is fixed now.

http://tt.tee-city.net

<? php echo "Magix"; ?>
------------------------------------------------
Tee-City <--------- The one Teeworlds site to rule them all!

5

Re: [TOOL] TinyTee URL Shortener (help needed)

Nice idea, but I'd prefer a more simple redirection page. It's a little cluttered with all the text, and the link is small and disturbingly un-obvious.

I'd prefer a little larger link to the page I'm redirecting to, and then just below it "..and while you wait for that page to load, go play Teeworlds" (Teeworlds in larger letters/link or so). Right now it's not that pretty, and a little too cluttered.

Official Teeworlds map developer and community moderator
Administrator for the Teeworlds community Teesites

6

Re: [TOOL] TinyTee URL Shortener (help needed)

Thanks for the feedback. I will get working on that very soon. The original size of the link was supposed to be header 3, but because of a PHP order error, it won't show. That problem won't be very hard to fix. The other theme issue you talk about is already being overdone with a more tee-related theme, and the add for teeworlds seems rather un-obvious too. So I wish to replace that with a banner! If anybody can make a banner, then please do. I will edit the original topic requesting this.

@Landil: They key is to use this site for non-teeworlds related stuff (but maybe not business work). This will make it easier for Tees to rule the world.

<? php echo "Magix"; ?>
------------------------------------------------
Tee-City <--------- The one Teeworlds site to rule them all!