Announcements accepting HTML

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ATForum
    Member
    • Feb 2019
    • 50
    • 5.3.x

    Announcements accepting HTML

    II’ve tried to put a link into an announcement to no avail. I have given Administrators permission to use HTML but it still is not working. Am I missing a step? Thanks.
  • glennrocksvb
    Former vBulletin Developer
    • Mar 2011
    • 4011
    • 5.7.X

    #2
    Did you enable "Allow HTML" option in the announcement settings itself?

    Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

    Comment

    • ATForum
      Member
      • Feb 2019
      • 50
      • 5.3.x

      #3
      Click image for larger version

Name:	A87AE272-058F-476F-B3CB-99916E94F252.png
Views:	153
Size:	1.60 MB
ID:	4412703Yes, it is set to allow html here is a screen shot of my html setting on the announcement and what shows on the forum.
      Attached Files

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 73981

        #4
        You need to place a space between the a and href in your tag. There is no valid HTML tag ahref... It is <a href="link">
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment


        • ATForum
          ATForum commented
          Editing a comment
          Duh. Thank you!
      • ATForum
        Member
        • Feb 2019
        • 50
        • 5.3.x

        #5
        Ok, I fixed the HtML. It is now blue but when i click on it, nothing happens.

        Here's what's in the announcement.

        <a href=“https://awakening-together.org/classes/introduction-to-buddhism/“>Click here for more info</a

        Here is the page it shows up on...https://www.awakening-together.org/forum/index.php

        Comment


        • OrganForum
          OrganForum commented
          Editing a comment
          The link is malformed when viewing in my browser
          <a href="“https://awakening-together.org/classes/introduction-to-buddhism/“">Click here for more info</a>

          Note the extra quotes around the URL.

          Unrelated, but there's a bunch of mixed content warnings on your homepage as well, like this one:
          SEC7137: [Mixed-Content] The origin 'https://www.awakening-together.org' was loaded in a secure context and loaded an optionally blockable insecure image resource at 'http://awakening-together.org/forum/forum_icons/gen-discuss-icon-64x64.png'.
      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 73981

        #6
        It appears that you are creating your code in an app or device that uses the fancier UTF-8 "curly quotes". These cannot be used in HTML. You should always use a text editor like Microsoft Visual Studio Code to handle this. You can even get extensions for Visual Studio Code so you can preview your HTML right in the editor to make sure it works.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • ATForum
          Member
          • Feb 2019
          • 50
          • 5.3.x

          #7
          I rewrote the text with a text editor. No luck. Then I have a Notice with a hyperlink that works so I copied it and put it in the Announcement and still it doesn't work. Seems there is something in Announcements that is preventing the link from working.You can see it works in Notices but not in Announcements.

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 73981

            #8
            I would suggest using Notices. You have more functionality and they automatically show on every page.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            • ATForum
              Member
              • Feb 2019
              • 50
              • 5.3.x

              #9
              Will do.

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...