Notings of Attention™
Acmlmboard 2 Released
Github/GIT | @acmlmboard
Chatting Places
Discord

Affiliates
Super Mario Bros. X | Kuribo64
Views: 8,952,810
Main | FAQ | IRC chat | Memberlist | Active users | Latest posts | Stats | Ranks | Online users | Search
03-29-24 06:31 AM
Guest: Register | Login

0 users currently in AcmlmBoard II Software/Bug Report Forum | 1 bot

Main - AcmlmBoard II Software/Bug Report Forum - Sprites and logout
Next newer thread | Next older thread


Arisotura
Posted on 03-13-15 09:32 AM Link | ID: 82926
Developer
pancakes
Level: 83


Posts: 715/1868
EXP: 5395767
Next: 36454

Since: 01-05-12
From: France

Last post: 655 days
Last view: 194 days
I logged out, and I got a sprite on the redirect page following it. Trying to capture it yielded a 'Not logged in.' message.

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

Squiddy
Posted on 03-13-15 07:57 PM Link | ID: 82927
Banned
Unspecificed Cooling Off Period. Be Safe
Bisexual Empress of the Stolen Title?
Level: 142


Posts: 5816/6751
EXP: 34676500
Next: 291929

Since: 07-17-13

Last post: 3180 days
Last view: 3087 days
I swear, I've tried having sprites from showing up on redirect pages ( Lunaria requested this a few years ago). I tried various methods in lib/common.php, lib/sprites.php, sprites.php, the redirect function itself in lib/request.php, when the redirect funtion itself is called in pages, you name it, and nothing seems to work.

____________________
Sunshine Realm
Welcome to Aqmlm's, the only board with Al-Aq'mlmistrators!

Arisotura
Posted on 03-13-15 11:09 PM (rev. 2 of 03-13-15 11:33 PM by Arisotura) Link | ID: 82929
Developer
pancakes
Level: 83


Posts: 716/1868
EXP: 5395767
Next: 36454

Since: 01-05-12
From: France

Last post: 655 days
Last view: 194 days
Instant redirects wouldn't have this issue at all ;)


Other than that, I suspect that sprites are added to the page somewhere in pageheader(), before the current page has the time to signal that it's a redirect page.

You'd need to add a flag to pageheader() or somewhere else before that.

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

shibboleet
Posted on 03-14-15 07:52 AM (rev. 2 of 03-14-15 07:52 AM by shibboleet) Link | ID: 82942
Retired Staff

Porcupo
no
Level: 38


Posts: 75/313
EXP: 353389
Next: 17058

Since: 02-02-13
From: Maryland

Last post: 2239 days
Last view: 2208 days
Well the version I ported over had that logging out issue before.

if(!$log)
{
$chance = 0;
}

...which is why instant redirects are best.

Squiddy
Posted on 03-14-15 12:50 PM (rev. 2 of 03-14-15 02:17 PM by Squiddy) Link | ID: 82943
Banned
Unspecificed Cooling Off Period. Be Safe
Bisexual Empress of the Stolen Title?
Level: 142


Posts: 5820/6751
EXP: 34676500
Next: 291929

Since: 07-17-13

Last post: 3180 days
Last view: 3087 days
Posted by StapleButter
I suspect that sprites are added to the page somewhere in pageheader(), before the current page has the time to signal that it's a redirect page.

You'd need to add a flag to pageheader() or somewhere else before that.


Yep, tried it again. Still no results.

Edit: Well, here's the solution for all classical redirects:

$loguser['blocksprites']=1;
pageheader('Whatever');


Epele also made a solution for sprites showing up on the redirect page when you log out:
if(strstr($_SERVER['PHP_SELF'],"login.php") || $loguser['blocksprites'] || !$config['spritesystem'])
$chance = 0;


____________________
Sunshine Realm
Welcome to Aqmlm's, the only board with Al-Aq'mlmistrators!

Next newer thread | Next older thread
Main - AcmlmBoard II Software/Bug Report Forum - Sprites and logout


Acmlmboard v2.5.5 (10/04/2020)
© 2005-2024 Acmlm, Emuz, et al.

Page rendered in 0.047 seconds. (781KB of memory used)
MySQL - queries: 97, rows: 508/540, time: 0.035 seconds.