Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
BBcode for Embedded Tweets Details »»
BBcode for Embedded Tweets
Version: 1.01, by Bisha Bisha is offline
Developer Last Online: Apr 2015 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.2.0 Rating:
Released: 10-17-2012 Last Update: 10-18-2012 Installs: 58
 
No support by the author.

Overview

The Embedded Tweet feature allows websites to generate copy and paste-able HTML markup to render a Tweet on any third-party website. This markup presents a Tweet in an attractive (and display guidelines compliant) way, and automatically sets up Web Intents so that viewers of the Tweet may retweet, reply, favorite, and follow easily from the rendered view. read more






How to Install:

Custom BB Codes->Add New BB Code

Title: Tweet
BB Code Tag Name: tweet (or whatever you want)

For Replacement paste this:
HTML Code:
<script type="text/javascript">
function loadx(data) {
  document.write(data.html);
}
</script>
<script type="text/javascript" src="https://api.twitter.com/1/statuses/oembed.json?id={param}&callback=loadx"></script>
<div class="twitter" onLoad="loadx().html"/>

Confirm: Continue!



How to Use?


Copy the ID of the Tweet Status






and then paste on Tweet tag:


[tweet]ID HERE[/tweet]


Enjoyed!

Download Now

File Type: zip Twitter-bb-code.zip (314 Bytes, 274 views)

Screenshots

File Type: png tweet.png (66.9 KB, 0 views)
File Type: jpg tweet-.jpg (27.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
Andreasmax, mapleleaffans, Midohash

Comments
  #32  
Old 01-20-2013, 08:03 PM
franzes80 franzes80 is offline
 
Join Date: Sep 2012
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't work on vb 4.20 pl3
Reply With Quote
  #33  
Old 01-20-2013, 09:46 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by franzes80 View Post
Don't work on vb 4.20 pl3
It's not really version specific. Double check your code and do testing in the Admin CP. It should work on any vBulletin installation.
Reply With Quote
  #34  
Old 01-21-2013, 10:25 PM
Chase Chase is offline
 
Join Date: May 2002
Location: Northern Ohio
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Not with the way the BBCode editor works. All it does is take whatever you put inside the [tags] and replaces it in the Replacement code wherever you see {param}. The replacement code doesn't use the full URL at all.

(NOTE: AME could probably do that. But it would require someone to make a definition.)
Quote:
Originally Posted by Chase View Post
I would have no idea how to do that. Think you could help me do that? I would donate some $$ to you for your help.

Just wanted to bump in case you missed this due to it being the last post on that page.
Reply With Quote
  #35  
Old 01-22-2013, 12:00 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be best if we discussed that in my AME definitions thread, rather than here. But I'll look into creating a definition in time.
Reply With Quote
  #36  
Old 01-24-2013, 03:39 AM
Drucifer's Avatar
Drucifer Drucifer is offline
 
Join Date: Feb 2010
Location: NY Hudson Valley
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The simple LINK Tab is gone from Tweets, but the number is still there in Embed and works.
Reply With Quote
  #37  
Old 01-24-2013, 05:08 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Drucifer View Post
The simple LINK Tab is gone from Tweets, but the number is still there in Embed and works.
If you mean the Direct Link to individual tweets, they're still there. You have to click the Tweet's time stamp.
Reply With Quote
  #38  
Old 01-29-2013, 06:44 PM
Drucifer's Avatar
Drucifer Drucifer is offline
 
Join Date: Feb 2010
Location: NY Hudson Valley
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The reply box is back to being gray-out again when the post contains a tweet.
Reply With Quote
  #39  
Old 02-08-2013, 08:30 PM
MattGarner MattGarner is offline
 
Join Date: Apr 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have something similar but only when you would need to go and edit the post that contains the tweet. Any chance that could be solved?

Quote:
Originally Posted by Drucifer View Post
The reply box is back to being gray-out again when the post contains a tweet.
Reply With Quote
  #40  
Old 02-09-2013, 01:05 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you guys referring to when you edit a reply with a Tweet in it, and the tweet disappears? If so, that's a limitation of the AJAX used in vBulletin. JavaScript can't called within the JavaScript of the page, as it were. It also happens when using Quick Reply. Nothing simple can be done to fix it, but it really only does that for the person posting/editing. Everyone else can still see the post, and even the poster can when he reloads the page. If it's something different, than I'm not sure what you mean.
Reply With Quote
  #41  
Old 02-09-2013, 01:52 AM
Drucifer's Avatar
Drucifer Drucifer is offline
 
Join Date: Feb 2010
Location: NY Hudson Valley
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, the reply box is GRAY OUT. The only way to reply is via open in new tab.

I'm currently using FF v18.2
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04632 seconds
  • Memory Usage 2,344KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete