Forum jumps to the bottom of the page instead of latest message.

2»

Comments

  • peter4jc
    peter4jc Posts: 18,336 ✭✭✭✭✭
    edited November 30

    I believe I have it working on one of my Chromebooks. Thanks, Chris. So easy, even a caveman can do it.

    Edit: maybe extensions work this way, and I didn't know it, but Run Javascript is working on my office PC too. I'm guessing I'll find it installed on my upstairs Chromebook when I get up there for a smoke in a bit.

    Nice find, Chris. It still does the bouncy-bounce thing, but settles on the last post.

    Post edited by peter4jc on
    "I could've had a Mi Querida!"   Nick Bardis
  • Yakster
    Yakster Posts: 32,219 ✭✭✭✭✭

    I'm glad it worked, if you're signed in Chrome can sync across devices.

    Join us on Zoom vHerf (Meeting # 2619860114 Password vHerf2020 )
  • GI JOE
    GI JOE Posts: 41 ✭✭✭

    Why doesn't Cigar.com just fix the forum?

  • silvermouse
    silvermouse Posts: 23,978 ✭✭✭✭✭

    maybe they don't have the motivation to spend time or money to fix it. Or they think it is our problem not theirs.

  • dirtdude
    dirtdude Posts: 6,394 ✭✭✭✭✭
    edited December 1

    Maybe they figured correctly that Yakster would solve the problem.

    Edit: I checked my accounts and found I don't pay a nickel for the service cigar.com provides. It might not be as handy as it once was, I do have to scroll up a few posts, or like the political thread I might have to jump 20 pages if I didn't check it in a week but it's still a free service. If I was paying $20/month I might expect more but I dont

    A little dirt never hurt
  • GI JOE
    GI JOE Posts: 41 ✭✭✭

    @dirtdude -
    Why does Cigar.com have a discussion forum?
    Because it promotes business, revenue, traffic, etc. to it's retail site.
    If it functions poorly or incorrectly, it may discourage frequent use or motivate it's members to seek out other forums that all work just fine.
    That's why it's important to address bugs / problems. FYI.

  • dirtdude
    dirtdude Posts: 6,394 ✭✭✭✭✭

    Your point is well taken Joe. We have had varying degrees of support over the years, most recently from @TheCigarChick, Lindsay, and before that we had a couple good dudes that helped out as needed but the reality is the level of service is probably commensurate with the level of support cigar.com receives from us.

    A little dirt never hurt
  • TRayB
    TRayB Posts: 3,944 ✭✭✭✭✭

    @dirtdude said:
    Your point is well taken Joe. We have had varying degrees of support over the years, most recently from @TheCigarChick, Lindsay, and before that we had a couple good dudes that helped out as needed but the reality is the level of service is probably commensurate with the level of support cigar.com receives from us.

    I think you may be right, dirtdude. Most of us know there are places to purchase cigars that are cheaper, sometimes much cheaper, than CCOM, and we take advantage that. I spend some money here, in recognition of the forum they provide free of charge.

  • Itsfine
    Itsfine Posts: 20,865 ✭✭✭✭✭

    @TRayB said:

    @dirtdude said:
    Your point is well taken Joe. We have had varying degrees of support over the years, most recently from @TheCigarChick, Lindsay, and before that we had a couple good dudes that helped out as needed but the reality is the level of service is probably commensurate with the level of support cigar.com receives from us.

    I think you may be right, dirtdude. Most of us know there are places to purchase cigars that are cheaper, sometimes much cheaper, than CCOM, and we take advantage that. I spend some money here, in recognition of the forum they provide free of charge.

    I only spend money here when I get the correct value for my dollar. Forum or no forum, I'll shop the deals here and keep the MSRP for the suckers.

    I am the Troll Jesus. Follow me, my children, or clutch your pearls tightly.

    @ScotchnSmoke still sux lots of large wéiners. And tons of small ones. 
  • dirtdude
    dirtdude Posts: 6,394 ✭✭✭✭✭

    Nobody pays MSRP except the Prince of Brunei

    A little dirt never hurt
  • TRayB
    TRayB Posts: 3,944 ✭✭✭✭✭

    Umm, who mentioned paying MSRP?

  • dirtdude
    dirtdude Posts: 6,394 ✭✭✭✭✭

    Frank mentioned MSRP, not that he pays it....nobody listens to Frank anyway

    A little dirt never hurt
  • Amos_Umwhat
    Amos_Umwhat Posts: 10,028 ✭✭✭✭✭

    Yesterday I picked up 20 La Herencia Cubana here for just under $100 delivered, seems reasonable. I used to get 99% of all my cigars here, and I always still look.

    It's hard to be loyal when you know you can get the exact same box of cigars for $30 - $50 less by shopping elsewhere. I now buy something here frequently simply because of the forum, but I also have to remain at least somewhat practical in my purchases. Still, I consider the Forum to be part of services rendered, and I don't mind chipping in a little extra to keep this going.

    "If you do not read the newspapers you're uninformed.  If you do read the newspapers, you're misinformed." --  Mark Twain
  • Yakster
    Yakster Posts: 32,219 ✭✭✭✭✭
    edited December 2

    Instructions for setting up Quetta Browser with run javascript to go to latest message

    1. Install Quetta on Android at https://play.google.com/store/apps/details?id=net.quetta.browser
      So far I like Quetta and will probably switch from DuckDuckGo. It's slim and privacy focused.
    2. Go to cigar.com, click on the person icon highlighted below in the top right corner to log in, then click on the "+" sign next to My Account to expand the options as shown below.
    3. Click on the forum option and then log into the forum by clicking on Visit Forum, make sure that it shows your current username.

    4. Congrats on logging in, now pull up a thread and then hit the three "." button on the lower left of the screen, click on settings, then extensions, and search for the "run javascript" extension and install it. Note the squiggly icon for extensions, you'll use that later.



    5. We're in the home stretch now, time to set up the javascript. Click on the three dot menu and then scroll to the bottom and click the squiggly extension icon, then click on the "Run Javascript" extension name which will take you to the page where you cut and paste in the script. I'll provide the script below the screenshots, you may try a shorter interval than two seconds if you like. Once you've pasted in the script hit execute and make sure it shows enabled on forum.cigar.com on top. This script will only run on the ccom forum.


    setTimeout(() => {
    const anchorElement = document.getElementById('latest');
    if (anchorElement) {
    // Smoothly scroll to the element after the delay
    anchorElement.scrollIntoView({ behavior: 'smooth', block: 'start' });
    }
    }, 2000); // 2000 milliseconds = 2 seconds

    1. You're done, enjoy.
    Join us on Zoom vHerf (Meeting # 2619860114 Password vHerf2020 )
  • dirtdude
    dirtdude Posts: 6,394 ✭✭✭✭✭
    edited December 2

    Do you have to 'Run Javascript' everytime you login or does it remember

    A little dirt never hurt
  • peter4jc
    peter4jc Posts: 18,336 ✭✭✭✭✭

    @dirtdude said:
    Do you have to 'Run Javascript' everytime you login or does it remember

    The extension will run it automatically behind the scenes whenever you visit the forum.

    "I could've had a Mi Querida!"   Nick Bardis
  • Yakster
    Yakster Posts: 32,219 ✭✭✭✭✭

    Yes, once it's set up it runs silently in the background on the forum.

    Join us on Zoom vHerf (Meeting # 2619860114 Password vHerf2020 )
  • Yakster
    Yakster Posts: 32,219 ✭✭✭✭✭

    The Quetta browser also runs on Apple iOS and iPadOS.

    Join us on Zoom vHerf (Meeting # 2619860114 Password vHerf2020 )
  • Yakster
    Yakster Posts: 32,219 ✭✭✭✭✭

    I have noticed one quirk of the script, if I change tabs and then go back to our forum tab the page jumps back to the latest message from when it was loaded. Also changing the delay below two seconds didn't seem to make a noticeable difference to me. I guess that's two things.

    Join us on Zoom vHerf (Meeting # 2619860114 Password vHerf2020 )
  • Yakster
    Yakster Posts: 32,219 ✭✭✭✭✭
    edited December 5

    I've modified the script to read the anchor from the URL, subtract the hash mark and use that instead of statically using 'latest' every time. This makes the script work for reading the latest unread message in a thread as well as the latest unread message in a personal message. Here's the script:

    setTimeout(() => {
    const anchorElement = document.getElementById(window.location.hash.split('#').pop());
    if (anchorElement) {
    // Smoothly scroll to the element after the delay
    anchorElement.scrollIntoView({ behavior: 'smooth', block: 'start' });
    }
    }, 2000); // 2000 milliseconds = 2 seconds

    Join us on Zoom vHerf (Meeting # 2619860114 Password vHerf2020 )
  • silvermouse
    silvermouse Posts: 23,978 ✭✭✭✭✭

    I don't know who fixed this problem, (thanks Yakster but I didn't install the fix you posted but maybe it had some importance to whoever did fix it), I did install the bi-weekly update on this Chromebook. Either way, thank you to whoever! It's been like being bothered by a horsefly for weeks and someone finally succeeded in swatting it. All's right in the world, except for politics.

  • Olekingcole
    Olekingcole Posts: 1,497 ✭✭✭✭✭

    I'm on iPhone Qwant browser and it still happens to me sometimes.

    I don't have problems, just more work to do.

  • ShawnOL
    ShawnOL Posts: 14,049 ✭✭✭✭✭

    Chrome. Still happening.

    Trapped in the People's Communist Republic of Massachusetts.

  • silvermouse
    silvermouse Posts: 23,978 ✭✭✭✭✭

    I take it back, worked this morning but not now, don't know what happened but it was a moment of joy.

  • Amos_Umwhat
    Amos_Umwhat Posts: 10,028 ✭✭✭✭✭

    @silvermouse said:
    I take it back, worked this morning but not now, don't know what happened but it was a moment of joy.

    This has happened once or twice for me as well. I don't remember if it was a particular thread, or perhaps it was simply going to the bottom of the page that was full? It would be nice to have it back the way it was before the most recent "update" or whatever.

    "If you do not read the newspapers you're uninformed.  If you do read the newspapers, you're misinformed." --  Mark Twain
  • Yakster
    Yakster Posts: 32,219 ✭✭✭✭✭

    Ok, so for people who are still experiencing the issue, please let me know if you have installed the "run javascript" extension on your browser and entered the script and are still having problems.

    I did notice that the second script I posted with window.location.hash.split('#').pop() instead of "latest" didn't work unless I cut and pasted the script. I'm not sure what I mistyped but that's one thing to look for.

    Join us on Zoom vHerf (Meeting # 2619860114 Password vHerf2020 )