RigsOfRods / rigs-of-rods

Main development repository for Rigs of Rods soft-body physics simulator
https://www.rigsofrods.org
GNU General Public License v3.0
1.01k stars 178 forks source link

New website - hosting + forum + other dynamic services #798

Closed ohlidalp closed 8 years ago

ohlidalp commented 8 years ago

Let's analyze and discuss what we need and expect from RoR's future website. The content and services of the website will largely determine the hosting parameters we'll be looking for. Further, our content gathered from the old website needs a lot of sorting and pruning work.

Required services:

Required static content

Static or dynamic? This content can be handled in 2 ways: Using a CMS/Wiki software (database, logins, permissions) or a github.io-style content management: create a github repository and manage the webpages as a project.

Work to be done

Stats TDev told me in skype-chat that rigsofrods.com's web traffic in January 2016 was 1.5TB/month. That's quite a bulk, considering the forum activity isn't so big.

Strykr1 commented 8 years ago

Since I have no idea where else to post this I'll post it here. I have a great offer that I encourage you all to take advantage of.

At the moment, I have business level hosting with my provider. I am able and willing to extend my web server to you guys for no cost whatsoever. I do not want to see RoR die and I also know that there are other people that do not want to see it die either. Yes, I know some people may not like me simply because I own Allied Gaming but I can assure you that if you decide to allow us to host Rigs of Rods, that there will be no involvement with Allied Gaming whatsoever.

mikadou commented 8 years ago

@only-a-ptr First of all thanks for negotiating with Tdev and leading the transition effort!

I assume you plan on gradually reestablishing the infrastructure starting with the forum? I believe the content repository and old forum backup should have a lower priority (and will certainly require alot more time and effort).

Forum Regarding forum software here is the outcome of my little research:

Summary: Despite my initial rejection of it, I'd currently prefer phpBB among the available opensource forum solutions.

AnotherFoxGuy commented 8 years ago

I've made a website here it runs 100% on PHP fusion

Features Forum. there is a simple forum. it doesn't feature anything special, it just does the job. Content repository. there is a Downloads section, once again it is nothing special.

Also, I don't see the advantages for us to have a static website. We don't have 7,790 people viewing the website at once and the differents in loading times are a few milliseconds

Static website chrome_2016-02-26_17-03-28 php fusion chrome_2016-02-26_17-04-03 (I've compared the download pages, because there is a lot of junk on the homepage that I've made)

Hiradur commented 8 years ago

Also, I don't see the advantages for us to have a static website. We don't have 7,790 people viewing the website at once and the differents in loading times are a few milliseconds

I suspect that the difference will get higher with more simultaneous accesses. Regardless, there are other reasons to choose static over dynamic:

having forum, repo and wiki separated also means the scope of a single attack is smaller.

@only-a-ptr I worry that a link-based repository has a negative impact on user experience:

mikadou commented 8 years ago

@AnotherFoxGuy I do greatly appreciate your efforts.

As @Hiradur already said, I don't think that site performance is the main argument for static HTML. I have to admit that I'm quite sceptical towards php-fusion. I did not find much (useful) information about it on the web and their support forum does not really look like a bustling place in my eyes. I fear there is a realistic possibility of unfortunately locking ourselves in with a single product if we choose to go with php-fusion.

Regarding the repository I have this vague idea. I'm a bit reluctant to share it because it is totally not realistic at this point in time, but anyway. I think it would be really cool to have something similar to package management in many Linux distributions. Imagine a core repository with just few high quality vehicles under a permissive license. Vehicles from the core repo are expected to work flawlessly with the latest RoR version (i.e. they are tested before a new release). This would take some burden from devs because there is a defined set of vehicles that must be made to work, either by hacking RoRs codebase or simply modifying the vehicle, whatever fits better. Less ugly workarounds for broken vehicle files. In addition there might be a community repository which contains a much larger number of vehicles (also using permissive license) and is moderated by a few community members. These vehicles are not guaranteed to work flawlessly with the latest version, but can be modified by the community to make them compatible. Finally there would still be the need for a repository which can hold all remaining vehicles with unclear license specification.

DirtGamer301 commented 8 years ago

@mikadou I just got this tiny idea while reading your post for the repository: I have no idea at all and it might just be a stupid thing coming in my mind now which I'll be shamed of tomorrow, but is the Ubuntu SoftwareCenters code open source? If so, it could probably be used as a base for the repository, it got all the Repo would need (I think, but as I said, I have hardly any idea of what I'm talking about).

monwarez commented 8 years ago

Maybe it's off topic, but it could be really great to have at least three topic for additional content(such as map, vehicle, ...) : the one with know proprietary license, an other with open source license , and finally one for unknown license

disloyalpick commented 8 years ago

https://domains.google.com/about/home/?utm_expid=87793071-1.pATaM0MLQqGW0IRNnbAJ1Q.1&utm_campaign=2016-q1-na-newdomainendings&utm_medium=social&utm_source=facebook&utm_content=manifesto&tld=business,company,guru,email,today&utm_referrer=https%3A%2F%2Fwww.facebook.com%2F

Check that out. Lokks cheap/affordable. I thought maybe someone would like to take a look

@only-a-ptr if it interests you, I thought I would mention you.

Hiradur commented 8 years ago

Maybe it's off topic, but it could be really great to have at least three topic for additional content(such as map, vehicle, ...) : the one with know proprietary license, an other with open source license , and finally one for unknown license

Yes, the repository should make clear what license the content is under and also offer an option to sort by license (category).

I like @mikadou's idea, I also thought about a package manager for mods once. It could also help save user disk space and traffic if it would check if textures etc. are already on the machine, though it may be too late to get that going with all the already existing mods and their possibly redundant names for different textures.

but is the Ubuntu SoftwareCenters code open source? If so, it could probably be used as a base for the repository, it got all the Repo would need (I think, but as I said, I have hardly any idea of what I'm talking about).

Not sure about the Ubuntu Software Center in particular but there are many open source package managers so it shouldn't be to hard to find one.

IMO research into package managers should only start when the rest of the website is established and stable.

RoRAustin commented 8 years ago

I'd like to give my two cents.

  1. The idea of a link-based system for a file repository is terrible for us. That's one major way to turn people away. I don't want to click a download button and then go through 5 different ad.fly links to download a simple .zip file. I know that storage is a major concern but it's worth it. A better repository than what we had is definitely a plus though especially if it is better moderated.
  2. Honestly I like the idea of a static home page that allows a person to see what the game is all about and download it without the clutter of a bunch of dynamic widgets that gather useless data from a forum. Something clean and professional that doesn't look like another vbAdvanced CMS.
  3. If any financial support is needed feel free to contact me. I've been a supporter of this game since 2007, I have no problem lending a hand to keep it going.
kskarthik commented 8 years ago

Hello, I am following this game since a long time. I have a few suggestions now regarding website.

  1. Github is best to host static website for the game. Existing website is cool !
  2. For the game binaries sourceforge is good since we have unlimited space.
  3. For discussions & support Google groups is best since I have seen many big Foss projects are using it.

These ideas are suggested keeping the cost effective way in mind.

GimmickNG commented 8 years ago

For the game binaries sourceforge is good since we have unlimited space.

IIRC sourceforge had an incident where they'd bundle adware along with the installer, I don't think they're doing that anymore, though.

kskarthik commented 8 years ago

In that case, github's large file storage can help I think.

Hiradur commented 8 years ago

In that case, github's large file storage can help I think.

Keep in mind that we are talking about >20gb of content and 1.5TB monthly traffic here. GitHub LFS offers 1GB space and 1 GB bandwidth/month for free. Since there is no way to get such high volume for free we can also host our own forum. This will give us much more control.

ohlidalp commented 8 years ago

Hi everybody.

Webhosting After a lot of thinking, I picked a webhosting for us:

Forum A next thing for us to decide a forum software. And, boy, what an ungrateful task this is. There are so many options and all of them flawed in a way. This is a general picture:

My preferences for the forum are simple:

Resources I'm looking into:

Feedback

To adress your posts:

ghost commented 8 years ago

PHP upload limit: 128M. Quite enough. We should focus on having slim and space-effective content rather than a lot of space for junk.

@only-a-ptr Only 128MB? Large map projects take up much more space than that - with Rockton 2016 taking up 160MB+ and the latest Community Map version on the forum takes 79MB, not including the changes @DarthCainRor did after that, which would probably skyrocket the size. This is 2016, we shouldn't be limited on size as much anymore.

ohlidalp commented 8 years ago

@hotrod55: Actually, Rockton is pretty much what I reffered to by "We should focus on having slim and space-effective content". While I appreciate Brickman's work, the content used there is just awful. The heavisest thing there are PNG textures (PNG...textures!!! In 2016!?!?! GIMP has a DDS plugin you know!) having up to 3MB and containing essentially un-edited photographs of building walls/uselessly detailed brickwall textures/other space-inconsiderable stuff. I didn't check the meshes, but I'd bet my neck they're converted without the "-e" flag, thus carrying a dead-weight of "edge-lists", useful only for stencil-shadows (obsoleted by both OGRE and RoR years ago). And did I mention auto-generated LODs (OgreXMLconverter's default is IIRC 5) which are essentially duplicates of the geometry, and for mostly-boxy models, they're useless? More deadweight.

TLDR: If the content file has more than 100G, then something's wrong with it.

Of course, I admit the 128M isn't much. But at the same time, none of our downloads should really exceed that. If a map uses so much objects, then those should be separated out to some mesh-pack to share among multiple maps

DarthCainRor commented 8 years ago

The Community map as it is on my hard Drive is currently 128Mb, All of the images are DDS and the map has one of the biggest areas to cover that I'm aware of in RoR at 18Km x 18Km, and it still has a long way to go to even cover parts of the map. https://i.gyazo.com/173adfb741a051e5c0499bebdb05e11b.png

ohlidalp commented 8 years ago

@DarthCainRor Ok, I admit, map of this size won't fit under 128MB. In fact, if I read the screenshot correctly, it will even hardly fit under 1GB. Questions: Is it a mesh-only map, or does it use heightmap? If yes, what's the heightmap size alone?

DarthCainRor commented 8 years ago

As it is right now, there is no height map, and is mesh only. At some point, it might get a height map, but it will probably remain mesh only for quite some time.

fidoj commented 8 years ago

@only-a-ptr 128mb is to low my remade map at its smallest is 72mb and i would still like to add content. we should encourage people to make dense and detailed mods for ror, and that would include full city's, especially if we want to progress ror and make it valid in today's "market". as for shared content you first need the content to share people cant make maps full of nothing. and everything made prior is content locked into packs. so that's all of us making content so it might be used by someone maybe one day once maybe, not to mention mesh theft from ror, heavy limiting factor in users making content of that quality unless its claimed and owned by content creator X. the idea of ror outright claiming ownership and content locking is against its gnu. so why would i want to spend 20 days working on something that hasnt got my name linked to it and any nfs/lfs/gta console boy can rip and claim ownership off. ror cant claim ownership over anything.

ohlidalp commented 8 years ago

@fidoj @DarthCainRor @Hotrod55 The 128M limit only restricts uploads thru PHP scripts (forum).

What about FTP accounts made individually for projects/teams who require larger space? My preffered hosting provider allows unlimited extra FTP accounts into separated directories. FTP might even be more comfortable for uploading big packages (PHP uploads often lack any progress-indicator)

fidoj commented 8 years ago

@only-a-ptr could that be an optional flag as in-line "upload through ftp" what you do is call a script to upload to a public directory on the server a "holding zone" then wait for admin/mod to move it to a linkable directory and activate the forum thread/repo download

ohlidalp commented 8 years ago

@fidoj Repository uploads will be approved by repo admins of course.

FTP uploads should be on written request only. I see no benefit in opening this to wider public, even if there's post-upload approval.

nick149 commented 8 years ago

Have you checked out drupal forums? I have used Drupal before (not the forum but will be checking it out soon) Setup On Youtube

mikadou commented 8 years ago

My preferences for the forum are simple:

  • Forums/threads like in traditional PhpBB
  • Slim, bloat-free posts: No sigs, no repetitive data under user's avatar, no thick "post tools" panels - just thin text box and that's it.
  • Attachments: images and files. Simple formatting utilities.
  • Bloat-free HTML/CSS output. Minimum of JS. No image popup galleries, just plain links. Simple maintenance

@only-a-ptr What's wrong with phpBB? To me FluxBB is not an option after looking at some of its code. The remaining alternative MyBB would be ok, although the following points should be considered.

@nick149 A few years ago I had a website (for testing purposes) setup with Drupal. About one year after I stopped maintaining it, it was hacked. However, this is probably a problem that every popular web application will suffer from.

ohlidalp commented 8 years ago

@mikadou Thx for the feedback. I decided agains phpBB3 because according to reviews I read, it has complicated maintenance and confusing admin panel. Admittably, those resources might have been out of date. I have zero experience installing/administering any forum, so I can't really make a qualified decision.

At the moment, there's already a test installation of MyBB (link is private!). The theme is good enough and it appears the stable MyBB is still actively supported: http://docs.mybb.com/versions/1.8.7/. Honestly, at the moment I have no energy to invest into evaluating another forum (my daily job happened), so I'd like to just close this task. And, I personally like MyBB.

@nick149 Drupal (or any other CMS of this scale) is a no-go. Pointlessly complex for our needs. And according to most feedback I got, PITA to maintain.

wilkgr76 commented 8 years ago

I'm willing to try to do this, but there's the question if you trust me with this :wink:

We need an enthusiastic programmer to write a couple scripts to prune and polish the pages: Duplicate/useless pages from links like "first unread; user profile; last post" should be removed. The helper links like "first unread; last post" should be removed. Further, we need to selectively remove threads which contain outdated info or are useless in any other way.

ohlidalp commented 8 years ago

This issue is resolved. Webite is online and hosted by Avrintech.

For more info, see http://forum.rigsofrods.org/thread-496.html