![]() |
Twitter BBCode
1 Attachment(s)
Information:
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); Code:
for(command in y){if(!typeof y[command] === "undefined"){q.getCommand(y[command]).setState(2);}} 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 |
Future Plans:
|
Quote:
|
Quote:
I'll keep working on it, though. |
Ok, I posted a temporary fix. I'll try to pinpoint why there is an undefined object being added to teh array, but for now this should fix it.
|
Works on 3.8 as well. Not sure if the strip_bbcode hook does anything, but everything else is functional.
|
Lovely, but for some reason on 4.2 it won't give your fancy look like in the screenshot. Works nicely, just no formatting, acts like indented text in the post
== Just testing a new feature! — E (@REDACTED) September 4, 2012 |
Did you include the javascript line that is in the install.txt file? Just need to put it at the bottom of your headinclude file.
|
Indeed! However, mine had a slight edit from a previous mod long removed. Replaced that with the new one, fixed. Heh. Thanks man!
|
Quote:
|
Yep. Only problem is when twitter dev team updates the API again which will break existing twitter mods everywhere just like last time :)
|
Perfect. Thank you.
|
Excellent! Thank you. :)
|
Installed it on VB 4.1.12 and nothing happens. I made the changes that were instructed in the install file. Any reason?.
|
Did you try using a [tweet] tag? Nothing shows up in the ckeditor toolbar yet, you just have to manually type it.
|
Yes, I have used the tags and I have manually edited the ckeditor.js file and replace the code you provided as suggested. But nothing changes.
|
By 'nothing changes' do you mean you just see [tweet]<tweet id>[/tweet] in the post or something else?
|
Quote:
|
It works on Chrome but doesn't work on Mozilla.
|
@kirby14 ;
How can I add a button for this ? |
I get this
Code:
Warning: require_once([path]/mach/bbcode_twitter/plugins/bbcode_fetch_tags.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_bbcode.php(3719) : eval()'d code on line 2 |
Installed on vB 4.2.0 and it appears to work however it's nothing like the example in the screenshot. Instead I just get a text version of the tweet. Any idea why?
|
Sounds like you did not add the headinclude for the Twitter Widgets, check the install.txt
By the way this works great even in vB3 looking forward to new updates or features! :) |
Quote:
:) |
Very nice mod, not keen on mods that require file edits because it's one more thing to keep track of between versions, but overall very nice.
|
Wow, sorry for not replying. Somehow I wasn't getting emails about replies to this mod (or maybe it was getting in my spam folder or something)
I'll look in to what is required to get the button added to CKEditor and let you know. I'm not sure there is a good way around the hack I had to do in the javascript file, though. |
I know it's a vB4 mod but will it work on 3.8.7?
|
I've heard from others that it runs in 3.8 just fine and doesn't require the javascript changes.
|
Works perfect on 3.8
|
Quote:
|
Quote:
|
Quote:
|
I would love to do this, but don't have the required technological awesomeness. Anyone willing to foster a noob for a day?
|
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 ? |
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? |
Sorted and uninstalled with help from the support forum.
|
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?
|
Quote:
|
Thank you ;)
I'll try it :) |
Has anyone managed to get a button added to the editor for this?
|
All times are GMT. The time now is 02:23 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|