How do I get back to the actual site this is a forum for?



  • I've been annoyed by this for a while now. How am I supposed to get back to the site once I'm in Discourse? Clicking on the header image, which is the obvious link, only leads you back to the forum's "home". And from there... I'm stuck. Does Discourse really think it is more important than the site it is supposed to be a forum for? Enough to hijack the "The Daily WTF" logo to lead to what.thedailywtf.com instead of www.thedailywtf.com?



  • Also, congrats to Discourse for recognizing www.whatever.com as a site but not what.whatever.com. Really consistent there.


  • SockDev

    @Kian said:

    Also, congrats to Discourse for recognizing www.whatever.com as a site but not what.whatever.com. Really consistent there.

    That's not unique to Discourse ;)


  • area_deu

    Maybe one of the admins could add a header bar with a link to the homepage if there's high demand?



  • Other forums I've used would not recognize either, and only linkify full URLs (http://your.link.here). I prefer consistency.

    EDIT - Huh. What about (http://your.link.here.com)?

    EDIT2 - That's interesting. http://your.link.here. So it didn't like the parens? Why not? http://link (http://notlink


  • SockDev

    we still have a homepage?

    i havent visited it since i joined here. more than enough WTF here to keep me busy!



  • @Kian said:

    How am I supposed to get back to the site once I'm in Discourse?

    Go to the article category. I dunno...the forums have been the homepage for me for...uh...a long time.



  • Once you come out of the homepage view of the comments you aren't ever supposed to go back. This is the seedy underbelly that irresistibly pulls you in and never lets go.

    This forum is the geeky crack den of WTF.


  • SockDev

    @algorythmics said:

    Once you come out of the homepage view of the comments you aren't ever supposed to go back.

    :notes:
    Last thing I remember, I was running for the door
    I had to find the way back to the place I was before
    "Relax," said the admin, "we are programmed to receive.
    You can log-out any time you like, but you can never leave!"
    :notes:
    The timing's slightly off, but it'll do…



  • I was thinking of including comments like "@X is giving handjobs in the corner in exchange for WTFs, while @Y will kill a man for an interesting story about drivers" but I couldn't think of suitable values for X and Y.


  • Discourse touched me in a no-no place

    I will note, for the avoidance of doubt, that the URL that the header logo leads to does not appear to be configurable from the admin interface.

    (Searching for link and head produced similarly dissatisfying results)



  • @PJH said:

    does not appear to be configurable

    Surprise


  • Discourse touched me in a no-no place

    BoingBoing also exhibit the default behaviour - once you're in http://bbs.boingboing.net/, there doesn't appear to be any way to get back to http://boingboing.net/.


  • BINNED

    I sometimes visit some weird site where the OP is that everyone seems to know about but me...

    Why did the author put it on a different site is beyond me.



  • The basic link back to the latest listing is useful, but I could see people also wanting to have a link back to the main site on the header. Maybe someone should suggest a feature to add something like that over on meta.d?



  • @Kian said:

    I prefer consistency.

    Dischorse is not the software for you, then.


  • BINNED

    @loopback0 said:

    Dischorse is not the software for you, then.

    It's so inconsistent, we can't even agree on what to call it.


    Filed under: I wrote something witty here, but Duckhorse ate it



  • http://whatever.com is actually a real site as well... I just lost about an hour of my life to it...





  •       #text {
            font-size: 50px;
            font-family: Comic Sans MS, Comic Sans, Comic Fucking Sans, cursive;
          }
    


  • @tar said:

    http://whatever.com is actually a real site as well... I just lost about an hour of my life to it...

    Nope. Not even going to peek. I'm going to do my best to forget I ever heard of it, because I already have far too many such sites in my repertoire.


  • BINNED

    I gave up 15 seconds in. Opened it on my laptop at 1366x768. All I saw was a menu with huge letters and half of some fancy slider that (at the time I opened it) looked like it contains a cover of some "lifestyle" magazine.

    CtrlW ...


  • area_deu

    How do the two links in the top bar work on this forum?
    @cpradio?


  • Discourse touched me in a no-no place

    @aliceif said:

    How do the two links in the top bar work on this forum

    Unclear looking at the top level source - there's this in there:

        <!--[if IE 9]><script type="text/javascript">ie = "new";</script><![endif]-->
    
          <div class="top-crawler-links">
          <a href="http://www.sitepoint.com">Articles</a>
          <a href="https://learnable.com/topics/all/book">Books</a>
          <a href="https://learnable.com/topics/all/course">Courses</a>
        </div>
    

    .. but that doesn't actually match what's in the top bar.


  • BINNED

    Actual content fits

    <div class="header-links-wrapper clearfix">
            <a class="header-link" href="http://www.sitepoint.com" tabindex="">Articles</a>
            <a class="header-link" target="_blank" href="https://learnable.com/topics/all?utm_source=sitepoint&amp;utm_medium=link&amp;utm_content=top-nav" tabindex="">Books &amp; Courses</a>
    </div>
    

    but I don't see how it's getting injected either at a quick glance. Must be JS since I can see it in inspector but not page source.

    I guess I could find the JS file using the dev tools but I don't really have the time atm. Might also be minimized. But I honestly expect nothing more than a simple injection on page load.


  • Discourse touched me in a no-no place

    It's in the 'precompiled' JS files:

    http://sitepoint-discourse.global.ssl.fastly.net/assets/application-3196b05c923abc52395517378611648f.js

    function program22(depth0,data) {
      
      
      data.buffer.push("\n      <div class=\"header-links-wrapper clearfix\">\n        <a class=\"header-link\" href=\"http://www.sitepoint.com\" tabindex=\"\">Articles</a>\n        <a class=\"header-link\" target=\"_blank\" href=\"https://learnable.com/topics/all?utm_source=sitepoint&utm_medium=link&utm_content=top-nav\" tabindex=\"\">Books &amp; Courses</a>\n      </div>\n    ");
      }
    

    I rather think, however, that they're using an old version since the class named in there doesn't actually exist in the current source:

    [pjh@sofa discourse]$ grep "header\-links\-wrapper" . -r
    [pjh@sofa discourse]$ grep "header-links-wrapper" . -r
    [pjh@sofa discourse]$
    

  • BINNED

    Isn't it just adding it to the list of elements to add to the site? data.buffer seems to be some kind of an array / vector (since it has .push()).

    I don't think you'll be able to find it in standard install source tbh. Seems to be a plugin or something.



  • Can it be added to the hamburger menu?


  • BINNED

    @Mikael_Svahnberg said:

    Can it be added to the hamburger menu?

    Even if so, that's kinda undiscoverable, isn't it?



  • @Onyx said:

    Even if so, that's kinda undiscoverable, isn't it?

    Last time I wanted to go back to www.thedaily :WTF: .com I had to google for it (because I had deleted the bookmark, figuring I can reach the articles hitherfrom). That's even more undiscoverable.

    INB4:

    [pre-quote blakey] Just because there are more fucked up ways of doing things does not mean that placing the link in some obscure place is right. It is the opposite of right! It would make this shitty platform even shittier. You're an idiot! [/quote]

    Yes, well, I just though that...

    [pre-quote blakey] You are not me, and so per definition you do not think. No go away from my forum. [/quote]

    But...

    [pre-quote blakey] No! Idiot. Liar. Nincompoop. Shutup. [/quote]


  • SockDev

    You forgot

    Get out of my thread

    ;)


  • BINNED

    I'm just saying, doing it any reasonable way will either involve:

    a) a plugin or
    b) a hack

    If it's a plugin, let's get a decent one. If we hack it in, let's then hack it so it sucks a bit less than it could.

    Also, I don't think you can modify the hamburger menu. I'm sure @PJH would use that functionality to put CSS links in there if he could.



  • @RaceProUK said:

    >Get out of my thrhead

    FTFY.

    Thought that was covered by:

    @Mikael_Svahnberg said:

    Now go away from my forum.

    (Slightly edited to add the letter that @accalia stole from me)



  • @Onyx said:

    If we hack it in, let's then hack it so it sucks a bit less than it could.

    My thought was, before blakey interrupted me, that most of us don't need the link often enough for it to be immediately available, and so the hamburger menu seemed like a nice place to tuck it away in. Clicking the :wtf: logo to get back to the forum's main page is useful (for me, at least) to quickly back out of a series of discoursebugs (or just me thread-hopping).


  • BINNED

    @Mikael_Svahnberg said:

    most of us don't need the link often enough for it to be immediately available, and so the hamburger menu seemed like a nice place to tuck it away in

    But we'd be the only ones who know where it is immediately.

    @Mikael_Svahnberg said:

    Clicking the :wtf: logo to get back to the forum's main page is useful

    Agreed. The proposition was not to replace that functionality anyway, but to add a new button in the header. Left of the notifications bubble sounds ok to me. Will require some tweaking due to long titles, but should be doable.



  • @Onyx said:

    But we'd be the only ones who know where it is immediately.

    And since we're the only ones who access the main site via the forum instead of the other way round, that would be ok...


  • BINNED

    Let's just add a CLI then, it's about as discov...

    Wait...

    Sorry, wrong account.



  • @boomzilla said:

    the forums have been the homepage for me for...uh...a long time.

    Before Discourse? It's been for me.


  • Discourse touched me in a no-no place

    I can possibly see a case for adding (e.g.) a :fa_arrow_circle_left: (suitably titled) to the left of the :fa_comment: icon in the header - maybe abreuse/extend the stuff that was done for the CSS selection - the stuff up there is basically a list as well.

    Thing is, whatever is done needs to be compatible with mobile as well.

    $("document").ready(function (){
      Em.View.views[$("header").attr("id")].set("renderDropdowns",true); //force discourse to render dropdown in background
    
      //inject custom menu items
      Em.run.next(function (){
         $('\
         <li>\
            <ul class="main_menu">\
                <li>\
                    <u>Custom Styles</u>\
                    <ul class="csssubmenu">\
                        <li><a data-auto-route="true" class="csslink" href=".?preview-style=5ac5a5e9-c6ed-4197-9ec3-40811fd6ee5d&amp;sticky=true">Discourse Default</a></li>\
                        <li><a data-auto-route="true" class="csslink" href=".?sticky=true&amp;preview-style=">* TDWTF Default</a></li>\
                        <li><a data-auto-route="true" class="csslink" href=".?preview-style=2aeee392-5939-45a8-aaa8-eb7ca3282217&amp;sticky=true">Widescreen+minimal</a></li>\
                    </ul>\
                </li>\
            </ul>\
        </li>\
        ').insertAfter( $("#user-dropdown li:eq(3)") );
      });
    });
    


  • @Zecc said:

    Before Discourse? It's been for me.

    Yes. For over 7 years.



  • Go into an "Article" and follow a Paula Bean link?

    One thing I would like is a link from the front page article directly to the discussion, instead of the stupid "Preview top 19 comments" link.


  • Banned

    General approach for parent site link is:

    you need to be careful not to destroy internal to forum navigation


  • Discourse touched me in a no-no place

    Hmm - that looks a bit more sensible...

    Experimentation time I think..


  • SockDev

    Is that a built-in feature or a plugin? Either way, it looks ideal.


  • Banned

    Its just some custom html / css ... it really is a classic customisation cause the fit you go for differs based on the site you are integrating with, but we make allowances for it in code.

    This topic covers some of this:


  • Discourse touched me in a no-no place

    @PJH said:

    Experimentation time I think..

    Proof of concept:

    http://pjh.homeip.net/t/long-topic-to-get-small-logo-top-left-to-appear/73

    I'd need to get @apapadimoulis to get the new 'The DAILYWTF Discussion' graphic done since

    • I can't quite figure out the font being used
    • nor am I sure that I've done quite fits
    • it's brand stuff. And I don't have an advertising background.

  • BINNED

    @PJH said:

    I can't quite figure out the font being used

    What The Font not of any use?


  • Discourse touched me in a no-no place

    @Onyx said:

    What The Font not of any use?

    I used Identifont, but not really - there are insufficient letters in the logo to be able to accurately answer a majority of the questions.


  • BINNED

    Also, since the text is the same, switch from the large image that leads to the main site to the larger forum header is confusing.

    Though I'm guessing that's just a placeholder and it will be different images in proper implementation?

    Also, can we get that as a separate CSS? Demote current one to "TDWTF No logo" and make new default have the header maybe?



  • @Zemm said:

    One thing I would like is a link from the front page article directly to the discussion, instead of the stupid "Preview top 19 comments" link.

    I have never understood that shit.


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.