Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (775)
Games in Android Showcase (230)
games submitted by our members
Games in WIP (856)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2] 3
  ignore  |  Print  
  SMF is falling apart.  (Read 49065 times)
0 Members and 1 Guest are viewing this topic.
Offline CodeMason
« Reply #30 - Posted 2015-11-19 23:52:20 »

Preview post also isn't working, it just sits on "Fetching preview..."
Offline Riven
Administrator

« JGO Overlord »


Medals: 1356
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #31 - Posted 2015-11-20 07:45:45 »

Works for me. Which browser are you using?

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline nsigma
« Reply #32 - Posted 2015-11-20 10:45:36 »

Works for me. Which browser are you using?

Well, can't answer for @CodeMason, but @basil_ and I have both mentioned this earlier in this thread as an issue on Firefox.  Hope that helps.  Happy to test anything / attempt debug if necessary.

Praxis LIVE - hybrid visual IDE for (live) creative coding
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline CodeMason
« Reply #33 - Posted 2015-11-20 11:11:53 »

It doesn't work on Firefox 42 (on linux, if that helps).
Offline CodeMason
« Reply #34 - Posted 2015-11-20 11:12:56 »

On Chrome 46.0.2490.86 (64-bit, also linux), it works just fine.
Offline Nate

« JGO Bitwise Duke »


Medals: 167
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #35 - Posted 2015-11-26 13:31:56 »

Fonts too small on mobile. It's why I don't visit much anymore. Scrolling back and forth every sentence is too tedious.

Offline cylab

JGO Kernel


Medals: 188



« Reply #36 - Posted 2015-11-26 16:09:40 »

I just bought a bigger phone:

Wink

Mathias - I Know What [you] Did Last Summer!
Offline Nate

« JGO Bitwise Duke »


Medals: 167
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #37 - Posted 2015-11-29 17:21:26 »

Heh, my phone is already a Samsung Note 2. 720 x 1280 isn't terribly unreasonable. I don't think a higher resolution would fix it, the text would still be tiny and zooming in so I could read would still mean panning left and right for every sentence.

I see there are <meta name="viewport-test" ...> tags in the HTML, so Riven has probably already tried that out. There is probably something that could be done without dorking around too much in SMF-land.

Offline cylab

JGO Kernel


Medals: 188



« Reply #38 - Posted 2015-11-29 22:54:34 »

While my post was a joke, the higher resolution does help. I only zoom and scroll left and right on the topic list now. Reading threads is well manageable in 1080.

But me too would appreciate a bigger font on mobile.

Mathias - I Know What [you] Did Last Summer!
Offline Riven
Administrator

« JGO Overlord »


Medals: 1356
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #39 - Posted 2015-12-03 19:57:57 »

I have come to the conclusion that SMF is a lost cause. Pointing

Even when I'd continue fixing the bugs, it would mean I'd invest even more in a forum that is showing its age (apart from having a crappy PHP backend). The generated HTML more or less rules out any modern look.

I am exploring the options, and once I have anything to show, I will share it with you as early as possible. I will also open source the backend as a github repository. We'll see what a bit of cooperation can do for JGO! Smiley

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Online jonjava
« Reply #40 - Posted 2015-12-08 05:37:15 »

I have come to the conclusion that SMF is a lost cause. Pointing

Even when I'd continue fixing the bugs, it would mean I'd invest even more in a forum that is showing its age (apart from having a crappy PHP backend). The generated HTML more or less rules out any modern look.

I am exploring the options, and once I have anything to show, I will share it with you as early as possible. I will also open source the backend as a github repository. We'll see what a bit of cooperation can do for JGO! Smiley

So the idea is to keep the front untouched making/getting a new backend and link it with the front? Seems like a good choice keeping all the archives and data in tact.

Updates on the backend choice or custom made? Have you already started? Keeping the old database or relocating? Probably MySQL?

Been working a lot with NodeJS which has proven the past few years to be an all round solid choice so that'd be my suggestion (and area of expertise).

Offline CommanderKeith
« Reply #41 - Posted 2015-12-08 07:30:03 »

Your efforts are greatly appreciated Riven.

Of course I wouldn't expect one person to attempt this by themselves, but is it too crazy to suggest making our own forum in java or adapting the jforum2 software to our needs?

https://code.google.com/p/jforum2/

The Sims 3 forums are based on jforum and are quite beautiful:

http://forum.thesims3.com/jforum/forums/list.page

The jforum2 project is not being actively developed. It is in bug-fix mode. However, it is complete. It's the best java forum software that I could find.

Offline Riven
Administrator

« JGO Overlord »


Medals: 1356
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #42 - Posted 2015-12-08 09:56:11 »

There will be a new frontend and a new backend, as both are in a deplorable state. Pointing

We need something more modern, although there will always be a culture shock when new styling is applied. People might revolt, before lovin' it Smiley

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline nsigma
« Reply #43 - Posted 2015-12-08 10:29:48 »

We need something more modern, although there will always be a culture shock when new styling is applied. People might revolt, before lovin' it Smiley

Make it responsive and we'll all be lovin' it from the get go!  Grin

Praxis LIVE - hybrid visual IDE for (live) creative coding
Offline Riven
Administrator

« JGO Overlord »


Medals: 1356
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #44 - Posted 2015-12-08 11:43:43 »

Oh, it will be responsive. With a proper DOM structure it isn't too much work.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline thedanisaur

JGO Knight


Medals: 59



« Reply #45 - Posted 2015-12-08 17:38:46 »

People might revolt, before lovin' it Smiley

*begins sharpening pitchfork*

Every village needs an idiot Cool
Offline Cero
« Reply #46 - Posted 2015-12-09 04:26:16 »

Glad to see SMF finally go. <3

Offline CommanderKeith
« Reply #47 - Posted 2015-12-09 10:42:30 »

There will be a new frontend and a new backend, as both are in a deplorable state. Pointing

That's a Herculean task! I don't doubt that you can do it, but you shouldn't feel obliged to bear it solo. Feel free to farm out any dreary jobs to us.
For example, will you carry over all of the old forum posts and personal messages? I imagine that would be a nightmare, but something that we could help with once the new back end design is settled.

Offline ags1

JGO Kernel


Medals: 367
Projects: 7


Make code not war!


« Reply #48 - Posted 2015-12-09 11:21:17 »

I imagine the initial conversion should be done by one person. Onward maintenance can be open-sourced.

Offline Riven
Administrator

« JGO Overlord »


Medals: 1356
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #49 - Posted 2015-12-09 13:04:42 »

When you think of it, a forum is really limited in functionality.

About 90% of the user interfaces are only accessible by the admin.
About 95% of the user interfaces are only accessible by the mods.
If you did the 'math', you guys ('regular members') see about 5% of SMF's UI, which is the part that initially has to work in the revamped forum.

When you think of it, the UBB parser (responsible for turning your
[i]
into
<i>
) is the only complex thing you'll encounter, as UBB is quite a messy standard, given that an AST has to be built with different parsing-rules per tag-type. It also has to be able to process garbage and gracefully continue parsing. The good news is that that part is done already. SoonTM we will have (near) realtime-previews of the post you are typing.

The data model is simple, there are only 20-30 tables, which have simple relationships. The complex part is really the templating and the separation of concerns of serverside vs. clientside). With modern clientside templating engines like Angular / Knockout / React, things become exponentially simpler.

With control over the backend implementation, it's actually quite easy to make most of today's forums functionality less... stupid. Once you follow a topic or participate in it, it should take priority in the unread-topics listings, say: Followed > Participated (ordered by, say, awarded medals, desc) > [everything else]. Things like infini-scroll become trivial.

One of the more annoying things to support will be handling all those arcane URLs that are indexed in search-engines already.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline theagentd
« Reply #50 - Posted 2015-12-09 14:43:49 »

SoonTM we will have (near) realtime-previews of the post you are typing.
Are you Medusa? Because some part of me just got rock hard.

Myomyomyo.
Offline Riven
Administrator

« JGO Overlord »


Medals: 1356
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #51 - Posted 2015-12-09 15:48:28 »

Well, due to performance issues of (larger) code dumps, the
[ code ]
and (to prevent abuse)
[ icode ]
tags can probably not be previewed in realtime - they will only be syntax-highlighted in the final post.


Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline SHC
« Reply #52 - Posted 2015-12-09 15:50:13 »

Well, due to performance issues of (larger) code dumps, the
[ code ]
and (to prevent abuse)
[ icode ]
tags can probably not be previewed in realtime - they will only be syntax-highlighted in the final post.

What about implementing a client side code highlighter just to preview them, and use the server side highlighter to highlight the final post?

Offline Riven
Administrator

« JGO Overlord »


Medals: 1356
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #53 - Posted 2015-12-09 15:51:59 »

It's a heavy operation, we don't want the browser to stutter while you are typing your message...

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline theagentd
« Reply #54 - Posted 2015-12-09 16:21:17 »

Maybe do like Eclipse does? If you haven't typed for 1-2 seconds, reparse it? Or be even smarter and have a maximum post/code length before it stops previewing it?

Myomyomyo.
Offline Riven
Administrator

« JGO Overlord »


Medals: 1356
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #55 - Posted 2015-12-09 16:42:44 »

If you haven't typed for 1-2 seconds, reparse it?
So, when you type for a bit, ponder some first world problems, and continue, and find your browser to be unresponsive for however long it takes to parse code / produce html.

There are a billion solution to this problem, but they all get rather elaborate very quickly, and can be postponed.



Feature creep successfully averted. Pointing

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline Nate

« JGO Bitwise Duke »


Medals: 167
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #56 - Posted 2015-12-09 21:10:20 »

Building your own forum won't be less time consuming than using something like phpbb and importing the post history, then just take a minimal, barebones theme and customize it.

Offline Riven
Administrator

« JGO Overlord »


Medals: 1356
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #57 - Posted 2015-12-09 21:54:18 »

Actually, I doubt it. We have a shit tonne of customization in JGO's SMF instance, and replicating it in yet another crappy PHP forum would be painstaking and.. demoralizing, to say the least. With powerful clientside tools like Angular it's actually a breeze - I already implemented basic forum functionality and quite a few 'addons' in the one or two hours a day I've been working on it for the last two weeks. The backend business logic of a forum really isn't that big if you leave out all admin/moderation UIs. Why invest my 'precious' time in yet another dead-end forum backend when I can enjoy building my own (and open-sourcing the damn thing, for your pleasure).

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline ra4king

JGO Kernel


Medals: 508
Projects: 3
Exp: 5 years


I'm the King!


« Reply #58 - Posted 2015-12-09 23:32:13 »

Riven, just wanted to tell you how much we all appreciate what you are doing for this community.

I'm also highly interested in helping out once you open-source it as I would love to improve the forum!

Offline Roquen

JGO Kernel


Medals: 518



« Reply #59 - Posted 2015-12-10 08:26:08 »

I  have zero idea about how any of this kinda stuff works, so with a grain of salt.  http://casual-effects.com/markdeep/ is pretty cool.
Pages: 1 [2] 3
  ignore  |  Print  
 
 

 
EgonOlsen (1877 views)
2018-06-10 19:43:48

EgonOlsen (1901 views)
2018-06-10 19:43:44

EgonOlsen (1258 views)
2018-06-10 19:43:20

DesertCoockie (1704 views)
2018-05-13 18:23:11

nelsongames (1389 views)
2018-04-24 18:15:36

nelsongames (2003 views)
2018-04-24 18:14:32

ivj94 (2753 views)
2018-03-24 14:47:39

ivj94 (1955 views)
2018-03-24 14:46:31

ivj94 (3045 views)
2018-03-24 14:43:53

Solater (1090 views)
2018-03-17 05:04:08
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!