Customizing SMF > Modifications and Packages
[BBCode] Twitter
shazoo!:
--- Quote from: Suki on April 25, 2012, 09:56:01 AM ---It shouldn't happen since that tag is just an anchor tag, you can open $sourcedir/Post.php
find: <img> and replace with <img><a> to allow anchor tags
--- End quote ---
That worked like a charm!
FYI, https://twitter.com/#!/alyankovic/status/192633401952571392 doens't work, but https://twitter.com/alyankovic/status/192633401952571392 does.
Suki:
Yes, I'm aware of the issue, I just haven't had the time to fix it. Haven't had the time to check the regex.
shazoo!:
Thank you for this mod, Suki!
eforhan:
If one views a single tweet, under it should be an "Embed this tweet [nofollow]" link. From there, we see three tabs -- one of which says "Shortcode".
It gives something like this:
--- Code: ---[tweet https://twitter.com/SimpleMachines/status/188279444241264640]
--- End code ---
So far I've just been changing the BBCode to work with the add-on:
--- Code: ---[tweet]https://twitter.com/SimpleMachines/status/188279444241264640[/tweet]
--- End code ---
but, it'd be great if we could just copy-paste the shortcode itself, if at all possible.
ozbob:
Thanks, updated the <img> to <img><a> and dropped the #! and working fine now.
:-)
--- Quote from: ozbob on April 25, 2012, 01:02:45 AM ---Useful mod, thanks.
Have encountered a problem though with [tweet][/tweet] code. When I attempt to post a tweet I get a message subject empty error.
The url of the tweet is correct.
Is working fine for [twitacc][/twitacc]
Any clues?
Thanks.
Bob
--- End quote ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version