• [deleted]

010101 Hey thanks for continuing this extension. Could you maybe add an option so that it also works without me changing the files in vendor? I am running on subfolder.

Kind Regards

    [deleted] There isn’t anything to change. This is now just one extend.php file. It’s not pointing to any other files. I don’t see why it wouldn’t work for you. If it’s not working try emptying caches.

      • [deleted]

      010101 Nope. When i do a hashtag and click on it its going to example.com and not example.com/forum

        010101 I'm running Hashtags1.4.2 on Flarum Beta 11
        Tried to update with update command but it says nothing to update

          [deleted] I just made an update, I do not think it will solve your issue but give it a shot.

            HD3D Try removing the extension completely, and re-install.

            composer remove zerosonesfun/hashtags
            composer require zerosonesfun/hashtags

            • [deleted]

            010101 It does solve my issue, when i click on a hashtag now it goes /forum, but it the link does not work.

            Flarum \ Http \ Exception \ RouteNotFoundException
            /d/all

            `switch ($routeInfo[0]) {
            case Dispatcher::NOT_FOUND:
            throw new RouteNotFoundException($uri);
            case Dispatcher::METHOD_NOT_ALLOWED:
            throw new MethodNotAllowedException($method);
            case Dispatcher::FOUND:
            $handler = $routeInfo[1];
            $parameters = $routeInfo[2];

                        return $handler($request, $parameters);
                }`

              [deleted] Before clicking, what does the full URL look like when you hover over a hashtag?

              6 days later

              [deleted] Hmm yes, need to somehow get that /d/ to be removed from the URL for it to work with your installation. Hmm...

              6 days later

              Hi, is possible to get list (links) to the hashtags? Because I'm looking for an extension to add date to a thread, and I have thought maybe to add a hashtag in the title, to show date of expiration.

              For example. Title: Contest XYX #06/06/2020

              And then I search for all threads with this hashtag (date of expiration).

              Or maybe will I have a disaster, with 50000000 hashtags? :/

                clarkwinkelmann

                debynory

                That is correct. This is about as simple as a hashtag extension can get. It looks for a “#” and turns the following word into a link which searches the forum when clicked.

                I think the regular expression used is beautiful because I’ve seen very few cases where it does not work and it’s a very short regular expression. It’s pretty cool.

                So, a more experienced developer could use the regular expression and some of the JavaScript from this extension, and then do whatever needs to be done to ensure the hashtag is logged in the database and that popularity is tracked. It’d be a “next level” extension for Flarum. We have mentions. Why not have a full Twitter like hashtag system?

                @010101 I installed the extension but there no change, when I try typing in a hash tag it still regular text 🙁 Any idea?

                  huuduy216 Caching issue? 🤷‍♂️ Or if your forum is not installed at mysite.com there are known issues.

                    010101 cleared cached. Can you elaborate on the second point? Here's my forum www.talkie.vn

                      huuduy216 Unless you deactivated it, it’s not loading. There would be some JavaScript at the end of you site’s source code. Try deactivating and reactivating and delete all caches and cookies. Do you use Cloudflare or anything else which could be caching?

                      Also try php flarum cache:clear.

                      • [deleted]

                      @010101 do you consider fixing my issue at sometime? 😃