Needs work
Project:
Twitter
Version:
7.x-5.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2012 at 21:22 UTC
Updated:
22 Aug 2015 at 13:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
xurizaemonIan, this would be a good feature to add. Are you interested in turning this into a straight patch for twitter_signin rather than a separate module? If so would be nice to see it in 7.x-3.4
Comment #2
iwhitcomb commentedSure, I can work on that
Comment #3
iwhitcomb commentedThis ought to do it
Comment #4
manarth commentedI noticed in
theme_twitter_signin_button, you pull in the$userglobal, and check for a user uid. If you're only checking to see if the current visitor is an anoymous user, there's another function you can use:user_is_anonymous()(there's also a correspondinguser_is_logged_in()function).Personally I find this a little more readable as a developer.
Comment #5
13rac1 commentedI agree with #4, plus patch does not cleanly apply to 7.x-5.x.
Comment #6
13rac1 commentedComment #7
iwhitcomb commentedOriginally this was for 7.x-3.4 here's the 7.x-5.x patch
Comment #8
damienmckennaTriggering the testbot.
Comment #9
damienmckennaTriggering the testbot.
Comment #12
damienmckenna