• Advertisement

Front page photograph

News and comments about this board.

Re: Front page photograph

Postby mackinenator » Sat Jan 22, 2011 10:40 pm

I've noticed recently that the photo appears to change at midday instead of midnight, is there a reason for this?
Please Note: I'm not complaining, merely making an observation :)
Wandering, Always wandering...
The opinions expressed by the user should not be taken seriously. Except that NSW Public Transport is a mess!
User avatar
mackinenator
 
Posts: 532
Joined: Sun Oct 07, 2007 11:05 pm
Location: Blue Mountains, NSW, Australia
Has thanked: 6 times
Been thanked: 1 time
Favourite Vehicle: CB60's & VST's

Re: Front page photograph

Postby Fleet Lists » Sun Jan 23, 2011 6:20 pm

Very good point.
Actually I think it is at 10am or 11am depending whether we are on daylight savings or not. Apparently it is to do with the fact that the time returned on the current server does not adlust from Greenwich Mean time when the software carries out that function while the server we had previoulsy did. I have been aware of this for some time now but just have not got around to changing it.

There have been a few other areas which I have had to change for this.
Living in the Shire.
User avatar
Fleet Lists
Administrator
 
Posts: 14573
Joined: Sat Mar 06, 2004 11:49 am
Location: The Shire
Has thanked: 507 times
Been thanked: 431 times

Re: Front page photograph

Postby paulbrown3 » Sat Mar 12, 2011 9:15 pm

suugestion for front page foto. would it be possible to add a note about the photo being displayed or a link to where the phot is.
User avatar
paulbrown3
 
Posts: 1271
Joined: Tue Aug 01, 2006 11:37 pm
Has thanked: 5 times
Been thanked: 48 times

Re: Front page photograph

Postby Fleet Lists » Sun Mar 13, 2011 6:53 am

I have tried a few times but I just dont seem to be able to access the comments. Sorry about that.
I guess I had not thought about a link - I will give that some thought.
Living in the Shire.
User avatar
Fleet Lists
Administrator
 
Posts: 14573
Joined: Sat Mar 06, 2004 11:49 am
Location: The Shire
Has thanked: 507 times
Been thanked: 431 times

Re: Front page photograph

Postby Fleet Lists » Fri Mar 25, 2011 4:00 pm

Unfortunately I have not had much luck with that.
Living in the Shire.
User avatar
Fleet Lists
Administrator
 
Posts: 14573
Joined: Sat Mar 06, 2004 11:49 am
Location: The Shire
Has thanked: 507 times
Been thanked: 431 times

Re: Front page photograph

Postby R44 » Sun Mar 27, 2011 9:00 am

You want a hand fleet lists?? I could do that
"For your convenience, please arrive at the station well before your train is due to depart" - Taylor Owyyns at Wentworthville Station
Asperger's Network - http://aspergersnetwork.com
User avatar
R44
 
Posts: 569
Joined: Wed Jul 21, 2010 1:12 pm
Has thanked: 27 times
Been thanked: 41 times
Favourite Vehicle: MO-8205

Re: Front page photograph

Postby Fleet Lists » Sun Oct 02, 2011 3:48 pm

Currently a new photo is selected at 11am in Sydney now that daylight Savings has commenced, randomly electing a new one from the photo gallery..

When the photo is changed, the previous photo is added to the last 20 photos used and the oldest one deleted from the file concerned. The fleet lists home page randomly selects one of those 20 photos whenever that page is dispayed.

There are now moves afoot where the fleet lists are going to use a different criteria for the home page photo, not related to the photo gallery. I am not involved that exercise.

Once that is in place, the Bus Australia software will need to be changed so that it no longer creates the file with the 20 photo links as it will no longer be required.

The question I am now posing is: Should Busaustralia retain the procedure where it keeps the same photo for 24 hours - which was a prerequisite for the fleet lists selection? It would be much simpler to just display a random photo from the photo gallery each time the home page is displayed. That is the way I would plan to go.

Any comments would be appreciated.
Living in the Shire.
User avatar
Fleet Lists
Administrator
 
Posts: 14573
Joined: Sat Mar 06, 2004 11:49 am
Location: The Shire
Has thanked: 507 times
Been thanked: 431 times

Re: Front page photograph

Postby R44 » Sun Oct 02, 2011 5:56 pm

You just need a whole Directory with photos in it, and a PHP script that randomly chooses it.
"For your convenience, please arrive at the station well before your train is due to depart" - Taylor Owyyns at Wentworthville Station
Asperger's Network - http://aspergersnetwork.com
User avatar
R44
 
Posts: 569
Joined: Wed Jul 21, 2010 1:12 pm
Has thanked: 27 times
Been thanked: 41 times
Favourite Vehicle: MO-8205

Re: Front page photograph

Postby Fleet Lists » Sun Oct 02, 2011 6:05 pm

We already have that - it would just be a matter of including that instead of what we have at the moment.
Living in the Shire.
User avatar
Fleet Lists
Administrator
 
Posts: 14573
Joined: Sat Mar 06, 2004 11:49 am
Location: The Shire
Has thanked: 507 times
Been thanked: 431 times

Re: Front page photograph

Postby R44 » Sun Oct 02, 2011 6:07 pm

ok, what do you have at the moment, as script.
"For your convenience, please arrive at the station well before your train is due to depart" - Taylor Owyyns at Wentworthville Station
Asperger's Network - http://aspergersnetwork.com
User avatar
R44
 
Posts: 569
Joined: Wed Jul 21, 2010 1:12 pm
Has thanked: 27 times
Been thanked: 41 times
Favourite Vehicle: MO-8205

Re: Front page photograph

Postby Fleet Lists » Sun Oct 02, 2011 8:00 pm

A homewritten script that is already used to select the daily photo randomly and also for selection of photos in random photo slideshow.
Living in the Shire.
User avatar
Fleet Lists
Administrator
 
Posts: 14573
Joined: Sat Mar 06, 2004 11:49 am
Location: The Shire
Has thanked: 507 times
Been thanked: 431 times

Re: Front page photograph

Postby R44 » Sun Oct 02, 2011 8:28 pm

Ok, Can you PLEASE PM me the Script, and the appropriate folder name... That way i can make a few quick edits.
"For your convenience, please arrive at the station well before your train is due to depart" - Taylor Owyyns at Wentworthville Station
Asperger's Network - http://aspergersnetwork.com
User avatar
R44
 
Posts: 569
Joined: Wed Jul 21, 2010 1:12 pm
Has thanked: 27 times
Been thanked: 41 times
Favourite Vehicle: MO-8205

Re: Front page photograph

Postby Fleet Lists » Mon Oct 03, 2011 7:05 am

No it is part of a larger script and as such it is not available for distribution to others.
Living in the Shire.
User avatar
Fleet Lists
Administrator
 
Posts: 14573
Joined: Sat Mar 06, 2004 11:49 am
Location: The Shire
Has thanked: 507 times
Been thanked: 431 times

Re: Front page photograph

Postby Fleet Lists » Mon Oct 03, 2011 12:13 pm

I received one PM which favoured just random photos varying throughout the day.

I had to make the change urgently today as the file being used had been changed manually for the fleet lists, which caused problems with the Bus Australia home page. So from now the BusAustralia home page is a new random photo at any time - not the same photo all day.
Living in the Shire.
User avatar
Fleet Lists
Administrator
 
Posts: 14573
Joined: Sat Mar 06, 2004 11:49 am
Location: The Shire
Has thanked: 507 times
Been thanked: 431 times

Re: Front page photograph

Postby Emm Kay Vee » Tue Oct 04, 2011 12:47 pm

Yes DETNSWDER1 I think you missed the point.

FL - I meant to comment earlier - I am in favour of the random photo at any time
Cadet Coach Captain

"Who the **** is Windy?"
User avatar
Emm Kay Vee
 
Posts: 4232
Joined: Wed Apr 21, 2004 8:16 pm
Location: 2MSJ Menai Depot
Has thanked: 136 times
Been thanked: 221 times
Favourite Vehicle: Mercedes Benz O500

Re: Front page photograph

Postby R44 » Tue Oct 11, 2011 6:35 pm

Emm Kay Vee wrote:Yes DETNSWDER1 I think you missed the point.


What point was there to miss?
"For your convenience, please arrive at the station well before your train is due to depart" - Taylor Owyyns at Wentworthville Station
Asperger's Network - http://aspergersnetwork.com
User avatar
R44
 
Posts: 569
Joined: Wed Jul 21, 2010 1:12 pm
Has thanked: 27 times
Been thanked: 41 times
Favourite Vehicle: MO-8205

Re: Front page photograph

Postby Fleet Lists » Wed Oct 12, 2011 7:14 pm

paulbrown3 wrote:suugestion for front page foto. would it be possible to add a note about the photo being displayed or a link to where the phot is.


The front page does not look any different but see what happens whenyou left click on the photo.
Living in the Shire.
User avatar
Fleet Lists
Administrator
 
Posts: 14573
Joined: Sat Mar 06, 2004 11:49 am
Location: The Shire
Has thanked: 507 times
Been thanked: 431 times

Re: Front page photograph

Postby Fleet Lists » Thu Oct 13, 2011 3:33 pm

Found a problem in that where a photo has been added to the gallery but it has not yet been added to the index file used for this facility, the script would display the wrong information about the photo concerned.

I have put in a fix for this, but twice I have found a situation where no photo at all is displayed in the home page but an error message about "Usedpics" is shown. I suspect this is caused by this fix. So I am now working on that.
Living in the Shire.
User avatar
Fleet Lists
Administrator
 
Posts: 14573
Joined: Sat Mar 06, 2004 11:49 am
Location: The Shire
Has thanked: 507 times
Been thanked: 431 times

Re: Front page photograph

Postby Fleet Lists » Thu Oct 13, 2011 4:09 pm

I have fixed that now.
Instead of trying to go back and find a further photo, any photo selected which has not yet been added to the file, will not have the link created.
Living in the Shire.
User avatar
Fleet Lists
Administrator
 
Posts: 14573
Joined: Sat Mar 06, 2004 11:49 am
Location: The Shire
Has thanked: 507 times
Been thanked: 431 times

Re: Front page photograph

Postby Fleet Lists » Mon Oct 17, 2011 1:00 pm

I have made some more changes to the software so that it will now only show photos where a link to the photo gallery is available.
Living in the Shire.
User avatar
Fleet Lists
Administrator
 
Posts: 14573
Joined: Sat Mar 06, 2004 11:49 am
Location: The Shire
Has thanked: 507 times
Been thanked: 431 times

Re: Front page photograph

Postby paulbrown3 » Mon Oct 17, 2011 4:02 pm

paulbrown3 wrote:suugestion for front page foto. would it be possible to add a note about the photo being displayed or a link to where the photo is.


Thankyou fleetlists. excellent work on the link
User avatar
paulbrown3
 
Posts: 1271
Joined: Tue Aug 01, 2006 11:37 pm
Has thanked: 5 times
Been thanked: 48 times

Re: Front page photograph

Postby Emm Kay Vee » Mon Oct 17, 2011 5:07 pm

Fleet Lists -

Is there any way of setting up a similar thing for the photo on the Fleet Lists page.

The random photo when I clicked on just now was of this bus: http://www.busaustralia.com/fleetlists/ ... UI&busreq= taken by Ben O, however I can't find it in the gallery. Or are the Fleet Lists homepage photo's taken from another source?

As a side note, an obsessive unit indeed!
Cadet Coach Captain

"Who the **** is Windy?"
User avatar
Emm Kay Vee
 
Posts: 4232
Joined: Wed Apr 21, 2004 8:16 pm
Location: 2MSJ Menai Depot
Has thanked: 136 times
Been thanked: 221 times
Favourite Vehicle: Mercedes Benz O500

Re: Front page photograph

Postby Fleet Lists » Mon Oct 17, 2011 6:58 pm

Unfortunately no it is not possible for the fleet lists home page at this stage.

However it has been implemented for the Random Photo Slideshow - so you can also click on the photos there for more information.

And in doing this I have been able to remove a hell of a lot of old dead code which related to the old photo galleries, etc, where the script could also get photos from those. But as they no longer exist, the code is no longer necessary so it has now been removed.Which will make it easier to maintain in the future.
Living in the Shire.
User avatar
Fleet Lists
Administrator
 
Posts: 14573
Joined: Sat Mar 06, 2004 11:49 am
Location: The Shire
Has thanked: 507 times
Been thanked: 431 times

Re: Front page photograph

Postby Hornibrook » Mon Oct 17, 2011 8:54 pm

Fleet Lists wrote:Unfortunately no it is not possible for the fleet lists home page at this stage.

However it has been implemented for the Random Photo Slideshow - so you can also click on the photos there for more information.

And in doing this I have been able to remove a hell of a lot of old dead code which related to the old photo galleries, etc, where the script could also get photos from those. But as they no longer exist, the code is no longer necessary so it has now been removed.Which will make it easier to maintain in the future.

This is now active on the Fleet Lists. All you need to do is click on the image ;)
User avatar
Hornibrook
 
Posts: 2328
Joined: Mon Mar 03, 2008 6:04 pm
Location: Brisbane
Has thanked: 30 times
Been thanked: 72 times

Re: Front page photograph

Postby Fleet Lists » Fri Oct 28, 2011 6:14 pm

I have made some minor changes to the software today as there was a problem where the file name of the photo contained an apostrophy - the software would not allow the size of the photo to be determined and hence there was a problem. This and a couple of other minor problems have now been fixed.

And fixed in such a way that the looking up of the photo will be faster as the photo size is now passed to the home page with the photo name and hence it does not need to go and find that itself each time a photo is to be shown.
Living in the Shire.
User avatar
Fleet Lists
Administrator
 
Posts: 14573
Joined: Sat Mar 06, 2004 11:49 am
Location: The Shire
Has thanked: 507 times
Been thanked: 431 times

PreviousNext

Return to News & Administration

Who is online

Users browsing this forum: No registered users and 1 guest