Misaka
Full Member
Yozakura Quartet: Hana no Uta
Posts: 912
inherit
179763
0
Oct 11, 2024 19:07:51 GMT -8
Misaka
Yozakura Quartet: Hana no Uta
912
May 2012
hellsingfan
|
Post by Misaka on Aug 19, 2013 12:12:51 GMT -8
just checking in
bump
|
|
inherit
58740
0
Aug 20, 2024 7:29:21 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on Aug 19, 2013 14:54:06 GMT -8
unfortunately i'm busy with other stuff at the moment, so i'll let another coder take this on if they'd like.
|
|
Misaka
Full Member
Yozakura Quartet: Hana no Uta
Posts: 912
inherit
179763
0
Oct 11, 2024 19:07:51 GMT -8
Misaka
Yozakura Quartet: Hana no Uta
912
May 2012
hellsingfan
|
Post by Misaka on Aug 19, 2013 16:08:23 GMT -8
ok thank you lets try some other coders "please don't shoot me" Peter Todge Shorty
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Aug 20, 2013 12:15:14 GMT -8
Ok.. I'll take a look at this.
I assume you want the info displayed in the main profile and not the mini-profile?
|
|
Misaka
Full Member
Yozakura Quartet: Hana no Uta
Posts: 912
inherit
179763
0
Oct 11, 2024 19:07:51 GMT -8
Misaka
Yozakura Quartet: Hana no Uta
912
May 2012
hellsingfan
|
Post by Misaka on Aug 20, 2013 13:05:13 GMT -8
correct
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Aug 20, 2013 13:08:44 GMT -8
|
|
Misaka
Full Member
Yozakura Quartet: Hana no Uta
Posts: 912
inherit
179763
0
Oct 11, 2024 19:07:51 GMT -8
Misaka
Yozakura Quartet: Hana no Uta
912
May 2012
hellsingfan
|
Post by Misaka on Aug 20, 2013 13:33:44 GMT -8
that was fast ...also sweet it works! thank you curiosity has me though I didn't think it was going to be this fast edit: is there a way to make it only work once? tried it with my test account and it seems every new tab it instantly counts it as a new login for some strange reason could this be fixed?
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Aug 20, 2013 15:18:37 GMT -8
I noticed that too, and unfortunately I'm not sure it can be fixed. Each new tab is essentially a new window being controlled separately by your browser, so in reality it is a separate login, just running concurrently with the previous one...
Open 3 separate tabs, and you have logged in 3 times.
I'll take another look to see if I can find a way of sensing the other open tabs, but I wouldn't hold your breath.
Sorry.
|
|
Misaka
Full Member
Yozakura Quartet: Hana no Uta
Posts: 912
inherit
179763
0
Oct 11, 2024 19:07:51 GMT -8
Misaka
Yozakura Quartet: Hana no Uta
912
May 2012
hellsingfan
|
Post by Misaka on Aug 20, 2013 17:28:31 GMT -8
I noticed that too, and unfortunately I'm not sure it can be fixed. Each new tab is essentially a new window being controlled separately by your browser, so in reality it is a separate login, just running concurrently with the previous one... Open 3 separate tabs, and you have logged in 3 times. I'll take another look to see if I can find a way of sensing the other open tabs, but I wouldn't hold your breath. Sorry. ok VS Admin Martyn Dale could you help us out with this problem?
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Aug 21, 2013 9:35:09 GMT -8
I have an idea... What I have in mind is not infallible, but it should take into account multiple tabs.
If I get the code to kind of check in once in a while, I think I can get over that problem. The only problem I can see with what I have in mind, is that if you stay logged in for, say, over an hour without any input, then open a new tab, it will assume it's a new log-in, otherwise new tabs will be ignored.
It's a little more involved than the code you have now, but I'll try to get it done over the weekend.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Aug 21, 2013 10:14:25 GMT -8
TodgeNot sure entirely how your plugin is coded, but you can communicate between those tabs if that's what you need to do. Storage events (I assume localStorage is being used?) or Shared Web workers (IE support not good 10+ I think). Depends on what you really need to do. MisakaPlease don't message me to look in future, you already tagged me in this topic, that's good enough (it got my attention the first time). Don't think I'm being rude, it's just that I am very busy with other stuff, so don't have time to work on requests right now.
|
|
Misaka
Full Member
Yozakura Quartet: Hana no Uta
Posts: 912
inherit
179763
0
Oct 11, 2024 19:07:51 GMT -8
Misaka
Yozakura Quartet: Hana no Uta
912
May 2012
hellsingfan
|
Post by Misaka on Aug 21, 2013 10:34:10 GMT -8
sorry PeterTodgethank you and sorry for the problem
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Aug 22, 2013 13:52:09 GMT -8
TodgeNot sure entirely how your plugin is coded, but you can communicate between those tabs if that's what you need to do. Storage events (I assume localStorage is being used?) or Shared Web workers (IE support not good 10+ I think). Depends on what you really need to do. I was using sessionStorage as a way of stopping the counter from clocking up with each page load, but with each tab the browser assumes a new session, sessionStorage is cleared, and so the code counts another login. I didn't use localStorage, because if the user just navigates away or shuts down the browser localStorage would remain, so when the user returns the code would not see it as a new login. But I think I have a way around that now. Thanks.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Aug 24, 2013 6:48:24 GMT -8
Misaka can you try the plugin now. You can download it from the same link above. The only issue you may have, that I can see, is that if you return to the forum within 1 hour of leaving, it will not see that as a separate login. That time can be shortened if you so wish.
|
|
Misaka
Full Member
Yozakura Quartet: Hana no Uta
Posts: 912
inherit
179763
0
Oct 11, 2024 19:07:51 GMT -8
Misaka
Yozakura Quartet: Hana no Uta
912
May 2012
hellsingfan
|
Post by Misaka on Aug 24, 2013 11:06:20 GMT -8
Misaka can you try the plugin now. You can download it from the same link above. The only issue you may have, that I can see, is that if you return to the forum within 1 hour of leaving, it will not see that as a separate login.That time can be shortened if you so wish. ok that means if I logged out right now and logged back in it wouldn't count at all right? actually what I was gonna ask do you think that it could be increased to say 2 hours?
|
|