New blog post on Static site by LinguaPony

Discuss the HTLAL forum's past and its future
User avatar
rdearman
Site Admin
Posts: 2728
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
French (studies), Italian (studies), Mandarin (studies),
Esperanto TAC (Only god knows why), Finnish (only in it for the cookies)
Language Log: viewtopic.php?f=15&t=1836
x 5685
Contact:

New blog post on Static site by LinguaPony

Postby rdearman » Mon Nov 27, 2017 1:19 pm

Hi everyone, don't forget we have a static blog site as well, and it is always great to get guest blogs from members uploaded and posted to the site!

http://www.language-learners.org/2017/1 ... ngua-pony/
9 x
"Never blame on malice that which can be explained by stupidity."

User avatar
LinguaPony
Orange Belt
Posts: 124
Joined: Mon Oct 23, 2017 7:50 am
Location: Saratov, Russia
Languages: Russian (N), English (Proficient), Italian (Intermediate), M. Chinese (Beginner)
Language Log: https://forum.language-learners.org/vie ... =15&t=7160
x 257
Contact:

Re: New blog post on Static site by LinguaPony

Postby LinguaPony » Mon Nov 27, 2017 1:40 pm

Thank you. That's an unexpected honour.
5 x

User avatar
tommus
Blue Belt
Posts: 530
Joined: Sat Jul 04, 2015 3:59 pm
Location: Kingston, ON, Canada
Languages: English (N), French (B2), Dutch (B2), German (A1), Spanish (A1), Esperanto (A1)
x 812

Re: New blog post on Static site by LinguaPony

Postby tommus » Mon Nov 27, 2017 5:05 pm

rdearman wrote:Hi everyone, don't forget we have a static blog site as well

I hope my comment below can be taken as a "constructive comment": ;)

The blog site is "static" because we still don't have a link to it from the Forum. Nobody thinks about it when they are on the Forum. I have been suggesting a BOLD OBVIOUS link to the Blog and to the Wikia, and there seems to be a lot of support from our members for such links. However, these seems to be no comments from the moderators and administrators.

Let's change the static blog site to the dynamic static blog site. I'll help if I can.
10 x
Dutch
40 Boeken
● 35 Ned. Videos
● 370 Univ-Nederland
: 23 / 40
: 35 / 35
: 155 / 370
● 730 Video Nieuws
● 104 Skype NL Chats
● 730 Tekst Nieuws
: 620 / 730
: 80 / 104
: 660 / 730

User avatar
rdearman
Site Admin
Posts: 2728
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
French (studies), Italian (studies), Mandarin (studies),
Esperanto TAC (Only god knows why), Finnish (only in it for the cookies)
Language Log: viewtopic.php?f=15&t=1836
x 5685
Contact:

Re: New blog post on Static site by LinguaPony

Postby rdearman » Mon Nov 27, 2017 5:54 pm

tommus wrote:
rdearman wrote:Hi everyone, don't forget we have a static blog site as well

I hope my comment below can be taken as a "constructive comment": ;)

The blog site is "static" because we still don't have a link to it from the Forum. Nobody thinks about it when they are on the Forum. I have been suggesting a BOLD OBVIOUS link to the Blog and to the Wikia, and there seems to be a lot of support from our members for such links. However, these seems to be no comments from the moderators and administrators.

Let's change the static blog site to the dynamic static blog site. I'll help if I can.

The problem is that in order to put a link to another site on the forum we'd have to modify the code of the forum to allow such links to be embedded. Personally I'm a bit loathe to mess around with the code, and while I'm confident I probably could do it, it has been a looooonnnnngggg time since I was doing production code. But the code is there and freely available for people to modify and then have the code reviewed and approved. So if anyone out there is a php guru...
5 x
"Never blame on malice that which can be explained by stupidity."

Cainntear
Blue Belt
Posts: 870
Joined: Thu Jul 30, 2015 11:04 am
Location: Scotland
Languages: English(N)
Advanced: French,Spanish, Scottish Gaelic
Intermediate: Italian, Catalan, Corsican
Basic: Welsh
Dabbling: Polish, Russian etc
x 1779
Contact:

Re: New blog post on Static site by LinguaPony

Postby Cainntear » Wed Nov 29, 2017 6:15 am

tommus wrote:
rdearman wrote:Hi everyone, don't forget we have a static blog site as well

I hope my comment below can be taken as a "constructive comment": ;)

The blog site is "static" because we still don't have a link to it from the Forum. Nobody thinks about it when they are on the Forum. I have been suggesting a BOLD OBVIOUS link to the Blog and to the Wikia, and there seems to be a lot of support from our members for such links. However, these seems to be no comments from the moderators and administrators.

Let's change the static blog site to the dynamic static blog site. I'll help if I can.

As rdearman says -- the problem is fundamental to the phpBB software. It's a baffling design decision, but people put up with it because phpBB is pretty much the best forum software available.
3 x
A year of Tatoeba recordings: 40 / 365 One donated recording every day in 2017.

Online
User avatar
emk
Brown Belt
Posts: 1285
Joined: Sat Jul 18, 2015 12:07 pm
Location: Vermont, USA
Languages: English (N), French (B2+)
Badly neglected "just for fun" languages: Middle Egyptian, Spanish.
Language Log: viewtopic.php?f=15&t=723
x 4074
Contact:

Re: New blog post on Static site by LinguaPony

Postby emk » Wed Nov 29, 2017 10:32 am

We can add the link, but it should probably be made by editing the the code in the ext/t123 directory. Editing code outside the ext directory is absolutely a last resort, because that's the kind of thing that guaranteed that HTLAL didn't get upgraded for most of a decade. Manual changes to the main phpbb code would need to be reapplied manually on every single upgrade, whereas changes in ext are correctly isolated and much less problematic.

Please note that all the code to the site is public, and I'm happy to review other people's proposed changes and merge them. I apologise for not having time to tackle all these issues myself right now (and I'm still bedeviled by the IP-related changes, which I do really hope to figure out soon). But anybody who knows basic programming and who's willing to experiment can help out at any time.
3 x

User avatar
tommus
Blue Belt
Posts: 530
Joined: Sat Jul 04, 2015 3:59 pm
Location: Kingston, ON, Canada
Languages: English (N), French (B2), Dutch (B2), German (A1), Spanish (A1), Esperanto (A1)
x 812

Re: New blog post on Static site by LinguaPony

Postby tommus » Wed Nov 29, 2017 9:51 pm

emk wrote:We can add the link, but it should probably be made by editing the the code in the ext/t123 directory. Editing code outside the ext directory is absolutely a last resort

Recall that I have no background in phpBB, but I decided to do some experimenting. I installed XAMPP and phpBB on my computer, and played around with some HTML. I have been able to add the buttons/links at the end of current buttons (after "Active topics").

Image

Unfortunately, the change is in HTML and is probably what emk calls "absolutely a last resort". However, the change is so minor that maybe it is workable. I simply added the two buttons/links after the HTML for "Active topics", as shown in this code:

Code: Select all

<li class="small-icon icon-search-active" role="menuitem">
    <a href="./search.php?search_id=active_topics">Active topics</a>
</li>   

<li class="small-icon icon-search-active" role="menuitem">
    <a href="http://www.language-learners.org/">Blog</a>
</li>   

<li class="small-icon icon-search-active" role="menuitem">
    <a href="http://learnanylanguage.wikia.com/wiki/Learn_Any_Language">Wikia</a>
</li>


I don't know if (or how) this change could be made in the ext/t123 directory as suggested by emk. It seems like something that has to be implemented in the main HTML code.
0 x
Dutch
40 Boeken
● 35 Ned. Videos
● 370 Univ-Nederland
: 23 / 40
: 35 / 35
: 155 / 370
● 730 Video Nieuws
● 104 Skype NL Chats
● 730 Tekst Nieuws
: 620 / 730
: 80 / 104
: 660 / 730

User avatar
rdearman
Site Admin
Posts: 2728
Joined: Thu May 14, 2015 4:18 pm
Location: United Kingdom
Languages: English (N)
French (studies), Italian (studies), Mandarin (studies),
Esperanto TAC (Only god knows why), Finnish (only in it for the cookies)
Language Log: viewtopic.php?f=15&t=1836
x 5685
Contact:

Re: New blog post on Static site by LinguaPony

Postby rdearman » Wed Nov 29, 2017 9:58 pm

The other problem with html modification to the code is that it probably only works for the default style. I have found some extensions that allow links and buttons, so EMK and I are looking into that possibility. The problem with an HTML hack is that if we upgrade to the latest version of the phpBB base software, you lose your html hack. But if you're using an extension you just reload the extension pack. So that would be the preferred method.
1 x
"Never blame on malice that which can be explained by stupidity."

Online
User avatar
emk
Brown Belt
Posts: 1285
Joined: Sat Jul 18, 2015 12:07 pm
Location: Vermont, USA
Languages: English (N), French (B2+)
Badly neglected "just for fun" languages: Middle Egyptian, Spanish.
Language Log: viewtopic.php?f=15&t=723
x 4074
Contact:

Re: New blog post on Static site by LinguaPony

Postby emk » Wed Nov 29, 2017 10:12 pm

As I suggested earlier, the best place to make these changes is probably here, in the t123/topics directory.

In particular, we would probably need to edit the following files:

  • overall_header_navigation_append.html
  • You would also need to create a language file named "topics_lang.php" in the directory "phpBB/ext/t123/topics/language/en/" directory (which would need to be created). This would look a lot like the en/banhammer_lang.php file, for example. It would contain an translation entry for "TOPICS_BLOG" containing "Blog", for example.
If we make the patch like this, it should work in all themes, fully support translation to languages besides English, and (with luck) continue to work flawlessly even after updating the forum.

We really want to avoid editing the main forum source, even for a "simple" change. Because simple changes add up over time, and once you have a few of them, it gets much more frustrating to upgrade.
2 x


Return to “HTLAL discussion”

Who is online

Users browsing this forum: No registered users and 1 guest