Return to index
Page: «, 3, 4, 5, 6, 7, 8, 9, »
Printable Version Abbreviations
GOURANGA! Forums > News > Announcements > Forum Updates
Post 101 | New
Cerbera
Ben 'Cerbera' Millard

Cerbera's Avatar


  • Joined: Feb '03
  • Posts: 1,800
Optimisation is a slippery - but pleasent - slope into obsession and efficiency.  If it makes the boards run faster, pages load faster and so on then it's worth doing.  If there isn't going to be an outcome of greater performance, be it in speed or reliability, then it isn't worth doing.

The URL is a piece of machine code so if it's full of software parameters people won't be put off.  Your system puts a lot less garbage into the URL than most other dynamically styled pages I know of.

------------------
My Grand Theft Auto Handling Editor
My GTA Tutorials
http://projectcerbera.com/button.png
Post 102 | New
Icey
the pirate. arrr

Icey's Avatar


  • Joined: Feb '03
  • Posts: 1,455
  • Type: Administrator
Advantages:

  • URL's are easier to remember.
  • URL's are shorter, so a very small decrease in page load times.
  • When printing it's more likely that the whole url can be displayed at the end of the page (depending on browser, printing, page, etc).
  • There are no symbols in URLs. So no amperstands, question marks, equals signs. Makes telling some an URL simpler.
  • Lower number of symbols makes it easier to validate pages. This would include the forum and people who link to pages on the forum.
  • Helps search engines (?)

I do put too much data into URLs. At the very least that needs to be fixed.

The current links would still work. So no need to worry about bookmarks suddenly not working.

------------------
http://img150.imageshack.us/img150/7684/bronze6cy.jpg
Post 103 | New
Cerbera
Ben 'Cerbera' Millard

Cerbera's Avatar


  • Joined: Feb '03
  • Posts: 1,800
ICEY wrote:
Advantages:

  • URL's are easier to remember.
  • URL's are shorter, so a very small decrease in page load times.
  • When printing it's more likely that the whole url can be displayed at the end of the page (depending on browser, printing, page, etc).
  • There are no symbols in URLs. So no amperstands, question marks, equals signs. Makes telling some an URL simpler.
  • Lower number of symbols makes it easier to validate pages. This would include the forum and people who link to pages on the forum.
  • Helps search engines (?)

I do put too much data into URLs. At the very least that needs to be fixed.

The current links would still work. So no need to worry about bookmarks suddenly not working.
How has the URL nudgification been going?

------------------
My Grand Theft Auto Handling Editor
My GTA Tutorials
http://projectcerbera.com/button.png
Post 104 | New
Icey
the pirate. arrr

Icey's Avatar


  • Joined: Feb '03
  • Posts: 1,455
  • Type: Administrator
I've been busy creating other things actually, Cerbera.

<spam warning>

You can go and look on my site if you like biggrin

------------------
http://img150.imageshack.us/img150/7684/bronze6cy.jpg
Post 105 | New
Icey
the pirate. arrr

Icey's Avatar


  • Joined: Feb '03
  • Posts: 1,455
  • Type: Administrator
Just some little updates that are mainly behind-the-scenes things:

Board Functions

  • Moved the showdate() function to the functions include file.
  • Deleted a function that generated random numbers.

JavaScript File

  • Decreased the size of the javascript file from 6.43kb to 5.75kb.
  • Made the verify function a lot smaller and more flexible.
  • Removed two smilies functions.
  • Removed a function that opens urls.
  • Rewritten the function that handles inserting message code.
  • If you cancel the list prompt, no list is created.
  • Added a confirmation to the 'Delete' link on posts for admins/mods.

Message Codes

  • You can now use different measurements for text sizes with the [size] codes.
  • These are the normal 1-7 and now you can use xx-small, x-small, small, medium, large, x-large and xx-large.
  • Combined the eregi_replace function which handles [colour] and [color] tags.
  • Removed titles from some html code generated from message codes. They don't have any purpose.
  • Removed the fonts from the [fixed] tags and replaced them with 'monospace'.

Miscellaneous

  • The forum id isn't sent with replying to a topic. This makes urls a little shorter.
  • Stopped sending the page number when it's '1'. It defaults to 1, so no need to send that. Again, this makes urls a little shorter.
  • Your login number isn't sent with the edit profile and profile links under the welcome text. These pages default to your own, so it's not necessary.


------------------
http://img150.imageshack.us/img150/7684/bronze6cy.jpg
Post 106 | New
Icey
the pirate. arrr

Icey's Avatar


  • Joined: Feb '03
  • Posts: 1,455
  • Type: Administrator
Demonstration of different text sizes:

this text is size: 1
this text is size: 2
this text is size: 3
this text is size: 4
this text is size: 5
this text is size: 6
this text is size: 7

this text is size: xx-small
this text is size: x-small
this text is size: small
this text is size: medium
this text is size: large
this text is size: x-large
this text is size: xx-large

------------------
http://img150.imageshack.us/img150/7684/bronze6cy.jpg
Post 107 | New
Cerbera
Ben 'Cerbera' Millard

Cerbera's Avatar


  • Joined: Feb '03
  • Posts: 1,800
Busy as always, I see. yes

Good to see that the boards are continuing to become more streamlined and reliable.  Shame the library PCs don't allow me to view the page source - did you manage to clear up a lot of the whitespace?  You don't even need return marks for browsers to process the code, IIRC.

------------------
My Grand Theft Auto Handling Editor
My GTA Tutorials
http://projectcerbera.com/button.png
Post 108 | New
Icey
the pirate. arrr

Icey's Avatar


  • Joined: Feb '03
  • Posts: 1,455
  • Type: Administrator
You could always look at home Cerbera! Actually, that's so obvious there must be a reason why your not doing that...

You can always view the page source with the w3 validator like this.

------------------
http://img150.imageshack.us/img150/7684/bronze6cy.jpg
Post 109 | New
Cerbera
Ben 'Cerbera' Millard

Cerbera's Avatar


  • Joined: Feb '03
  • Posts: 1,800
ICEY wrote:
You could always look at home Cerbera! Actually, that's so obvious there must be a reason why your not doing that...

You can always view the page source with the w3 validator like this.
I wouldn't be at the library if I was allowed on the home PC.  My parents got back from their weekend holiday and banned be again.

Thanks for reminding me the validator has the checkbox to show source code.  The header still has a touch of whitespace.  BTW, have you notice how viewing thier page in small IE font sizes breaks the "Jump To:" box?  Bunch of 'tards. smilewinkgrin

Oh, did you give up on percentage font sizes in the end?  Now I have to use 800x600 I feel a little more compelled to persuade you to use them!

------------------
My Grand Theft Auto Handling Editor
My GTA Tutorials
http://projectcerbera.com/button.png
Post 110 | New
Icey
the pirate. arrr

Icey's Avatar


  • Joined: Feb '03
  • Posts: 1,455
  • Type: Administrator
Aye, it was far too annoying with every div inheriting the percentage sizes of the ones it's contained in. Was making me go crazy and then all browsers show fonts in different sizes so I didn't bother.

However, I might try with a different method.

On the more positive side, I note that the rewrite module is enabled, as you can see from this simple url. Note: It's more of a test url so don't expect pictures to load or links to go to the correct places.

------------------
http://img150.imageshack.us/img150/7684/bronze6cy.jpg
Post 111 | New
Cerbera
Ben 'Cerbera' Millard

Cerbera's Avatar


  • Joined: Feb '03
  • Posts: 1,800
ICEY wrote:
Aye, it was far too annoying with every div inheriting the percentage sizes of the ones it's contained in. Was making me go crazy and then all browsers show fonts in different sizes so I didn't bother.

However, I might try with a different method.

On the more positive side, I note that the rewrite module is enabled, as you can see from this simple url. Note: It's more of a test url so don't expect pictures to load or links to go to the correct places.
The page all loaded up fine.  I think the only images Iceyboard uses are described in the CSS and not the page.  Images as avatars and in posts are linked to external sites and so wouldn't be interfeered with, would they?

I assume that you are doing a sort of parallel-thingy (forgotten the proper word, learnt it at A-level) to install the new system?

------------------
My Grand Theft Auto Handling Editor
My GTA Tutorials
http://projectcerbera.com/button.png
Post 112 | New
Icey
the pirate. arrr

Icey's Avatar


  • Joined: Feb '03
  • Posts: 1,455
  • Type: Administrator
You always want the most complicated things explained Cerbera, next time you should just ask something simple, like how to turn your computer on :P

Alright, here goes...

Don't bother clicking any links in this message, they wont work.

The rewrite module for apache allows you to have shorter urls that don't contain symbols, the filename and all the blah blah that's for the scripts, not for visitors.

So these two urls:

 forums.gouranga.com/iceyboard/profile/16/
 http://forums.gouranga.com/iceyboard/?ibaction=profile&number=16

Are using the same script. The second one is the actual url, but the .htaccess rules created allow me to invisibly redirect the first address to the second one. The current .htaccess file looks like this:

Code:
Options FollowSymLinks
RewriteEngine on
RewriteRule iceyboard/profile/(.*)/ iceyboard/?ibaction=profile&number=$1 [L]


The board looks to see if the url sent is like the first part, if it is, it changes it into the second part on the server but not on the client (i.e. you). The L means to stop processing any more redirects.

I could make it a bit more complex like this:

Code:
Options FollowSymLinks
RewriteEngine on
RewriteRule iceyboard/([^/]*)/ iceyboard/?ibaction=$1 [L]
RewriteRule iceyboard/profile/(.*)/ iceyboard/?ibaction=profile&number=$1 [L]


That will make it so you can go to forums.gouranga.com/iceyboard/help/ forums.gouranga.com/iceyboard/online/ forums.gouranga.com/iceyboard/search/ and so on. Any url that isn't complicated basically. The other links to topics/forums/areas/search results and so on will be more complicated. Like the search one might be like this:

Code:
Options FollowSymLinks
RewriteEngine on
RewriteRule iceyboard/([^/]*)/ iceyboard/?ibaction=$1 [L]
RewriteRule iceyboard/search/user/(name|number)/(.*)/(.*)/ iceyboard/?ibaction=search&type=user&usertype=$1&userdata=$2&numposts=$3 [L]
RewriteRule iceyboard/search/words/(.*)/(.*)/ iceyboard/?ibaction=search&type=words&words=$1numposts=$2 [L]
RewriteRule iceyboard/profile/(.*)/ iceyboard/?ibaction=profile&number=$1 [L]


Then you could go to forums.gouranga.com/iceyboard/search/user/name/icey/25/ to find the last 25 posts created by me.

I bet if I floated the quote and the code boxes to the left they wouldn't extend all the way accross...

------------------
http://img150.imageshack.us/img150/7684/bronze6cy.jpg
Post 113 | New
Icey
the pirate. arrr

Icey's Avatar


  • Joined: Feb '03
  • Posts: 1,455
  • Type: Administrator
* You can now select how many posts you want to view per page from the edit profile page.
* The quote/spoiler/code boxes are only as big as they need to be.
* Improved method of storing cookies.
* Removed the 'seperator' setting from the board settings. It serves no purpose.
* Removed the 'forum_path', 'forum_url' and 'complete_path' settings from the board settings. I can work them out from the PHP server variables.

------------------
http://img150.imageshack.us/img150/7684/bronze6cy.jpg
Post 114 | New
Elxxy
<3 you

Elxxy's Avatar


  • Joined: Feb '03
  • Posts: 1,337
Sexy.

But I got me a bug when I visited el GTAzz forum:

Code:
Warning: Missing argument 5 for createpicture() in /home/httpd/vhosts/forums.gouranga.com/httpdocs/iceyboard/includes/functions.php on line 331

Warning: Missing argument 5 for createpicture() in /home/httpd/vhosts/forums.gouranga.com/httpdocs/iceyboard/includes/functions.php on line 331

Warning: Missing argument 5 for createpicture() in /home/httpd/vhosts/forums.gouranga.com/httpdocs/iceyboard/includes/functions.php on line 331

Warning: Missing argument 5 for createpicture() in /home/httpd/vhosts/forums.gouranga.com/httpdocs/iceyboard/includes/functions.php on line 331

Warning: Missing argument 5 for createpicture() in /home/httpd/vhosts/forums.gouranga.com/httpdocs/iceyboard/includes/functions.php on line 331
Post 115 | New
Icey
the pirate. arrr

Icey's Avatar


  • Joined: Feb '03
  • Posts: 1,455
  • Type: Administrator
Ah yes, I had a dot instead of a comma which was linking two variables together and therefore missing the last one.

Ty for the bug, it's fixed now.

------------------
http://img150.imageshack.us/img150/7684/bronze6cy.jpg
Post 116 | New
Valdez
HL2 Pre-Loaded.

Valdez's Avatar


  • Joined: Feb '98
  • Posts: 775,054
  • Type: Moderator
icey wrote:
* The quote/spoiler/code boxes are only as big as they need to be.


Asthetically speaking, a little bit of padding-left and padding-right (3px?) wouldn't go a-miss.

Valdez.

------------------
Dude, this is a GTA forum, of course there will be criminals in here. haven't you ever done something illegal???
Post 117 | New
Icey
the pirate. arrr

Icey's Avatar


  • Joined: Feb '03
  • Posts: 1,455
  • Type: Administrator
I've changed the padding left and right to 7px instead of 4px. It was different on the Red & black theme but I've removed the settings for that in that theme, it makes sense that they all take that property from the master theme.

------------------
http://img150.imageshack.us/img150/7684/bronze6cy.jpg
Post 118 | New
Icey
the pirate. arrr

Icey's Avatar


  • Joined: Feb '03
  • Posts: 1,455
  • Type: Administrator
Password Securification!

I've written an article about passwords, based on the data here. I'll post the link as soon as the ftp server is working again so I can upload it.

* All passwords are given a rating between 0% and 100% on your edit profile page.
* Passwords must be at least six characters long when registering and saving profile data.
* Various warnings are given on the edit profile page for weak passwords, common passwords and short passwords.
* You can't register with "password" as your password.
* You can't register if your password is the same as your username.
* If you change your password there's no need to log in again. A cookie is automatically saved with your new password.

We've upped our standards, so up yours!

------------------
http://img150.imageshack.us/img150/7684/bronze6cy.jpg
Post 119 | New
Elxxy
<3 you

Elxxy's Avatar


  • Joined: Feb '03
  • Posts: 1,337
Ooh, nice. Making it secure.

http://www.if-hosting.com/users/elxx/special.GIF

Do I get a cookie?
Post 120 | New
Toumai
Wal-Mart Greeter

  • Joined: Feb '03
  • Posts: 932
Warning: The strength of your password is the weakest possible. We strongly suggest you make your password more complex.
You can do this by using letters of different cases, numbers, special characters and the length of your password should be at least eight letters long.

Password strength: 20%.

Pah!

------------------
link's dead baby, link's dead
Page: «, 3, 4, 5, 6, 7, 8, 9, »
Printable Version Abbreviations
IceyBoard 1.6.2 © 2002-12 Icey