Forum
Ideas For UnrealSoftware Site
ohaz: It's public data API so i don't see reason to keep connection secure and HTTP will be faster, less stressful for server.
ohaz that HTTP should not be used anymore. It can be considered deprecated. Always use HTTPS instead if possible.Unreal Software actually still supports HTTP because CS2D doesn't support HTTPS. I don't understand my rewrite rule anymore though. lol.
1
2
3
4
5
2
3
4
5
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.unrealsoftware.de [OR]
RewriteCond %{SERVER_NAME} =unrealsoftware.de
RewriteCond %{HTTP_USER_AGENT} !^$
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
Regarding requesting multiple values at once: Will consider to implement that. Good idea.
Edit:
Added. You can now use "json" as "data" param to get all values as JSON.
https://www.unrealsoftware.de/dev.php
edited 1×, last 15.05.21 01:14:18 pm
Hajt has writtenHTTP will be faster, less stressful for server.
Consider listing the user modes somewhere, a way for us to convert the ID to text more easily.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
switch ($mode){
		case 0:return '<span style="color:#999">User</span>'; break;
		case 1:return '<span style="color:#955">Idiot</span>'; break;
		case 50:return '<span style="color:#999">Super User</span>'; break;
		case 51:return '<span style="color:#760">Gold User</span>'; break;
		case 52:return '<span style="color:#097">Supporter</span>'; break;
		case 53:return '<span style="color:#7D134B">Security Supporter</span>'; break;
		case 54:return '<span style="color:#E92">Reviewer</span>'; break;
		case 99:return '<span style="color:#070">Moderator</span>'; break;
		case 100:return '<span style="color:#090">Admin</span>'; break;
		case -97:return '<span style="color:#A00">GAME BANNED</span>'; break;
		case -98:return '<span style="color:#A00">COMMUNITY BANNED</span>'; break;
		case -99:return '<span style="color:#A00">BANNED</span>'; break;
		case -100:return '<span style="color:#A00">'.l('NICHT AKTIVIERT','NOT ACTIVATED').'</span>'; break;
	}
DC: Gold User? Supporter? Hah, what are those?Also, shouldn't the Idiot mode be something like -1?
Mami Tomoe has written@
DC: Gold User? Supporter? Hah, what are those?
DC: Gold User? Supporter? Hah, what are those?You get to unlock those as part of the 10th
anniversary tote bag every active user gets - you get to unlock all kinds of cool stuff like the red and blue colour schemes, an extended range of forum emoticons and access to experimental Stranded III builds. 5/7 would recommend
Mami Tomoe: Not all of these are in use. They currently have no meaning.Currently all negative modes mean "banned" / "no access". Therefore "idiot" can't be negative. Of course I could change that logic but there's no real reason to do so.
JamppaCK which has an animated avatar (GIF).That made me realise that GIFs were supported a few years ago, why were they removed? And is it planned to ever allow APNG or GIF avatars?
EDIT:
Also, I'd like to be able to request "days since registration" using the Unreal Software API.
The result would be a CSV of two values.
days,approximate
Example:
57,0
edited 2×, last 20.06.21 05:18:14 pm
Mami Tomoe has writtenI've recently stumbled across the user
JamppaCK which has an animated avatar (GIF).
That made me realise that GIFs were supported a few years ago, why were they removed? And is it planned to ever allow APNG or GIF avatars?
JamppaCK which has an animated avatar (GIF).That made me realise that GIFs were supported a few years ago, why were they removed? And is it planned to ever allow APNG or GIF avatars?
That was a bit of a discussion once, quite well summed up here:
1
https://unrealsoftware.de/users.php?raw&s=STARTOFFSET&c=COUNT
Mami Tomoe: I don't really like that behavior because requesting all users causes heavy load on the server and therefore definitely shouldn't be the "default" behavior.Just insert a super high number for
cand everything is fine.
DC: Can you make the forum collect in-game data? For example, when a player logs in-game with his U.S.G.N. account have his in-game IP recorded on the account. And maybe, also the steam id.
Kolia_rus: That wouldn't be complicated I guess but are you really still using RSS feeds?
Ideas For UnrealSoftware Site


Offline