|
Post by allthingsofgillian on Jun 26, 2010 19:36:19 GMT -8
I believe I'm having an issue with this code. It was last updated in 2007. Code I'm Having Problem WithMy problem: After I put the code on my forum my members and I have been experiencing a logging out frequently issue. But when I take the code out, it doesn't happen. Could there be a bug or maybe the code might be just a bit outdated? Also, might there be two separate codes one to resize the banner (meaning get rid of the spaces on the sides of the picture) and the second to only resize the forum (categories only)? Just curious. Thanks in advance.
|
|
|
Post by Wormopolis on Jun 27, 2010 2:11:38 GMT -8
nothing in that code suggests the hampering of staying logged in. staying logged in is done with cookies. either your cookies have gone corrupt, or the time on your computer is off.
2 codes to resize banner and forum are fine, since the first code changes the welcome table from 92% to whatever, and the second changes the rest of the tables from 92%. if the welcome table isnt 92% anymore, it just gets skipped.
some forums will put in 2 codes so that immediately after the welcome table loads, it gets resized, and doesnt have to wait for the rest of the forum. if there is just one resize, the welcome table has to wait, and if in a thread with a bunch of pics or codes that have to load, the welcome table will stay big until all the tables change size.
when you get logged out, what are you doing at the time? posting? just browsing?
are you selecting "forever" in the duration drop down or just the default 6 hours?
|
|
|
Post by allthingsofgillian on Jun 27, 2010 7:56:01 GMT -8
nothing in that code suggests the hampering of staying logged in. staying logged in is done with cookies. either your cookies have gone corrupt, or the time on your computer is off. 2 codes to resize banner and forum are fine, since the first code changes the welcome table from 92% to whatever, and the second changes the rest of the tables from 92%. if the welcome table isnt 92% anymore, it just gets skipped. some forums will put in 2 codes so that immediately after the welcome table loads, it gets resized, and doesnt have to wait for the rest of the forum. if there is just one resize, the welcome table has to wait, and if in a thread with a bunch of pics or codes that have to load, the welcome table will stay big until all the tables change size. when you get logged out, what are you doing at the time? posting? just browsing? are you selecting "forever" in the duration drop down or just the default 6 hours? I'm 6 hours and I believe that's what my members are as well...no has said they are logged in as "Forever." As for what are we doing when we are being logged out, well some of us are posting and some are just browsing the forum. I see about the code...so if there were two separate codes it would just interfere with one another in a way making them run slow?
|
|
|
Post by Wormopolis on Jun 27, 2010 19:35:35 GMT -8
nah.. both of codes do pretty much the same thing really. they loop through all the tables, see if they are a certain width, and set it to a new width. if the table isnt a certain width, it moves to the next.
putting a resize in the header will only run on the tables that have already been created (welcome table). a second resize in the footer will have more tables to check, yes, but since the header tables have already been resized, they all get skipped anyways.
as I said.. some people do that on purpose in order to get the welcome table sized BEFORE the rest of the forum loads.
if you are noticing a stall in loading, do you have any codes that rely on external sources like crossfury? external script codes will stall a forum while their server is contacted. WC will do it because the facebook like/dislike code uses a external server.
|
|