Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Twitter BBCode Details »»
Twitter BBCode
Version: 0.0.2, by kirby14 kirby14 is offline
Developer Last Online: Jan 2014 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.x.x Rating:
Released: 08-31-2012 Last Update: 09-01-2012 Installs: 62
Uses Plugins Template Edits
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

Information:
  • Allows you to embed a Tweet in a post using only the ID.
  • You can reply, retweet, follow, etc. directly from inside the post.
  • Uses Twitter's oEmbed endpoint.

Usage:
[tweet]<id>[/tweet]

Known Bugs:
On vB4 there is currently an issue with the AJAX quick edit form while in Standard Editor mode. If you want to use the Standard Editor, you will need to do the fix listed below.

Fix For The Bug Listed Above: (vB4 only) in /clientscripts/ckeditor/ckeditor.js line 134 change:
Code:
for(command in y)q.getCommand(y[command]).setState(2);
to
Code:
for(command in y){if(!typeof y[command] === "undefined"){q.getCommand(y[command]).setState(2);}}
Install:
Read the install.txt file in the .zip. It is very simple.

Note: I changed the tag from twitter to tweet because I noticed someone already is using twitter.

github: https://github.com/kirby14/mach_bbcode_twitter

Download Now

File Type: zip mach_bbcode_twitter.zip (27.9 KB, 565 views)

Screenshots

File Type: png twitter-bbcode.png (54.4 KB, 0 views)

Show Your Support

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

Comments
  #32  
Old 06-22-2013, 07:44 PM
EWGF EWGF is offline
 
Join Date: May 2007
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by brz299 View Post
Works perfect on 3.8
QFT
Reply With Quote
  #33  
Old 07-21-2013, 03:05 PM
DTSpawn DTSpawn is offline
 
Join Date: Jul 2013
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Adeel786 View Post
I second this question. I want to add a button for this in editor
Same here. Please provide some sort of instruction or smth...
Reply With Quote
  #34  
Old 07-27-2013, 03:49 AM
obglobal.net obglobal.net is offline
 
Join Date: Jan 2013
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would love to do this, but don't have the required technological awesomeness. Anyone willing to foster a noob for a day?
Reply With Quote
  #35  
Old 08-14-2013, 04:02 PM
DF031 DF031 is offline
 
Join Date: Nov 2012
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all,

I tried to replace the code
(command in y)q.getCommand(y[command]).setState(2); --> (command in y){if(!typeof y[command] === "undefined"){q.getCommand(y[command]).setState(2);}}

But I can not find the first line in ckeditor.js

Any suggestions ?
Reply With Quote
  #36  
Old 08-19-2013, 01:52 PM
ringnews24's Avatar
ringnews24 ringnews24 is offline
 
Join Date: Aug 2012
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I followed the instructions inside the zipped package.

Now my whole admin inteface is a white page.

Can you tell me what to do next, thanks?
Reply With Quote
  #37  
Old 08-19-2013, 02:47 PM
ringnews24's Avatar
ringnews24 ringnews24 is offline
 
Join Date: Aug 2012
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorted and uninstalled with help from the support forum.
Reply With Quote
  #38  
Old 12-17-2013, 01:40 PM
AshleyTwo AshleyTwo is offline
 
Join Date: Mar 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've installed and it works fine in 3.8, but when you post it it's just plain text, but when you refresh/go back into the thread it works. Presume its something to do with the ckeditor script that needs editing (but isn't in 3.8). Is there something else I need to edit?
Reply With Quote
  #39  
Old 12-26-2013, 01:14 PM
Dr. HaZaRd's Avatar
Dr. HaZaRd Dr. HaZaRd is offline
 
Join Date: Dec 2012
Location: Italy
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DTSpawn View Post
Same here. Please provide some sort of instruction or smth...
I join to this
Reply With Quote
  #40  
Old 12-26-2013, 04:19 PM
john7911 john7911 is offline
 
Join Date: Feb 2013
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you
I'll try it
Reply With Quote
  #41  
Old 06-23-2014, 05:46 PM
MattGarner MattGarner is offline
 
Join Date: Apr 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone managed to get a button added to the editor for this?
Reply With Quote
Reply

Thread Tools

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 11:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04656 seconds
  • Memory Usage 2,332KB
  • Queries Executed 28 (?)
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
  • (2)bbcode_code
  • (3)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
  • (2)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
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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