Send an answer to a topic: Site updates
antp
@Walter > to add related makes, you can simply edit the description of makes and put some text with links, using the same syntax as comments.
e.g.:
https://www.imcdb.org/vehicles.php?make=Suzuki
https://www.imcdb.org/vehicles.php?make=Land-Rover
https://www.imcdb.org/vehicles.php?make=Rover
Thanks for the bugs reports, I'll check and fix these (possibly only tomorrow).
@Sandie > you mean the search for a make or the search on a model?
e.g.:
https://www.imcdb.org/vehicles.php?make=Suzuki
https://www.imcdb.org/vehicles.php?make=Land-Rover
https://www.imcdb.org/vehicles.php?make=Rover
Thanks for the bugs reports, I'll check and fix these (possibly only tomorrow).
@Sandie > you mean the search for a make or the search on a model?
Sandie
The search function on the add vehicle page doesn't work now (might only be me who uses this to check they are adding the right info though) as it returns no results.
walter.
I've noticed that under each vehicle name it just says for example "Class: sedan" instead of "Class: Cars, sedan" as it used to be.
Oh, I've just found another bug: when searching for same model/chassis code by clicking on them, from page 2 on it says "error: make not found".
How can we add the related makes? I'm thinking about FAW-Audi or FAW-Volkswagen. I like that.
Oh, I've just found another bug: when searching for same model/chassis code by clicking on them, from page 2 on it says "error: make not found".
How can we add the related makes? I'm thinking about FAW-Audi or FAW-Volkswagen. I like that.
antp
I'll unlock the site for changes, since it seems to work.
Please report here any error / weird behavior that you notice.
Please report here any error / weird behavior that you notice.
antp
Update done. Please report here any error that you notice.
The changes:
Instead of just having the make name as a text field in the vehicle info, now the makes are stored in a separated table, and each vehicle is linked to a make.
This should improve performance on the long term (as the site is growing), and allows to have some info displayed on the make page.
On the home page https://imcdb.org/ the list of makes is similar as before.
Now for each make there is an option to select if it should appear there or not (before, that list was updated by me once in a while based on the amount of vehicles in it, but some less popular makes on the site may be more worth including there than others. It would still be better to try staying around 250 makes there.
If you check "Triumph" in the list, you'll notice that now the cars and motorcycles are finally split, as they are different companies:
Cars: https://imcdb.org/vehicles_make-Triumph.html
Motorcycles: https://imcdb.org/vehicles_make-Triumph-mc.html
You can see here that each make can include a descriptive text, a link to Wikipedia, and a logo, making the make page a little more cheerful (later I'll maybe add possibility to have a logo gallery, for now one is already nice).
This will have to be done manually for each make, we/I can update them one by one on the main site when we've time.
I also updated the two Sterling pages for the example:
Trucks: https://imcdb.org/vehicles_make-Sterling.html
Cars: https://imcdb.org/vehicles_make-Sterling-Rover.html
I've already downloaded a few logos that I'll set now, I'll continue to do that today and tomorrow to try to put some more logos and info. Currently only one logo can be set per make, I'll see later how I could improve that to have a gallery of old logos.
Please don't include images in the makes info, as the script that cleans unused comment pictures would not detect them there. I'll see for adding that later.
One big interest of having a description on the make page is that we can link between related makes. Here on the Sterling (Rover) page I included a link to the Rover page, and the other way round the link to Sterling on the main Rover page, so visitors know that some of the vehicles are also sold under other names. This can be especially useful for Chinese join-ventures that many makes create.
As you may notice, to differentiate makes sharing a same name, each make has a unique identifier. So a car listed as Sterling 825 like https://imcdb.org/vehicle_901333-Sterling-825-XX.html will have its full name correctly displayed as just Sterling, but the search links include the unique identifier, which I named here "Sterling-Rover": https://imcdb.org/vehicles_make-Sterling-Rover_model-825.html (I still have to fix the title of this page to display the make name instead of its identifier).
The complete make list has also been updated, with a filter for easier search: https://imcdb.org/makes.php
That change means that now when adding/editing a vehicle the make is not stored as text, but just an identifier to the make is kept. For you it does not change much, it should even be easier, as there is an autocomplete text box when you enter the make. You can then pick the appropriate make in the list. If you don't, when saving it will try to find the make that matches the name that you entered, and display an error if no make is found.
For case of new makes, from the home page or from the makes list, there is a link to add a new make. This operation can only be done by admins.
That will avoid having "typo new makes", as we sometimes have.
There are maybe some to clean. I try to check that from time to time but I may miss some.
The code of the search and vehicle list page has been cleaned, as it was an old mess from years ago, but there should not be visible changes. A new option to find the vehicles without model names was added, previously when clicking on the "(none)" link of a make page it was listing all, now there is a possibility to see just these. And there are still links to see all models from the makes page.
Other improvements include how IP ban are handled and options to set header message more easily, but that's a feature just for me
The changes:
Instead of just having the make name as a text field in the vehicle info, now the makes are stored in a separated table, and each vehicle is linked to a make.
This should improve performance on the long term (as the site is growing), and allows to have some info displayed on the make page.
On the home page https://imcdb.org/ the list of makes is similar as before.
Now for each make there is an option to select if it should appear there or not (before, that list was updated by me once in a while based on the amount of vehicles in it, but some less popular makes on the site may be more worth including there than others. It would still be better to try staying around 250 makes there.
If you check "Triumph" in the list, you'll notice that now the cars and motorcycles are finally split, as they are different companies:
Cars: https://imcdb.org/vehicles_make-Triumph.html
Motorcycles: https://imcdb.org/vehicles_make-Triumph-mc.html
You can see here that each make can include a descriptive text, a link to Wikipedia, and a logo, making the make page a little more cheerful (later I'll maybe add possibility to have a logo gallery, for now one is already nice).
This will have to be done manually for each make, we/I can update them one by one on the main site when we've time.
I also updated the two Sterling pages for the example:
Trucks: https://imcdb.org/vehicles_make-Sterling.html
Cars: https://imcdb.org/vehicles_make-Sterling-Rover.html
I've already downloaded a few logos that I'll set now, I'll continue to do that today and tomorrow to try to put some more logos and info. Currently only one logo can be set per make, I'll see later how I could improve that to have a gallery of old logos.
Please don't include images in the makes info, as the script that cleans unused comment pictures would not detect them there. I'll see for adding that later.
One big interest of having a description on the make page is that we can link between related makes. Here on the Sterling (Rover) page I included a link to the Rover page, and the other way round the link to Sterling on the main Rover page, so visitors know that some of the vehicles are also sold under other names. This can be especially useful for Chinese join-ventures that many makes create.
As you may notice, to differentiate makes sharing a same name, each make has a unique identifier. So a car listed as Sterling 825 like https://imcdb.org/vehicle_901333-Sterling-825-XX.html will have its full name correctly displayed as just Sterling, but the search links include the unique identifier, which I named here "Sterling-Rover": https://imcdb.org/vehicles_make-Sterling-Rover_model-825.html (I still have to fix the title of this page to display the make name instead of its identifier).
The complete make list has also been updated, with a filter for easier search: https://imcdb.org/makes.php
That change means that now when adding/editing a vehicle the make is not stored as text, but just an identifier to the make is kept. For you it does not change much, it should even be easier, as there is an autocomplete text box when you enter the make. You can then pick the appropriate make in the list. If you don't, when saving it will try to find the make that matches the name that you entered, and display an error if no make is found.
For case of new makes, from the home page or from the makes list, there is a link to add a new make. This operation can only be done by admins.
That will avoid having "typo new makes", as we sometimes have.
There are maybe some to clean. I try to check that from time to time but I may miss some.
The code of the search and vehicle list page has been cleaned, as it was an old mess from years ago, but there should not be visible changes. A new option to find the vehicles without model names was added, previously when clicking on the "(none)" link of a make page it was listing all, now there is a possibility to see just these. And there are still links to see all models from the makes page.
Other improvements include how IP ban are handled and options to set header message more easily, but that's a feature just for me
antp
Starting update now.
Some errors may appear while the update is done.
Some errors may appear while the update is done.
antp
Maintenance scheduled later today or tomorrow (depending on when I have time), the site will be locked for changes for one or two hours, to apply the changes that were under test in the last week.
The main change is a better handling of the makes, with a predefined list of makes and specific info for each make. This will also allow additional make-related features in the future.
The main change is a better handling of the makes, with a predefined list of makes and specific info for each make. This will also allow additional make-related features in the future.
antp
Discussion about forum issues was split to a new thread:
https://imcdb.opencommunity.be/forum_topic-9976-93856.html#p93856
This one is about the site itself, for changes made to it.
https://imcdb.opencommunity.be/forum_topic-9976-93856.html#p93856
This one is about the site itself, for changes made to it.
antp
Discussion about images submission split to a new thread: https://imcdb.opencommunity.be/forum_topic-9967-93534-Submitting_images.html#p93534
antp
Minor update, following a request received, now in the page that appears when one uploads a picture for comments you can simply press the Enter key to copy that URL to clipboard (in addition to Ctrl+C or the "Copy" button at is side).