Topic: New pages in extensions...

Ok im building an arcade extension and come to a hurdle. A small one... tongue

My struture is like so...

extensions/mh_arcade/arcade.php
extensions/mh_arcade/arcade_scoring.php

Basically I have set up rewrite rules so that
example.com/arcade.php, example.com/arcade.html ,example.com/arcade/3dshoot/, example.com/arcade_scoring.php, example.com/arcade_scoring.html and example.com/arcade/3dshoot/scoring/ etc....
will all work. i.e. all the other SEF rules.

The thing im unhappy about is when SEF is not being used.. the urls are like
example.com/extensions/mh_arcade/arcade.php?id=1
example.com/extensions/mh_arcade/arcade … g.php?id=1
which is just ugly. sad

Any ideas?

Re: New pages in extensions...

We were having this discussion as a developer team earlier, so this is a good chance to bring it up. smile
What would you think about having the link be
example.com/loader.php?ext=mh_arcade&page=arcade.php

Re: New pages in extensions...

make sure you make this type of arcade mods extensions ... look http://cricketstreams.110mb.com/arcade.php

if you dont know where that arcade mod is then let me know i will tell you ...

MyFootballCafe.com  is Now Online!

Re: New pages in extensions...

I personally dont like it. I would just encourage people to use SEF when and where they can. tongue But that is the lame way out.

My point of view is kind of against the extension policy and would move arcade.php and scoring.php to the root. Not ideal but I think from the end user the latter looks better. Eventhough...... this is only the url we are on about here. lol

I think I will leave this for further comment from others.

5 (edited by StevenBullen 2008-02-12 13:50)

Re: New pages in extensions...

SuperMAG wrote:

make sure you make this type of arcade mods extensions ... look http://cricketstreams.110mb.com/arcade.php

if you dont know where that arcade mod is then let me know i will tell you ...

It will be using the same games, but not the same code.
You need to register to see them games. Check out http://www.marine-hunters.co.uk/arcade.php for a version that lets you see it as a guest. Thats my site and what my new extension will replace that arcade on my site (on 1.3 of course). wink

6 (edited by StevenBullen 2008-02-12 14:06)

Re: New pages in extensions...

Ok after a little thinking ive come to agree with you... like I said before... its only the url. Someone playing a game is not thinking about the url.

So my next question.
Say for example what you said happens, would I need to do anything differently from my point of view? when creating my extension.

Re: New pages in extensions...

Using loader.php? You would use that rather than a direct link to the extension file. The question is whether people prefer one way over the other.

Re: New pages in extensions...

loader.php is the devil! tongue

Re: New pages in extensions...

I would prefer to have extension files uploaded to the forum root. But I gather that people see that as ugly/inconvenient/less organised/etc. So I think a direct link would be best. Saves putting load on the server from using loader.php, I guess.

Re: New pages in extensions...

StevenBullen wrote:
SuperMAG wrote:

make sure you make this type of arcade mods extensions ... look http://cricketstreams.110mb.com/arcade.php

if you dont know where that arcade mod is then let me know i will tell you ...

It will be using the same games, but not the same code.
You need to register to see them games. Check out http://www.marine-hunters.co.uk/arcade.php for a version that lets you see it as a guest. Thats my site and what my new extension will replace that arcade on my site (on 1.3 of course). wink

its same .. that would be great extension

MyFootballCafe.com  is Now Online!

Re: New pages in extensions...

Im going with direct link at present. The loader hack is just as ugly as long url so no benefit in my eyes, plus as liquidat0r said... more load on server.

mod_rewrite - ON tongue