Currently Online

Latest Posts

Topic: Increasing number of "Latest Posts"?

kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2550
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2019-07-20, 13:22

Since the new view of latest posts is running for while, i want to give it some more love... but first i want to know your opinion on that view:

  • is it useful for you?
  • do you miss something?

The first thing i want to do is to give it a TOC, like we have in the wiki (the small box on the top right). The TOC will contain the headers so one can quickly jump to the topic/forum of interest. What do you think about that idea?

Edited: 2019-07-21, 10:55

Top Quote
niektory
Avatar
Joined: 2019-06-03, 20:06
Posts: 206
Ranking
Widelands-Forum-Junkie
Location: Poland
Posted at: 2019-07-21, 02:28

You made a typo in your latest posts link.

Anyway, the page is very useful. Not sure if a TOC is needed, though it wouldn't hurt to have one.

One possible improvement I can think of is removing quotes of previous posts from the post previews (the "User wrote: Blahblah" parts).


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2550
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2019-07-21, 10:58

Thank you very much for your response face-smile.png

One possible improvement I can think of is removing quotes of previous posts from the post previews (the "User wrote: Blahblah" parts).

Ok... the reason i have done it like that is because i thought some people might not know exactly who wrotes the post, but maybe remembers the first words. Maybe i am wrong here face-grin.png


Top Quote
niektory
Avatar
Joined: 2019-06-03, 20:06
Posts: 206
Ranking
Widelands-Forum-Junkie
Location: Poland
Posted at: 2019-07-21, 16:12

I'm not proposing to remove the post previews, just edit them a little. I'll try to explain. For example here:



The preview of WorldSavior's post shows a quote of NonServiam's post ( " NonServiam wrote: Can you use this? ..."). I think it would be more useful to cut the quote out and show what WorldSavior wrote after the quote ("Why is it called like that? ...") instead. Like this:


Top Quote
einstein13
Avatar
Joined: 2013-07-29, 00:01
Posts: 1116
Ranking
One Elder of Players
Location: Poland
Posted at: 2019-07-21, 22:54

kaputtnik wrote:

  • is it useful for you?

Yes, when I don't see the topic on the right of the homepage. That is the easiest way to search through the forum face-smile.png .

The TOC will contain the headers so one can quickly jump to the topic/forum of interest. What do you think about that idea?

Yes, it would be very useful!


einstein13
calculations & maps packages: http://wuatek.no-ip.org/~rak/widelands/
backup website files: http://kartezjusz.ddns.net/upload/widelands/

Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2550
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2019-07-23, 22:42

Many thanks for your input face-smile.png

@niektory: I'll try that, but its not that easy. I think it would be good to have at least something like "(Quoting...) answer" in the output. I didn't managed so far to implement something like "(Quoting...) Yes (Quoitng ...) another answer ...", but i am on it.

@einstein13: Implementing a TOC is easy, but i struggle to find a good styling.


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3317
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2019-07-28, 10:02

Give it the same styling as on the wiki and let's use that as a baseline to see if we need to change anything about it.


Busy indexing nil values

Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2550
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2019-07-28, 11:19

The thing with removing (replacing) the quote is difficult, because of the possibility of mixing different markups (markdown vs. bbcode). More over the generated html from bbcode isn't really nice, imho:

E.g. this bbcode snipped:

[img]example.img[/img]

nice image

produces this html:

<img src="example.img" />
<br />
<br />
nice image

Each linebreak will be converted to a <br /> tag and the last sentence isn't surrounded by a <p> tag...

Anyway i have a solution for excluding/replacing quotes with mixed markup. But i m not sure to propose it, unless parsing bbcode should produce better html which would make excluding/replacing of quotes much easier.


Top Quote
trimard
Avatar
Joined: 2009-03-05, 22:40
Posts: 230
Ranking
Widelands-Forum-Junkie
Location: Paris
Posted at: 2019-07-28, 14:38

Maybe I might offend someone by asking that, but what's the point of supporting both markdown and bbcode?

People really need to use both? Even big "forums" like reddit, facebook don't support both. That would simplify your problem a lot I guess face-tongue.png

IMO if people know how to use bbcode they would easily learn how to use markdown. And it seems markdown is getting more and more popular. BBcode, I don't see much of it anymore

edit: while on the topic of the latest post. I think a nice feature to add would be to send to the revelant page where the words searched is mentioned rather that the first page directly

Edited: 2019-07-28, 15:47

Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2550
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2019-08-05, 18:08

I don't need bbcode too... but there are some people who want to use this markup. I have already an idea to fix it, but other things are more important.

The TOC in the latest Posts view is now available face-smile.png

edit: while on the topic of the latest post. I think a nice feature to add would be to send to the revelant page where the words searched is mentioned rather that the first page directly

Can you explain?

Edited: 2019-08-05, 18:11

Top Quote