News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

[BBCode] Twitter

Started by All Colours Sam, May 16, 2010, 05:09:23 AM

Previous topic - Next topic

Arantor

You could do it on the full URL. Not on the others because it's scary-easy to trip over other things... like email addresses and partial URLs.
Holder of controversial views, all of which my own.


DEK24

Quote from: Liam. on June 06, 2010, 11:59:20 AM
Quote from: DEK24 on June 06, 2010, 10:21:52 AM
It's like embedding youtube videos. Sure you could BBCode it but when you post the link and video magically appears its even better. Also not everyone posting in forum communities are that computer savvy.

Not savvy? Thats why there's a "help" button on the menu ;)

Okay, I'll see about auto-embed.

You try telling that to 60+ year old guys who type with 1 finger lol. I'm just saying some people don't even know what BBC is or how to use it. They do know how to copy and paste though.

DEK24

Quote from: Arantor on June 06, 2010, 07:15:03 PM
You could do it on the full URL. Not on the others because it's scary-easy to trip over other things... like email addresses and partial URLs.

If you're implying about the hashtags you could simply enter in the full URL for that.

Arantor

Quote from: DEK24 on June 07, 2010, 07:41:01 PM
If you're implying about the hashtags you could simply enter in the full URL for that.

Not just hashtags but also the @ references. In fact in terms of auto embed, you're pretty much JUST talking the full URL only.

You don't have to know about bbcode explicitly, you can do it through the buttons above the posting area, which does the hard work of bbcode (the actual code) for you.
Holder of controversial views, all of which my own.


DEK24

Quote from: Arantor on June 07, 2010, 07:43:02 PM
Quote from: DEK24 on June 07, 2010, 07:41:01 PM
If you're implying about the hashtags you could simply enter in the full URL for that.

Not just hashtags but also the @ references. In fact in terms of auto embed, you're pretty much JUST talking the full URL only.

You don't have to know about bbcode explicitly, you can do it through the buttons above the posting area, which does the hard work of bbcode (the actual code) for you.

There are no buttons in quick reply and I don't see the difference between bbc'ing it or embeding it. Isn't there some type of code that would automatically wrap the link in the bbc?

Arantor

There's a world of difference.

If you're doing some kind of auto embedding, you have to have something to search in the code, and since @ and # are both already parts of existing structures which are already searched for and get linked in SMF itself (auto linking hits both email addresses and URLs), you have that to deal with.

Long story short: yes you can write some code to automatically link but it won't be particularly reliable. A carefully crafted regular expression might get you some of the way but that's really not that efficient, unless you drop it into the pre-parse step and store it on saving, which gives you a whole other world of problems to avoid.
Holder of controversial views, all of which my own.


Sakae

Anyway, Liam, why this bbcode doesn't work on second messages (or after)?

It works only on first message (creating a new topic).

Does this might be a conflict with Ajax quick reply mod?
http://www.tigrelog.com.br
l: simple p: machines

Liam.

Hmm... Weird. I'll have a look into that. Should have no conflict with AJAX Quick Reply, but I'll see...

Arantor

Except that it uses AJAX through jQuery does it not?
Holder of controversial views, all of which my own.


Liam.

Yes, but if it's already loading it once on the page, shouldn't stop it loading a second time...

Arantor

Actually, yes it can. Especially if you're having two separate things messing around with AJAX/general Javascript that were never intended to work together.
Holder of controversial views, all of which my own.


THE BRA1N

I love this mod for its utility, what a great idea. I am currently using the "tweetme" option in my sig and although the tweets update okay, the time on them arent updating. For example, a tweet which was sent 5 mins ago, on the display in my sig it says sent 22 hours ago and has a null link to an undefined page when i click the time. What can be causing this?


KensonPlays

Wow! I would like this in conjunction with that twitter site that broadcasts instead of twitter mod. ill install asap!

Owner of Mesozoic Haven

crustybum

wow this is just what i am looking for.................but for 1.1.11............. >:(

BPLive

anything will happen for this mod in 2.0.1  ?   interested thanks
www.ChineseDemocracy.com Your Guns N Roses Forum

All Colours Sam

I haven't had the chance to update this one, mostly because is not that popular, will do when I finish some other things.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

BPLive

Quote from: Miss All Sunday on October 11, 2011, 10:37:30 AM
I haven't had the chance to update this one, mostly because is not that popular, will do when I finish some other things.

Surprised really...  I really have many ideas to use it right now.   I'll be keeping my eye out ;)  hopefully its not too much trouble.
www.ChineseDemocracy.com Your Guns N Roses Forum

THE BRA1N

Put me down on the wait list too. I really like this mod.


All Colours Sam

Changelog

2.0 - Jan 06, 2012,
-Compatible with SMF 2.0.x
-Code improved.


Can't nobody say Suki never did nothing for the peoples.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Timshel

Hi,

First of all I'd like to appreciate the work of the developers, the mod is really cool.

However I have a problem. When I'm trying to use the bbcode [tweet] it fails, at the post I can see the box of the tweet but there only appears "loading undefined" and then "error undefined". We tried several times with the same result. On the other hand the other bbcodes are working fine, so I don't have no idea why it isn't working...

This one for example doesn't work:

[tweet]http://twitter.com/#!/Radomiro_Antic/status/157940464476098560[/tweet] [nofollow]


Any suggestions?

Thanks in advance!

Advertisement: