Forum

Request: Hide serie...
 
Notifications
Clear all

Request: Hide series

6 Posts
2 Users
0 Likes
4,546 Views
 Cele
(@cele)
Posts: 3
Active Member
Topic starter
 

Hi guys, I have a question. I entered one of the series that in my team are still in the test. Is there a way to hide and not show them in the list via the iframe statistics of the Last index

 
Posted : 15/09/2014 3:24 pm
Achim Ennenbach
(@achim)
Posts: 3797
SimSync PRO Developer Admin
 

You are right. At the moment you can't hide a specific series. You can only do it "the other way around"... That means you can use the parameter "prefix" to show only series that start with the text defined at prefix.

Example: https://websync.simsync.de/status.php?cid=NTMy&detail=lastindex&timeoffset=0&css=<b>&prefix=RSR</b>
This uses the prefix "RSR" to only show series in the status page which start with "RSR". Series that do not start with that text are not displayed.

For the moment there is no other solution, but i will put that on my Todo list ... 😉

 
Posted : 16/09/2014 10:23 am
Achim Ennenbach
(@achim)
Posts: 3797
SimSync PRO Developer Admin
 

Just implemented a small improvement.
Instead of adding only 1 prefix, you can now add a whole bunch of prefixes.

Example:
This is what you already know:
https://websync.simsync.de/status.php?cid=NTMy&detail=lastindex&timeoffset=0&css=<b>&prefix=rsr</b>

Try it >> https://websync.simsync.de/status.php?cid=NTMy&detail=lastindex&timeoffset=0&css=&prefix=rsr

Using 2 prefixes by changing the parameter name from prefix to prefix[] (which makes it actually to an array)
https://websync.simsync.de/status.php?cid=NTMy&detail=lastindex&timeoffset=0&css=<b>&prefix []=Sko</b><b style="color:red;">&prefix[]=rsr</b>

Try it >> https://websync.simsync.de/status.php?cid=NTMy&detail=lastindex&timeoffset=0&css=&prefix []=Sko&prefix[]=rsr

The last example will display all series starting with "RSR" or "SKO" (case insensitive).

 
Posted : 16/09/2014 2:38 pm
 Cele
(@cele)
Posts: 3
Active Member
Topic starter
 

:adore awesome :adore

Thank you very much. Fantastic! It really works as I wanted! 😀

If I may, I would have two little questions.

1 waiting for a response, I created this "copy" custom by me (bold added, repeating the line "Series", removed the tag [rfactor], etc.). Is there some kind of way to customize? If so, how?
( http://rsr-gaming.org/simsync_status.html)

2 (little off-topic) I wrote to add my team in the "Our customer," but received no reply. It can be inserted? If so, what is the procedure?

Again, thank you so much, I did not really words to describe my satisfaction!

 
Posted : 17/09/2014 3:36 pm
Achim Ennenbach
(@achim)
Posts: 3797
SimSync PRO Developer Admin
 

You can use the "&css=" parameter to add a link to an external css file which should be applied for formatting.

Another would be to create an own page and to get the data via JSON.

The following url will fetch the data from our site in JSON format:
https://websync.simsync.de/status.php?cid=NTMy&detail=lastindex&timeoffset=0&css=&prefix []=Sko&prefix[]=rsr&type=json
See the "&type=json" at the end.

If you use the above url to read the data from our site and use php (for example) to build a new page with this data than everything is possible.
Using Javascript AJAX is also an idea, but it will not work due to cross site scripting restrictions.

 
Posted : 17/09/2014 7:28 pm
Achim Ennenbach
(@achim)
Posts: 3797
SimSync PRO Developer Admin
 

Just forgot your second question ...
Send me your leagues logo in size 88px x 31px by pm and i'll add it to our "Our customers" box. 😉

 
Posted : 18/09/2014 10:23 am