J0hnHawk / FS17_WebStats

Statuswebseite für Farming Simulator 17 - Demo at:
http://j0hnhawk.bplaced.net/
GNU General Public License v3.0
6 stars 0 forks source link

Default settings + 2 tips #65

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hello, Would you be able to set default language and style settings? Example: czech and bootstrap style

For all visitors.

Thanks JanSe

ghost commented 6 years ago

One more tip: template/husbandry.tpl Line:11,94 Change:

OLD:    
<strong>{$animalPlant}</strong>
NEW:
<strong><a href="index.php?page=factories&object={$animalPlant}">{$animalPlant}</a></strong>

:)

ghost commented 6 years ago

Next tip: :) templates/production.tpl Line:65-71

**Original**
                        </div>
                        <div class="col-sm-3">
                            <p class="pull-right">
                                <a href="index.php?page=production&hide={$plantName|base64_encode}"><span class="glyphicon glyphicon-eye-close"></span> ##HIDE##</a><br>
                                <a href="index.php?page=factories&object={$plantData.i3dName}"><span class="glyphicon glyphicon-eye-open"></span> ##MORE_DETAILS##</a>
                            </p>
</div>

**Change to:**
                            <p class="pull-left">
                                <a href="index.php?page=production&hide={$plantName|base64_encode}"><span class="glyphicon glyphicon-eye-close"></span> ##HIDE## </a>
                            </p>
                            <p class="pull-right">
                                <a href="index.php?page=factories&object={$plantData.i3dName}"><span class="glyphicon glyphicon-eye-open"></span> ##MORE_DETAILS##</a>
                            </p>
                        </div>
ghost commented 6 years ago

preview vystrizek

alex83we commented 6 years ago

das haben wir doch schon so und ich finde es so wie es jetzt ist besser

ghost commented 6 years ago

This is better for mobile control...

alex83we commented 6 years ago

ja dann kann man das bei mobilen ansichten ändern und das soll mit der 1.5 kommen

alex83we commented 6 years ago

56

J0hnHawk commented 6 years ago

I'll add the link to factory on animal page with the next commit.

I could add an option to set the default language and style while installation in version 1.5 . Problem is, the default language must contain all translations in the map config and website. If not an error could occur.

Moving the links in production overview from right to bottom might be an option. On my phone both links are on the right side under the products.

In the meantime, if someone don't like my default styles, just copy them to a new folder, change the name in style.cfg and modify the style like you want. ;-P

alex83we commented 6 years ago

Genau so sehe ich das auch ich glaube die styles sind vollkommen okay, und bei meinem Samsung s8 sind sie auch unter den Produkten.

Und wie gesagt man kann auch nicht alle Darstellungen in der mobilen Ansicht und auf jedem Gerät zu 100% optimieren.

Ich glaube da sollte sich jemand selber die Arbeit machen und es für sich anpassen denn man darf nicht vergessen das wir das in unserer Freizeit machen und nicht beruflich und völlig kostenlos.

Meine Kartenkonfigurationen sind teilweise nur in Deutsch denn ich denke das sich jemand seine Sprachen selber anpassen kann, wenn er unbedingt eine andere Sprache möchte.

ghost commented 6 years ago

I also help you in my spare time and completely free of charge. It did not matter, it was just an idea.

I have my own modified style ...

I close ...

alex83we commented 6 years ago

Ja das ist ja auch okay nur wäre die idee hier #56 besser aufgehoben gewesen.

war ja auch keine Kritik an dich agrofs17

J0hnHawk commented 6 years ago

I'll reopen this issue. I think setting the default language during installation is a useful option. If translations are missing, the program could use the ingame names for triggers or commodities and the names of the placeholders (##TEXT###) on the website. Setting the style during installation is completely uncritical. And if someone doesn't want the users to be able to change it, you simply delete the other styles.

Oh, and please don't get me wrong. I am happy about the tips and help with the website!

I just wanted to say that if someone is totally unhappy with the things I've created or a program change takes too long: WebStats is hopefully modifiable enough to adapt it to your own wishes.

ghost commented 6 years ago

OK, i'm glad i can help with webstats. :) 👍