Announcement

Collapse
No announcement yet.

TikTok BBCode

Collapse
This is a sticky topic.
X
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Free Mod TikTok BBCode

    Here's how to create a BB Code to embed TikTok videos in a forum post.

    Go to AdminCP > Custom BB Codes > Add New BB Code and enter the following information:

    Title: TikTok
    BB Code Tag Name: tiktok
    Replacement:
    HTML Code:
    <blockquote class="tiktok-embed" data-video-id="{param}" style="max-width: 605px;min-width: 325px; margin: 1em 0;"><section></section></blockquote><script async src="https://www.tiktok.com/embed.js"></script>
    Example: [tiktok]12345678901234567890[/tiktok] (this is the TikTok Video ID)
    Use {option}: No
    Button Image (Optional): (specify image path if you want a new button for this BBCode to appear in the editor)
    Remove Tag If Empty: Yes
    Rest of Options: No

    To get the TikTok Video ID, click the Copy Link in the TikTok post, The copied link has this format:

    https://www.tiktok.com/@user/video/<VideoID>

    Copy just the Video ID part. The Video ID consists a bunch of some pattern of digits.
    Last edited by glennrocksvb; 03-02-2022, 01:31 PM.
    Helpful? Donate. Thanks!
    Buy me a coffeePayPal QR Code
    Fast VPS Host for vBulletin:
    A2 Hosting & IONOS

    #2
    Awesome. Thanks man. Having you back is starting to give me hope again. lol

    Comment


      #3
      Originally posted by glennrocksvb View Post
      Here's how to create a BB Code to embed TikTok videos in a forum post.

      Go to AdminCP > Custom BB Codes > Add New BB Code and enter the following information:

      Title: TikTok
      BB Code Tag Name: tiktok
      Replacement:
      HTML Code:
      <blockquote class="tiktok-embed" data-video-id="{param}" style="max-width: 605px;min-width: 325px; margin: 1em 0;"><section></section></blockquote><script async src="https://www.tiktok.com/embed.js"></script>
      Example: [tiktok]12345678901234567890[/tiktok] (this is the TikTok Video ID)
      Use {option}: No
      Button Image (Optional): (specify image path if you want a new button for this BBCode to appear in the editor)
      Remove Tag If Empty: Yes
      Rest of Options: No

      To get the TikTok Video ID, click the Copy Link in the TikTok post, The copied link has this format:

      https://www.tiktok.com/@user/video/<VideoID>

      Copy just the Video ID part. The Video ID consists a bunch of some pattern of digits.
      Hello Glenn. I am writing you because I am having trouble trying to get my TikTok mod to work correctly. Every time I try to do it in my post, I get a bordered screen saying video currently unavailable.

      Can you help me fix this? Everything else is running great.

      Comment


        #4
        Are you using the correct Tiktok Video ID when using it in the BBCode tag? I need to see the post with the Tiktok BBCode in order for me to see what's wrong.
        Helpful? Donate. Thanks!
        Buy me a coffeePayPal QR Code
        Fast VPS Host for vBulletin:
        A2 Hosting & IONOS

        Comment


          #5
          Originally posted by glennrocksvb View Post
          Are you using the correct Tiktok Video ID when using it in the BBCode tag? Tiktok BBCode in order for me to see what's wrong.
          Hey Glenn. Nevermind, I got it to work. Thanks for your help though.

          Comment


          • glennrocksvb
            glennrocksvb commented
            Editing a comment
            Glad you figured it out.

          #6
          Does this work with vB 4.2.6?

          Comment


            #7
            weiind, I haven't tested it in vB4 but you can try it. BBCode has not changed much in vB5/6 compared to vB4.
            Helpful? Donate. Thanks!
            Buy me a coffeePayPal QR Code
            Fast VPS Host for vBulletin:
            A2 Hosting & IONOS

            Comment


              #8
              I have added the bbcode but when I used it to add tiktok video in a post it shows up blank..

              Comment


                #9
                Could you post a link?
                Helpful? Donate. Thanks!
                Buy me a coffeePayPal QR Code
                Fast VPS Host for vBulletin:
                A2 Hosting & IONOS

                Comment


                  #10
                  Originally posted by glennrocksvb View Post
                  Could you post a link?
                  Don't bother. Its actually working. I forgot, the brower I used had adblocker which blocks social media too..

                  Comment


                    #11
                    Glad to hear it's working in vB4.
                    Helpful? Donate. Thanks!
                    Buy me a coffeePayPal QR Code
                    Fast VPS Host for vBulletin:
                    A2 Hosting & IONOS

                    Comment

                    Users Viewing This Page

                    Collapse

                    There is 1 user viewing this forum topic.

                    • Guest Guest

                    Latest Posts

                    Collapse

                    Working...
                    X
                    Searching...Please wait.
                    An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

                    Please push the back button and reload the previous window.'
                    An unexpected error was returned: 'Your submission could not be processed because the token has expired.

                    Please push the back button and reload the previous window.'
                    An internal error has occurred and the module cannot be displayed.
                    There are no results that meet this criteria.
                    Search Result for "|||"