linking the main site with the forums?

Discussion in 'Site Feedback' started by zankoo, May 19, 2023.

  1. zankoo

    zankoo Really Experienced CHYOA Backer

    Maybe this has been discussed in a thread somewhere, but a quick search didn't help me.

    My question is: Are the main site and the forums linked?

    I have to log in separately to each. And if I encounter someone in a thread and I want to see their writing, I can't easily click their name to find their author profile -- only their message board profile.

    Clearly I don't know how to run a website, but I'm curious why "zankoo" on chyoa.com and "zankoo" on forum.chyoa.com aren't more directly connected.

    (And if they are and I'm missing something obvious ... I guess tell me? Or cancel my account because I'm too dumb to have figured it out?)
     
    Nachtlicht and TheLowKing like this.
  2. TheLowKing

    TheLowKing Really Really Experienced

    I had this same thought a few months ago! I wrote a little user script to change the link in the user name to the left of each post to link to their main site profile instead:

    Code:
    // ==UserScript==
    // @name     CHYOA Forum: Link to main CHYOA account
    // @version  1
    // @grant    none
    // @match    https://forum.chyoa.com/threads/*
    // ==/UserScript==
    
    document.querySelectorAll('a.username[href^="members/"]').forEach(function (a) {
      a.href = `https://chyoa.com/user/${a.innerHTML}`;
    });
    You'll need something like GreaseMonkey or TamperMonkey to use it, though.

    P.S. This should probably have been in the Suggestions subforum.