Gamers Mafia Forum Index  
Register Log in
GamersMafia.us Current Forum Backdrop
Index
GamersMafia.us Current Forum Backdrop
Support
GamersMafia.us Current Forum Backdrop
General
GamersMafia.us Current Forum Backdrop
News
GamersMafia.us Current Forum Backdrop
Entertainment
GamersMafia.us Current Forum Backdrop
Gaming
GamersMafia.us Current Forum Backdrop
Creativity
GamersMafia.us Current Forum Backdrop
Technology
Gamers Mafia News Flash
:::::: The Gamers Mafia forums shut down in April 2009. We returned in April 2022. Welcome old and new members! ::::::
[BUG REPORT] famous last words
Post new topic   This topic is locked: you cannot edit posts or make replies.    Gamers Mafia Forum Index Support
View previous topic :: View next topic  
Author Message
Reno
Administrator
Administrator


Joined: 24 Feb 2004
Posts: 3493

PostPosted: Tue Nov 18 2008 10:56 pm    Post subject: [BUG REPORT] famous last words Reply with quote

After i post a message in the shout box it takes me off the homepage and puts me into a window with only the shoutbox and no link to return to the forum homepage.
_________________

,`,,`,,`,,`,,`,
www.Cyberium.org
View user's profile Send private message Send e-mail AIM Address
Reno's Famous Last Words: Deep South
Lion
Moderator
Moderator


Joined: 06 Apr 2004
Posts: 732

PostPosted: Tue Nov 18 2008 11:01 pm    Post subject: Reply with quote

My screen flashes once and returns as normal to the index page, Using explorer 7 Sp2
View user's profile Send private message Send e-mail MSN Messenger
Lion's Famous Last Words: Alexandria,UBW
Reno
Administrator
Administrator


Joined: 24 Feb 2004
Posts: 3493

PostPosted: Wed Nov 19 2008 2:51 pm    Post subject: Reply with quote

I'm using FF3
_________________

,`,,`,,`,,`,,`,
www.Cyberium.org
View user's profile Send private message Send e-mail AIM Address
Reno's Famous Last Words: Deep South
CYB3RD0M1N10N
SITE OWNER
SITE OWNER


Joined: 03 Jun 2006
Posts: 370

PostPosted: Sun Nov 23 2008 5:02 pm    Post subject: Reply with quote

Alright I made some adjustments in the shoutbox.php code and the index body template. Reno can you test the shout board out now and post your results here of any changes?

I think I have resolved this. Let me know.
_________________

Xan CYB3RD0M1N10N Carrico. COD Gamer, YouTube & Twitch
Streamer, Game Developer, Ethical Hacker. From Chico California.
CYB3RD0M1N10N LinkedIn Profile
View user's profile Send private message
CYB3RD0M1N10N's Famous Last Words: 4LL Y0(_)R B4S3 4R3 B3L0NG T0 (_)S
Reno
Administrator
Administrator


Joined: 24 Feb 2004
Posts: 3493

PostPosted: Thu Nov 27 2008 12:01 am    Post subject: Reply with quote

Works now, good job. I hope it wasn't a day long task to fix.
_________________

,`,,`,,`,,`,,`,
www.Cyberium.org
View user's profile Send private message Send e-mail AIM Address
Reno's Famous Last Words: Deep South
CYB3RD0M1N10N
SITE OWNER
SITE OWNER


Joined: 03 Jun 2006
Posts: 370

PostPosted: Thu Nov 27 2008 12:17 am    Post subject: Reply with quote

Nope. Only took a few minutes after I figured out what was really going on. I did about 3 minutes of research on the meta tag and how they affect the FireFox for windows browser.

It seems that Firefox treats meta refresh tags different then Safari and IE do. It's actually a bug that was never really fixed. Instead they wrote in code as a preference to alert the user when a refresh tag is used. The default is it's off.

Using that information I just adjusted the code in the main shoutboard.php file and adjusted one line in the index template file. The problem was it was refreshing to an Iframe that was also inside an iFrame, that made IE "Flash" before going to the right page, but it got FF3 browsers stuck into that inner iFrame with no place to go.

I just moved it out of the frame and stuck in an empty anchor tag, then told the meta refresh to go directly to the anchor on the index page instead of to the inner frame.

The destination is the same except no flashing on IE and no getting stuck when in FF3.

I located the right code to fix to make that happen in about 2 minutes after doing the research, and it was a one line of code fix. Then 30 seconds later it was working (thanks to my 5 Mbit DSL connection I was able to upload it fast). Just took a few days for someone to see this message and test it out.

I just happened to see Lion online so I flagged him down and he tested it with IE and said it even loads faster with no flashing (That's why the subject says "Test") for his post about Saint's Row 2. I'm glad it works on FF3.

Total time for the fix: Approximately 6 minutes.
_________________

Xan CYB3RD0M1N10N Carrico. COD Gamer, YouTube & Twitch
Streamer, Game Developer, Ethical Hacker. From Chico California.
CYB3RD0M1N10N LinkedIn Profile
View user's profile Send private message
CYB3RD0M1N10N's Famous Last Words: 4LL Y0(_)R B4S3 4R3 B3L0NG T0 (_)S
Reno
Administrator
Administrator


Joined: 24 Feb 2004
Posts: 3493

PostPosted: Sun Nov 30 2008 11:27 pm    Post subject: Reply with quote

I just noticed that it still does this, but only when i log in to post in the shoutbox in the shoutbox. Example I come to the site to look around and notice a comment worth response in the shoutbox. I go to make a shoutbox post and it prompts me for login, but it does it in the same frame that has no index link.
_________________

,`,,`,,`,,`,,`,
www.Cyberium.org
View user's profile Send private message Send e-mail AIM Address
Reno's Famous Last Words: Deep South
CYB3RD0M1N10N
SITE OWNER
SITE OWNER


Joined: 03 Jun 2006
Posts: 370

PostPosted: Mon Dec 01 2008 7:53 am    Post subject: Reply with quote

Well this problem is a little more complicated because of the way I designed the shoutboard. See, the shoutboard is really just a clone of the phpBB message system. So the inherent structure of the code is exactly mimicing the postings routines, same goes for the login routines. Unless I write a completely custom login routine, it's very difficult to trick the session data inside phpBB.

The problem is this... When you are on the index page and NOT logged in, you are using phpBB not the shoutboard code. But, I do have a hook in the code that says if you are not logged in and try and post, to use the normal redirect routines and go to login.php then from there login.php goes back to the exact URL you tried to post to. In this case, the shoutboard is an iFrame inside the index page. So the login.php is trying to redirect to the shoutboard.php which does not have a link to the index page. I made it like that on purpose because it would give you a frame inside a frame inside a frame forever if I did that.

So I have a routine in progress, called sb_login, which is a "shout board" version of the login screen, which redirects back to the index page, but NOT to the shout board itself.

That could be one solution. Although I don't like it very well. It doesn't seem easy to make it redirect to the exact hidden anchor I have there telling the page where the start of the shoutboard iframe begins.

So I do have an alternate solution if you will allow it and others don't mind it.

Simple. Allow guests to post on the shoutboard. When you click on POST REPLY whether you are logged in or not, it will "SWAP" screens with the posts review and give you a shoutboard to post to, scrolling down while in the shoutboard gives you the review you saw before going in. Although this is an elegant solution, it may not be the best one.

We will have to see how it goes. So far I have spent 7 hours and 45 minutes on this problem, and those are the only two solutions I have come up with so far to solve this.

1. Allow guests to post -- That's what it's doing now

OR

2. Swap out to a mock LOGIN SCREEN and when you log in, go directly back to the index page, not the shoutboard. Doing this means you have to click the POST REPLY button a second time to enter the shout board.

Now I could do that, with maybe an alert or something.. "Sorry guests cannot post, please login first" something like that. But it's not as easy as you think to tie into the phpBB posting routines when they have designed the whole board to prevent from doing what I did.

Smile

So.. for now let guests post and then we will go from there if you want to see something different.
_________________

Xan CYB3RD0M1N10N Carrico. COD Gamer, YouTube & Twitch
Streamer, Game Developer, Ethical Hacker. From Chico California.
CYB3RD0M1N10N LinkedIn Profile
View user's profile Send private message
CYB3RD0M1N10N's Famous Last Words: 4LL Y0(_)R B4S3 4R3 B3L0NG T0 (_)S
Reno
Administrator
Administrator


Joined: 24 Feb 2004
Posts: 3493

PostPosted: Tue Dec 02 2008 8:06 am    Post subject: Reply with quote

ty for looking into the problem. You shouldn't have spent that much time on it.
_________________

,`,,`,,`,,`,,`,
www.Cyberium.org
View user's profile Send private message Send e-mail AIM Address
Reno's Famous Last Words: Deep South
CYB3RD0M1N10N
SITE OWNER
SITE OWNER


Joined: 03 Jun 2006
Posts: 370

PostPosted: Sat Dec 13 2008 10:00 pm    Post subject: Reply with quote

Version 3 of the new Famous Last Words Shout Board is active

I just finished the new shout board. Version 3 is now active. If you find any new bugs report them here.
_________________

Xan CYB3RD0M1N10N Carrico. COD Gamer, YouTube & Twitch
Streamer, Game Developer, Ethical Hacker. From Chico California.
CYB3RD0M1N10N LinkedIn Profile
View user's profile Send private message
CYB3RD0M1N10N's Famous Last Words: 4LL Y0(_)R B4S3 4R3 B3L0NG T0 (_)S
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Gamers Mafia Forum Index Support All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Original ezHyperShadow theme by boo ©2004 www.ez-life.net
Powered by phpBB © 2001, 2002 phpBB Group

All modifications from the original ezHyperShadow theme by CYB3RD0M1N10N ©2023 www.linkedin.com/in/cyb3rd0m1n0n
ezHyperShadow template - a boo design CYB3RD0M1N10N LinkedIn Profile