Referring page (not sure if this is the best title)

What do you want to see in the game? what can be improved? any suggestions welcome here...
User avatar
The Doctor
Time Lord
Posts: 3409
Joined: Sat Oct 21, 2006 3:04 am
Race: Time Lord

Honours and Awards

Referring page (not sure if this is the best title)

This is just a time-saver suggestion, something that has nagged me for a while.

I'm sure we've all had a time where we've left our game tab open for half an hour and found ourselves logged out, when we go to click on one of the side buttons (Attack Log, Market).

What I am suggesting is that, when this happens, when we log in again, it should automatically take us back to the page we clicked before.

TL;DR - Click "Market" and find you are logged out -> log back in and page loads to Market automatically, instead of "Base".

I think this is possible using PHP by using something like:

Code: Select all

http://gatewars.com/login.php?page=market.php


or something like that.
Formerly known as Haz

Nine out of ten doctors recommend going to an amusement park this weekend.
The Tenth Doctor doesn't want to go.
Spoiler
CC Leader: n haz thsi time it wasnt ur fault
Bralor wrote:hey haz how long do you estimate until someone blames you and masses HVE again?
Field Marshall wrote:On a seperate issue - where is Haz? He's the glue we really need right now!
SuperSaiyan wrote:I'm a staff member so naturally I'm used to unjustified abusive commentary, so really I don't mind ;)
Zeratul wrote:
Ĕɱƿŷ wrote:So I heard that when becoming a moderator you are subjected to hours and hours of "The Forum is good, the Forum is great, we surrender our will as of this date".

that is incorrect... nothing resembling prostration...

Forced labor on the other hand........ :sge
SuperSaiyan says (2:04 PM):
*that was kernal potter
*colonel
*wow I just made that typo

SuperSaiyan says (2:05 PM):
*no one will speak of this
*or I take muff's veggies away
*and he starves
Hope says (2:59 AM):
*hypothetically, how bad would it be if i descended someone... but forgot to Godquest them first, and they're active, and in an active alliance...
Hope says (3:00 AM):
*hypothetically...
Murris says (3:00 AM):
*ah **Filtered** why am i descended....
Angnoch Freddie says:
i hate being a mod...
i just wanted the blue color XD
Sarevok
Forum Addict
Posts: 4042
Joined: Wed May 09, 2007 7:42 pm
Race: NanoTiMaster
ID: 0

Re: Referring page (not sure if this is the best title)

I agree. Would be nice to have.
viewtopic.php?f=13&t=162732
Suggestions, Comments please :)
R8 wrote:TEAM WORK WILL BEAT $$ ANYDAY OF THE WEEK
angel wrote:Except the payday [-X
12agnar0k wrote:Also it's still not a war game, you have att/def weps yes, but you also have uu and UP, does this mean its a sex game, oh no, XRATEDSGW, THIS GAME IS PORN!
Ban Admin
<+CABAL> so adminHere, ever thought about playing SGW? :b
<~adminHere> cabal - i do :)
<+CABAL> :o
<+Sarevok> Cabal, look up Jtest ;)
<~adminHere> no -not jtest
<~adminHere> another :) i am a multi ;)
<+Sarevok> :O
* +CABAL screens
<+CABAL> :b
* +Sarevok Ban's Admin
Bromas
Forum Addict
Posts: 2955
Joined: Fri Jul 15, 2011 10:44 am
ID: 97472
Alternate name(s): ~HydroFlux™~, Reinhardt

Re: Referring page (not sure if this is the best title)

Does it really take so long to click one of the tabs that we need this?


I don't really like it.
Image
User avatar
The Doctor
Time Lord
Posts: 3409
Joined: Sat Oct 21, 2006 3:04 am
Race: Time Lord

Honours and Awards

Re: Referring page (not sure if this is the best title)

Andy! wrote:Does it really take so long to click one of the tabs that we need this?


I don't really like it.


Haz wrote:This is just a time-saver suggestion, something that has nagged me for a while


It's simple to implement, and makes the website a bit easier to use, something which I'm sure Admin would be interested in :P
Formerly known as Haz

Nine out of ten doctors recommend going to an amusement park this weekend.
The Tenth Doctor doesn't want to go.
Spoiler
CC Leader: n haz thsi time it wasnt ur fault
Bralor wrote:hey haz how long do you estimate until someone blames you and masses HVE again?
Field Marshall wrote:On a seperate issue - where is Haz? He's the glue we really need right now!
SuperSaiyan wrote:I'm a staff member so naturally I'm used to unjustified abusive commentary, so really I don't mind ;)
Zeratul wrote:
Ĕɱƿŷ wrote:So I heard that when becoming a moderator you are subjected to hours and hours of "The Forum is good, the Forum is great, we surrender our will as of this date".

that is incorrect... nothing resembling prostration...

Forced labor on the other hand........ :sge
SuperSaiyan says (2:04 PM):
*that was kernal potter
*colonel
*wow I just made that typo

SuperSaiyan says (2:05 PM):
*no one will speak of this
*or I take muff's veggies away
*and he starves
Hope says (2:59 AM):
*hypothetically, how bad would it be if i descended someone... but forgot to Godquest them first, and they're active, and in an active alliance...
Hope says (3:00 AM):
*hypothetically...
Murris says (3:00 AM):
*ah **Filtered** why am i descended....
Angnoch Freddie says:
i hate being a mod...
i just wanted the blue color XD
Bromas
Forum Addict
Posts: 2955
Joined: Fri Jul 15, 2011 10:44 am
ID: 97472
Alternate name(s): ~HydroFlux™~, Reinhardt

Re: Referring page (not sure if this is the best title)

Its easy to use anyway. The longest it takes to get to a page is 2 clicks....
Image
User avatar
Juliette
Verified
The Queen
Posts: 31802
Joined: Sun Feb 06, 2005 6:57 pm
Race: Royalty
ID: 4323
Alternate name(s): Cersei Lannister
Location: Ultima Thule

Re: Referring page (not sure if this is the best title)

I have never had this problem. Cannot imagine anyone would have it either. When you have done nothing for a while and think you might be logged out (because your cookie settings suck), do you not just open a new tab from the page you are on, log in and close the tab? :?

Weh.
Image
User avatar
The Doctor
Time Lord
Posts: 3409
Joined: Sat Oct 21, 2006 3:04 am
Race: Time Lord

Honours and Awards

Re: Referring page (not sure if this is the best title)

Cersei Lannister wrote:I have never had this problem. Cannot imagine anyone would have it either. When you have done nothing for a while and think you might be logged out (because your cookie settings suck), do you not just open a new tab from the page you are on, log in and close the tab? :?

Weh.


That would make it worse.

  1. My suggestion: Login -> at page you were at when logged out.

  2. Currently: Login -> Click link -> at page you were at when logged out.

  3. Your suggestion: New tab -> type in "gatewars.com" -> login -> refresh original tab.
Formerly known as Haz

Nine out of ten doctors recommend going to an amusement park this weekend.
The Tenth Doctor doesn't want to go.
Spoiler
CC Leader: n haz thsi time it wasnt ur fault
Bralor wrote:hey haz how long do you estimate until someone blames you and masses HVE again?
Field Marshall wrote:On a seperate issue - where is Haz? He's the glue we really need right now!
SuperSaiyan wrote:I'm a staff member so naturally I'm used to unjustified abusive commentary, so really I don't mind ;)
Zeratul wrote:
Ĕɱƿŷ wrote:So I heard that when becoming a moderator you are subjected to hours and hours of "The Forum is good, the Forum is great, we surrender our will as of this date".

that is incorrect... nothing resembling prostration...

Forced labor on the other hand........ :sge
SuperSaiyan says (2:04 PM):
*that was kernal potter
*colonel
*wow I just made that typo

SuperSaiyan says (2:05 PM):
*no one will speak of this
*or I take muff's veggies away
*and he starves
Hope says (2:59 AM):
*hypothetically, how bad would it be if i descended someone... but forgot to Godquest them first, and they're active, and in an active alliance...
Hope says (3:00 AM):
*hypothetically...
Murris says (3:00 AM):
*ah **Filtered** why am i descended....
Angnoch Freddie says:
i hate being a mod...
i just wanted the blue color XD
User avatar
Juliette
Verified
The Queen
Posts: 31802
Joined: Sun Feb 06, 2005 6:57 pm
Race: Royalty
ID: 4323
Alternate name(s): Cersei Lannister
Location: Ultima Thule

Re: Referring page (not sure if this is the best title)

Haz wrote:
Cersei Lannister wrote:I have never had this problem. Cannot imagine anyone would have it either. When you have done nothing for a while and think you might be logged out (because your cookie settings suck), do you not just open a new tab from the page you are on, log in and close the tab? :?

Weh.
That would make it worse.
  1. My suggestion: Login -> at page you were at when logged out.
  2. Currently: Login -> Click link -> at page you were at when logged out.
  3. Your suggestion: New tab -> type in "gatewars.com" -> login -> refresh original tab.
My suggestion: Click center mouse button on any link on page -> Enter PIN (all details saved in form) -> close tab. :? 2 very short steps.
Your suggestion: Click. -> You have been logged out! -> Login -> back where you were. 3 steps including slowly typing in all your data and stuff.

My way is not 'worse'. Not if you know how to use your browser, that is.. :smt064
Image
User avatar
The Doctor
Time Lord
Posts: 3409
Joined: Sat Oct 21, 2006 3:04 am
Race: Time Lord

Honours and Awards

Re: Referring page (not sure if this is the best title)

Cersei Lannister wrote:
Haz wrote:
Cersei Lannister wrote:I have never had this problem. Cannot imagine anyone would have it either. When you have done nothing for a while and think you might be logged out (because your cookie settings suck), do you not just open a new tab from the page you are on, log in and close the tab? :?

Weh.
That would make it worse.
  1. My suggestion: Login -> at page you were at when logged out.
  2. Currently: Login -> Click link -> at page you were at when logged out.
  3. Your suggestion: New tab -> type in "gatewars.com" -> login -> refresh original tab.
My suggestion: Click center mouse button on any link on page -> Enter PIN (all details saved in form) -> close tab. :? 2 very short steps.
Your suggestion: Click. -> You have been logged out! -> Login -> back where you were. 3 steps including slowly typing in all your data and stuff.

My way is not 'worse'. Not if you know how to use your browser, that is.. :smt064


Except why would I open a new tab if I still believe I am logged in? So going by that:

Click. -> You have been logged out! -> Click back to get to the cached version of the page to be able to click one of the links -> Click center mouse button on any link on page -> Enter PIN (all details saved in form) -> close tab.

Quite a few more steps. You forgot to note finding out that you are logged out.

Remember, this is under the assumption that you are unsure if it has logged you out.
Formerly known as Haz

Nine out of ten doctors recommend going to an amusement park this weekend.
The Tenth Doctor doesn't want to go.
Spoiler
CC Leader: n haz thsi time it wasnt ur fault
Bralor wrote:hey haz how long do you estimate until someone blames you and masses HVE again?
Field Marshall wrote:On a seperate issue - where is Haz? He's the glue we really need right now!
SuperSaiyan wrote:I'm a staff member so naturally I'm used to unjustified abusive commentary, so really I don't mind ;)
Zeratul wrote:
Ĕɱƿŷ wrote:So I heard that when becoming a moderator you are subjected to hours and hours of "The Forum is good, the Forum is great, we surrender our will as of this date".

that is incorrect... nothing resembling prostration...

Forced labor on the other hand........ :sge
SuperSaiyan says (2:04 PM):
*that was kernal potter
*colonel
*wow I just made that typo

SuperSaiyan says (2:05 PM):
*no one will speak of this
*or I take muff's veggies away
*and he starves
Hope says (2:59 AM):
*hypothetically, how bad would it be if i descended someone... but forgot to Godquest them first, and they're active, and in an active alliance...
Hope says (3:00 AM):
*hypothetically...
Murris says (3:00 AM):
*ah **Filtered** why am i descended....
Angnoch Freddie says:
i hate being a mod...
i just wanted the blue color XD
User avatar
Drought
Forum Expert
Posts: 1142
Joined: Wed Oct 12, 2011 11:52 am
ID: 0
Location: dde

Re: Referring page (not sure if this is the best title)

Haz wrote:when we log in again, it should automatically take us back to the page we clicked before.


Techniques like these are intended to take you back to the page you were, not where you wanted to go. Though, a variant of it could be made.
Should be easy to implement, were it not that the session log out takes you to different pages.
The first directs you to that near black page with session time out blah blah, but the second and consecutive next one take you to the home page.

Every page would need extra coding and testing, even more so if you wanted to go to the intended page. Meaning admin should add programming to every page and would need to test it.

You would get:

hours of Admin programming versus 3 seconds of user experience

do the math ..... never gonna happen
Image
a very bad hairdo
Image
User avatar
The Doctor
Time Lord
Posts: 3409
Joined: Sat Oct 21, 2006 3:04 am
Race: Time Lord

Honours and Awards

Re: Referring page (not sure if this is the best title)

Duck Dodgers wrote:
Haz wrote:when we log in again, it should automatically take us back to the page we clicked before.


Techniques like these are intended to take you back to the page you were, not where you wanted to go. Though, a variant of it could be made.
Should be easy to implement, were it not that the session log out takes you to different pages.
The first directs you to that near black page with session time out blah blah, but the second and consecutive next one take you to the home page.

Every page would need extra coding and testing, even more so if you wanted to go to the intended page. Meaning admin should add programming to every page and would need to test it.

You would get:

hours of Admin programming versus 3 seconds of user experience

do the math ..... never gonna happen


Or if admin has php includes set up (I'm sure someone has mentioned that previously) all he has to do is edit one php file, and any page which includes that page, will automatically have it work.

And even if he didn't have php includes set up, it would be simple to copy and paste the code into the 10-20 separate php files used for this game, within 10 minutes.
Formerly known as Haz

Nine out of ten doctors recommend going to an amusement park this weekend.
The Tenth Doctor doesn't want to go.
Spoiler
CC Leader: n haz thsi time it wasnt ur fault
Bralor wrote:hey haz how long do you estimate until someone blames you and masses HVE again?
Field Marshall wrote:On a seperate issue - where is Haz? He's the glue we really need right now!
SuperSaiyan wrote:I'm a staff member so naturally I'm used to unjustified abusive commentary, so really I don't mind ;)
Zeratul wrote:
Ĕɱƿŷ wrote:So I heard that when becoming a moderator you are subjected to hours and hours of "The Forum is good, the Forum is great, we surrender our will as of this date".

that is incorrect... nothing resembling prostration...

Forced labor on the other hand........ :sge
SuperSaiyan says (2:04 PM):
*that was kernal potter
*colonel
*wow I just made that typo

SuperSaiyan says (2:05 PM):
*no one will speak of this
*or I take muff's veggies away
*and he starves
Hope says (2:59 AM):
*hypothetically, how bad would it be if i descended someone... but forgot to Godquest them first, and they're active, and in an active alliance...
Hope says (3:00 AM):
*hypothetically...
Murris says (3:00 AM):
*ah **Filtered** why am i descended....
Angnoch Freddie says:
i hate being a mod...
i just wanted the blue color XD
User avatar
Juliette
Verified
The Queen
Posts: 31802
Joined: Sun Feb 06, 2005 6:57 pm
Race: Royalty
ID: 4323
Alternate name(s): Cersei Lannister
Location: Ultima Thule

Re: Referring page (not sure if this is the best title)

Haz wrote:Remember, this is under the assumption that you are unsure if it has logged you out.
lol?
If you are unsure whether you are logged out, you are doubly silly for clicking on the page anyway.. :smt043 No. If you are unsure, you do the open extra tab thing and save yourself the mess of having to log in and go back. When in doubt, bake cookies. Same thing applies here.
Image
User avatar
The Doctor
Time Lord
Posts: 3409
Joined: Sat Oct 21, 2006 3:04 am
Race: Time Lord

Honours and Awards

Re: Referring page (not sure if this is the best title)

Cersei Lannister wrote:
Haz wrote:Remember, this is under the assumption that you are unsure if it has logged you out.
lol?
If you are unsure whether you are logged out, you are doubly silly for clicking on the page anyway.. :smt043 No. If you are unsure, you do the open extra tab thing and save yourself the mess of having to log in and go back. When in doubt, bake cookies. Same thing applies here.


OK bad wording on my part. I meant to say, you come back to your computer and assume you are still logged in, but it turns out you aren't.
Formerly known as Haz

Nine out of ten doctors recommend going to an amusement park this weekend.
The Tenth Doctor doesn't want to go.
Spoiler
CC Leader: n haz thsi time it wasnt ur fault
Bralor wrote:hey haz how long do you estimate until someone blames you and masses HVE again?
Field Marshall wrote:On a seperate issue - where is Haz? He's the glue we really need right now!
SuperSaiyan wrote:I'm a staff member so naturally I'm used to unjustified abusive commentary, so really I don't mind ;)
Zeratul wrote:
Ĕɱƿŷ wrote:So I heard that when becoming a moderator you are subjected to hours and hours of "The Forum is good, the Forum is great, we surrender our will as of this date".

that is incorrect... nothing resembling prostration...

Forced labor on the other hand........ :sge
SuperSaiyan says (2:04 PM):
*that was kernal potter
*colonel
*wow I just made that typo

SuperSaiyan says (2:05 PM):
*no one will speak of this
*or I take muff's veggies away
*and he starves
Hope says (2:59 AM):
*hypothetically, how bad would it be if i descended someone... but forgot to Godquest them first, and they're active, and in an active alliance...
Hope says (3:00 AM):
*hypothetically...
Murris says (3:00 AM):
*ah **Filtered** why am i descended....
Angnoch Freddie says:
i hate being a mod...
i just wanted the blue color XD
User avatar
Juliette
Verified
The Queen
Posts: 31802
Joined: Sun Feb 06, 2005 6:57 pm
Race: Royalty
ID: 4323
Alternate name(s): Cersei Lannister
Location: Ultima Thule

Re: Referring page (not sure if this is the best title)

Haz wrote:
Cersei Lannister wrote:
Haz wrote:Remember, this is under the assumption that you are unsure if it has logged you out.
lol?
If you are unsure whether you are logged out, you are doubly silly for clicking on the page anyway.. :smt043 No. If you are unsure, you do the open extra tab thing and save yourself the mess of having to log in and go back. When in doubt, bake cookies. Same thing applies here.
OK bad wording on my part. I meant to say, you come back to your computer and assume you are still logged in, but it turns out you aren't.
:P Fine, though I doubt any players with some experience in being online for a few hours on end run into this, and casual players have enough time to spend those 2 seconds.. Still I do not see admin taking any action, because frankly, it would not be worth his time. (See Duckie's comment which makes perfect business sense.)
Image
User avatar
Drought
Forum Expert
Posts: 1142
Joined: Wed Oct 12, 2011 11:52 am
ID: 0
Location: dde

Re: Referring page (not sure if this is the best title)

Haz wrote:Or if admin has php includes set up (I'm sure someone has mentioned that previously) all he has to do is edit one php file, and any page which includes that page, will automatically have it work.

And even if he didn't have php includes set up, it would be simple to copy and paste the code into the 10-20 separate php files used for this game, within 10 minutes.



PHP always has server side includes, outer domain includes can be turned turned off for security reasons.
He would actually have to use a bit of sepperate coding for each page, it looks a like, but not the same.
The technique you are referring too is used in larger frameworks like cake php or zend frame work.

Either way, it still takes hours to complete and test. And with all the suggestions and things mentioned that havent been done to improve the game, my best bet for this to get implemented is nihil.
Image
a very bad hairdo
Image
Post Reply

Return to “Game Suggestions”