Extraneous code in Reports

Here you'll find helpful tips regarding the operation of the Discussion Boards at First Tracks!! Online, as well as general announcements for our users.

Extraneous code in Reports

Postby Tony Crocker » Sun Jan 15, 2017 4:07 pm

Why are we seeing code like this
onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;

in our reports recently?
http://bestsnow.net
Ski Records
Season length: 21 months, Nov. 29, 2010 - July 2, 2012
Days in one year: 80 from Nov. 29, 2010 - Nov. 17, 2011
Season vertical: 1,610K in 2016-17
Season powder: 291K in 2011-12
User avatar
Tony Crocker
 
Posts: 9820
Joined: Thu Sep 23, 2004 10:37 am
Location: Avatar: Charlotte Bay, Antarctica 2011
Location: Glendale, California

Re: Extraneous code in Reports

Postby Admin » Sun Jan 15, 2017 4:11 pm

Beats me, just edit it out when you are posting.

There have been no changes or upgrades made to the forum software, so I'm at a loss. A quick Google finds other sites running this forum software experiencing the same issue. The bottom line is that it's something in the PHP code and I'm not a coder, just a coding hack.

The fact of the matter, though, is that the fork of the forum software that FTO is running has been deprecated, and support ended on 1/1/17 (ironically, about the same time this problem first appeared). The software has been entirely rewritten and the board needs to be migrated to the new version. However, that's no small task, and furthermore any posts made to the old board once I start the process will be lost in the new version one it's up and running. It could take time to complete successfully and the board will be down while this is taking place, so that's one more reason I don't want to do it during the ski season. It's a project that I'll take on in early summer.

In the meantime, just edit it out if it's bugging you.
Image

Image
User avatar
Admin
Site Admin
 
Posts: 9976
Joined: Wed Sep 22, 2004 9:32 am
Location: Salt Lake City, Utah

Re: Extraneous code in Reports, New Version of FTO Software

Postby Tony Crocker » Mon Jan 16, 2017 3:29 pm

admin wrote:In the meantime, just edit it out if it's bugging you.

No problem with that

admin wrote:any posts made to the old board once I start the process will be lost in the new version one it's up and running.

The optimistic interpretation of the above is that posts should not be made during the time period (weeks?) that admin is updating the software, but that all posts prior to the software update will remain as before.

The pessimistic interpretation that archives would be lost post conversion is a BIG problem. I once asked if it was necessary to archive my old reports and I was assured that it was not. I ran a few test cases to determine I could do it. It is possible but very time consuming where pictures are involved, and I estimate I have on the order of 800 reports that I would need to back up.

NOW I know why you think I called you at 4:30AM, but that was a butt dial. :lol:

Given the meager amount of current activity on the FTO Forums, the archives are its greatest value. We had a close call the last time the software was "refreshed," so it's obvious why I'm alarmed this time with vastly more material needing potential backup. My hat is off to Patrick; he was prescient about backing up his stuff while I was not.
http://bestsnow.net
Ski Records
Season length: 21 months, Nov. 29, 2010 - July 2, 2012
Days in one year: 80 from Nov. 29, 2010 - Nov. 17, 2011
Season vertical: 1,610K in 2016-17
Season powder: 291K in 2011-12
User avatar
Tony Crocker
 
Posts: 9820
Joined: Thu Sep 23, 2004 10:37 am
Location: Avatar: Charlotte Bay, Antarctica 2011
Location: Glendale, California

Re: Extraneous code in Reports

Postby Admin » Mon Jan 16, 2017 3:38 pm

Tony Crocker wrote:
admin wrote:any posts made to the old board once I start the process will be lost in the new version one it's up and running.

That's a BIG problem.


Please re-read that sentence. Once I start the migration, and until the migration is finished, any posts made in the intervening period will be lost. I have two choices during that period: risk losing a post or two, or close the forums completely until the migration is complete. That's just one reason why I'm waiting until the off-season.

Tony Crocker wrote:NOW I know why you think I called you at 4:30AM, but that was a butt dial.


I've still got a headache from the lack of sleep that caused.

Tony Crocker wrote:I would appreciate a LOT of advance notice to start working on those 800 back-ups,which is not something I can be doing in-season either.


You have no reason for concern, for the forum's entire filesystem and database will be backed up (again) immediately prior to the migration, such that it may be easily restored if any part of the process fails.

The biggest headache I potentially face is that some time ago I integrated the user databases between the forums and the main site. The databases were modified by a plug-in intended to do just that, but the form of that plug-in that I used doesn't work with the database structure of the forum software's new version. There's a different, paid plug-in available from the same developer that does work with the new forum software, but I have to have some extensive conversations with that developer regarding how to safely un-do the user integration before I migrate to the new forum software -- one more reason to wait for the off-season.

And BTW, if you use the URL BBcode to create links instead of simply pasting the link, it doesn't generate any extraneous code.
Image

Image
User avatar
Admin
Site Admin
 
Posts: 9976
Joined: Wed Sep 22, 2004 9:32 am
Location: Salt Lake City, Utah

Re: Extraneous code in Reports, New Version of FTO Software

Postby Tony Crocker » Mon Jan 16, 2017 3:51 pm

I realized there were two interpretations to the system revision and edited my post accordingly. Our posts crossed and admin responded to my first extremely alarmed version.

I would recommending freezing the Forum (making it read-only) during the conversion. The Forum home page should be CONSPICUOUSLY marked to inform readers what's happening.

We understand the amount of work involved maintaining FTO. But readers would understand better if they were informed when hiatuses, construction projects were going on, along with the occasional progress update.
http://bestsnow.net
Ski Records
Season length: 21 months, Nov. 29, 2010 - July 2, 2012
Days in one year: 80 from Nov. 29, 2010 - Nov. 17, 2011
Season vertical: 1,610K in 2016-17
Season powder: 291K in 2011-12
User avatar
Tony Crocker
 
Posts: 9820
Joined: Thu Sep 23, 2004 10:37 am
Location: Avatar: Charlotte Bay, Antarctica 2011
Location: Glendale, California

Re: Extraneous code in Reports, New Version of FTO Software

Postby Admin » Mon Jan 16, 2017 3:54 pm

Tony Crocker wrote:I would recommending freezing the Forum (making it read-only) during the conversion. The Forum home page should be CONSPICUOUSLY marked to inform readers what's happening


That's probably not possible. The more likely scenario is that forum visitors would be greeted with a static maintenance page on the main forum home, and links to individual forum topics or posts would go 404 as the migration was taking place.

Tony Crocker wrote:We understand the amount of work involved maintaining FTO. But readers would understand better if they were informed when hiatuses, construction projects were going on, along with the occasional progress update.


The fact of the matter is that this summer's project is on a "need to know" basis and no one here needed to know at this time. I only brought it up to explain why I'm not going to drive myself nuts trying to figure out what's adding that code to URLs pasted to forum posts.
Image

Image
User avatar
Admin
Site Admin
 
Posts: 9976
Joined: Wed Sep 22, 2004 9:32 am
Location: Salt Lake City, Utah

Re: Extraneous code in Reports, New Version of FTO Software

Postby Tony Crocker » Mon Jan 16, 2017 4:01 pm

admin wrote:The fact of the matter is that this summer's project is on a "need to know" basis and no one here needed to know at this time. I only brought it up to explain why I'm not going to drive myself nuts trying to figure out what's adding that code to URLs pasted to forum posts.

Fair enough for the rest of this season. Once the project is imminent readers need to be in the loop. The static maintenance page should explain what's happening including an estimate when the new version will be up and running. Most people will not come back to a broken webpage with no description of why it's broken and for how long.

And while we're asking questions, the last Forum conversion of archives was not clean at all. Paragraphing was removed and picture links were broken. If I have to reload pictures or reset picture links for 800 reports, I might as well archive them as it will take about the same amount of time.
http://bestsnow.net
Ski Records
Season length: 21 months, Nov. 29, 2010 - July 2, 2012
Days in one year: 80 from Nov. 29, 2010 - Nov. 17, 2011
Season vertical: 1,610K in 2016-17
Season powder: 291K in 2011-12
User avatar
Tony Crocker
 
Posts: 9820
Joined: Thu Sep 23, 2004 10:37 am
Location: Avatar: Charlotte Bay, Antarctica 2011
Location: Glendale, California

Re: Extraneous code in Reports, New Version of FTO Software

Postby Tony Crocker » Mon Jan 16, 2017 4:49 pm

Here's an example of how an archived report looked after the last conversion:
Come Skiing and Riding with First Tracks!! Online!

Postby Admin » Wed Dec 11, 2002 9:10 pm
OK, I know this doesn't really belong in this section, but hey ... I'm the moderator! <IMG SRC="http://www.firsttracksonline.com/discus2/clipart/wink.gif"> <BR> <BR><CENTER><A HREF="http://www.firsttracksonline.com/ads/webadverts/ads.pl?banner=burkeday2003;time=1039670384" TARGET="_blank"><IMG SRC="http://www.firsttracksonline.com/discus2/messages/8/1768.gif" ALT="Click here for more info about the First Annual First Tracks!! Online Ski Day at Burke Mountain!"></A></CENTER> <BR> <BR>We're happy to announce the <B><FONT COLOR="ff0000">First Annual First Tracks!! Online Ski Day</FONT></B>, scheduled for Sunday, January 12 at Burke Mountain, Vermont. Ski, Ride, and Party with your fellow First Tracks!! Online readers for less than $20! <BR> <BR>Print a coupon from First Tracks!! Online, and get a half-price lift ticket for only $19.50. Sample gourmet and specialty coffee from <A HREF="http://www.greenmountaincoffee.com" TARGET="_blank">Green Mountain Coffee Roasters</A>, then kick back with an ale from <A HREF="http://www.ottercreekbrewing.com" TARGET="_blank">Otter Creek Brewing</A> in the resort's Bear's Den Lounge après-ski for a blowout party, featuring exciting prizes and giveaways from event sponsors Green Mountain Coffee, Otter Creek Brewing Company, and <A HREF="http://www.baileysandburke.com" TARGET="_blank">Bailey's & Burke</A>. <BR> <BR>How else can you ski and party for less than $20? Burke is a straight three-hour shot along Interstate highways from both Boston, MA and Hartford, CT, and just over 2 hours from Montréal. Don't miss this chance to share great snow with great people, and finally put a face to that email address! <BR> <BR><A HREF="http://www.firsttracksonline.com/ads/webadverts/ads.pl?banner=burkeday2003;time=1039670384" TARGET="_blank">Click here for more information</A>!


How do we know this won't happen this time?
http://bestsnow.net
Ski Records
Season length: 21 months, Nov. 29, 2010 - July 2, 2012
Days in one year: 80 from Nov. 29, 2010 - Nov. 17, 2011
Season vertical: 1,610K in 2016-17
Season powder: 291K in 2011-12
User avatar
Tony Crocker
 
Posts: 9820
Joined: Thu Sep 23, 2004 10:37 am
Location: Avatar: Charlotte Bay, Antarctica 2011
Location: Glendale, California

Re: Extraneous code in Reports, New Version of FTO Software

Postby Admin » Mon Jan 16, 2017 5:04 pm

Tony Crocker wrote:Here's an example of how an archived report looked after the last conversion:
Come Skiing and Riding with First Tracks!! Online!

Postby Admin » Wed Dec 11, 2002 9:10 pm
OK, I know this doesn't really belong in this section, but hey ... I'm the moderator! <IMG SRC="http://www.firsttracksonline.com/discus2/clipart/wink.gif"> <BR> <BR><CENTER><A HREF="http://www.firsttracksonline.com/ads/webadverts/ads.pl?banner=burkeday2003;time=1039670384" TARGET="_blank"><IMG SRC="http://www.firsttracksonline.com/discus2/messages/8/1768.gif" ALT="Click here for more info about the First Annual First Tracks!! Online Ski Day at Burke Mountain!"></A></CENTER> <BR> <BR>We're happy to announce the <B><FONT COLOR="ff0000">First Annual First Tracks!! Online Ski Day</FONT></B>, scheduled for Sunday, January 12 at Burke Mountain, Vermont. Ski, Ride, and Party with your fellow First Tracks!! Online readers for less than $20! <BR> <BR>Print a coupon from First Tracks!! Online, and get a half-price lift ticket for only $19.50. Sample gourmet and specialty coffee from <A HREF="http://www.greenmountaincoffee.com" TARGET="_blank">Green Mountain Coffee Roasters</A>, then kick back with an ale from <A HREF="http://www.ottercreekbrewing.com" TARGET="_blank">Otter Creek Brewing</A> in the resort's Bear's Den Lounge après-ski for a blowout party, featuring exciting prizes and giveaways from event sponsors Green Mountain Coffee, Otter Creek Brewing Company, and <A HREF="http://www.baileysandburke.com" TARGET="_blank">Bailey's & Burke</A>. <BR> <BR>How else can you ski and party for less than $20? Burke is a straight three-hour shot along Interstate highways from both Boston, MA and Hartford, CT, and just over 2 hours from Montréal. Don't miss this chance to share great snow with great people, and finally put a face to that email address! <BR> <BR><A HREF="http://www.firsttracksonline.com/ads/webadverts/ads.pl?banner=burkeday2003;time=1039670384" TARGET="_blank">Click here for more information</A>!


How do we know this won't happen this time?


We don't. You'd better hole up in your bomb shelter now, and bring a year's supply of dried food rations along. It's Armageddon!
Image

Image
User avatar
Admin
Site Admin
 
Posts: 9976
Joined: Wed Sep 22, 2004 9:32 am
Location: Salt Lake City, Utah

Re: Extraneous code in Reports

Postby jamesdeluxe » Tue Jan 17, 2017 5:28 am

Image
UNFAIR!
User avatar
jamesdeluxe
 
Posts: 3337
Joined: Mon Oct 04, 2004 3:19 pm
Location: South Orange, NJ

Re: Extraneous code in Reports

Postby Admin » Tue Jan 17, 2017 9:08 am

LOL
Image

Image
User avatar
Admin
Site Admin
 
Posts: 9976
Joined: Wed Sep 22, 2004 9:32 am
Location: Salt Lake City, Utah

Re: Extraneous code in Reports

Postby Marc_C » Tue Jan 17, 2017 2:31 pm

SAD!
-marc
User avatar
Marc_C
 
Posts: 3173
Joined: Thu Mar 24, 2005 10:32 am
Location: A Sandy place south of a Great Lake

Re: Extraneous code in Reports

Postby EMSC » Tue Jan 17, 2017 3:06 pm

Definitely not Armageddon... but definitely a rather bad result if that happens.

I even now often refer folks to some of my 8-10 year old TR's for examples of certain pics/angles of some terrain or good /bad level of snow conditions (eg even today pointed a 20 something to some of my old Tucker mtn pics on Copper TR's from 2008/2009). I frequently don't take the same pic/angle of pics that I've done in the past since I already have a good record of that (and still would on my own hard drives at home which misses some of the point of social posting though).

I do understand the huge amount of time Admin puts into this "little" FTO side gig, so I won't complain too loudly. It does seem that the forums especially are frequently hitting a dead branch of forum software somehow with poor conversion tools being provided by the dev's. Weird situation.


Admin wrote:
Tony Crocker wrote:Here's an example of how an archived report looked after the last conversion:
Come Skiing and Riding with First Tracks!! Online!

Postby Admin » Wed Dec 11, 2002 9:10 pm
OK, I know this doesn't really belong in this section, but hey ... I'm the moderator! <IMG SRC="http://www.firsttracksonline.com/discus2/clipart/wink.gif"> <BR> <BR><CENTER><A HREF="http://www.firsttracksonline.com/ads/webadverts/ads.pl?banner=burkeday2003;time=1039670384" TARGET="_blank"><IMG SRC="http://www.firsttracksonline.com/discus2/messages/8/1768.gif" ALT="Click here for more info about the First Annual First Tracks!! Online Ski Day at Burke Mountain!"></A></CENTER> <BR> <BR>We're happy to announce the <B><FONT COLOR="ff0000">First Annual First Tracks!! Online Ski Day</FONT></B>, scheduled for Sunday, January 12 at Burke Mountain, Vermont. Ski, Ride, and Party with your fellow First Tracks!! Online readers for less than $20! <BR> <BR>Print a coupon from First Tracks!! Online, and get a half-price lift ticket for only $19.50. Sample gourmet and specialty coffee from <A HREF="http://www.greenmountaincoffee.com" TARGET="_blank">Green Mountain Coffee Roasters</A>, then kick back with an ale from <A HREF="http://www.ottercreekbrewing.com" TARGET="_blank">Otter Creek Brewing</A> in the resort's Bear's Den Lounge après-ski for a blowout party, featuring exciting prizes and giveaways from event sponsors Green Mountain Coffee, Otter Creek Brewing Company, and <A HREF="http://www.baileysandburke.com" TARGET="_blank">Bailey's & Burke</A>. <BR> <BR>How else can you ski and party for less than $20? Burke is a straight three-hour shot along Interstate highways from both Boston, MA and Hartford, CT, and just over 2 hours from Montréal. Don't miss this chance to share great snow with great people, and finally put a face to that email address! <BR> <BR><A HREF="http://www.firsttracksonline.com/ads/webadverts/ads.pl?banner=burkeday2003;time=1039670384" TARGET="_blank">Click here for more information</A>!


How do we know this won't happen this time?


We don't. You'd better hole up in your bomb shelter now, and bring a year's supply of dried food rations along. It's Armageddon!
User avatar
EMSC
 
Posts: 2008
Joined: Wed Apr 11, 2007 6:54 pm
Location: Front Range of Colorado

Re: Extraneous code in Reports

Postby Admin » Tue Jan 17, 2017 3:31 pm

EMSC wrote:Definitely not Armageddon... but definitely a rather bad result if that happens.


My cavalier attitude with Mr. Crocker is borne of the fact that I've discussed this with him many, many times before already. What happened in the past was a forum software that was no longer supported became corrupted. I had no choice but to move to something different altogether, write my own migration script and hope for the best. What resulted was the best I could do.

This is an entirely different situation. We're merely moving from one fork of phpBB to another. Both the filesystem and the database are backed up regularly and stored for safe keeping, and that will also be done at the time that the migration is begun. If it fails, you merely restore the backed up filesystem and database. No risk whatsoever.

EMSC wrote:It does seem that the forums especially are frequently hitting a dead branch of forum software somehow with poor conversion tools being provided by the dev's. Weird situation.


Part of that is the slow demise of user forums in general, as they have been supplanted in recent years by social media. People just don't use website forums the way that they used to.
Image

Image
User avatar
Admin
Site Admin
 
Posts: 9976
Joined: Wed Sep 22, 2004 9:32 am
Location: Salt Lake City, Utah

Re: Extraneous code in Reports, New Version of Forum Softwar

Postby Tony Crocker » Tue Jan 17, 2017 4:07 pm

So which is it?
admin wrote:You have no reason for concern

or
admin wrote:
Tony Crocker wrote:How do we know this won't happen this time?

We don't. You'd better hole up ......

which means the archives will become unreadable crap with no pictures displayed?

I have a constructive suggestion. Find out how much it would cost to hire a programmer to convert the archives with zero degradation if you don't think you can do it efficiently or at all.

As ESMC notes, it is often useful to refer to an old TR to illustrate something later. To the extent this occurs in social media or another forum it drives some traffic to FTO. But not if the link in question is broken or unreadable.
http://bestsnow.net
Ski Records
Season length: 21 months, Nov. 29, 2010 - July 2, 2012
Days in one year: 80 from Nov. 29, 2010 - Nov. 17, 2011
Season vertical: 1,610K in 2016-17
Season powder: 291K in 2011-12
User avatar
Tony Crocker
 
Posts: 9820
Joined: Thu Sep 23, 2004 10:37 am
Location: Avatar: Charlotte Bay, Antarctica 2011
Location: Glendale, California

Next

Return to F.Y.I.

Who is online

Users browsing this forum: No registered users and 2 guests


All content herein copyright © 1999-2017 First Tracks!! Online Media

Forums Terms & Conditions of Use

cron