Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / TGC Webring needs YOU!

Author
Message
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 17th Feb 2007 14:19
Lol - fair enough. I think drupal should have won. I think it was rigged and I demand a recount hehe...

Josh - good luck with the webring

[center]
Josh
21
Years of Service
User Offline
Joined: 7th Dec 2002
Location: Pompey, Great Britain =D
Posted: 17th Feb 2007 17:53 Edited at: 17th Feb 2007 17:53
@ Nick:

Thanks,

btw what was that free MSN service you used to get the website preview thumbs? It seems that the one I was using is no longer available to us.

Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 17th Feb 2007 18:53
you mean like on this site?
http://www.nicholasthompson.co.uk/my-sites

its used like this:


[center]
Tom J
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Essex, England
Posted: 17th Feb 2007 19:35
Josh - Nice work, the site looks cool

Also, I may have submitted my link twice 1st time round when I clicked on submit my cr**py computer froze (nothing to do with the webring though). So I tried again just in case. Of course the submit section may not work at all yet, I have no idea
Josh
21
Years of Service
User Offline
Joined: 7th Dec 2002
Location: Pompey, Great Britain =D
Posted: 17th Feb 2007 20:16 Edited at: 17th Feb 2007 20:17
Thanks Nick that's exactly what I needed.


@ Gaming Colosseum:

lol actually you're right, the submit section doesn't work. I disabled the code that alters the database as it's not yet secure.

Tom J
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Essex, England
Posted: 17th Feb 2007 20:26
Ah, that explains it
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 17th Feb 2007 21:57
Josh - just thought i'd let you know what some sneaky git tried on one of my work sites on friday... He signed up with the username:


(mysite.com == example)

I looked up that script manually and it was a single line which redirected the browser to another site which had a crap load of ads and all kinds of nasty stuff.

Thing is - if you're site allows that and has a page which simple "echo's" the username out (eg a forum or blog) then that script would get executed on everypage!

Fortunately, Drupal protects against XSS (Cross Site Scripting) so it wasn't an issue - just thought I'd let you know!

[center]
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 18th Feb 2007 03:09 Edited at: 18th Feb 2007 03:10
That's easily solved.

On my site, when I display something submitted by either me or someone else, I do the following:



Where bbc_replace() is a function I wrote for simple BBC code, and unhtmlspecialchars() is:



Also, another thing to keep in mind is when executing a database query, you get code injection attacks.
The easiest one to do is simply add:

Quote: "OR '1' #"


On a login-script, since a # is a comment, when you execute the command, you'll get something like:

Quote: "SELECT `username` FROM `users` WHERE `password` = '3K345212J34' OR '1'"


which'll always be true, so They can login and do something malicous.

To get around it, all you have to do is call 'addslashes()' on any query before you execute it, that way, when it puts it in, it'll make the # a litteral # rather than a MySQL comment

Nintendo DS & Dominos :: DS Dominos
http://jt0.org
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 18th Feb 2007 12:03
Drupal has a really nice way of handling SQL queries... You have a wrapper function called db_query (which has another use in that depending on your database type, you can include either a PostgreSQL or MySQL PHP file with the same function name but the subtle differences can be changed for database specifics)... Anywho...

You call the function like this:


The function then replaces the holders (%s and %d) with the arguments passed to the function after the query. %s holders get sanity checked (slashes, etc as you said), %d holders get cast to integers and there are a couple of others too. The curley braces around the table name allows drupal to pickup the table name and add any table prefixes to it for every query. This allows you to "install" multiple drupal sites into 1 database.

[center]
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 18th Feb 2007 13:38
That's real nice

Yeah, it's a real must if you want to have a secure site, and you'd be surprised at how many people actually don't have any kind of securtiy!

Nintendo DS & Dominos :: DS Dominos
http://jt0.org
Josh
21
Years of Service
User Offline
Joined: 7th Dec 2002
Location: Pompey, Great Britain =D
Posted: 18th Feb 2007 15:47
@ Jess:

Quote: "The PHP directive magic_quotes_gpc is on by default, and it essentially runs addslashes() on all GET, POST, and COOKIE data. Do not use addslashes() on strings that have already been escaped with magic_quotes_gpc as you'll then do double escaping."



@ Nick:

I've looked into how that's done, and I think I might start implementing that on my queries.

Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 18th Feb 2007 16:20
Quote: "and you'd be surprised at how many people actually don't have any kind of securtiy!"


I'm actually passed surprised now. Some people just don't believe in security and dont quite realise what the impact can be! Thats one of the reasons I like Drupal - its REALLY secure and the community behind it are very good at finding and patching any holes found - they even have a security RSS feed. Very useful!

[center]
Josh
21
Years of Service
User Offline
Joined: 7th Dec 2002
Location: Pompey, Great Britain =D
Posted: 18th Feb 2007 17:25 Edited at: 18th Feb 2007 17:25
You can now submit links to the web ring! It's a bit 'new' atm so treat it nice!

Next is to appoint a link moderator...

Matt Rock
19
Years of Service
User Offline
Joined: 5th Mar 2005
Location: Binghamton NY USA
Posted: 18th Feb 2007 17:44
I guess it's getting close to the part where I get back in. Dang it, and I was getting all into live pac man


"In an interstellar burst, I'm back to save the universe"
Tom J
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Essex, England
Posted: 18th Feb 2007 18:15 Edited at: 18th Feb 2007 19:19
Cool I'm going to submit my site!

edit:

Quote: "I guess it's getting close to the part where I get back in. Dang it, and I was getting all into live pac man "


Oh well Matt, that shouldn't be a problem, after all you have what is probably the easiest moderator job on earth
Matt Rock
19
Years of Service
User Offline
Joined: 5th Mar 2005
Location: Binghamton NY USA
Posted: 18th Feb 2007 19:37
hehe very true .

Josh, I noticed one minor problem on the site. It seems to be cutting off text in the site descriptions, on my computer anyway. I'm using the newest IE and my screen res is 1280,960 if that matters at all. Is this happening for anyone else?


"In an interstellar burst, I'm back to save the universe"
Tom J
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Essex, England
Posted: 18th Feb 2007 19:43
Happens for me too in IE7

I'm gonna see if there is any difference in Firefox... sometimes Firefox presents stuff differently.
Tom J
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Essex, England
Posted: 18th Feb 2007 19:50 Edited at: 18th Feb 2007 19:50
The site looks fine in firefox but the text is cut off in IE7, darn Microsoft

And this isn't the first time in this thread that we've had a problem with Internet explorer 7!


Quote: "It doesn't work in IE7..?

That's odd - It works fine in IE6.
Damn it, when will MS just conform to the standards and stick with it!? Bastards..."
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 18th Feb 2007 19:59
Looks like a standard issue with the IE Box model. Always fun developing for IE - you never quite know what you're gonna see

Now - for my opinion. I dont wanna blast your work Josh, I really dont. I think its great that your putting the effort in - but, imho, the effort to attainment ratio isn't good.

1) The site doesn't validate even basic HTML standards. I get 32 errors according to HTML Validator I use with FF.
2) Your using a lot of javascript there! You use javascript to resize an image in the browser. On the General category, there is a large image for coders turf. I assume its for testing. Thing is - it loads huge and resizes once loaded. Why not just limit the size of the img element?
3) No clean URL's - its all based on index.php. Not good for SEO.
4) Personally - I dont like the design.

The site looks like its still in development so I assume there are still a lot of things that need doing to it - but currently, I'm not massively impressed. Sorry! Its nothing personal - but the site isn't anything worth shouting about yet.

On a positive note:
I kind of like the bar along the top. Its kind of like digg.com - you could use that bar for site navigation maybe?
I know you're hosting it - but I'm not keen on there being a link to your site at the top. Its a community site after all

Sorry if this sounds negative and all - but I was hoping for a lot more from your system after what I've heard about it. Currently I'm not impressed. Maybe I'm a minority - and if so - I'll quietly slip away and take stock of my opinions...

PS: You said on your other forum:
Quote: "Actually, as a side note, the biggest problem I have is finding people who are willing to help me out. CT is a huge task for one guy to take on."


I thought that was one of the biggest reasons Drupal wasn't chosen hehe. Taking on techie support of any site - custom made or off the shelf - is gonna be a huge task for anyone to do from scratch in their spare time. Good luck

[center]
Chris Franklin_
17
Years of Service
User Offline
Joined: 21st Dec 2006
Location: Home
Posted: 18th Feb 2007 23:00
Quote: "4) Personally - I dont like the design."


Same here to be honest I've said it in post after post change the colours to something like grey lightblue and white!

BUT
Quote: "On a positive note:
I kind of like the bar along the top. Its kind of like digg.com - you could use that bar for site navigation maybe?
I know you're hosting it - but I'm not keen on there being a link to your site at the top. Its a community site after all
"


Still alrite work change the colours on CT and i think you'll gain a few members more

Ideas for the tgc web ring:
Add a thing to submit code like tgc codebase
Add user submitted tutorials e.t.c



Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 18th Feb 2007 23:03
Quote: "Add a thing to submit code like tgc codebase
Add user submitted tutorials e.t.c"

Its a webring... Those things need their own site.

[center]
Chris Franklin_
17
Years of Service
User Offline
Joined: 21st Dec 2006
Location: Home
Posted: 18th Feb 2007 23:08
But there's a tutorials thing and codebase thing on the site...... why not make it user submit

Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 18th Feb 2007 23:26
well i suppose it would give the site content which could help to bring people to the site and therefore to our sites... Although I'm not sure that SEO seems to be that high-a-priority...

[center]
Matt Rock
19
Years of Service
User Offline
Joined: 5th Mar 2005
Location: Binghamton NY USA
Posted: 19th Feb 2007 01:41
I agree about the coder's turf thing, I didn't really think about it until Nick brought it up, but looking again it does sort of seem like its the "TGC webring as presented by Coder's Turf," as opposed to the "TGC webring as presented by TGC members." But then you're doing all of this work on your own so I don't want to be judgemental.

IE7 is bad for a few reasons, there's no denying that. When I made my site I did it in IE6, and it looked great, but when I migrated to IE7 it shrunk all of the text and made it look genuinely horrendous. So now I had to make the fonts all bigger, and to people using IE6, they probably need to sit on the other side of the room to make the text look normal lol. Between the dev problems with IE7, Vista, and DX10, it's like we're witnessing the fall of the Roman Empire hehe.


"In an interstellar burst, I'm back to save the universe"
dab
20
Years of Service
User Offline
Joined: 22nd Sep 2004
Location: Your Temp Folder!
Posted: 19th Feb 2007 01:53
Matt, I know you've had that owned image for a long time, but I still find it hilarious.

Take heed, never take advantage of the things you need, never let your self be overcome by greed. Walk a strigh line, pick up your speed and try. Everyone deserves a piece of the pie By: Shaggy
Matt Rock
19
Years of Service
User Offline
Joined: 5th Mar 2005
Location: Binghamton NY USA
Posted: 19th Feb 2007 01:58
Wow, I was going to change it too because I figured people were getting sick of it, hehe.


"In an interstellar burst, I'm back to save the universe"
El Goorf
18
Years of Service
User Offline
Joined: 17th Sep 2006
Location: Uni: Manchester, Home: Dunstable
Posted: 19th Feb 2007 09:41
When trying to submit my site:

Quote: "Couldn't execute query.....(Insert any error messages for this IP into the database.).....because You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's site;"




http://notmybase.com/main
All my base are not belong to anyone.
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 19th Feb 2007 11:13 Edited at: 19th Feb 2007 11:46
El Goorf, looks like single qoutes aren't escaped...

I got exactly the same when I tried to put in "Jess Telford's", it doesn't like the single quote.

[EDIT]

Alright, here's my comments.

First up, fix the HTML errors.
Here they are:


Next, I gotta agree that there's too much Javascript.
Like Nick said, the 'onload' for the image resizing is overkill and pointless. If you want it a certain size, use CSS or the width and height attributes of the img tag.

Also, the "Code Examples" category is redundant as that can come under "Tutorials".

And btw Chris Franklin, the 'Code Examples' category is (I imagine) set up for links to sites that are entirely for code snippets, not actually for code snippets!

If you keep the CT bar at the top, can I ask that it's 'minimized' by default? If you're not too happy with that, put in a 'Coders Turf' (non-underlined) text-link next to the 'maximize' arrow.

To make the URLs SE compatible (which, after all, this site is all about getting visitors through to our sites, isn't it?), then you can use .htaccess.

First up, you want to check that the incoming link is in the right format before we try to redirect it:



Then, you want to redirect (internally) the URL so that it corresponds to your QUERY_STRING setup:



So, all up, you'd have:



Gives you a nice clean URL like:
www.tgcwebring.info/cat/1

The problem then is that this /cat/1 means absolutely nothing to the SE's.
So, you need to fix that up, but when you do, you need to change the code of the website itself along with it.

We're going to change the category requests from using simple ID numbers to using english-text names that should be stored along with the ID numbers someone (in the PHP script, in a database, etc).

So, now we're going to have links like:
www.tgcwebring.info/cat/code-examples
or
www.tgcwebring.info/cat/general
etc.

The rewrite rules for this are almost identical:


Then, internally, you have to check $_GET['cat_ID'] against the english-text version of the ID rather than the number.

An alternative way is to leave your PHP as it is, and do it all in .htaccess, but it is slightly bloated:



... Anyway, that's enough typing from me

Nintendo DS & Dominos :: DS Dominos
http://jt0.org
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 19th Feb 2007 12:13
Jess - thats a neat way to do it - and its also how Drupal doe it (kinda)...

When you first install drupal, all pages are like:
example.com/?q=admin/settings

Drupal then takes $_GET['q'] and explodes on '/'. You can then access each it using arg(0), arg(1), etc. You can also attach functions to paths using the menu system (hook_menu)... eg:


That code adds two hooks to the system:
1) picks up a URL in the form 'clicktrack/something' where something can be anything. It sets the access control to TRUE (ie ANYONE can access is) and its setup as a non-cacheable page (you dont want to cache a redirect page). It then takes arg(1) and passes it into the clicktrackandredirect function which checks if its a numeric argument (arg(0) is clicktrack). It then would call up some basic database tracking, get the URL and do a 301 redirect to it.
2) Sets up an admin page which only uses who have the administer content privilege can access (everyone else will get a 403 page). It will also add an entry into the menu system as well as check the path against the URL.

Drupal also uses the same rewrite method you describe (Jess) to rewrite all URL's into the $_GET['q'] variable.

That's what I like about Drupal - 1 line of code (excluding returns and initialisation lines) and you've just bolted a set of url's to a function with arguments, access control and optional caching.

[center]
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 19th Feb 2007 16:11
Wow, that is nice

All this mucking around learning RegEx and mod_rewrite when I coulda done that

Oh well, I'm glad I know how to do it now, as I have already set up my site to do some funky redirects for the News and Projects page.

(before a url would have been http://jt0.org/blog/?id=0&entry=5 now is a much nicer http://jt0.org/news/holiday-toss-won)

Speaking of which, I've also used the reverse method that I posted just now to 301 old links to the new links. That way there's no dup content, and I still have all those old links accessible

Nintendo DS & Dominos :: DS Dominos
http://jt0.org
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 19th Feb 2007 17:33
Quote: "Speaking of which, I've also used the reverse method that I posted just now to 301 old links to the new links. That way there's no dup content, and I still have all those old links accessible"


Nice! I wrote a module for Drupal which does something similar.

By default, when you create "anything" in drupal, its an extension of a node. A node is like a Java Object and a Page just like something when extends a node. You then access that content by going to site.com/node/123 where 123 is the generated ID for that node.

Then they implemented a path funtion which has a table of system paths and destination paths, so you can alias node/123 to about-me. The problem is - that just makes two ways to get to the same page - AKA dupe content.

I wrote a module called Global Redirect which has the simple task of looking up if the current request (in drupal's case the $_GET['q'] variable) has an alias in the table. If so - grab it and do a 301 redirect to it. Therefore if google notices a page referred to as node/123 and another called about-me (its alias) - it will 301 any attempts on node/123 to about-me Nifty eh :p

Jess - if you like that feature of Drupal you really should look into it further. That database technique is like Drupal 101.

I'm probably gonna cause offence saying this - but what the hey... Josh - I honestly do appreciate the effort you've gone to for this ring. I think you're a fantastic asset to the community. But All these little issues that have been pointed out would have been covered by Drupal core. That example webring I put together took me no more than 30 minutes; including sub-domain setup and propagation, download or core and extra modules, installation and configuration, input of basic content, basic themeing for category pages and installation of a nice theme (the default 4.7 theme is a little pants - the default 5.0 theme is gorgeous though ).

Like I've said - no offence to you - I'm just yet to be impressed (I'm a right b*****d to impress ).

I'm guessing your ultra busy with your other projects too - I know exactly what that's like (hence me not offering to take the reigns on this) - so if there is anything I or anyone else here can do help, simple post away

[center]
Josh
21
Years of Service
User Offline
Joined: 7th Dec 2002
Location: Pompey, Great Britain =D
Posted: 19th Feb 2007 19:47 Edited at: 19th Feb 2007 19:57
@ Nick:


JavaScript

OK, I've reduced the JS drastically; it was probably for the best that you pointed this out to me as it'll improve efficiency for all websites in the CT network.


SE Friendly URLs

The URLs are not being re-written just yet as I haven't had time to learn the technology behind implementing this. It's on the list though.


HTML Validation

The entire CT framework is still under construction, and it only makes logical sense to get things working before you try and confirm to the guideline standards, but no doubt this will get done.

However I've fixed some of the basic things the HTML Validator was complaining about, however some of the problems are for IE compatibility reasons, but I'll look into this.

Some of the errors it comes up with are odd...

Quote: "general entity "cat_name" not defined and no default entity.

And

reference to entity "cat_name" for which no system identifier could be generated."


What do these mean?


Design/Theme

As I'm sure I've said before somewhere, the design is 100% un-important until the actual website works properly. I'll post up the CSS file for someone to create a decent theme after I'm done coding it.

I've managed to fix most of the IE display errors using some old hacks. Thank god they still work in IE7!


CT Bar

Quote: "I know you're hosting it - but I'm not keen on there being a link to your site at the top. Its a community site after all"


The link back is only fair. Coders Turf is non-profit and for the benefit of the entire game dev community, so I don't see a problem with linking it for our visitors benefit.

I'm prepared to make the CT Bar less intrusive, and/or make it clear that this is a community built website, but that’s it. (See previous paragraph...)


Drupal:

Quote: "That example webring I put together took me no more than 30 minutes"


"Haste in every business brings failure."

Allowing me to create something custom built will prove to better gain in the future. And I'm learning as I go through this process which is always a good thing.


Quote: "so if there is anything I or anyone else here can do help, simple post away"


Keep up the comments, I can't improve the website or my skills without knowing what I'm doing wrong and/or where I can improve.



Quote: "Taking on techie support of any site - custom made or off the shelf - is gonna be a huge task for anyone to do from scratch in their spare time. Good luck"


Thanks, I'll be in need of it!



@ Chris Franklin_:

Quote: "Add a thing to submit code like tgc codebase
Add user submitted tutorials e.t.c"


There is a codebase available on Coders Turf, and soon a tut-base too. There is also a codebase here and at just about every other game dev website, so I really don't see the need.


@ Jess:

Code Examples category removed.


Website Submission

Quote: "looks like single qoutes aren't escaped..."


Whoops my bad!


SE URLs

I've converted from using IDs to names for the URLs. Jess would you be able to combine the .htaccess code for the URL re-writing with the domain masking code you emailed me? As I don't really know what I'm doing with regards to that.



Anywho, I've spent most of my coding time here trying to fix IE bugs and fixing validations errors. :- Typical eh!



[EDIT: Re-organised and made neater...]

dab
20
Years of Service
User Offline
Joined: 22nd Sep 2004
Location: Your Temp Folder!
Posted: 19th Feb 2007 19:52
Quote: "Anywho, I've spent most of my coding time here trying to fix IE bugs and fixing validations errors. :-\ Typical eh!"


I know what that's like

Take heed, never take advantage of the things you need, never let your self be overcome by greed. Walk a strigh line, pick up your speed and try. Everyone deserves a piece of the pie By: Shaggy
Josh
21
Years of Service
User Offline
Joined: 7th Dec 2002
Location: Pompey, Great Britain =D
Posted: 19th Feb 2007 19:58
Quote: "I know what that's like"


Feels like I spend most of my life doing it!

Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 19th Feb 2007 20:41
Quote: "Feels like I spend most of my life doing it!"

You and every other web developer since the dawn of time!

I'm glad you didnt (seem) to take any of that personally. Now for my replies

Quote: "it only makes logical sense to get things working before you try and confirm to the guideline standards"

Thats the approach I used to take - but I've since learned that fixing stuff as you go along is often a lot easier than tracking it down once you have a gargantuan piece of code. PLUS - the Doctype at the top could instantly fix a lot of display errors - it controls the rendering rules in the browser. Without it, every browser will do something different. Even with it some browsers (read: IE6) will still screw bits up.
As for that catname bit - I'll take al look but I dont remember seeing it before. Sounds a bit javascripty... A REALLY good tool for debugging is Firebug for FF - its absolutely fantsatic. Allows realtime HTML and CSS editing + Realtime Javascript execution/editing!!

Quote: "the design is 100% un-important until the actual website works properly"

True - but it depends how you're developing the site. I dont know how your system works - but in Drupal what you said is 100% true but thats only because Drupal strongly seperates content and presentation. I dont know if your system does this or not. If it does - thats fine, however if you presentation layer is combined with the content layer then it might be easier to sort out presentation along the way.

Quote: "Haste in every business brings failure."

Again - I agree.. But so does using slow tools You will never win an F1 race in a Reliant Robin!
the point I was trying to make about drupal (in a round about way) is that, out of the box, it does 99% of the stuff we wanted and it does it well. It also has nearly everything in place for us to override the bits we dont want or the bits we want to do differently (the theming layer is the most common thing that's overridden).
The whole 30 minutes thing wasn't saying its "quicker" - just that it seems there is more of a foundation there than in coders turf's system.

Quote: "The link back is only fair"

Agreed - you're hosting it and developing it for free and that's a cost to you. I just thought it looked a little... well..
"LOOK AT ME!! I'M BRIGHT GREEN AND YELLOW AND THE REST OF THIS PAGE IS PASTEL BLUE AND WHITE!!! LOOK!! I STAND OUT!"
... if you get what I mean. Less obtrusive would be good imho.

Quote: "Allowing me to create something custom built will prove to better gain in the future. And I'm learning as I go through this process which is always a good thing."

Again - agreed... But a good thing for you more than us In all honesty - you will get a lot from this. If/When it becomes a popular portal, you website as a whole will prove a valuable asset on a CV! Hell - if you start adsense-ing it up, it could even produce a financial asset too.

Do you use Skype or GTalk? I'd be happy to help out on there if you need it...

PS: Currently http://webring.codersturf.com/ is producing some kind of include error. It claims it cant find the database script which, I gather, is quite important?

[center]
Josh
21
Years of Service
User Offline
Joined: 7th Dec 2002
Location: Pompey, Great Britain =D
Posted: 19th Feb 2007 21:31 Edited at: 19th Feb 2007 21:36
Quote: "PS: Currently http://webring.codersturf.com/ is producing some kind of include error. It claims it cant find the database script which, I gather, is quite important?"


Use http://www.tgcwebring.info, I'll get rid of that old directory.


Quote: "I'm glad you didnt (seem) to take any of that personally."


I discovered a long time ago that you can learn much more from people's criticisms than you can from any amount of praise you could ever receive.

Someone once asked me how I knew the answer to everything, and it's simple a case of paying attention and being willing to learn.


Quote: "You will never win an F1 race in a Reliant Robin!"


I bet Del Boy would beg to differ! Shame Only Fools and Horses isn't running any more. Cult classic that.


Quote: "True - but it depends how you're developing the site. I dont know how your system works - but in Drupal what you said is 100% true but thats only because Drupal strongly seperates content and presentation."


I made special effort to try and separate it more than I usually would.


Quote: "Do you use Skype or GTalk? I'd be happy to help out on there if you need it"


GTalk: SaikoJosh
Skype: (Don't use atm)
MSN: StuffITall@hotmail.com
YIM: JoshColeUK
AIM: StuffITall
ICQ: (No longer use)

I'm not really using GTalk or Skype as I don't have a proper headset yet, I'm using MSN until Trillian Astra is released.

I might actually invest in a decent Skype/GTalk headset as I've recently learnt the benefit of being able to converse the old fashioned way!

Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 19th Feb 2007 21:40
GTalk and Skype are better text chat clients than MSN (imho). I personally feel more comfortable in them I never use MSN anymore.

Quote: "I discovered a long time ago that you can learn much more from people's criticisms than you can from any amount of praise you could ever receive."

AMEN!!!!

Just checked the frontpage... Validation Errors...
* All &'s should be & whenever you do URL's (not hugely important, wont break any layout - just not 'proper' HTML... Although i'm surprised HTML4 is complaining. I thought that was XHTML).
* When you set the height or width of a TD - you just specify the number, no need for px. Use % if its percent - its otherwise assumed to be px...

[center]
KeithC
Senior Moderator
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location: Michigan
Posted: 19th Feb 2007 22:06
Haven't been following this lately, but have all the links from the original webring page been deleted/left-out from the new one? Does everybody have to re-submit their links again?

-Keith

Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 19th Feb 2007 22:08 Edited at: 19th Feb 2007 22:20
try this in the CSS:


Plus - try removing the &nbps; between the A tags - thats mixing content and presentation (you're using the nbsp's to spread out (ie present) the A Tags). They also break my CSS

It uses the same gradient on the header to do all the gradients on the page.


EDIT: Coolio - it works in all browsers. Thanks for applying that.

[center]

Attachments

Login to view attachments
Josh
21
Years of Service
User Offline
Joined: 7th Dec 2002
Location: Pompey, Great Britain =D
Posted: 19th Feb 2007 22:24
heh thanks for that, sure looks much better now.

Matt Rock
19
Years of Service
User Offline
Joined: 5th Mar 2005
Location: Binghamton NY USA
Posted: 19th Feb 2007 23:26
Keith: I think we're going to have everyone re-submit their links to the new webring. But if my mod abilities will permit it, I'll move everyone's sites from the old site to the new one, and everyone can log on to change their descriptions and whatnot.


"In an interstellar burst, I'm back to save the universe"
KeithC
Senior Moderator
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location: Michigan
Posted: 20th Feb 2007 01:26
@Matt:

OK; I'll wait till you guys have everything figured out. If we need to re-submit, just let us know in this thread (as well as what we'll need to upload over there). Thanks.

-Keith

Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 20th Feb 2007 08:53
The two different codes will need to be in seperate .htaccess files.
The one I emailed to you should go in the www.tgcwebring.info root, and the one I posed here should go in the http://tgcwebring.codersturf.com root.

The code I posted should just work out of the box, but I can't guarentee

A side-effect might be that PHP thinks the execution directory of the incoming request is then /code/dark-basic/ rather than just /.
To fix that, I think all you have to do is add:

RewriteBase /

Before any of your rewrite rules in the .htacces in tgcwebring.codersturf.com

Also, what I didn't mention in the email, if the rewriting doesn't work at all, try adding:

Options +FollowSymlinks

after RewriteEngine On



Nintendo DS & Dominos :: DS Dominos
http://jt0.org
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 20th Feb 2007 09:51
TBH - what's the point in using the domain as a redirect at all? We should either map it directly to the site or just use the codersturf subdomain. All its going to do is confuse and complicate things if we use it as a redirect. Its no even a huge amount shorter.

One thing to bare in mind is the age of the domains. Google puts new domains (not sure about new subdomain's on older domains) in a kind of sandbox for about a year. You can appear on google in a few days - but it doesn't really treat you as a proper site for anything up to a year.

Personally I'd prefer to map the .info domain onto the site and lose the subdomain - however I'm guessing Josh would rather keep the subdomain as it publicity for his site/portal.

[center]
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 20th Feb 2007 13:38
Nick, that's what the .htaccess email me and Josh were talking about does

However, I get the feeling that mod_rewrite can't actually handle grabbing an external domain and displaying it in a local location.
That'd leave open for all sorts of weird stuff.

At any rate, even if it can't, all that has to be done is a copy+paste of all the files from the subdomain to the full domain hosting area

Nintendo DS & Dominos :: DS Dominos
http://jt0.org
Tom J
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Essex, England
Posted: 20th Feb 2007 19:31
Hey Matt, if you want a list of the sites from the previous webring, then I can give them to you. That way you can set up accounts and links for each of them.

Also, did my submission get through this time? Just checking so I don't try to submit it twice
Michael S
18
Years of Service
User Offline
Joined: 2nd Apr 2006
Location: Why do you ask?
Posted: 20th Feb 2007 19:52
When is it going to be up?

Tom J
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Essex, England
Posted: 20th Feb 2007 20:11
The site is already up, although it is still in progress:

http://www.tgcwebring.info
Josh
21
Years of Service
User Offline
Joined: 7th Dec 2002
Location: Pompey, Great Britain =D
Posted: 20th Feb 2007 22:04
The site is at tgcwebring.codersturf.com as I discovered it didn't like working in the www.tgcwebring.info root.

I'm hoping the .htaccess stuff will mask the domain so we won't have any problems there.

Matt Rock
19
Years of Service
User Offline
Joined: 5th Mar 2005
Location: Binghamton NY USA
Posted: 20th Feb 2007 23:08
Colosseum: Yes, if you could e-mail me that list I'd definitely appreciate it. I'm still unsure as to whether or not I'll be able to post those sites though, I won't know until my CT account grants me mod access to the ring, I'm still not entirely sure if I'll be able to do it or not.


"In an interstellar burst, I'm back to save the universe"

Login to post a reply

Server time is: 2024-11-18 19:41:57
Your offset time is: 2024-11-18 19:41:57