CPdB v2

Our pioneering project aims to identify and catalogue every crash photo in racing history. We cannot do it alone, so if you have any spare time, view this forum and sign up to help!
Post Reply
User avatar
PTRACER
Forum Administrator
Forum Administrator
Posts: 42115
Joined: 20 years ago
Real Name: Paul
Favourite Motorsport: Formula 1
Favourite Racing Car: Lotus 49
Favourite Driver: Gilles Villeneuve, James Hunt
Favourite Circuit: Nordschleife
Car(s) Currently Owned: Mitsubishi Lancer Evo X JDM
Contact:

CPdB v2

#1

Post by PTRACER »

Well, I started this project about midday yesterday and nearly 24 hours later I am pretty much done.

It has received a complete overhaul and has some new features which I hope you will enjoy. I will post a full changelog tomorrow. In the meantime, please leave feedback below (good and bad).

Link: http://www.the-fastlane.co.uk/cpdb/

----------------------

Update:

Changelog
- New, more modern theme which fits with the colours of the forum.
- New field: "Track Type". You can now search by Oval, Street Course etc.
- Circuits now searchable from the main 'crashphotos' list
- Tags are also now fully searchable
- A new warning system is in place - any unpleasant images are now completely hidden unless you click a button
- As a result, the "Safe" version of the CPdB has been retired
- Many changes under the hood, including compatibility with php7.x
- it now works on mobile devices!

Data changes
- Fixed a few entries where the images were not properly wrapped with "warning1.gif" and "warning2.gif"
- Photo Credit section fixed - all entries are now separated with a ; for easy export later
- Removed/fixed all duplicate entries

Still to do:
- Mobile version needs some work
- 88 entries are missing a track type
- Remove some unnecessary tags (E.g. Private Test and Speed Record Attempt)
- Remove some unnecessary Series types (E.g. Historics, Private Test, Unknown)
- "Updated By" not working for new entries
Developer of the 1967v3 Historic Mod for Grand Prix Legends: viewtopic.php?t=17429

King of the Race Track, Destroyer of Tyres, Breaker of Lap Records
User avatar
hollie3sa
Senior Member
Senior Member
Posts: 2992
Joined: 9 years ago

#2

Post by hollie3sa »

Image

That's how it looks in my browser. Is it caused by the website?
User avatar
PTRACER
Forum Administrator
Forum Administrator
Posts: 42115
Joined: 20 years ago
Real Name: Paul
Favourite Motorsport: Formula 1
Favourite Racing Car: Lotus 49
Favourite Driver: Gilles Villeneuve, James Hunt
Favourite Circuit: Nordschleife
Car(s) Currently Owned: Mitsubishi Lancer Evo X JDM
Contact:

#3

Post by PTRACER »

Fixed. It was a problem with my web code and Edge browser.
Developer of the 1967v3 Historic Mod for Grand Prix Legends: viewtopic.php?t=17429

King of the Race Track, Destroyer of Tyres, Breaker of Lap Records
mattia2
Platinum Member
Platinum Member
Posts: 795
Joined: 7 years ago
Real Name: Mattia
Favourite Motorsport: Motogp and WSBK + everythin classic
Favourite Racing Car: Lotus 98T
Favourite Driver: Kevin Schwantz
Favourite Circuit: VIR
Contact:

#4

Post by mattia2 »

Image


I just point this out, on my ultrawide monitor the new menu bar doesn't appear correctly. I know, isn't that important but i think it's the right thing to point it out
User avatar
PTRACER
Forum Administrator
Forum Administrator
Posts: 42115
Joined: 20 years ago
Real Name: Paul
Favourite Motorsport: Formula 1
Favourite Racing Car: Lotus 49
Favourite Driver: Gilles Villeneuve, James Hunt
Favourite Circuit: Nordschleife
Car(s) Currently Owned: Mitsubishi Lancer Evo X JDM
Contact:

#5

Post by PTRACER »

mattia2 wrote: 4 years ago Image


I just point this out, on my ultrawide monitor the new menu bar doesn't appear correctly. I know, isn't that important but i think it's the right thing to point it out
The menu bar is set to 100% width, so it will stretch from left to right on all monitors.

I could probably set a maximum width of 1920px for ultra widescreens, unless you can live with it...
Developer of the 1967v3 Historic Mod for Grand Prix Legends: viewtopic.php?t=17429

King of the Race Track, Destroyer of Tyres, Breaker of Lap Records
acerogers58
Advanced Member
Advanced Member
Posts: 1955
Joined: 5 years ago

#6

Post by acerogers58 »

It seems that when you put something under warning, it cuts part of the picture off, for example this entry I added here.

http://www.the-fastlane.co.uk/cpdb/cras ... itid1=5130

The rest of the photos aren't affected, and I did check the original files which aren't cut off, neither is the direct link to the picture.
User avatar
PTRACER
Forum Administrator
Forum Administrator
Posts: 42115
Joined: 20 years ago
Real Name: Paul
Favourite Motorsport: Formula 1
Favourite Racing Car: Lotus 49
Favourite Driver: Gilles Villeneuve, James Hunt
Favourite Circuit: Nordschleife
Car(s) Currently Owned: Mitsubishi Lancer Evo X JDM
Contact:

#7

Post by PTRACER »

acerogers58 wrote: 4 years ago It seems that when you put something under warning, it cuts part of the picture off, for example this entry I added here.

http://www.the-fastlane.co.uk/cpdb/cras ... itid1=5130

The rest of the photos aren't affected, and I did check the original files which aren't cut off, neither is the direct link to the picture.
Which parts of the picture are cut off?

The images are meant to resize to 100% of the "box" which they are sitting in, in this case the 'warning' photos seem a little smaller than the non-warning ones.

EDIT: Ah, i see from the original now. And actually, inside that box, the image is set to a width of 1024px, not 100%. I will make the necessary adjustments to the code when I get home tonight. Thanks for pointing that out :thumbsup:
Developer of the 1967v3 Historic Mod for Grand Prix Legends: viewtopic.php?t=17429

King of the Race Track, Destroyer of Tyres, Breaker of Lap Records
Post Reply