Author Topic: Let's fix BCFiles together  (Read 1263 times)

Offline Mario

  • Senior Software Developer
  • Administrator
  • Posts: 2186
  • Cookies: 1706
  • Life is life
Let's fix BCFiles together
« on: July 17, 2012, 11:03:52 AM »
Unlike most threads which cropped up over here bashing BCFiles and or Filefront, let's try and do something about it in this one. I decided to write a little Firefox plugin which will "fix" those problems for us.

These are the bugs that I've identified so far. Have in mind that I don't use filefront a lot anymore so do share your issues with me over here so that we can together come up with a solution.

Exhibit 1:



Time travel appears to be a reality at least on Filefront. I'm pretty sure this isn't the correct page.

Resolution: Reload the page automatically

Exhibit 2:



No file?!?

Resolution: Reload the page automatically until we get the page we want

Exhibit 3:



Browsing an image gallery you get a beautiful blank page.

Resolution: Reload the page automatically until we get the proper image

Let's continue with the list. Issues 2 and 3 can easily be fixed but number 1 is a bit problematic to say the least. There is nothing in the HTML document which I can use as a point of reference to know that the page went FUBAR. 2 and 3 I easily fixed in the extension which I'm working on at the moment.
Acta, non verba.
aka USS Sovereign

Offline Phoenix Bondi

  • REMEMBER YOUR ORIGIN
  • Posts: 1294
  • Cookies: 575
  • Never Forget Your Origins
    • CHRIS JONES GAMING
Re: Let's fix BCFiles together
« Reply #1 on: July 17, 2012, 12:44:39 PM »
So once i get all the information i need to set up my one, wouldn't it be better to build one as a group and have one we all helped to create? i mean not everyone likes firefox, i myself like IE ---- OK OK hold the guns i kid i kid...I like chrome! :D

Offline CyAn1d3

  • MacDill Shipyards Design Team
  • Posts: 1656
  • Cookies: 420
  • RETIRED
Re: Let's fix BCFiles together
« Reply #2 on: July 17, 2012, 12:50:58 PM »
OK OK hold the guns i kid i kid...I like chrome! :D

chrome.... GRRR  :picardfacepalm:

my only issue is with GF themselves, 3 times now already they have dropped my link for the Ragnarok, and a few times a few others
I came, i saw, i added a Sig.
Later gents, i have Youtube to take over.
Cy - 1-12-15

Offline Mario

  • Senior Software Developer
  • Administrator
  • Posts: 2186
  • Cookies: 1706
  • Life is life
Re: Let's fix BCFiles together
« Reply #3 on: July 17, 2012, 12:58:29 PM »
Quote
So once i get all the information i need to set up my one, wouldn't it be better to build one as a group and have one we all helped to create?

Building a site takes time, we're talking about here and now. I've worked on and managed web projects which took months to complete, it all depends on the scope of the project though. But there is no small web app nowadays.

While on the browser front, I have 6 browsers installed myself (Firefox, IE, Chrome, Safari, Opera & Maxthon). I prefer Firefox above all else though mostly due to the richness of web development extensions available.
Acta, non verba.
aka USS Sovereign

Offline CyAn1d3

  • MacDill Shipyards Design Team
  • Posts: 1656
  • Cookies: 420
  • RETIRED
Re: Let's fix BCFiles together
« Reply #4 on: July 17, 2012, 01:00:26 PM »
I prefer Firefox above all else though mostly due to the richness of web development extensions available.

this, also FF seems to just run faster to me
I came, i saw, i added a Sig.
Later gents, i have Youtube to take over.
Cy - 1-12-15

Offline Mario

  • Senior Software Developer
  • Administrator
  • Posts: 2186
  • Cookies: 1706
  • Life is life
Re: Let's fix BCFiles together
« Reply #5 on: July 17, 2012, 01:02:07 PM »
this, also FF seems to just run faster to me

It does? I could swear benchmarks state otherwise.
Acta, non verba.
aka USS Sovereign

Offline ACES_HIGH

  • BCC Roleplay Game Narrator
  • Moderator
  • Posts: 1678
  • Cookies: 54
  • while(!(succeed=try()));
    • BCC Roleplay Games
Re: Let's fix BCFiles together
« Reply #6 on: July 17, 2012, 02:44:07 PM »
the "time travel" is because only one of the three servers the site is on is updating when we add new files or anything like that.

Offline Mario

  • Senior Software Developer
  • Administrator
  • Posts: 2186
  • Cookies: 1706
  • Life is life
Re: Let's fix BCFiles together
« Reply #7 on: July 17, 2012, 02:51:03 PM »
the "time travel" is because only one of the three servers the site is on is updating when we add new files or anything like that.

I figured as such. However I need to find a reference in the HTML document to detect that the "time travel" occurred to refresh the page.
Acta, non verba.
aka USS Sovereign

Offline King Class Scout

  • Posts: 1775
  • Cookies: 893
  • the other half of SFRD
Re: Let's fix BCFiles together
« Reply #8 on: July 17, 2012, 03:09:29 PM »
I see, from the screen caps, it keeps reverting back to the March 31st '11 page.

and, yes.  filefront themselves has said this.  they also said something about the servers not talking to each other.

but there's only 3 of them?  curious.
OS novel fan

Coming Soon: King's Mod Tuning Shop

best line I've ever read
Me: mine [my bridges] would probably be simple to get the characters to use.  the only person that sits is the captian.
Baz: space is vast there[sic] legs will be tired by the time they get to the next planet

Offline Mario

  • Senior Software Developer
  • Administrator
  • Posts: 2186
  • Cookies: 1706
  • Life is life
Re: Let's fix BCFiles together
« Reply #9 on: July 17, 2012, 03:15:34 PM »
I suppose I could use the dates as a reference however that's not the ideal solution in a such environment. I need to browse the BCFiles HTML markup in depth.
Acta, non verba.
aka USS Sovereign

Offline Defiant

  • Posts: 398
  • Cookies: 1105
    • BC: Kobayashi Maru
Re: Let's fix BCFiles together
« Reply #10 on: July 17, 2012, 05:31:59 PM »
So you really want to reload bcfiles 5-10x until a "good" version appears? That makes we want to bash filefront even more..

Offline Mario

  • Senior Software Developer
  • Administrator
  • Posts: 2186
  • Cookies: 1706
  • Life is life
Re: Let's fix BCFiles together
« Reply #11 on: July 17, 2012, 05:34:51 PM »
Do I have a choice?
Acta, non verba.
aka USS Sovereign

Offline FarShot

  • That guy with good ideas...
  • Moderator
  • Posts: 2470
  • Cookies: 787
  • I'm actually making stuff! :D
Re: Let's fix BCFiles together
« Reply #12 on: July 18, 2012, 04:41:23 PM »
I'm by no means a scripter but perhaps I may contribute an idea?

Is it possible to have the extension check what info is coming in and if it sees a particular item being loaded up, say, the word "Sulaco", it then automatically refreshes until it isn't?

Offline Mario

  • Senior Software Developer
  • Administrator
  • Posts: 2186
  • Cookies: 1706
  • Life is life
Re: Let's fix BCFiles together
« Reply #13 on: July 18, 2012, 05:19:30 PM »
One can only search the HTML document for that term. But can you elaborate the idea a bit more?

Acta, non verba.
aka USS Sovereign

Offline FarShot

  • That guy with good ideas...
  • Moderator
  • Posts: 2470
  • Cookies: 787
  • I'm actually making stuff! :D
Re: Let's fix BCFiles together
« Reply #14 on: July 19, 2012, 10:46:50 PM »
I'm by no means a scripter...

Can't elaborate much when I know about... this... much.

Offline Mario

  • Senior Software Developer
  • Administrator
  • Posts: 2186
  • Cookies: 1706
  • Life is life
Re: Let's fix BCFiles together
« Reply #15 on: July 20, 2012, 10:54:04 AM »
Quote
Is it possible to have the extension check what info is coming in and if it sees a particular item being loaded up, say, the word "Sulaco", it then automatically refreshes until it isn't?

I meant this. In your own words :)
Acta, non verba.
aka USS Sovereign

Offline FarShot

  • That guy with good ideas...
  • Moderator
  • Posts: 2470
  • Cookies: 787
  • I'm actually making stuff! :D
Re: Let's fix BCFiles together
« Reply #16 on: July 20, 2012, 10:09:40 PM »
Well I guess what I'm trying to say is like this:

The old page that loads up has some visual and textual indicators that it is the old page.  Namely, the couple of mods that show up as mod of the week, like the Sulaco and the Wraith Hive.  Could you make a condition in the extension that checks if these things are present and if so, it automatically reloads until it no longer sees them, in other words, sees the third server's correct front page?

Offline tiqhud

  • BCFiles File Poster
  • Posts: 1763
  • Cookies: 1067
  • San Francisco Shipyards (HPer) file manuiplater
Re: Let's fix BCFiles together
« Reply #17 on: July 21, 2012, 08:37:05 AM »
when I first go to BCfiles , before I refresh,  the file of the week is the " Babylon 5 Whitestar (1.0) "
TiqHud
you sir, are unable to strike, the port or starboard parts of hull , of a bovine storage facility.
Canon , what people argue exists, that doesn't really  exist.
It is all the little details, that cause headaches.
"Never judge wealth with Money"
'Intelligence has Nothing to do with Politics'
it is Late, Do you know where your Towel is?

Offline FarShot

  • That guy with good ideas...
  • Moderator
  • Posts: 2470
  • Cookies: 787
  • I'm actually making stuff! :D
Re: Let's fix BCFiles together
« Reply #18 on: July 21, 2012, 04:03:14 PM »
when I first go to BCfiles , before I refresh,  the file of the week is the " Babylon 5 Whitestar (1.0) "

Yeah, whatever, I wasn't sure which one was the actual file of the week.  Didn't bother to actually check BCF to verify the fact.  I'm back from camp now (had an awesome time btw, even though I had to deal with pesky kids) so I'll get my facts straight next time.

Offline Mario

  • Senior Software Developer
  • Administrator
  • Posts: 2186
  • Cookies: 1706
  • Life is life
Re: Let's fix BCFiles together
« Reply #19 on: July 21, 2012, 04:15:48 PM »
Thanks for clarification. I've been exploring which rules to use to determine that the wrong homepage was served. So it's safest to say that I might use all of the ones mentioned + few more.
Acta, non verba.
aka USS Sovereign