Hey Nelson,
I was actally thinking about this issue the other day. I think the best way to handle it is to rewrite the extension completely as a tab and not as a weblog field at all.
In the mean time I think I could tweak the extension to delete the value before it goes into the db.
Cheers Leevi
Ok I rewrote LG Twitter last night and changed its implementation.
Now LG Twitter appears as a fixed bar on the bottom of your screen while your in the admin.
Only certain member groups can tweet (currently restricted to one account) and its MSM compatible.
I have attached a screenshot of what I have so far. Any feature requests?
Ok So I spent a bit more time on LG Twitter 2.0 and now its time to get some people to test it for me.
Today I added a tab to the publish page so you can auto Tweet when you create a new entry or edit a new one. Tabs can be on one or many weblogs and restricted to member groups.
Screenshot below.
Whos in? PM me for a copy.
Cheers
Leevi, this looks really, really, interesting now. Especially the fact that you can set a default tweet using variables on a weblog by weblog basis. Pretty cool. Wondering how the variable substitution works against the character count, though. Are you not allowed to submit if, after variable replacement, the character count goes above 140? Or does the Tweet get truncated?
Nice work on the quick tweet bar at the bottom, which looks nice - and with the option to disable that - well thought out there.
Wondering if in any of these extensions that use jQuery, there shouldn’t be a further option to use the Google AJAX Libraries API? I’m increasingly interested in the thought of that. I suppose the user could just enter the full script path to the google version in the supplied field? (I just did that with this extension, putting “http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js” in the field for the jQuery script).
A further thought: similar to your new “Addon Updater” extension, maybe there is an extension solely for calling jQuery, and other extensions could be modified to look for that extension. That single “I look for presence of jQuery only” extension could have the option to use Google or a script local to the site.
Thanks for all your hard work.
Hey Ryan,
Wondering how the variable substitution works against the character count, though. Are you not allowed to submit if, after variable replacement, the character count goes above 140? Or does the Tweet get truncated?
Yeha I haven’t really figured that part out yet. If the variable substitution makes the tweet over 140 characters I’m guessing twitter will jst truncate it. Maybe I need to add an option to say “don’t send if over 140 characters”. If your tweet is over 140 chars LG Twitter won’t send the tweet but display it again for you in an error with the variables replaced. That way you could use the tweet bar to make any adjustments.
Thanoughts?
I’m pretty sure Twitter will truncate and add a more link but if a person is using (receiving) via SMS it’s lost. SMS is the whole reason for the 140chr limit.
I’ve switched over to identi.ca (open source Twitter platform) and there’s been a bunch of discussions around this.
For all those interested LG Twitter 2.0 is now available from my site.
New features include:
Check it out.
LG Twitter 2.0 - Send Tweets from your ExpressionEngine control panel
Got a bug, I think.
I went to edit my forum preferences –change the trigger word– and when I wanted to save the settings, a MySQL error jumped saying that site_id doesn’t exist in field dunnowhat – can’t really remember now.
I disabled the Twitter extension and I could save the settings. I think it’s something to do with the twitter bar at the bottom.
More help please.
I’m getting a funky URL on twitter now: http://twitter.com/you129
http://tinyurl.com/5mxebp
And here is what is submitted in that entries twitter tab:
New Article: {title} - http://you129/com/relationships/story/{url_title}
Not sure why it’s not coming across correctly.
http://twitter.com/you129 points to http://www.you129.com/com/relationships/story/an_emotional_affair
You just change fix your tweet to:
New Article: {title} - http://you129.com/relationships/story/{url_title}/
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.