PDA

View Full Version : Cleaning up PokeZam.com


Alakazam
04-11-2008, 02:18 PM
Over the next few weeks we will be cleaning up the main site and fixing any errors (scripting) that are present. Please contact us if you find any errors and he'll be sure to fix them right away. Thanks.

Akai
04-12-2008, 12:58 AM
Does this include all the broken images here?

Blaziken
04-12-2008, 05:40 PM
Can you remove the Pokemon Ranger walkthrough because some time last year, I received the e-mail from the person who wrote the walthrough. Apparently the walkthrough was used without permission. I checked this and yes, the person that contacted me did write the walkthrough and the walkthrough that's on Pokezam right now is basically exactly the same so when you have time, can you remove it? I didn't write the walkthrough and I'm not sure who.

Akai
04-13-2008, 12:14 AM
Wait. You just randomly accepted some guy's walkthrough?

Blaziken
04-13-2008, 06:47 AM
I didn't put it up or write the Ranger section for that matter. It was sometime before I think I even really got involved with Pokezam. At that time I didn't even know there was a game called Pokemon Ranger.

Akai
04-13-2008, 12:01 PM
Wow. Will the tainted Ranger walkthrough be replaced? I actually used it a few times, and now I feel a little guilty.

@ Alakazam: Can you go into detail on errors? Do you want mainly scripting (I have no idea what that is) and/or typos?

Kaboom
04-13-2008, 12:16 PM
Well, the biggie is having two <head> sections on each page.
Each page starts <head><title>PAGE TITLE</title></head>, then has a PHP include(), which itself contains the <!DOCTYPE> and a second <head>. While this works, it is extremely messy and syntactically incorrect.
To fix, you need to replace the first <head> with <?php $page_title = "PAGE TITLE" ?>, then in the included file, inside the <head>, put <title><?php echo @$page_title ?></title>. That would be syntactically correct.

Another biggie is that you always have "Pokemon" when it should be "Pok&eacute;mon" (which outputs "Pokémon")

btw, SR sent me the source files so I can translate into French. If you do change any files, let me know.

Akai
04-13-2008, 12:33 PM
Is seriously having "Pokemon" a bad thing, when everyone is mispronoucing it? o__O

Pokémon > ?? < Pokemon

Kaboom
04-13-2008, 12:43 PM
lol. I always put Pokémon, be it on PokeZam or on my own website, because I like things to be spelled right.

Akai
04-13-2008, 12:50 PM
Then shouldn't it be PokéZam? Haha.

How do you do that? I see the 'code' but I don't know what to take out/add.

Kaboom
04-13-2008, 01:07 PM
As I said, SR sent the source files. Since it's done in PHP, clicking View>Source doesn't get the actual source, so you don't know what to edit.

Shiny Raichu
04-14-2008, 04:29 PM
There are several other things throughout pokezam that also need to be removed. Some from the cancelled zamaccess project (and I still don't have the slightest clue what zamaccess is), some from various other things. This is why I hope to create a new page. It will still use the same CSS file, so backwards-compatible, but would be much easier to see Every page that exists on pokezam from the start, but still being easily navigable. The page would only work with scripts, so would require you to go to a site map if you don't have it, but only 1% don't, 75% of that merely having it disabled (me often being one of them). The javascript will cause a drop-down like menu (except side to side), with support from all modern browsers by adding bug-fix code. Now, at the same time it will have been started from scratch, thus giving it fresh, clear, organized, standard code. However, I don't have time, nor will I until schools out.

This and the Pokedex will likely be the only things I'll do for pokezam over the summer, as Alakazam should have some time for other stuff. If I finish early, I may think of something else to do for pokezam, or may go back to news and content. Depends on my attitude.

I know I will be spending a lot of the summer doing other coding. I may work for a friend's site, being his content is more of the content I would like to do. And any other time will be spent configuring linux, playing Video Games, and Watching TV all at the same time.

Akai
04-14-2008, 05:02 PM
I'll help with the PokeDex. I wish someone could keep the staff in the know about the Zam.

Kaboom
04-15-2008, 04:15 AM
What you can also do is have a custom context menu (the menu you get when you right-click). I got the code for it, so let me know if you want it. With this, you can have the quick-links (i.e. Refresh, Back, Forward, Go to top...)

DX-MON
04-15-2008, 05:35 PM
Kaboom, you aught to know that that's my code you're talking about.... (I happen to be a good friend of Kabooms, and I shared with him the code that's being used for right-clicks at my site's construction zone that's hidden from most users)

I also know of some code, ShinyRaichu, that'll let you generate a sitemap.xml file on the webserver so you can look it up with a JS and do what you want.... have a sitemap available through menu systems.

P.S: Am I allowed (Just once) to post a link to the code you'd want to use for the menus? (I've got it on my site....)

Akai
04-15-2008, 05:54 PM
I think you can just PM it to him, unless you want it to be public.

DX-MON
04-15-2008, 05:59 PM
I don't mind it becoming public as it will anyway (when the dev part becomes main-stream)....

I'd need to explain how to use it too.... which is slightly easier here..... lol

Anyway, it's down to the mods like you at the end of the day as to what's a alowed and what's not....

PM's fine though.... Skype's even better.... (if it's OK with him)!

Akai
04-15-2008, 06:34 PM
PM's fine with me. You can try it out. The P in PM means 'private' so no one but you and him will know it. Haha. If it helps this place out, it can't be all back.

DX-MON
04-15-2008, 06:50 PM
I did know what the 'P' in PM meant thank's Akai! ;) (I happen to run 2 forums and be an admin in another.... + Mod in several more.)

I'll get to it then (PM'ing SR), the file's not exactly small when it comes to JS.... :P

Kaboom
04-16-2008, 04:57 AM
lol - you gave me the code with no restrictions, and I edited it to allow headings, so I am allowed to redistribute... not that I'm going to except to PokeZam if it's wanted.
Anyway, SR's very rarely on Skype - I have to PM him when I see him on the forum so that he signs in!

DX-MON
04-16-2008, 06:33 AM
I only gave it to you, Kaboom as you are a really good friend, and I PM'ed SR last night..... hope he gets the PM soon.... lol :)

Oh, and the headings thing was already posible, but it just needed to be done a slightly different way.....

Akai
04-16-2008, 07:53 AM
He normally gets on around 2pm (central) so he should see it. He's got to work on the new skins I made for this place, so he will be on. ;)

Shiny Raichu
04-17-2008, 06:07 PM
Actually, the code you showed me has certain ramifications, a major being the slow down. Actually, here's a pre-alpha look at the left menu:

DX-MON
04-17-2008, 09:42 PM
Hmm.... that works very fast for me, interesting bit of JavaScript happening in the background there too..... :)

I would comment that the code I showed you (when in action) is fast, it's just the context it is being used in that slows things down (the images and things as the whole of the site that uses it is built from a photoshop doc I made and so every aspect of the design is a .png graphic.....)
I don't know whether you, ShineyRaichu, did use the JS in another context. (non-graphicly intense)

Shiny Raichu
04-17-2008, 09:54 PM
Well, I prefer my stuff to look good, but be fast, which involves a small amount of javascript, a fair bit of css, and everything else simple html. Clearly what I showed doesn't involve css.

Kaboom
04-17-2008, 10:01 PM
Hear that DX-MON? Look good but work fast! No image rollovers that have to load the new image when you rollover, no image layout, just nice, simple HTML. lol ;)

DX-MON
04-18-2008, 07:10 AM
@Kaboom, he did say CSS, and if you are to view the source of the forum I sent a link to then you'd notice that everything is nice and simple div elements, the real work is done in a 5 page CSS file.

@ShinyRaichu, the forum you saw is not my usual kind of work. something more like the text editor that I am producing is (it's not got much CSS and it's using simple HTML 4.01 :), however it uses a lot of JS to power the editor..... The JS is not something I normally do though..... (@Self :mad:))

Akai
04-18-2008, 08:15 AM
You guys are geeks, haha.

So, is this still about Cleaning up PokeZam.com, or have we completely jumped ship?

DX-MON
04-18-2008, 08:35 AM
I think it's still meant to be on cleanup (My bad.....)

and yup! Absolutly Geek! :P

Shiny Raichu
04-18-2008, 05:20 PM
Well, I am geek and proud. However, we have partially gone off-topic, but its worth discussing.