Announcement
Collapse
No announcement yet.
Tweet BBCode
Collapse
This is a sticky topic.
X
X
-
Maybe it's ok. Probably what they stated in their guidelines is not strictly implemented?
Originally posted by TwitterAnd never show the Twitter logo in black or any other colors.
Okay, we do have one exception: some limitations with color printing may apply. This is the only time the logo is permitted to be displayed in black with prior permission from Twitter.
- Top
- Translate
- Bottom
-
It's a good question, but given that uses bootstrap a black version, I do not think it's a problem
(Http://bestbootstrapthemes.com/files...ns-webfont.jpg)
- Top
- Translate
- Bottom
-
Just curious if we are allowed to use black Twitter logo per Twitter's branding guidelines?
- Top
- Translate
- Bottom
-
-
Thanks Glenn! Got it working! Bought you a coffee..
- Top
- Translate
- Bottom
- Likes 1
Leave a comment:
-
Yes you can do this in vBCloud.Originally posted by vhforum View PostCan I do this even if I'm currently using cloud?
What's the best way to get 21X20 twitter button image?
I'm a rookie, so please excuse my ignorance..
You can download this Twitter icon:
(Right-click > Save image as...)
and then upload it in the File Upload Manager (not sure if name is accurate) in vBCloud AdminCP. Then copy the generated link of the uploaded image and paste it into the Button Image field in BB Code Manager.
BTW, I've set the Button Image for the Tweet BB Code in this forum. See how it looks in the Advanced Editor.Last edited by glennrocksvb; 09-16-2018, 08:27 PM.
- Top
- Translate
- Bottom
- Likes 2
Leave a comment:
-
Can I do this even if I'm currently using cloud?
What's the best way to get 21X20 twitter button image?
I'm a rookie, so please excuse my ignorance..
- Top
- Translate
- Bottom
Leave a comment:
-
Tweet BBCode
One way to integrate social media with forums is to embed tweets from Twitter into forum posts.
Go to AdminCP > Custom BB Codes > Add New BB Code and enter the following information:
Title: Tweet
BB Code Tag Name: tweet
Replacement:
Example: [tweet]TweetUrlOrTweetIdHere[/tweet]Code:<div data-tweet-param="{param}"></div><script>(function(){function k(a,c){var d=Element.prototype;return(d.matches||d.webkitMatchesSelector||d.mozMatchesSelector||d.msMatchesSelector||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,u=`{param}`.replace(/<br\s*[\/]?>/gi, '').replace(/\r|\n/g,'').replace(new RegExp(unescape('%26amp;'), 'g'),unescape('%26')),a,e=document.currentScript,f;if(/^http[s]*:\/\//.test(u)){a=document.createElement("a");a.href=u;b=a.pathname.substring(a.pathname.lastIndexOf("/")+1)}f=e.parentNode.querySelector('[data-tweet-param*="'+u+'"]: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.getElementsByTagName("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")+"callback="+a;e.parentNode.appendChild(h)})();</script>
Other Options: Select Yes to all starting from "Remove Tag If Empty" option (for Button Image option, you could specify image path. If specified, a new button for this BB Code will appear in the editor)
Version History:- 2025-09-23: Fixed missing tweet when there are multiple posts with the same tweet, only the last tweet would show.
- 2022-02-26: Fixed an issue for Tweet URL with querystring parametersβ
Demo:
This tweet:
[tweet]https://twitter.com/noypiscripter/status/758114543033647104[/tweet]
or just using the Twitter Post ID
[tweet]758114543033647104[/tweet]
will be rendered as:
To get the Tweet URL, go to a tweet on Twitter, click on the 3 dots icon below the tweet, choose "Copy link to Tweet" and then copy the URL.
Other sample:
Latest Posts
Collapse
-
Reply to some ideas for new modsin Chit Chatby desmomax
I finally created a mod that allows you to add an icon to each post with options for sharing on other platforms. I honestly thought it was absurd that...
Today, 03:59 AM -
by flohseHi Glenn, what do you think about adding "Like Counts" similar to "Like Counts on Postbit and Profile" (when this mod is in use) in...Yesterday, 11:28 PM
-
Reply to push notification prompt?by desmomaxhy glenn
have you thought about this?Yesterday, 05:44 AM




Leave a comment: