After setting up my new webspace, I finally got this thing to work. And its pretty amazing!
Here you can see it
Down below I wrote some things I experienced trying out OpenLoad.
I do like the look of the standart template, but I made some changes, so it fits better to my server.
After saving it in a new folder under templates and mapping it in template.list.php, i changed the ?template=*** in sv_loadingurl to my new template. Now here’s where the curious starts: When I joined the server there seemed to be a 50/50 chance that either my template or the standart “strapquery” template loaded.
I fixed that bug by allocating the strapquery template to my new one in the template.list.php config, so it looks like this:
I need your help!
There are some features that I would like to implement in my loading screen.
The first one is realy simple, but I just don’t know how to do it:
I want that it says “Points” after the amount of pointshop points, so that players know these are their points.
How can I change my template or the src files to display that?
For my second question you need to know that I made screenshots of all my maps on the server, because the ones on gametracker have a very low resolution. I put them in a folder called “maps” and changed the openload.class.php so that it would load the image files from there (with the full web-path to my webspace).
Because the files are located on the same webspace as the loading screen, it would improve the loading time of the image if it would path to these automatically, instead of making an external connection to the same server to pull the image.
How can I change it, so the image will be loaded from my webspace directly? I tryed “…/…/maps/$this->mapname.png” but it didn’t work.
My third question is: Can I make it, so that the background of the loading screen changes either random or per map (make the map screenshot as background)? I know the background is set in the template.css file and you can’t use php commands there. So maybe I can somehow set the background in the index.html file? Again I don’t have any clue how to do that :).
I thank everyone who wants to help me and of course Svenskunganka for his great work!