Announcement

Collapse
No announcement yet.

Tweet BBCode

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

    #61
    Originally posted by glennrocksvb View Post
    Well, you haven't shown me the correct format yet. Please show me all the formats you've tried.
    While writing the topic :
    Click image for larger version

Name:	335345335.jpg
Views:	216
Size:	135.9 KB
ID:	15018

    After approval :
    Click image for larger version

Name:	3424342.jpg
Views:	176
Size:	56.5 KB
ID:	15019
    https://www.gamezers.com

    Comment


      #62
      I wonder why in RTL the BBCode looks like this:

      https://twitter.com/blah/blah[/TWEET][TWEET]

      That doesn't look right. The Twitter URL should be in between the opening and closing tweet tags.

      I would imagine, it should be like this in RTL:

      [/TWEET]https://twitter.com/blah/blah[TWEET] or [TWEET]https://twitter.com/blah/blah[/TWEET]
      Helpful? Donate. Thanks!
      Buy me a coffeePayPal QR Code
      Fast VPS Host for vBulletin:
      A2 Hosting & IONOS

      Comment


        #63
        Click image for larger version  Name:	3242432432242423423434.PNG Views:	1 Size:	192.1 KB ID:	15024

        no work




        https://www.gamezers.com

        Comment


        • glennrocksvb
          glennrocksvb commented
          Editing a comment
          Can you post the link where that bbcode was posted on your site?

        #64
        Thats a cool bbcode... Long time looking to embed twitter to my vb

        Comment


          #65
          Originally posted by glennrocksvb View Post
          Wrong format. Check the sample in the first post.
          I am getting this as well. When I try to post a tweet it appears in the wrong format. It shows as [TWEET=https://twitter.com/caplannfl/status/1071804770380406785][/TWEET] and does not show the tweet. What did I do wrong?

          Comment


            #66
            This is the code I put in...
            Code:
            <div data-tweet-param="{param}"></div><script>(function(){function k(a,c){var d=Element.prototype;return(d.matches||d.webkitMatc hesSelector||d.mozMatchesSelector||d.msMatchesSele ctor||function(a){return-1!==[].indexOf.call(document.querySelectorAll(a),this)}) .call(a,c)}function g(a,c){return a?k(a,c)?a:"HTML"===a.tagName?null:g(a.parentNode, c):null}var b="{param}",a,e=document.getElementsByTagName("s cr ipt"),e=e[e.length-1],f;if(/^http[s]*:\/\//.test(b)){a=document.createElement("a");a.href=b;b =a.pathname.substring(a.pathname.lastIndexOf("/")+1)}f=e.parentNode.querySelector('[data-tweet-param="{param}"]:empty');(a=g(f,".js-post"))?a=a.getAttribute("data-node-id"):(a=g(f,".js-post-sm"),a=a?a.getAttribute("data-nodeid"):Math.floor(Math.random()*10000));a="t_"+( a||"")+"_"+b;window[a]=function(a){f.innerHTML=a.html;a=f.getElementsByT agName("script");for(var c,d=document.getElementsByTagName("head")[0],b=0;b<a.length;b++)a[b].src?(c=document.createElement("script"),c.src=a[b].src,d.appendChild(c)):eval(a[b].textContent)};var h=document.createElement("script");h.src="https://api.twitter.com/1/statuses/oembed.json?id="+b+decodeURIComponent("%26")+"call back="+a;e.parentNode.appendChild(h)})();</script>
            Last edited by glennrocksvb; 12-10-2018, 10:53 AM.

            Comment


              #67
              Originally posted by Iamtdg View Post
              It shows as [TWEET=https://twitter.com/caplannfl/status/1071804770380406785][/TWEET] and does not show the tweet. What did I do wrong?
              The tweet URL should be between (not in tweet=) the opening and closing tweet tags. Check the format in the first post closely.
              Helpful? Donate. Thanks!
              Buy me a coffeePayPal QR Code
              Fast VPS Host for vBulletin:
              A2 Hosting & IONOS

              Comment


                #68
                Originally posted by glennrocksvb View Post
                The tweet URL should be between (not in tweet=) the opening and closing tweet tags. Check the format in the first post closely.
                I actually had one of the yes/no options wrong. Figured it out and it works great now. Thank you.

                Comment


                  #69
                  Test

                  Comment


                    #70
                    Yeah so for some reason twitter links are now getting wrapped with URL bbcode and the tweets are not showing up. You have to go back in and edit out the [URL] code.

                    Comment


                      #71
                      When you right click and paste the url, paste it as plain text. If you copied the link from a web page and do a regular paste, the format where it's copied from is carried over and pasted to the editor. So make sure when the url is pasted, it doesn't turn into a hyperlink.
                      Helpful? Donate. Thanks!
                      Buy me a coffeePayPal QR Code
                      Fast VPS Host for vBulletin:
                      A2 Hosting & IONOS

                      Comment


                        #72
                        I dont understand why its copying tweet adresses as urls now. Im not doing anything different. I click on a tweet. Copy its address like i always have. And paste it in the tweed code. But they are copying as links now?

                        Comment


                          #73

                          Comment


                            #74
                            As I mentioned, you need to paste it as plain text so that it doesn't include the formatting.

                            Click image for larger version  Name:	image.png Views:	1 Size:	26.3 KB ID:	17848

                            That's how rich text editor works (not just CKEditor in vB but also on MS Word). When you copied a formatted text and paste it in a rich text editor, the text formatting will also be pasted.
                            Helpful? Donate. Thanks!
                            Buy me a coffeePayPal QR Code
                            Fast VPS Host for vBulletin:
                            A2 Hosting & IONOS

                            Comment


                              #75
                              Originally posted by glennrocksvb View Post
                              As I mentioned, you need to paste it as plain text so that it doesn't include the formatting.

                              Click image for larger version Name:	image.png Views:	1 Size:	26.3 KB ID:	17848

                              That's how rich text editor works (not just CKEditor in vB but also on MS Word). When you copied a formatted text and paste it in a rich text editor, the text formatting will also be pasted.
                              So what changed? Is it a setting? I never had to do this in the past. Just copied the twitter link and pasted it in the tweet BBc. I dont even have that paste as plain text option. Is that your browser?

                              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 "|||"