• Advertisement

Make a small donation to Ye Olde Inn!

Donate via Paypal

Every cent received goes toward Ye Olde Inn's maintenance and allows us to continue providing the best resources for HeroQuest and Fantasy Gaming fans.

Forum Update +

Forum rules
Please post only issues relating to the Ye Olde Inn Community Forums. Issues relating to the http://www.yeoldeinn.com/ Website and its pages or Blog do not go here.

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :p :oops: :smack: :bites-lip: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek: |_P :barbarian: :dwarf: :elf: :wizard: :goblin: :orc: :fimir: :skeleton: :zombie: :mummy: :chaoswarrior: :gargoyle: :cookie: :cheese: :banana: :2cents: :skull: :whiteshield: :blackshield: :roll1: :roll2: :roll3: :roll4: :roll5: :roll6: :blueorb: :greenorb: :greyorb: :redorb: :redheart: :greyheart:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Forum Update +

Re: The Inn on Facebook

Post by iKarith » May 25th, 2021, 5:09 am

lestodante wrote:
Anderas wrote:This Forum is just outdated. Don't ask for features... drathe would have to move everything...


But what kind of direction you would like to move? Just to update the forum platform or something else?


My notion of what to do with it would be to take a subset of the data (both because it's easier to test and because it avoids drathe handing all the inn's stuff to some rando who only appeared this year from what he can see) and setting up a copy of the same stuff the Inn is running now in a container to test and make sure that yes, gallery images work (as well as they do here), the dice roller rolls dice (never used the feature so I'd need to learn how), etc. Test test test.

That's step 1, baseline.

Step 2 starts with a copy of the baseline container and would be what it takes to port the main phpBB database to the new version. MOSTLY that should "work". There are tools to upgrade from older versions of phpBB to newer ones. It might be a multi-step process depending on how old the Inn's software is. (I'm not sure.) Test test test.

Step 3 is the gallery. We don't have a direct upgrade path for that, but there are galleries available. I'd have to find one with the same features we use or close to it and write a tool to dump the contents of the old gallery and import into the new one. That's purely a write-the-tool thing, because it won't already exist. More test.

Step 4 is the dice roller. Because dice need rolling! This doesn't exist for the current version of phpBB as of when drathe tried to do this last. If that's still the case, or if it doesn't support combat dice, I'll have to write a tool. Like this one, but in php, and interfacing with phpBB:

Code: Select all
#! /usr/bin/python3

import random

DICE_WHITE = ["skull", "skull", "skull", "shield", "shield", "b.shield"]

def roll_red(num):
   result = 0
   for i in range(num):
      result += random.randint(1, 6)
   print(f"\nThe total is {result}")


def roll_white(num):
   rolls = []
   skulls = 0
   shields = 0
   bshields = 0

   for i in range(num):
      rolls.append(random.choice(DICE_WHITE))

   for s in rolls:
      if s == 'skull':
         skulls += 1
      elif s == 'shield':
         shields += 1
      else:
         bshields += 1

   print(f"\nRolled: {skulls} skulls, {shields} white shields, "
      f"{bshields} black shields")


print("HeroQuest dice roll")

while True:
   print("\n(W)hite dice")
   print("(R)ed dice")
   print("Anything else quits")
   dice_type = input("\nWhat shall I roll? ").upper()[0]

   if dice_type not in [ "R", "W" ]:
      break

   num = int(input("How many? "))

   if dice_type == "R":
      roll_red(num)
   elif dice_type == "W":
      roll_white(num)
   else:
      break

print("\nThanks for playing!")


(Point being that the above was a seven minute job because I had to look up the precise details of the random module… I'd have to do similar for phpBB plus learn how to glue it in to phpBB's infrastructure, so it'd take longer but it can't be THAT complex.)

Step four would be working in our BBcode additions, the Inn's themes, etc. It's all right if those don't render "properly" until everything else is more or less done. I think current versions of phpBB prefer to use standard emoji characters when possible, so we'd want to make some vector versions of the stuff we've added most likely. I've already done this for myself for accessibility reasons and just use SVG versions of the HeroScribe quest book icons. It works, but maybe someone with a little more skill would like to make some that match twemoji? Or we could just keep the ones we've got…it wouldn't be the first forum in history whose BBcode resulted in mixed styles. I'd say that approximately … all of them do that. :lol:

Step five would be to transplant it back to the Inn, final test, and put it up live.

Aside from people being invited to basically connect to my machine directly during the testing to put garbage data in and try to break things that should not be breakable … the finished product will probably be most visitors first notion anything had been done at all. Should mostly look the same as it always did (maybe a little cleaner, more modern, and dark-mode-friendly if phpBB can be smart enough to do that.

So … just a few minor things here and there. Largely taking advantage of the fact that I can do a ton of testing offline since this site runs on a UNIX machine of some sort, and I happen to be typing this post with one of those. :D

Re: The Inn on Facebook

Post by iKarith » May 25th, 2021, 4:00 am

Anderas wrote:
And I'm a legally blind cancer patient who's quite unemployed at this point largely because my chemo side-effects


I feel with you there, man, I had my chemo 2018 and I was just sleeping all day long; couldn't help myself.
When I was awake I tried to get the HQ25 project of this forum forward, but couldn't finish it in time; because despite what people say, chemo is a schedule and it fills the time (with sleep).


Different chemo drugs have very different effects. The newest ones are pretty mild in side-effects, and while I was on this stuff for seven years straight, all of the side-effects EXCEPT a somewhat weakened (but not destroyed) immune system and the sun reactivity went away. I just take a handful of pills every day with an ungodly price tag and … at least after the first year theoretically go about my normal life.

Actually, when I started this thing back in 2013, they told me I'd be sensitive to the sun and I could go blind. (The latter being correctable.) Standing there, an albino with a white cane in my hands because it was a bright day, I just looked at the doctor funny and said, "toooo laaate!" I had no idea on the sun reactivity was going to be that severe though—I used to burn in five minutes in the summer. Now I burn in five minutes in January. In Oregon, whose climate is a lot like the UK and Ireland, for those on that side of the planet.

Unfortunately that first year what I did have was a lot of inflammation and pain in bones and joints. And that's all come back, fun as ever! (It's not fun.) But it won't last and in the end and apparently as long as I keep taking it, I don't get tumors. I'd say call me James Holden, except I don't know how that story ends yet, and if it ends badly I'd rather you didn't. :lol:


Anderas wrote:Well, that would be great news! Now we need to reach out to drathe somehow and convince him that someone could help him.
(Me, I am not a mod or anything - I just discovered that I could choose my name color by joining one of the guilds :lol: )


By now, he knows I'm here whenever he's got time to mess with it. I don't know that he's got time to mess with it now.

Re: The Inn on Facebook

Post by lestodante » May 24th, 2021, 7:50 pm

Anderas wrote:This Forum is just outdated. Don't ask for features... drathe would have to move everything...


But what kind of direction you would like to move? Just to update the forum platform or something else?

Re: The Inn on Facebook

Post by Anderas » May 24th, 2021, 10:52 am

Daedalus wrote:If I understand your last post, I should remind drathe of iKareth's offer. Great suggestion! I have in fact reminded him recently. But maybe someone should remind me to remind him again sometime.


Noooooouuuuuu not that again! :lol: :D :mrgreen:

Re: The Inn on Facebook

Post by Daedalus » May 24th, 2021, 10:03 am

If I understand your last post, I should remind drathe of iKarith's offer. Great suggestion! I have in fact reminded him recently. But maybe someone should remind me to remind him again sometime.

Re: The Inn on Facebook

Post by Anderas » May 24th, 2021, 2:46 am

And I'm a legally blind cancer patient who's quite unemployed at this point largely because my chemo side-effects


I feel with you there, man, I had my chemo 2018 and I was just sleeping all day long; couldn't help myself.
When I was awake I tried to get the HQ25 project of this forum forward, but couldn't finish it in time; because despite what people say, chemo is a schedule and it fills the time (with sleep).

Well, that would be great news! Now we need to reach out to drathe somehow and convince him that someone could help him.
(Me, I am not a mod or anything - I just discovered that I could choose my name color by joining one of the guilds :lol: )

Re: The Inn on Facebook

Post by iKarith » May 24th, 2021, 2:27 am

Anderas wrote:Do you know how to do this kind of stuff? And do you have a week to spare?


Define "this kind of stuff". I've written software in PHP, the language this forum is written in. More wordpress or custom stuff than phpBB directly, but if you give me an API, yeah. I have to remind myself of MySQL syntax because MySQL, Postgres, and sqlite all have slightly different syntax and I don't use any of them so frequently that I remember their specific idiosyncrasies, but I usually remember the basic query language stuff that's common to all of them, which is a lot.

And I'm a legally blind cancer patient who's quite unemployed at this point largely because my chemo side-effects make my ability to be useful on a specific schedule necessary for an office environment kind of variable. Which leaves me a lot of basically "free" time to poke at anything of interest, as long as I can say, "oww, yeah, for the next hour, I'm not getting much done", and picking it up later in the day than intended.

No promises that'll continue indefinitely since when these side-effect subside, I intend to try and find new employment, because a crusty old Linux geek/developer with backgrounds in interface design, databases, device drivers, web apps, technical and end-user writing, and Linux distribution packaging can probably earn a fair bit more than I receive in disability. And, I'd have something to do besides vegging in front of YouTube. :P

Re: The Inn on Facebook

Post by Anderas » May 24th, 2021, 12:42 am

Do you know how to do this kind of stuff? And do you have a week to spare?

Re: The Inn on Facebook

Post by iKarith » May 23rd, 2021, 4:34 pm

It's true that drathe would have to move everything—but when he's got time to even look at it, there's help at the ready to write a tool to do the moving.

Additionally, apparently drathe's server resources are somewhat limited. We might need to do something about that at some point.

But as Facebook routinely bans people for anything (or nothing), I won't be using it. Technically I wasn't "banned". My account was just modified by a malicious employee who deleted everything I ever posted, then locked my account to prohibit posting new content (without any accompanying "guideline strike" or anything) without warning, without explanation, and without appeal.

So as far as I'm concerned, Facebook can get Zucked.

Re: The Inn on Facebook

Post by Kurgan » May 23rd, 2021, 2:28 pm

[This and the following nine posts were moved from the General HeroQuest Discussion topic, The Inn on Facebook. -edit]

Anderas wrote:This Forum is just outdated. Don't ask for features... drathe would have to move everything...


Old and outdated (but not busted) works for me!

Top