Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=3055)
Description:
Allow Users To Login Register And Sync Accounts With Twitter
HOWTO:
Create an app on twitter
https://dev.twitter.com/apps/new
Fill In
Application Website: your site url
Callback URL: website url plus ?action=twitter
example
http://siteurl/index.php?action=twitter
Fill in the other stuff then once you have done that and got your keys
goto twitter admin and add your keys
Version 1.3
!Fixed signin twitter image for new installs. Link is now set to http://www.smfhacks.com/images/sign-in-with-twitter-l.png
!Updated http://twitter.com to https://twitter.com for profile links,sharing.
Version 1.2
!Use https for api connection
Version 1.1
!Fixed to work with new twitter api
Congrats on getting it approved :)
Congrats, indeed. :)
thanks guys
I created new app, and now i have Consumer key, Consumer secret, Access token and Access token secret. Where can i get Twitter Api Key ?
it isnt needed any more by the looks of thing :/ try it with out it was only for the @anywere wich wasnt fully implemented yet anyway
yes, it seems to work without api key.
Thanks for creating this mod ;)
//
I have one more question...
How can I change language for Sign in button or add my own image (like it is in FB integration) ?
it is an image
in sources/twitter/twitterhooks.php
http://si0.twimg.com/images/dev/buttons/sign-in-with-twitter-l.png
Hi, I've just installed this and attempting to test it I get this error:
QuoteThe database value you're trying to insert does not exist: p_twitname
did you setup an app on twitter?
Quote from: SA™ on August 23, 2011, 03:47:21 PM
did you setup an app on twitter?
Hi, yes I did.
I installed mod successfully and set up app. Entered consumer key and consumer secret and switched mod on.
When I click on the button I get taken to Twitter and do the confirming bit then end up back at my forum at a screen where I have to enter username, email and password. When I click save I get the error. However, the new member does appear as registered?
Any thoughts as to what I've done wrong?
The database value you're trying to insert does not exist: p_twitname
Test:
http://buscashare.in/forum/index.php?action=twitter
And already created and configure the app on Twitter
I can confirm this even though it was already reported. :)
I got to work, but when you register at Twitter just enter a PIN number and nothing happens.
http://www.sa-smf.com/community/index.php?topic=1161.msg6881#msg6881
see that regarding the pin it isnt needed
Quote from: tectonny on August 24, 2011, 11:45:36 AM
I got to work, but when you register at Twitter just enter a PIN number and nothing happens.
How did you get it to work, I still just get The database value you're trying to insert does not exist: p_twitname
?
can i have link to your site pls?
Quote from: SA™ on August 26, 2011, 03:43:48 AM
can i have link to your site pls?
Yes it's here http://www.bbcradioforum.co.uk I have switched on the mod so would appreciate if you could let me know when you have finished looking as I'd like to turn it off again until it's all working correctly. Thanks for your help.
sry for the long wait
just a hunch do you have datasebase driven sessions enabled?
I'll check but have no idea what that means or what will happen if I disable it?
Quote from: SA™ on August 29, 2011, 01:50:19 PM
sry for the long wait
just a hunch do you have datasebase driven sessions enabled?
Yes it was enabled, I have turned it off but the problem still exists.
Quote from: darcysarto on August 23, 2011, 09:37:58 AM
Hi, I've just installed this and attempting to test it I get this error:
QuoteThe database value you're trying to insert does not exist: p_twitname
I got that same message when i registered at your site but it registered me anyway
Quote from: kingkingston on August 31, 2011, 01:05:05 PM
I got that same message when i registered at your site but it registered me anyway
Hi yes, thanks for trying it. Yes it does still register you, although I don't think you can then actually login with your Twitter account?
How can I manually un-install this mod, my site suddenly won't load at all and this mod is the only error showing in the logs? ???
It worked just fine for a week and all of a sudden KA-POW, white screen with no display of errors or reason for site not loading....
Note this is not the site in my sig.
Edit; Yep...that was it, I deleted all of the files for this mod and everything is back to normal, the site is accessible with no errors.
Thanks anyway ::)
I am getting an error in my logs which I can only presume is related to this mod (thanks by the way as I had been waiting for it!). The error is as follows:
http://www.awolonline.net/forum/index.php?action=register
2: Invalid argument supplied for foreach()
File: /home/xxxxxxx/public_html/forum/twitterauth/lib/Twitter.php
Line: 394
This looks like it is something to do with Guests trying to register using their Twitter ID but I have no idea really. I have not altered the file in question and it installed without a hitch. Can anyone help?
I have now switched this mod off. Has anyone actually got it working?
I'm so pleased this mod is now available, thank you! I've got it working fine on my website.
However, my own theme is a customised version of curve, and I was looking for a way to place the Twitter login button just under my Facebook login button in the site header.
With Facebook (i'm using your SA Facebook mod) I simply copied the HTML for the button from the Login page of SMF and pasted it into index.template.php. However with the Twitter login button, I can't as it seems to generate a new oauth token each time.
Is there an easy way of dropping the button into the theme coding somehow?
Here's my site: http://forum.onlyanexcuse.com/
I'd like the button to sit just under my Facebook Connect button at the top-right of the screen. I'd be okay in adding this to the index.template.php file, what I need is the right code to put in there. I looked through the mod's files but i'm none the wiser.
If you can help then that would be great, or even a push in the right direction. Thanks!
your need to call
twit_init();
then you can use the $url varible like
global $url;
twit_init();
echo'<a href="'.$url.'"><img src="http://si0.twimg.com/images/dev/buttons/sign-in-with-twitter-l.png" alt="'.$txt['twittsign'].'"/></a>';
Quote from: awolexpat on September 02, 2011, 03:16:21 AM
I am getting an error in my logs which I can only presume is related to this mod (thanks by the way as I had been waiting for it!). The error is as follows:
http://www.awolonline.net/forum/index.php?action=register
2: Invalid argument supplied for foreach()
File: /home/xxxxxxx/public_html/forum/twitterauth/lib/Twitter.php
Line: 394
This looks like it is something to do with Guests trying to register using their Twitter ID but I have no idea really. I have not altered the file in question and it installed without a hitch. Can anyone help?
in that file line 394 you can add
$obj = array();
before
$obj = json_decode($this->responseText);
Thanks SA - I have made that edit and will only post on here again if the errors continue.
Much appreciated SA, going to try this out now. Cheers!
Quote from: SA™ on September 05, 2011, 11:00:31 AM
your need to call
twit_init();
then you can use the $url varible like
global $url;
twit_init();
echo'<a href="'.$url.'"><img src="http://si0.twimg.com/images/dev/buttons/sign-in-with-twitter-l.png" alt="'.$txt['twittsign'].'"/></a>';
I tried putting this in but to no avail, and tried messing about with it to try get it working, but it ended up confusing me no end.
I want to place it in a div container (called "twbox" which I can use to position it under the FB button), then into the index.template.php inside the "top_section" div of the curve theme.
If it's possible you could help further it would be greatly appreciated. PHP isn't my forte, sadly.
Sorry to report that the error has started appearing again - to save anyone searching it is this:
Guest 66.249.68.114 Today at 05:46 AM 58f390da47f21f73c162a6ed3afe3bc9
Type of error: General
hxxp://www.awolonline.net/forum/index.php?topic=527.02: Invalid argument supplied for foreach()
File: /home/xxxxxxx/public_html/forum/twitterauth/lib/Twitter.php
Line: 395
Different line I guess because of the edit made. Any ideas?
@Errapolis
if you can post up the file your editing i can show you what todo
@awolexpat
thanks for testing that i think im going to use a different twitter lib in the next realse the current one does seem a ittle to buggy for my liking
Quote from: SA™ on September 08, 2011, 10:41:43 AM
@Errapolis
if you can post up the file your editing i can show you what todo
@awolexpat
thanks for testing that i think im going to use a different twitter lib in the next realse the current one does seem a ittle to buggy for my liking
Any news on the 'The database value you're trying to insert does not exist: p_twitname' error?
the mod works great, but I stop working some functionality of TinyPortal, such as block management.
Anyone else has happened?
----------------
el mod funciona muy bién, pero me deja de funcionar alguna funcionalidad de Tinyportal, como por ejemplo la gestión de bloques.
A alguién más le ha pasado?
Saludos y gracias.
Yes,me.
It's a problem with TinyPortal and this.
When SA twitter is enable dont work admin from tiny portal and error is Fatal error: Cannot redeclare get_boards() (previously declared in /home/****/public_html/Sources/Twitter/TwitterHooks.php:293) in /home/****/public_html/Sources/TPortalAdmin.php on line 3877
get_boards() is declared in tinyportal files.
i think i have the same error as awolexpat
/index.php?/board,31.0.html
2: Invalid argument supplied for foreach()
File: /home/xxx/domains/xxx/public_html/twitterauth/lib/Twitter.php
Line: 396
how to fix it?
Quote from: Danni_X on September 19, 2011, 08:05:14 PM
Yes,me.
It's a problem with TinyPortal and this.
When SA twitter is enable dont work admin from tiny portal and error is Fatal error: Cannot redeclare get_boards() (previously declared in /home/****/public_html/Sources/Twitter/TwitterHooks.php:293) in /home/****/public_html/Sources/TPortalAdmin.php on line 3877
get_boards() is declared in tinyportal files.
PLS help me to fix it!
try this package
You are great! Thx man! Work now! ;)
P.S. A hooks for a template like facebook? :)
there isnt one right now maybe i the futer ill add some hooks
I'm not sure if this is a Twitter issue or something to do with your mod, but I'll take my chances and ask.
I installed it first and everything worked perfectly. Then I suddenly wasn't allowed to log in with my personal twitter account anymore (the one stated in my forum profile). Turned out I had been logged into twitter with another twitter account (that I use for a page I created for the project which also has the forum), and apparently it had to be the same account to make it work.
Now, the first time I installed this and logged in I was asked for my personal Access token. Then I changed my twitter username, recreated the access token and tried again. Then I just got the "Whoa stop there" message from Twitter, saying that somebody else already used that token.
I tried deleting the application and making it again, I tried uninstalling the mod, deleting it and then upload (zip from harddisk since download in package manager doesn't work) and install again while also deleting/remaking the twitter application with a new Consumer key and all, but still I got the same problem. The key issue here is that I was never asked again for my Access token. I saw that it appeared automatically in the URL when pressing the "Log in with Twitter" button on the login page. So it seems to me that the Access token value has been stored in the SMF database and that it is not deleted when I delete the mod. Therefore it doesn't ask again for a new value of the token next time I run it, and since I am unable to change the token, I am unable to verify my identity to the twitter application, which therefore doesn't allow me to log into SMF.
If you think my analysis here is correct, then my question is if you can help me delete this entry from the database, or preferrably make sure that the next version of the mod deletes this database entry upon uninstalling.
If I have misunderstood, then my question is if you can tell me what really happens and what I can do to fix it.
Thanks in advance!
Quote from: darcysarto on August 24, 2011, 08:28:59 AM
When I click on the button I get taken to Twitter and do the confirming bit then end up back at my forum at a screen where I have to enter username, email and password. When I click save I get the error. However, the new member does appear as registered?
Any thoughts as to what I've done wrong?
Perhaps this has already been solved, but I remember this phase clearly and I almost did the same mistake. The screen you come to is "REGISTER OR LOG IN" and enter the forum. You want to log in to the forum with your existing account, not register a new account (perhaps even with the same name).
This mod has very bad behavior when Twitter is down/slow. It seems to block requests, making individual processes use up CPU until the connection fails, making the entire forum/server non-responsive.
Quote from: MegaByte on October 14, 2011, 09:05:36 AM
This mod has very bad behavior when Twitter is down/slow. It seems to block requests, making individual processes use up CPU until the connection fails, making the entire forum/server non-responsive.
this happenned to me last night. only been using this mod for a fews weeks and the fb one. I can get no support for the facebookhooks.php and twitterhook.php with the get_boards (in forum error log filling up) and showing a topic url in the error that does not include my forums directory. Not sure if this has something to do with simple portal being involved.
anyway my server vps... went to 100 cpu load yesterday at an important time for me. I was getting these kind of errors during the time in forum log:
http://www.chinesedemocracy.com/forum/index.php?topic=27968.0;prev_next=next
2: Invalid argument supplied for foreach()
File: /home/xx/public_html/forum/twitterauth/lib/Twitter.php
Line: 396
My hosting company who is a good company, got the load down somehow... I guess killing off processes I dunno. but I need to fix these errors
Quote from: MegaByte on October 14, 2011, 09:05:36 AM
This mod has very bad behavior when Twitter is down/slow. It seems to block requests, making individual processes use up CPU until the connection fails, making the entire forum/server non-responsive.
i dont know any way around this issue unfortuantly :(
for me, the mod is installed but suddenly i see twitter button disappeared from registration page
can anyone answer why twitter button is not working(seen) anymore on registration page?
even twitter login integration is now not possible
link to site?
i've sent you the link
twitter login button appeared for sometime on login and registration page and then again disappeared.
for a while on login page twitter oauth_token= was empty and again it started taking a token value
strange MOD
this maybe the twitter lib i used im looking into changing the lib to a different one but my main focus right now is the fb one as i use facebook more than twitter
okay but what about SA twitter thats already installed?
Quote from: SA™ on November 08, 2011, 11:27:43 PM
this maybe the twitter lib i used im looking into changing the lib to a different one but my main focus right now is the fb one as i use facebook more than twitter
SA (or anyone),
I know nothing about the Twitter lib but am willing to learn; firstly which lib did you use for the mod and is it difficult to change it myself? I looked at the Twitter.php file in the twitterauth>lib folder and at the start of that file it credits CodeIgniter Twitter API library and an Elliot Haughin, so is that what you used? When i look at the dev part of the Twitter site (https://dev.twitter.com/docs/twitter-libraries), there is no mention of this library. Is it as simple as choosing one of those others listed and replacing some or all the code in Twitter.php? I can't believe it is as otherwise SA would have already done it, but if someone can point me in the right direction I'll have a go at doing whatever I need to do myself (I have a clone of my forum to test on). The errors relating to this on my live forum are starting to really irritate me, plus I am worried that it also means people are receiving error messages and/or are not actually able to log on/register with Twitter. When I try it myself it works but I'm not completely convinced that is the case for other guests and members.
Otherwise any idea when you will have time to change the lib and look at this SA? If it is only a matter of a couple of weeks I will leave it, but if it is going to be months then I'll have a crack at fixing it myself.
well im probaly not gonna get to it after christmas myself but it might be longer cos when i change the lib ill also redo most of the code to use oop instead facebook mod is nealy ready ti realse with oop programing
if you decide to crack at it your self there is a bit to change it not just the lib your most like have to chnage theactual source code a little
yes CodeIgniter Twitter API library is what it uses
http://codeigniter.com/wiki/CodeIgniter-Twitter_Library
http://codeigniter.com/forums/
there is one in the link you posted above that i used first that seemed more stable dont ask me why i chnaged the lib lol
i am working on this this week updating the lib and fixing the many bugs
Quote from: SA™ on November 21, 2011, 02:27:37 PM
i am working on this this week updating the lib and fixing the many bugs
Whatever happen to "after christmas"? :P
it needed tobe done
Here's a view of what's coming in the next version. :)
0.4 relesed
chnaged to a different twitter php lib [fixes most of the Bugs]
fixed issue where it was calling twitter info on each page load now only does it when needed
added support for custom login url
added support for custom login img
now reqires oauth keys from twitter
now uses session url whn loggin in
updated twitter logs in admin to use creat list function
fixed errors with api call failing with try and catch functions to catch errors
added support for at anywere
now you can import twitter avatars
added allready registerd check
added support for last tweets at index
added supoort for reg agreement
added publisher
fixed issue showing redirect boards in bards list
Hi SA,
Thanks for the update BUT I am getting a bunch of errors after installation (it installed no problems), as follows:
hxxp://www.awolonline.net/forum/index.php?http://www.awolonline.net/forum/
8: Undefined index: oauth_token
File: /home/xxxxx/public_html/forum/Sources/Twitter/TwitterHooks.php
Line: 442
hxxp://www.awolonline.net/forum/index.php?http://www.awolonline.net/forum/
8: Undefined index: twusername
File: /home/xxxxx/public_html/forum/Sources/Twitter/TwitterHooks.php
Line: 465
hxxp://www.awolonline.net/forum/index.php?http://www.awolonline.net/forum/
8: Undefined index: twuserid
File: /home/xxxx/public_html/forum/Sources/Twitter/TwitterHooks.php
Line: 467
hxxp://www.awolonline.net/forum/index.php?http://www.awolonline.net/forum/
8: Undefined index: twpic
File: /home/xxxxx/public_html/forum/Sources/Twitter/TwitterHooks.php
Line: 468
These errors are accumulating rapidly! Also if I try to access my forum as a guest it doesn't load properly. I uninstalled the old (last version) mod but didn't delete it and the uninstallation seemed also to have no problem. Any clues as to what is happening?
P.S I have just uninstalled it, but now (as a guest trying to open the forum on Google Chrome) I am getting the following error appearing:
Fatal error: Call to undefined function twit_init() in /home/awolonl1/public_html/forum/Sources/Load.php(2494) : eval()'d code on line 260
Would this be some stray code that hasn't been removed in either the old or new version of the mod?
P.P.S I have reinstalled the previous version and my forum is accessible again for guests; interestingly I was logged in as admin all the time and never had any issues (thankfully) so that might give you a clue to where the problem lies?
hmm it shouldent be loads them vars on index have you got twit_init() decalred someware else
prob down to this
Call to undefined function twit_init() but it is an eval()' error can you disable template evalation
admin>server settings>Disable evaluation of templates then try a repopulate that error it should give more info this way
Sorry for the delay in replying. I have Simple Twitter installed, but that was installed with the previous version as well - I assume that might declare twit_init()? The eval error appeared not in the error log but at the top of the screen when the forum wouldn't load properly as a guest. I am loathe to reinstall the new version for fear it will break the forum completely, so I will wait to see if anyone else has similar problems I think. I have a suspicion that it is either a conflict (possibly with Simple Twitter) or there might be some code that is not being removed fully when I uninstall the old version. When i have time I will look at the parse and compare it to my files. My forum is heavily modded so there is every chance that something is conflicting though.
twit_init has nothing todo wit the simple twitter mod you have a custom theme right?
did you do this to add the login button?
http://www.simplemachines.org/community/index.php?topic=446987.msg3153017#msg3153017
if so your need to remove that and use show_twitter_login() with the new version other wise using twit_init in the new version will give the errors above
Hi SA,
Thanks, that fixed the problem with the errors (after I also removed the same code from my portal block), and I have successfully added the Twitter button to my themes, but it does not show up on the default curve theme - can you tell me how to add it there? Also how can I make sure it goes below the Facebook button rather than alongside it on my themes? I am sure others will also want a more detailed description of what how and where to put the code as well. Thanks for the mod and your help so far.
for the default theme index.template.php
echo '
<input type="hidden" name="hash_passwrd" value="" />
</form>';
add after
show_twitter_login();
to make them side by side wich needs to be done anyway cos it does look better ill have to play around with the code mmore later
Hi SA,
OK, did that but no button is showing, either side by side or below the Facebook one. That is on the forum home page (in my case a portal where i have also managed to add FB and Twitter buttons to the user block which do show) but also on the login and register pages for all my themes. Which file(s) do i need to edit to get it on the login and register pages, and again, what should I add and where?
hmm make sure you have anbled the mod after updating cos it installs disabled as default this is the only reason i can think of why it dont show
Hi SA,
Yes, I discovered that last night but didn't have a chance to come on here to update. I would still like to be able to put the Twitter button below the Facebook one on some themes though, so any hint how I can do that? Thanks for all your help by the way, and again for the mod.
if you inserted the button manualy you need to add echo'<br />'; between the button coded like this
facebook code
echo'<br />';
twitter code
if it is the one that show when the mod is installled you need to
depending on what was installed first twitter or facebook
for twitter sources/twitter/twitterhooks.php
$buffer = preg_replace('~(' . preg_quote('<div class="info">'. $txt['guestnew']. '</div>') . ')~', '<a href="'.$url.'"><img src="'.$modSettings['tw_app_log_img'].'" alt="'.$txt['twittsign'].'"/></a><br /><div class="info">'. $txt['guestnew']. '</div>', $buffer);
replace with
$buffer = preg_replace('~(' . preg_quote('<div class="info">'. $txt['guestnew']. '</div>') . ')~', '<a href="'.$url.'"><img src="'.$modSettings['tw_app_log_img'].'" alt="'.$txt['twittsign'].'"/></a><br /><div class="info">'. $txt['guestnew']. '</div><br />', $buffer);
if that does not do it your need todo simualr to the sources/facebook/facebookhooks.php file
Thanks SA, that's perfect.
thanks for the update
show_twitter_login();
works cool
Hi SA, me again :-[
I'm getting some errors in my error log as follows:
http://www.awolonline.net/forum/index.php?action=register2
8: Undefined index: tw_enpub
File: /home/awolonl1/public_html/forum/Sources/Twitter/TwitterHooks.php
Line: 84
http://www.awolonline.net/forum/index.php?topic=827.0
8: Undefined index: tw_enpub
File: /home/awolonl1/public_html/forum/Sources/Twitter/TwitterHooks.php
Line: 133
The first one has appeared many times, the second one only once (so far). They are all from guests, not logged in members. Any ideas?
enable then disable the publisher and they will go
SMF package manager shows 0.3.3 and why doesnt it show version is old, when existing new version is 0.4
package_info.xml says 0.4 so you must of got the old version
Thanks SA, that worked.
i know i had the old version
but why is SMF package manager showing green button still and says package is upto date???????????
i would thinkit the way the package manager work seem to treat 0.3.3 as a greater number than 0.4 it is nothing to worry about once you have updated you can remove the 0.3.3 package
I cant get this too work?
after user allows the app to be used it gives a PIN and says to return to the website and enter the pin as part of the verification process.. if you click BACK your just back to login, if you click 'continue to *** website' you jst go back to homepage and start over, log in via twitter brings you to page with PIN on it telling you to enter it..?
quick google comes back with
QuoteOne method of authenticating via OAuth is called out-of-band (OOB). Instead of redirecting a user to a callback URL this method of OAuth instead displays a pin code for the user to input into an application. It sounds like this is the pin code being referred to.
did you set your callback url>?
How do you move the twitter share buttons location within themes? I'm not keen on the current location just under the link tree, especially as there's a big gap beneath the button.
Great mod by the way, very clever.
Quote from: alanmcg on December 17, 2011, 04:22:58 PM
How do you move the twitter share buttons location within themes? I'm not keen on the current location just under the link tree, especially as there's a big gap beneath the button.
Great mod by the way, very clever.
I disabled that within the mod and used a different mod that put both facebook and twitter buttons next to the topic title in the title bar on the first post in a topic...much better.. the mod was Facebook & Twitter Sharer
http://custom.simplemachines.org/mods/index.php?mod=2827
@ SA - I have now set it and it works... E-Notify mod blocks it though just so you know...dunno why, ive had to get rid of that in favour of your mod
this was on a white page
({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })
^ I've tried that mod and agree it makes a lot more sense where it puts the buttons, but I'd rather not complicate matters by having lots of mods doing similar things. Would be great if I could just alter a bit of code and get the existing mods twitter button in the right place.
Quote from: alanmcg on December 17, 2011, 08:12:41 PM
^ I've tried that mod and agree it makes a lot more sense where it puts the buttons, but I'd rather not complicate matters by having lots of mods doing similar things. Would be great if I could just alter a bit of code and get the existing mods twitter button in the right place.
thing is with doing that you have to start noting/remembering where and what code you have added/changed and reversing it later if you want to remove or change mods - where as using mods does it all for you
True, I already have that with my customised theme though, every time I update something breaks. ;D SimplePortal recently decided to randomly ruin much of the spacing for no clear reason.
i am considering moving the the share buttons in the next realse the main reason in having them where they are was to save on code edits
Hi there, somehow this sounds as a great mod.
I've installed the mod on a testing-board and I've managed to tweet automatic new topics from a board.
However, to link my twitter-account on my profile page doesn't seem to work.
Besides of that, I have really no idea what else to expect from this mod. What does it do, besides to auto-tweet new topics ?
Tnx in advance
Working on a clean/fresh/empty SMF 2.0.1 with simple portal 2.3.4 and this mod 0.4Rev23
Quote from: usrfsledge on December 19, 2011, 10:35:03 AM
Hi there, somehow this sounds as a great mod.
I've installed the mod on a testing-board and I've managed to tweet automatic new topics from a board.
However, to link my twitter-account on my profile page doesn't seem to work.
Besides of that, I have really no idea what else to expect from this mod. What does it do, besides to auto-tweet new topics ?
Tnx in advance
Working on a clean/fresh/empty SMF 2.0.1 with simple portal 2.3.4 and this mod 0.4Rev23
It allows users to login with twitter (you need to create an app for this)
It puts a button at top of each topic so users can tweet the topic
Okay, not really much as other mods do, only they don't need the app.
Weird anyway, the auto-post-new-topics-from-a-specific-board seems to work well. So I suppose the app works.
But linking a members (profile) to Twitter doesn't. No errors, but also no linking. And because of that, I suggest, I can't see any buttons on top of pages/topics.
Quote from: usrfsledge on December 19, 2011, 11:32:48 AM
Okay, not really much as other mods do, only they don't need the app.
Weird anyway, the auto-post-new-topics-from-a-specific-board seems to work well. So I suppose the app works.
But linking a members (profile) to Twitter doesn't. No errors, but also no linking. And because of that, I suggest, I can't see any buttons on top of pages/topics.
sure your using
this mod?
A) I cant "
auto-post-from-certain-boards"... how do you set that up as I would like to?
B) for tweet button you have to enable it under BOARDS by checking which ones you want the button to appear
..personally i dont and use a different mod as this mod places the button at top left which uses up a whole line of space just for the button (2 lines when you use his Facebook integration mod too), another mod I use puts tweet and facebook share buttons on the title-bar of the first post on every topic (which is better)
all mods that allow users to sign into the forum with twitter require an app, its quite easy to setup. anyway, you still have to create a username, password and email when they use it for first time - there are no twitter/FB login mods that can do this without needing to sign up first with username/pass/email etc - if you know of one please do let me know.
the ones your on about probs just post straight to that users wall if they are logged into twitter in same browser session..
Quote from: snadge on December 19, 2011, 12:00:42 PM
the ones your on about probs just post straight to that users wall if they are logged into twitter in same browser session..
Yup, that's correct.
Quote from: snadge on December 19, 2011, 12:00:42 PM
sure your using this mod?
A) I cant "auto-post-from-certain-boards"... how do you set that up as I would like to?
Yup again, I'm pretty sure.
I can't tell you exactly, because I've deleted my test-scenario. But somewhere at the admin-section you can select the board from wich a tweet will be done whenever a new topic is started in that board.
in twitter admin you can enable the publisher to publish new post or/and new members to twitter you can select wich boards get published by visting the boards section in twitter admin
Quote from: SA™ on December 21, 2011, 10:27:21 AM
in twitter admin you can enable the publisher to publish new post or/and new members to twitter you can select wich boards get published by visting the boards section in twitter admin
well thats what I thought, but when I do it it doesnt work? nothing gets posted
I have publisher checked for "new posts and new members" and my chat section checked under 'publish' (I dont have tweet button enabled, shouldnt need to) - when I post in that section nothing is posted to twitter
whats is you application Access level set to it should be read and write
if it is just read your have to go into your app settings page click settings and check read and write now go to your
twitter profile settings on twitter and revoke access to you app then go back to you application setting pagw and click create my access token now the access level should say read and write
Yes Nice work
when Update dont forget Portuguese files
When i try t
Quoteo open user profile it give following error
"Fatal error: Uncaught exception 'EpiOAuthUnauthorizedException' in /home/shrinkdw/public_html/forum/twitterauth/EpiOAuth.php:432 Stack trace: #0 /home/shrinkdw/public_html/forum/twitterauth/EpiOAuth.php(404): EpiOAuthException::raise(Object(EpiCurlManager), false) #1 /home/shrinkdw/public_html/forum/twitterauth/EpiOAuth.php(45): EpiOAuthResponse->__get('oauth_token') #2 /home/shrinkdw/public_html/forum/Sources/Twitter/TwitterHooks.php(366): EpiOAuth->getAuthenticateUrl() #3 /home/shrinkdw/public_html/forum/Sources/Subs.php(4248): twitter_profile_areas(Array) #4 /home/shrinkdw/public_html/forum/Sources/Profile.php(360): call_integration_hook() #5 /home/shrinkdw/public_html/forum/index.php(153): ModifyProfile('twitter_profile...', Array) #6 {main} thrown in /home/shrinkdw/public_html/forum/twitterauth/EpiOAuth.php on line 432"
what to do?? :'(
did you create an application on twitter? and input the keys in admin?
yes i fallow all the steps i can integrate other functions successfully.
well the only way i can replicate this error is by not having api keys in twitter admin
I do not understand what I am supposed to be doing with the Boards section of this mod admin? It has checkmarks for "Twitter Button" and "Publish".
With no apparent documentation that I can find.
Please elaborate?
sry i assumed i woulda been self explainatry :/
tweet button will show a tweet button on selected boards
publish will allow you to auto maticly publish topics to twitter on selected boards
thank you kindly
Excellent mod!
Had some issues getting it to post to twitter but it was just a matter of resetting my keys.
Suggestion:
Ability to add #keywords and/or the #category to the tweets would be nice.
you mean
published post #board
type thing?
Yea something like that.
I know the twitter-bot is an appreciated feature for my users but sometimes it is not immediately obvious by the tweet/thread title what board it was posted it.
Might be nice to be able to assign a #hashtag to the categories being published, IE #Review for my "Reviews & Critiques" category or #Support for the "Q&A and Tech Support" section.
ill see though dont expect it anytime soon as i am very busy at the moment
No problem! Thanks again for the mod.
I think its really cool that my site can now have its own twitter-bot!
The pop-up twitter profiles was a nice touch too.
where do i edit twitter iframe css properties ?
iframe css propertys?
When i check twitter buttown shown on post at firebug it's an iframe. I want it to float right because it is at top of facebook hooks and that doesn't look so well.
it is acualy this part in twitterhooks.php
echo'<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="'.$context['data_via'].'">'.$txt['twti'].'</a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>';
I love what this plugin is supposed to do, but it seems pointless to offer a Twitter login if the user still has to create a username and password. That's the whole point of social logins—that you don't have to create a new username and password.
I'm testing between phpBB and SMF. phpBB has a plugin that can register a user with Twitter without requiring an extra username and password. I've been to many other sites and web apps that work the same.
Is this on the roadmap for this mod?
good, that helped. Thanks! :)
Quote from: Shrink on January 03, 2012, 03:15:29 PM
When i try tQuoteo open user profile it give following error
"Fatal error: Uncaught exception 'EpiOAuthUnauthorizedException' in /home/shrinkdw/public_html/forum/twitterauth/EpiOAuth.php:432 Stack trace: #0 /home/shrinkdw/public_html/forum/twitterauth/EpiOAuth.php(404): EpiOAuthException::raise(Object(EpiCurlManager), false) #1 /home/shrinkdw/public_html/forum/twitterauth/EpiOAuth.php(45): EpiOAuthResponse->__get('oauth_token') #2 /home/shrinkdw/public_html/forum/Sources/Twitter/TwitterHooks.php(366): EpiOAuth->getAuthenticateUrl() #3 /home/shrinkdw/public_html/forum/Sources/Subs.php(4248): twitter_profile_areas(Array) #4 /home/shrinkdw/public_html/forum/Sources/Profile.php(360): call_integration_hook() #5 /home/shrinkdw/public_html/forum/index.php(153): ModifyProfile('twitter_profile...', Array) #6 {main} thrown in /home/shrinkdw/public_html/forum/twitterauth/EpiOAuth.php on line 432"
what to do?? :'(
I have the same error even without the mod enabled (I'm spanish, sorry my english). The error occurs when you click on http://www.cryber.com/foro/index.php?action=profile (only)
Fatal error: Uncaught exception 'EpiOAuthException' in /htdocs/public/www/foro/twitterauth/EpiOAuth.php:434 Stack trace: #0 /htdocs/public/www/foro/twitterauth/EpiOAuth.php(404): EpiOAuthException::raise(Object(EpiCurlManager), false) #1 /htdocs/public/www/foro/twitterauth/EpiOAuth.php(45): EpiOAuthResponse->__get('oauth_token') #2 /htdocs/public/www/foro/Sources/Twitter/TwitterHooks.php(366): EpiOAuth->getAuthenticateUrl() #3 [internal function]: twitter_profile_areas(Array) #4 /htdocs/public/www/foro/Sources/Subs.php(4283): call_user_func_array('twitter_profile...', Array) #5 /htdocs/public/www/foro/Sources/Profile.php(380): call_integration_hook('integrate_profi...', Array) #6 [internal function]: ModifyProfile() #7 /htdocs/public/www/foro/index.php(151): call_user_func('ModifyProfile') #8 {main} thrown in /htdocs/public/www/foro/twitterauth/EpiOAuth.php on line 434
SMF 2.0.2
SA Twitter Integration 0.4 REV23
url http://www.cryber.com/foro/
error url http://www.cryber.com/foro/index.php?action=profile
Twitter consumer key correct
Twitter consumer secret correct
Twitter access token correct
Twitter access token secret correct
Your Twitter User Name correct
Callback URL http://www.cryber.com/foro/index.php?action=twitter
(the same error)
Fatal error: Uncaught exception 'EpiOAuthException' in /htdocs/public/www/foro/twitterauth/EpiOAuth.php:434 Stack trace: #0 /htdocs/public/www/foro/twitterauth/EpiOAuth.php(404): EpiOAuthException::raise(Object(EpiCurlManager), false) #1 /htdocs/public/www/foro/twitterauth/EpiOAuth.php(45): EpiOAuthResponse->__get('oauth_token') #2 /htdocs/public/www/foro/Sources/Twitter/TwitterHooks.php(435): EpiOAuth->getAuthenticateUrl() #3 /htdocs/public/www/foro/Sources/Twitter/Twitter.php(120): twit_init() #4 /htdocs/public/www/foro/Sources/Twitter/Twitter.php(51): twit_main() #5 [internal function]: Twitter() #6 /htdocs/public/www/foro/index.php(151): call_user_func('Twitter') #7 {main} thrown in /htdocs/public/www/foro/twitterauth/EpiOAuth.php on line 434
Thanks
pls try this package
The first bug (when click profile)has been fixed but the second is the same (when click http://www.cryber.com/foro/index.php?action=twitter)
Fatal error: Uncaught exception 'EpiOAuthException' in /htdocs/public/www/foro/twitterauth/EpiOAuth.php:434 Stack trace: #0 /htdocs/public/www/foro/twitterauth/EpiOAuth.php(404): EpiOAuthException::raise(Object(EpiCurlManager), false) #1 /htdocs/public/www/foro/twitterauth/EpiOAuth.php(45): EpiOAuthResponse->__get('oauth_token') #2 /htdocs/public/www/foro/Sources/Twitter/TwitterHooks.php(446): EpiOAuth->getAuthenticateUrl() #3 /htdocs/public/www/foro/Sources/Twitter/Twitter.php(120): twit_init() #4 /htdocs/public/www/foro/Sources/Twitter/Twitter.php(51): twit_main() #5 [internal function]: Twitter() #6 /htdocs/public/www/foro/index.php(151): call_user_func('Twitter') #7 {main} thrown in /htdocs/public/www/foro/twitterauth/EpiOAuth.php on line 434
What are the file and certificate permissions ?
Thanks
in sources/twitter/twitterhooks.php
$url = $twitterObjUnAuth->getAuthenticateUrl();
replace with
try {
$url = $twitterObjUnAuth->getAuthenticateUrl();
}
catch (Exception $e) {
$url = '';
}
sources/twitter/twitterhooks.php
Quote
#349 $twitterObjUnAuth = new EpiTwitter($modSettings['tw_app_id'], $modSettings['tw_app_key']);
#350 try {
#351 $url = $twitterObjUnAuth->getAuthenticateUrl();
#352 }
#353 catch (Exception $e) {
#354 $url = '';
#355 }
#371 $twitterObjUnAuth = new EpiTwitter($modSettings['tw_app_id'], $modSettings['tw_app_key']);
#372 try {
#373 $url = $twitterObjUnAuth->getAuthenticateUrl();
#374 }
#375 catch (Exception $e) {
#376 $url = '';
#377 }
#446 $url = $twitterObjUnAuth->getAuthenticateUrl();
new #445 - #451
Quote
#445 $twitterObjUnAuth = new EpiTwitter($modSettings['tw_app_id'], $modSettings['tw_app_key']);
#446 try {
#447 $url = $twitterObjUnAuth->getAuthenticateUrl();
#448 }
#449 catch (Exception $e) {
#450 $url = '';
#451 }
Now better (thank you very much for your hard work), though the following error message
(http://i39.tinypic.com/w8qekh.png)
i think the edit was made wronge can you try the updated package pls
Sorry, I dnot understand.
to say that uninstall and reinstall the package SA_Twitter_Integration_0.5_REV24.zip?
I installed the package(SA_Twitter_Integration_0.5_REV24.zip) again and I still get the same error
QuoteWe caught an unexpected Exception
No problem with JSON, CURL, safe_mode or PHP version
I see this error is occurring
Quote
http://www.cryber.com/foro/index.php?action=twitter
8: Undefined index: oauth_token
Archivo: /-/-/www/foro/Sources/Twitter/TwitterHooks.php
Línea: 458
Thanks
Attached Spanish translation of the mod (spanish_es)
thanks gonna have to look into this a little more
Quote from: SA™ on February 18, 2012, 01:58:14 PM
thanks gonna have to look into this a little more
Ok, thanks
SA! now I'm trying this mod :P
I have a couple of question, how can I add a "sign with twitter" in my theme (like the social hooks of facebook integration)
and, there's a way to get the twitter username for the registration? because it shows all empty in the registration screen
Thanks!
you can use show_twitter_login(); to show on other themes
without any $global requiere? as in the FB integration?
I suposse that for your Google Integration it will be show_google_login(); also? :P
Thanks
1 yes just that
2 close gplus_show_auth_login();
hehe, thanks! I think I will now give you a rest for today, then I will messing with the code and ask for help :P
Quote from: cryber on February 16, 2012, 02:38:22 AM
I installed the package(SA_Twitter_Integration_0.5_REV24.zip) again and I still get the same error
QuoteWe caught an unexpected Exception
No problem with JSON, CURL, safe_mode or PHP version
I see this error is occurring
Quote
http://www.cryber.com/foro/index.php?action=twitter
8: Undefined index: oauth_token
Archivo: /-/-/www/foro/Sources/Twitter/TwitterHooks.php
Línea: 458
Thanks
Attached Spanish translation of the mod (spanish_es)
And this error??
Thanks
in that file find
$twitterObj->setToken($_GET['oauth_token']);
before add
$_GET['oauth_token'] = !empty($_GET['oauth_token']) ? $_GET['oauth_token'] : '';
SA™...
Installed and configured...but, when I tweet a topic...the Tweet counter does not increase.
thanks gonna have to look into this a little more
Quote from: SA™ on March 08, 2012, 03:41:18 PM
in that file find
$twitterObj->setToken($_GET['oauth_token']);
before add
$_GET['oauth_token'] = !empty($_GET['oauth_token']) ? $_GET['oauth_token'] : '';
Sorry but when click http://www.cryber.com/foro/index.php?action=twitter
¡Un error ha ocurrido!
Ha habido un problema inesperado(We caught an unexpected Exception)
And When clicked on my profile to import the avatar
The database value you're trying to insert does not exist: p_avatar
Is this important for the mod work correctly???
Thank you very much for the effort
what other mods you have installed cos it sounds like somthing is blocking the oauth_token
I installed
Calling Your twitter 2.5 (http://custom.simplemachines.org/mods/index.php?mod=2895)
uninstall this?
try it this mod has that built in
Quote from: cryber on March 10, 2012, 01:48:17 AM
I installed
Calling Your twitter 2.5 (http://custom.simplemachines.org/mods/index.php?mod=2895)
uninstall this?
uninstall the mod, but the errors are the same
Thanks
hmmm ok can you give me a few days? to look into this more?
Quote from: SA™ on March 10, 2012, 03:26:11 PM
hmmm ok can you give me a few days? to look into this more?
ok..thanks
The auto-tagging feature is awesome :)
Can we do such thing to tag our forum usernames ?? Same method as of this ? Such mod will do wonders to SMF forum.... If possible, do try for this too :)
You did an awesome work SA... I am loving each of your mods and your support for each mod too is great !!!
Getting Errors in log. Though I have not activated twitter integration i.e I have installed the mod, provided the settings but unchecked the option where it says "Enable Twitter"
Following are the Errors:
Type of error: Undefined
http://yoursite.com/index.php?action=register28: Undefined index: tw_enpub
File: (server path)/Sources/Twitter/TwitterHooks.php
Line: 84
Type of error: Undefined
http://yoursite.com/index.php?action=register28: Undefined index: tw_enpub
File: (server path)/Sources/Twitter/TwitterHooks.php
Line: 84
Type of error: Undefined
http://yoursite.com/index.php?action=facebookintegrate;area=auto;agree
8: Undefined index: tw_enpub
File: (server path)/Sources/Twitter/TwitterHooks.php
Line: 84
added new version
Quotechnage th authorisesation logic should fixe some errors
added supprt for hash tags witht the publisher
added support for auto login
fixed issue with guest acesss dissabled
fixed error Undefined index: tw_enpub
Quote from: SA™ on March 18, 2012, 03:10:34 AM
added new version
Quotechnage th authorisesation logic should fixe some errors
added supprt for hash tags witht the publisher
added support for auto login
fixed issue with guest acesss dissabled
fixed error Undefined index: tw_enpub
Wow, thatz great :)
I am checking out !!!
i wanted to also add auto register to this but there is no way of getting an email addy from twitter they only way would to be use a fake one but im not going that route it is the same for the gplus one aswell shame realy even the auto login part in this can be a bit of a hit and miss somtimes been testing it out the last few weeks most of the time it ok tho
I found a bug which is when I go to Profile>Twitter>Import (Import Twitter Avatar)
I get the following error
Error Has Occurred!
The database value you're trying to insert does not exist: p_avatar
What maybe the issue ?
Quote from: die2mrw007 on March 18, 2012, 05:48:45 PM
I found a bug which is when I go to Profile>Twitter>Import (Import Twitter Avatar)
I get the following error
Error Has Occurred!
The database value you're trying to insert does not exist: p_avatar
What maybe the issue ?
pls try the updated package
Quote from: SA™ on March 18, 2012, 06:10:21 PM
Quote from: die2mrw007 on March 18, 2012, 05:48:45 PM
I found a bug which is when I go to Profile>Twitter>Import (Import Twitter Avatar)
I get the following error
Error Has Occurred!
The database value you're trying to insert does not exist: p_avatar
What maybe the issue ?
pls try the updated package
okay fine :)
so it ok now?
Hi, today I made update at my site, and tried to change login image, so I added URL to my new image, but modification do not use it..
Any idea what can be wrong?
// I changed image URL in TwitterHooks.php
you can chnage this in twitter admin area
yes, i know, but when i added url for my image in settings mod does not use it
in twitterhooks.php
$buffer = preg_replace('~(' . preg_quote($txt['forgot_your_password']. '</a></p>') . ')~', ''. $txt['forgot_your_password']. '</a></p><div align="center"><a href="'.$url.'"><img src="http://si0.twimg.com/images/dev/buttons/sign-in-with-twitter-l.png" alt="'.$txt['twittsign'].'"/></a></div>', $buffer);
$buffer = preg_replace('~(' . preg_quote('<div class="info">'. $txt['guestnew']. '</div>') . ')~', '<a href="'.$url.'"><img src="'.$modSettings['tw_app_log_img'].'" alt="'.$txt['twittsign'].'"/></a><br /><div class="info">'. $txt['guestnew']. '</div>', $buffer);
$buffer = preg_replace('~(' . preg_quote('<dt><strong><label for="smf_autov_username">'. $txt['username']. ':</label></strong></dt>') . ')~', '<dt>'.$txt['twittregister'].'</dt><dd><a href="'.$url.'"><img src="http://si0.twimg.com/images/dev/buttons/sign-in-with-twitter-l.png" alt="'.$txt['twittsign'].'"/></a></dd><dt><strong><label for="smf_autov_username">'. $txt['username']. ':</label></strong></dt>', $buffer);
replace with
$buffer = preg_replace('~(' . preg_quote($txt['forgot_your_password']. '</a></p>') . ')~', ''. $txt['forgot_your_password']. '</a></p><div align="center"><a href="'.$url.'"><img src="'.$modSettings['tw_app_log_img'].'" alt="'.$txt['twittsign'].'"/></a></div>', $buffer);
$buffer = preg_replace('~(' . preg_quote('<div class="info">'. $txt['guestnew']. '</div>') . ')~', '<a href="'.$url.'"><img src="'.$modSettings['tw_app_log_img'].'" alt="'.$txt['twittsign'].'"/></a><br /><div class="info">'. $txt['guestnew']. '</div>', $buffer);
$buffer = preg_replace('~(' . preg_quote('<dt><strong><label for="smf_autov_username">'. $txt['username']. ':</label></strong></dt>') . ')~', '<dt>'.$txt['twittregister'].'</dt><dd><a href="'.$url.'"><img src="'.$modSettings['tw_app_log_img'].'" alt="'.$txt['twittsign'].'"/></a></dd><dt><strong><label for="smf_autov_username">'. $txt['username']. ':</label></strong></dt>', $buffer);
and now it works :) Thanks
yw not sure why i never chnaged that lol just an oversight i guess
Getting some errors :(
What maybe the issue ?
Quotehttp://forum.gizmolord.com/index.php?action=login2;synctw
The database value you're trying to insert does not exist: p_twitname
Function: updateMemberData
File: (server path)/Sources/Subs.php
Line: 544
Hello,
I've been using SA facebook and it works very well so I thought I would try this. I'm running SMF 2.0.2 with Simple Portal 2.3.5 using Inferno theme but when I click on the 'Sign in with Twitter' button I just get redirected back to my index page.
Any ideas what could be going wrong?
Never mind.. I fixed the problem.
thx
Hello,
maybe someone here can tell me where I must submit to the API, so this mod is.
'm Just not on and the instructions are no longer accessible.
It's about Facebook, Twitter and Google +.
Please help me.
Have taken over work/support of this mod.
What would help me out is if you any bugs that you know about why this modification let me know and I will try to get it fixed. Might back port it to 1.1.x as well not sure though.
I have to first find an explanation on how the whole set up on Twitter.
Check the first post of this topic what part are you stuck on?
Thank you
Yes I had done. Unfortunately, it did not then and still now it works.
Thanks guys,for sharing it on this forum...
Quote from: vbgamer45 on May 16, 2012, 08:21:16 PM
Have taken over work/support of this mod.
What would help me out is if you any bugs that you know about why this modification let me know and I will try to get it fixed. Might back port it to 1.1.x as well not sure though.
Great to know :)
I would like to report a bug:
This mod clashes with Wordpress mod named "WPSMF" : http://wordpress.org/extend/plugins/wpsmf/
When we integrate this twitter mod, a database error pops out in wordpress blog when we try to publish any article, but the post get published anyway.
Thank you VB for taking over this one as well, you're doing a great job. You have already ironed out a lot of the bugs I was having. I just have a couple of very small issues. Only one is a issue if a issue at all.
1. I don't have a Publish option for topics. I have the boxes checked under boards for both tweet and publish but no publish option appears as it does with the FB mod. I have the tweet button though.
2. Since there is no style or template edits I am not sure how to approach this. I would like to move the tweet option to the right of the FB so they are in line together but not sure how to do that since like I said there is not style or template edits. How would I need to do this? See attached screenshot 1
3. Same as the 2nd, but I would like to move my buttons below the login box as shown by the red text in the 2nd attachment.
-Thanks
Quote from: DanielJLewis on February 06, 2012, 09:08:29 PM
I love what this plugin is supposed to do, but it seems pointless to offer a Twitter login if the user still has to create a username and password. That's the whole point of social logins—that you don't have to create a new username and password.
I'm testing between phpBB and SMF. phpBB has a plugin that can register a user with Twitter without requiring an extra username and password. I've been to many other sites and web apps that work the same.
Is this on the roadmap for this mod?
Hi,
I've installed the twitter mod and it requires people to login even though they're already logged into twitter? is this how its supposed to work or have i done something wrong. Please can you clarify as I'm not sure if its working correctly or not?
I have filled in the Twitter consumer key, Twitter consumer secret, Twitter access token, and Twitter access token secret, I'm just checking that all these fields are required.
Thanks
It do not work at all. I try doing every thing, but when i post a topic, my twitter have no new tweet.
Any errors? Check your forum's error log too
I like this mod very much, it's a nice and useful mod.
Can you help me fixing this
(http://nn4.upanh.com/b1.s28.d3/8d007d659068608bf9ebb32458635106_46135484.fix.jpg)
(I add 2 mods: SA Facebook and SA twitter and 2 images broke my user area table, may by it was set up 80px X 80px by theme default but i do not know where to edit and fix, i want them smaller and on the same line)
My smf 2.0.2
My theme: Adk Excellency
Thank you alot!
Hi, i have the 0.3.3 version of this mod.
I want to install the last, guess it's 0.6
How i must proceed ?
help please.
Thanks.
Quote from: Gà Mái on June 15, 2012, 12:34:22 AM
I like this mod very much, it's a nice and useful mod.
Can you help me fixing this
(http://nn4.upanh.com/b1.s28.d3/8d007d659068608bf9ebb32458635106_46135484.fix.jpg)
(I add 2 mods: SA Facebook and SA twitter and 2 images broke my user area table, may by it was set up 80px X 80px by theme default but i do not know where to edit and fix, i want them smaller and on the same line)
My smf 2.0.2
My theme: Adk Excellency
Thank you alot!
todo this you need to find some smaller images to use and then change the images in twitter and facebook admin
Quote from: Ascot on June 15, 2012, 10:14:20 AM
Hi, i have the 0.3.3 version of this mod.
I want to install the last, guess it's 0.6
How i must proceed ?
help please.
Thanks.
you uninstall the 0.3 version and then install the 0.6 version
Quote from: SA™ on June 15, 2012, 03:24:15 PM
Quote from: Gà Mái on June 15, 2012, 12:34:22 AM
I like this mod very much, it's a nice and useful mod.
Can you help me fixing this
(http://nn4.upanh.com/b1.s28.d3/8d007d659068608bf9ebb32458635106_46135484.fix.jpg)
(I add 2 mods: SA Facebook and SA twitter and 2 images broke my user area table, may by it was set up 80px X 80px by theme default but i do not know where to edit and fix, i want them smaller and on the same line)
My smf 2.0.2
My theme: Adk Excellency
Thank you alot!
todo this you need to find some smaller images to use and then change the images in twitter and facebook admin
Quote from: Ascot on June 15, 2012, 10:14:20 AM
Hi, i have the 0.3.3 version of this mod.
I want to install the last, guess it's 0.6
How i must proceed ?
help please.
Thanks.
you uninstall the 0.3 version and then install the 0.6 version
No, although i use a small or a bigger image, it show that, it show exactly fit 80px X 80px
Hi there!
in install the twitter integration, it works fine, with integration and logins, tweets, etc.
but when i create topcis or new members registered, we dont have tweets in our page.
any help??
regards
Hi there! I just installed this mod on my forum, and am not sure I did it right. Can anybody test it? Here it is ---> http://www.themobilehangout.com (http://www.themobilehangout.com). Much appreciated!!
Hi All,
i install in my SMF 2.0 the SA integration plugins. everything its OK
but i want to know how to put the buttons in the same line, in this moment o have one under the other like i show in thies image:
(http://s17.postimage.org/8o0qbc4mn/Capturar.png) (http://postimage.org/)
tanks for help
regards
Quote from: NPimenta on June 23, 2012, 07:57:27 AM
Hi All,
i install in my SMF 2.0 the SA integration plugins. everything its OK
but i want to know how to put the buttons in the same line, in this moment o have one under the other like i show in thies image:
(http://s17.postimage.org/8o0qbc4mn/Capturar.png) (http://postimage.org/)
tanks for help
regards
I would like to know the exact same thing as well. I asked about it a month ago and have been patiently waiting.
http://www.simplemachines.org/community/index.php?topic=446987.msg3342129#msg3342129
Anyone know how I can make this happen?
Anyone?
-Thanks
Quote from: kattara on July 03, 2012, 12:16:39 AM
Quote from: Texan78 on July 01, 2012, 08:28:19 PM
Anyone?
-Thanks
Make what happen, exactly?
Did you not look at the picture attached above in my post and previous 3 posts?
Quote from: Texan78 on July 03, 2012, 01:05:11 PM
Quote from: kattara on July 03, 2012, 12:16:39 AM
Quote from: Texan78 on July 01, 2012, 08:28:19 PM
Anyone?
-Thanks
Make what happen, exactly?
Did you not look at the picture attached above in my post and previous 3 posts?
Ah... Sorry about that. I was on my phone and didn't see the picture. You can check this out: http://www.simplemachines.org/community/index.php?topic=334955.0 (http://www.simplemachines.org/community/index.php?topic=334955.0). It works real great for me!
This mod works great for me, nothing wrong with it. Just need to make some cosmetic edits.
Quote from: Texan78 on July 03, 2012, 04:50:15 PM
This mod works great for me, nothing wrong with it. Just need to make some cosmetic edits.
I use this mod for the logging/signing in. Then I use ShareThis for the actual sharing. I find that mod a bit easier to customize in terms of where to place the +1/tweets, etc.
Quote from: Texan78 on June 29, 2012, 12:08:55 PM
Quote from: NPimenta on June 23, 2012, 07:57:27 AM
Hi All,
i install in my SMF 2.0 the SA integration plugins. everything its OK
but i want to know how to put the buttons in the same line, in this moment o have one under the other like i show in thies image:
(http://s17.postimage.org/8o0qbc4mn/Capturar.png) (http://postimage.org/)
tanks for help
regards
I would like to know the exact same thing as well. I asked about it a month ago and have been patiently waiting.
http://www.simplemachines.org/community/index.php?topic=446987.msg3342129#msg3342129
I guess what were asking is a lot harder to do. Figured it would be easy edit for someone fluent in SMF and mods...
Can anyone offer any help?
Quote from: buzzybee on May 07, 2012, 01:48:50 PM
When I click on the 'Sign in with Twitter' button I just get redirected back to my index page.
I am having this issue as well, how do I fix it?
Quote from: Rawkher on July 19, 2012, 02:30:37 PM
Quote from: buzzybee on May 07, 2012, 01:48:50 PM
When I click on the 'Sign in with Twitter' button I just get redirected back to my index page.
I am having this issue as well, how do I fix it?
Bump.
I still can't figure this out :(
Is there a way to get rid of the password requirement hell can I get rid of the email requirement too. I know this is kind of an odd thing to ask but is there any way to get ride of the password requirement and only make users logging into twitter, pick a user name wambam done. The whole Idea of this to me is that prospect users don't have to work to get into my forum. the less work they have to do the better. I understand the A typical forum cares that everyone sets up a password and e-mail for security reasons but I could give a darn less. My forum is very niche and its an extremely aloof demographic dare I say some what douche even.
Its not an end all be all though thanks for any feed back.
Hello, Nice Mod - Good for the alternative and easy login it provides.. but question:
Who Puts a LIKE / Tweet button at the top of their Page (Header) -
Why would a User LIKE / TWEET a Post or topic he/she has not even scrolled down to READ???
Please the Like/Tweet buttons are way better of at the Bottom of Post / or with option to add in each reply
Another feature i love about this mod is Auto-linkification of Twitter usernames with "@"
But again i had to disable it because No "_blank" attribute was set to it.
When users click on a a twitter username that is auto-linkified, It SHOULD Open in a NEW TAB - and not navigate them away from the current page.
my thoughts
Quote from: briggz5d on August 03, 2012, 11:21:59 AM
Please the Like/Tweet buttons are way better of at the Bottom of Post / or with option to add in each reply
You mean like this?
(http://www.mesquiteweather.net/weatherconnection/images/bottom_social.png)
Quote from: briggz5d on August 03, 2012, 11:21:59 AMAnother feature i love about this mod is Auto-linkification of Twitter usernames with "@"
But again i had to disable it because No "_blank" attribute was set to it.
When users click on a a twitter username that is auto-linkified, It SHOULD Open in a NEW TAB - and not navigate them away from the current page.
Just find the code and modify it to add the _blank so it does what you need it to do. Not a hard task.
this is the part that link the @ usernames in twitterhooks.php
$context['html_headers'] .= '
<script type="text/javascript">
twttr.anywhere(function (T) {
T(".section").linkifyUsers({
username: function(node) {
return node.alt;
}
});
});
twttr.anywhere(function(twitter) {
twitter.linkifyUsers();
});
</script>';
there is no way from what i can see to make it open in a new window google didnt realy yeld much eaither
Hello,
when i try to asociate my forum profile with twiter account i recive this error:
An Error Has Occurred!
The database value you're trying to insert does not exist: p_twitname
and have you created an application on twitter?
yes... created... and work with publishing posts... but not work when i want to associate my account...
<Edit>
"No connection" error based on SEFed URLs not accepted by both sided.
I used /twitter (index.php?action=twitter SEFd). After typing action=twitter (non-sefd) everything working awesome :)
I've been doing some extensive testing to get ready to go live and the mod is working great from what I can tell. Only small thing I have come across is the feed isn't showing on the index. It's blank, anyone have any idea what might be causing that? You click on the twitter icon in the header and it shows my page, just no feed.
(http://www.mesquiteweather.net/wxconnection/screenshots/twitter_feed.png)
-Thanks
what mod disoplays this last messages from twitter on boarindex that will probaly conflict with the one in this mod
Quote from: SA™ on August 13, 2012, 10:07:26 PM
what mod disoplays this last messages from twitter on boarindex that will probaly conflict with the one in this mod
Yes, it was my call my twitter mod that places the feed on the index. I was meaning to uninstall it to test it but got sidetracked. As soon as I uninstalled it the other started working. I am going to use the other, but at least I know this one works and how to make it work.
-Thanks
i have some question about this mod
1. i inserted it successfully and also inserted all the code accordingly but when i want to sign in via twitter.i will see the following message "You've granted access to topnichez!
Next, return to topnichez and enter this PIN to complete the authorization process" *********
when i go back, i will not see anything :-[
2. does it has "Social Hooks" like facebook because i wish to place it where my facebook logo is ?
thanks
Please i need help!!!!
look thrue the topic the anser is in this thread not too far back basiclly pin is for out of band mobile devices so you need to disable it in your app
Quote from: SA™ on August 16, 2012, 12:00:28 PM
look thrue the topic the anser is in this thread not too far back basiclly pin is for out of band mobile devices so you need to disable it in your app
Sorry but the question somebody asked about the same problem im using has no Feedback concerning PIN requirement . Please tell me what to do.
Also on the issue of Social hook, i saw many codes on that. please help me
Hello,
I am not having a problem with the Twitter integration that I have noticed. BUT I did install yesterday "RSS Feed Poster 3.0.4 Released with 2.0 Support!" It has a cron file that you can run for the mod. When you run it in the browser I get "The database value you're trying to insert does not exist: current_board".
So I go to my log file and see this error. It is referring to the TwitterHooks.php. I am stumped because I am not sure how or why a cron file from another mod could even conflict with this.
Quotehttp://www.wxconnection.com/cronrss.php
The database value you're trying to insert does not exist: current_board
Function: tiwtt_get_boards2
File: /home4/mesquiu0/public_html/wxconnection/Sources/Twitter/TwitterHooks.php
Line: 627
This is showing lines 615-627 which 627 is the line its referring to, but that's because it is the end of the line. So posting the start of that function.
function tiwtt_get_boards2($board=0){
global $smcFunc, $context, $board;
$req1 = $smcFunc['db_query']('', '
SELECT
COUNT(*) AS total
FROM {db_prefix}boards
WHERE tweet_pubenable = {int:one} AND id_board = {string:current_board}',
array(
'one' => 1,
'current_board' => $board,
)
);
Any ideas or suggestions of what might be causing this. I am stumped and don't even know where to start looking.
-Thanks
Hello,
Is there some info how to create app for twitter?
Like i said earlier...
First I create one app and that app work with my site.
After that i transfer my site to VPS and everything stop work. I think on facebook, twitter and google+ integration.
It show me twitter integration, but i cant intagrate with twitter accounts.
Also when someone try to register and try to register with twitter account script just back user to page where user must accept rulest and terms of use on index.php?action=register .
I try to uninstall and install again twitter integration but i recive stil same problem.
Also when I login to twitter and i have one account already integrate with accounts and when i try to open twitter settings page just star load and stop after menu.. Dont show anything under this menu in profile.
Where can be problem?
Quote from: LOVELORD on August 28, 2012, 08:01:31 PM
After that i transfer my site to VPS and everything stop work. I think on facebook, twitter and google+ integration.
Sounds like file paths are different and not the same as they were on what you were testing it on. Double check your file paths and domain in the app and in the mod.
Quote from: LOVELORD on August 28, 2012, 08:01:31 PM
Also when someone try to register and try to register with twitter account script just back user to page where user must accept rulest and terms of use on index.php?action=register .
That's what it is suppose to do. It transfers you to your Twitter app and asked you to login and accept the app and then forward you to acceptance agreement. If you are already logged in it will bypass the first step and go to the acceptance agreement. After you except the agreement then it will go to another page that asks for your username and password. Enter that and hit registered and you will be registered via Twitter. Then every time a members wants to log in hit the log in with twitter and it will log them in.
Domain is same... all thing is same, even the ip adress becouse i change from shared hosting to VPS. I have a lot of users who use poddcast of my show.
And then all thing stop work, but i create a new app and enter again the all same things. And now all thing stop working.
Here is configuration of my app on twitter
OAuth settings
Your application's OAuth settings. Keep the "Consumer secret" a secret. This key should never be human-readable in your application.
Access level Read, write, and direct messages
About the application permission model
Consumer key
Consumer secret
Request token URL https://api.twitter.com/oauth/request_token
Authorize URL https://api.twitter.com/oauth/authorize
Access token URL https://api.twitter.com/oauth/access_token
Callback URL http://www.domain.rs/index.php?action=twitter
Your access token
Use the access token string as your "oauth_token" and the access token secret as your "oauth_token_secret" to sign requests with your own Twitter account. Do not share your oauth_token_secret with anyone.
Access token
Access token secret
Access level Read-only
I remove all sicret information...
That information i enter in admin panel in details about twitter integration.
What is VPS?
Quote from: Texan78 on August 29, 2012, 04:05:08 PM
What is VPS?
Virtual Private Server, something like Hosting, just youhave dedicated ram and cpu.
It's probably a issue with with way you're hosted then.
Quote from: Texan78 on August 29, 2012, 11:33:26 PM
It's probably a issue with with way you're hosted then.
please Master help me out with this. i asked this question but i couldn't find exactly where the answer is on the previous pages
i have some question about this mod
1. i inserted it successfully and also inserted all the code accordingly but when i want to sign in via twitter.i will see the following message "You've granted access to topnichez!
Next, return to topnichez and enter this PIN to complete the authorization process" DE6******
when i go back, i will not see anything
2. does it has "Social Hooks" like facebook because i wish to place it where my facebook logo is ? i need a Social hook
thanks
Are you trying to log into your forum with the same account your that you have linked to your forum?
If so that will not work.
Quote from: Texan78 on August 30, 2012, 01:52:19 AM
Are you trying to log into your forum with the same account your that you have linked to your forum?
If so that will not work.
thanks for that but what about the Social hook. please help me with it
Read this thread...
http://www.simplemachines.org/community/index.php?topic=482843.msg3381293#msg3381293
I've just added this mod to a brand new, out-of-the-box install of SMF 2.0.2, and I get the following message on SMF when Twitter's authentication page returns me to
/index.php?action=twitter;area=connect;agreeQuoteAn Error Has Occurred!
No Connection
I followed all the instructions to activate the mod (app keys, etc), so immediately I'm stumped as to what this message means and how I can fix it. Any ideas please?
Quote from: JamesWC on September 09, 2012, 10:52:42 AM
I've just added this mod to a brand new, out-of-the-box install of SMF 2.0.2, and I get the following message on SMF when Twitter's authentication page returns me to /index.php?action=twitter;area=connect;agree
QuoteAn Error Has Occurred!
No Connection
I followed all the instructions to activate the mod (app keys, etc), so immediately I'm stumped as to what this message means and how I can fix it. Any ideas please?
Refresh the page and try again. May have to try it a couple times. I get it from time to time but mine works fine.
I can't ask users to do that. If that's the only solution then I'll have to uninstall the mod, which is a great shame. :(
Quote from: JamesWC on September 10, 2012, 12:47:39 AM
I can't ask users to do that. If that's the only solution then I'll have to uninstall the mod, which is a great shame. :(
So this is a user that is reporting this problem? Have you been able to replicate it?
Normally that means the info wasn't entered correctly or your Twitter App isn't set up correctly because the Mod is unable to connect to Twitter.
The forum isn't open to users yet, I'm encountering the problem myself, on multiple browsers and Twitter accounts.
In what ways could my Twitter app be set up incorrectly? The callback URL is "http://mysite.com/forum/index.php?action=twitter" and I have all the necessary keys, etc. The access level is read-only, could that be it? Do I need to somehow customize the OAuth settings? There doesn't seem to be much that I could have done wrong.
My access level is set to read and write.
Maybe try changing that and see if that works for you.
I have everything installed and when I click the login button for Twitter, nothing happens.
Pls help :(
http://ourmomspot.net/community/index.php?action=login
What does it do white screen or what?
Got it working!
Only two minor questions...
1) How do I fix this double text / typo (see attached)
Error!
Can you tell me where I went wrong?
The issue for the double "Here" seems to be in Twitter.template.php.
<div class="error">'.$txt['tw_app_regonlyonce1'].'<a href="'.$scripturl.'?action=twitter;area=logsync"> '.$txt['tw_app_regonlyonce2'].'</a> '.$txt['tw_app_regonlyonce2'].'</div>
Should be:
<div class="error">'.$txt['tw_app_regonlyonce1'].'<a href="'.$scripturl.'?action=twitter;area=logsync"> '.$txt['tw_app_regonlyonce2'].'</a> '.$txt['tw_app_regonlyonce3'].'</div>
:)
Gotcha, Thx!
But the integration isn't working per the error attached. I even re-created the keys.
Out on a limb here...
This page here has two links to Sign in with Twitter:
http://ourmomspot.net/community/index.php?action=register
The one at the top produces your screen shot. The one in the Required Information seems to work just fine. Is the stuff at the end the "key"? If so, it is different on those. If the top one can be fixed up...you might be just fine.
Quote from: monster mashby on October 29, 2012, 08:57:56 PM
Out on a limb here...
This page here has two links to Sign in with Twitter:
http://ourmomspot.net/community/index.php?action=register
The one at the top produces your screen shot. The one in the Required Information seems to work just fine. Is the stuff at the end the "key"? If so, it is different on those. If the top one can be fixed up...you might be just fine.
Thanks. I see that - the top one is malfunctioning. Where can i access the top one?
Looks like it was my fault...
http://www.simplemachines.org/community/index.php?topic=489254.msg3428443#msg3428443
So, the challenge is to get the code that makes the bottom part work and put it in index.template.php. I'm thinking this is the URL to use:
<a href="'.$scripturl.'?action=twitter;area=logsync">
instead of:
<a href="https://api.twitter.com/oauth/authenticate?oauth_token=c8pd6vyX4ZALYcyaU1Le1ZOHBhiqlNBW6H7p9k6Eyg">
But I'm not 100% confident. If I'm wrong (which I could likely be), I'd remove or comment out the Twitter in the header for now. :)
Mashby, is that the code used in the button which is actually functioning? (The button which comes up when the "login"link is pressed?)
Where can i find the code for the twitter login button which is actually working?
Mashby wait - I think i fixed it. I replaced the link from the top button with the link from the bottom one.
I am testing it now...
I don't think that will work either. You need to copy the pre-processed code from the area on Register to the area up top...not the generated URL, but the code that makes it appear. :)
Makes sense...
I used it on my personal twitter and it seems to work...
Would you mind testing it? Do you have twitter?
Clicking the one on the top gives me this...
QuoteWhoa there!
The request token for this page is invalid. It may have already been used, or expired because it is too old. Please go back to the site or application that sent you here and try again; it was probably just a mistake.
So, what you did worked once but not again. :)
Darn!
There's no way for me to copy the button from the bottom and put in in the top?
I don't know if it's impossible or not. Just need to know two things...
1. What is the code that generates the link?
2. Can it appear twice on the same page?
Not sure of either, but maybe the mod author/team knows.
So.. my question is - where can I find the file for the button at the bottom? I can see the code if I can get to that file...
u will get the error mashby was getting if U copy and paste coz there is a key in the URL that can only be used once
Awesome.. Just what I was looking for. Many thanks!
hi, im getting a 403 error message when i try to save the settings? any idea why?
So far, so good for this mod. I haven't run into any problems as yet and users seem to be logging in just fine.
Looking at the Twitter API, you can import user avatars in four different sizes (bigger, normal, mini, original) - https://dev.twitter.com/docs/api/1/get/users/profile_image/%3Ascreen_name
This mod imports avatars in 'normal' size (48x48px). Where should I edit the mod to import a different size, such as bigger (73x73px)?
I am using SA Facebook and Twitter.
In facebook we have an option to enable registration through Facebook only but the same is not available on twitter if there any way
Hello !!!
I' ve just installed this mod and I've tried to use association or login. I received this message:
QuoteThe page you requested could not be found. Please contact the site administrator if you believe you have reached this page in error.
It's the same with SA Facebook, someone could help me?
Thanks!
PD: I've invastigated on this topic and couldn't find a solution D:
twitter publisher is not working, when someone join forum or post new topic, nothing post on my twitter account
and you setit all up correct there is seeting in your twitter app to allow pulishing dont ask what cos i dont know been a long time since i used twitter
SA, question (and keeping in mind that I have not scanned all five pages of this): Does this mod also alter SSI.php so that I can bring the login/register feature to my main site's template?
(Great job on your latest version... looks like you got the kinks finally worked out to where I can use the Mod package as it stands without modification)
Thanks! :D
no it does not edit ssi.php however
if you wanted to showthe button elseware you could try this
show_twitter_login(); function but your most likly need to include the TwitterHooks.php file for it to work
Just an update. If you're already including SSI.php, all you need to do is to drop in the show_twitter_login(); command. No need to do an include on TwitterHooks.php (this is confirmed for the 2.04 branch).
One thing I would like to see happen is that when someone logs into the site via the "Log in via Twitter" button is that they get returned back to the page they were on, rather than being directed to the forums homepage.
Got any tips on that, SA? :)
EDIT: I'm going to be re-theming/re-skinning (based off of Core) and would like to control where the Twitter login button shows. Got any tips on that one, too?
(Thank you, SA. Again, you've done a GREAT job with this mod package. It's shaped up pretty damn well, my friend!)
QuoteOne thing I would like to see happen is that when someone logs into the site via the "Log in via Twitter" button is that they get returned back to the page they were on, rather than being directed to the forums homepage.
Got any tips on that, SA?
from looking at twitter.php file it seem this uses the login session url if avalible do you have a custom login url set in twitter admin?
QuoteEDIT: I'm going to be re-theming/re-skinning (based off of Core) and would like to control where the Twitter login button shows. Got any tips on that one, too?
you have to disable the edit made via the buffer first then just place the login button manualy in your theme twitterhooks.php ob_twitter() function is were the magik is done
I am installing but it gives errors. failed to open stream: No such file or directory in that is package no includes files. Because no setting area admin area.
Edit: Manually installed succesfully
New problem, users can not publish new topic to twitter, that is user's new topic can not only admin's new topic can? big problem how can I solve?
I seem to have a problem, when users click on the login with twitter button on the site they are taken to the authorization page on twitter but when they press the "sign in" button nothing happens, Ive checked all the settings and cant seem to see the problem.
Any ideas?
Auto-linkificacio stopped working :(
(http://i.imgur.com/v938FGS.png)
Looks like twitter changed part of the api will need to look into it.
I'm sorry, and I'm worried
Twitter SA can not post..
API v1 retired v1.1 updated. I think I have checked new app.
Request URI: *
https://api.twitter.com/1/
This link description is: The Twitter REST API v1 is no longer active. Please migrate to API v1.1.
https://dev.twitter.com/docs/api/1.1/overview
I can not change. Can you help me how can I do it? Thanks a lot
Quote from: akbora on June 12, 2013, 09:37:56 PM
I'm sorry, and I'm worried
Twitter SA can not post..
API v1 retired v1.1 updated. I think I have checked new app.
Request URI: *
https://api.twitter.com/1/
This link description is: The Twitter REST API v1 is no longer active. Please migrate to API v1.1.
https://dev.twitter.com/docs/api/1.1/overview
I can not change. Can you help me how can I do it? Thanks a lot
Fixed released a new version of the modification.
vbgamer thank you very much thanks to you I've been very happy now with your message...
Glad to help!
Sorry little problem: SA new topic posts but turkish character is not correct on twitter. How can I correct it?
Edit: For example
Bir devletin başbakanı anamuhalefet için .....
On twitter:
Bir devletin ba?bakan? anamuhalefet için....
stopped working help please
Quote{"errors": [{"message": "The Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview.", "code": 68}]}
Quote from: Geroku on June 13, 2013, 08:34:53 PM
stopped working help please
Quote{"errors": [{"message": "The Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview.", "code": 68}]}
This looks as though it is an error twitters end and nothing to do with the mod itself.
Have you tried the latest update as mentioned in reply 258?
I've been getting this error message since I managed to actually set up everything correctly:
The database value you're trying to insert does not exist: member_id
Any ideas guys?!
Does it say a line file/number
And what action/page are you doing to get that error.
Quote from: vbgamer45 on June 22, 2013, 09:15:03 AM
Does it say a line file/number
And what action/page are you doing to get that error.
Hi mate, thanks for the reply.
Nope, it doenst say a line file/number
I click on login with twitter, and it goes to the twitter page, once I get redirected back to the site I get the error on this page: http://shanklyslegacy.co.uk/index.php?action=twitter;area=connectlog
Perhaps I need to edit some file to change " member_id"?
OK, so I managed to resolve the previous error I think. But I have been getting the follow now:
We caught an EpiOAuthException
{"errors":[{"message":"Invalid or expired token","code":89}]}
Any ideas?
How did you fix the previous error?
For the new error you have to resign with twitter in the admin area of SA Twitter
Quote from: vbgamer45 on June 22, 2013, 04:15:37 PM
How did you fix the previous error?
For the new error you have to resign with twitter in the admin area of SA Twitter
I was using an old app, so I deleted it and created a new one. Sorry what do you mean by "resign"? Unfortunately other users are still unable to login using this app. They are getting " Error occured, no connection".
you made a new app on twitter right?
if so dont forget to update the keys in twitter admin
Quote from: Manicred on June 22, 2013, 09:03:23 AM
I've been getting this error message since I managed to actually set up everything correctly:
The database value you're trying to insert does not exist: member_id
Any ideas guys?!
Quote from: vbgamer45 on June 22, 2013, 09:15:03 AM
Does it say a line file/number
And what action/page are you doing to get that error.
QuoteI get the error on this page: http://shanklyslegacy.co.uk/index.php?action=twitter;area=connectlog
points to line 163 twitter.php
$context['member_id'] = twit_USettings($_SESSION['twuserid'],'id_member','twitid');
Quote from: SA™ on June 22, 2013, 04:39:25 PM
you made a new app on twitter right?
if so dont forget to update the keys in twitter admin
I did and I'm back to square one I think.
Quote from: SA™ on June 22, 2013, 04:45:56 PM
Quote from: Manicred on June 22, 2013, 09:03:23 AM
I've been getting this error message since I managed to actually set up everything correctly:
The database value you're trying to insert does not exist: member_id
Any ideas guys?!
Quote from: vbgamer45 on June 22, 2013, 09:15:03 AM
Does it say a line file/number
And what action/page are you doing to get that error.
QuoteI get the error on this page: http://shanklyslegacy.co.uk/index.php?action=twitter;area=connectlog
points to line 163 twitter.php
$context['member_id'] = twit_USettings($_SESSION['twuserid'],'id_member','twitid');
So what do I need to edit/do to get it working?
Still haven't got this working, any suggestions appreciated. This is driving me mad!
QuoteSo what do I need to edit/do to get it working?
well you dont have to edit anything realy the mod works fine for me on my localhost
your issue is that $_SESSION['twuserid'] is not being set wich tells me that it not grabbing the info from twitter not sure why when the mod works for me on localhost
Quote from: SA™ on June 23, 2013, 01:49:31 PM
QuoteSo what do I need to edit/do to get it working?
well you dont have to edit anything realy the mod works fine for me on my localhost
your issue is that $_SESSION['twuserid'] is not being set wich tells me that it not grabbing the info from twitter not sure why when the mod works for me on localhost
So what do I do to resolve this?
Quote from: Uhura! on October 26, 2012, 07:35:04 PM
I have everything installed and when I click the login button for Twitter, nothing happens.
Pls help :(
Same here. No error messages, no white screen, just... nothing. The page just reloads and nothing happens.
Are yo using the newest version?
Just downloaded it today - version 1.1
Figured it out. The twitter app URI (on the OAuth settings page) was pointing to h++p://api.twitter.com/1/
I changed it to h++p://....com/1.1/ and all seems to be OK now.
Ah makes sense yeah they moved to the 1.1 api
Quote from: madfitz on July 07, 2013, 05:10:07 PM
Figured it out. The twitter app URI (on the OAuth settings page) was pointing to h++p://api.twitter.com/1/
I changed it to h++p://....com/1.1/ and all seems to be OK now.
good catch explains why it worked on my localhost but i dont remember changing that in my app oh well :P
like the mod, easy to integrate, the only thing i have noticed is that when people register, it bypasses the setting that members must be approved by Admin
so if someone signs up through twitter, they can start posting straight away, i don't like that part about it.
IMO It would kinda defeat the purpose of the the if it did that don't ya think? each to there own I guess :P
Does this mod automatically post new forum topics to my twitter account?
No this is for login.
I do have a paid mod for this
http://www.smfhacks.com/tweet-topics-system.php
Quote from: vbgamer45 on August 04, 2013, 07:24:12 PM
No this is for login.
I do have a paid mod for this
http://www.smfhacks.com/tweet-topics-system.php
Hmm this mod can do that
Oh cool learn something new!
:P
@vbgamer: What is the diffrence this mod with your product http://www.smfhacks.com/tweet-topics-system.php ?
I can not see any SS facebook settings or sending post. I think to buy your product I want to learn it. Thanks.
Well that product is not a login system. My product is focused on posting topics to twitter and facebook.
vbgamer, already I want that the mod lets send post and topic to facebook and twitter.
I can not see SS sending facebook. How? Thanks.
I have a similar system built into http://www.createaforum.com that you can demo+
Yes I have tried it via your createforum. I see the mod sends the topic to twitter. Only problem is turkish character. The other problem is facebook settings.
SS is here:
(http://www.anindatepki.com/uploads/1376094693.jpg)
1. I ticked to fb settings it turns to twit settings.
2. Number 2 is facebook profile settings doesn't open...
Thanks.
1. Bug in CAF
2. you need to click the sigin link.
Sorry I don't understand? CAF?
I have signed FB profil but the mod doesn't send new topics to FB? Why?
Really wish this were available for 1.1.18 :(
I have a paid version for SMF 1.1.x
http://www.smfhacks.com/tweet-topics-system.php
I would just note that now is the time to be planning for upgrades from 1.1.x to 2.0 because before long we will be discontinuing support for 1.1.x. That time isn't yet - but it will be soon.
not working...
twitter button got no link, when i open ?action=twitter, no connection
i have reset key and put everything in the config page.
yes anyone?
is this mod working?
Quote from: diontoradan on October 28, 2013, 05:43:43 AM
not working...
twitter button got no link, when i open ?action=twitter, no connection
i have reset key and put everything in the config page.
i have wondered that as well
Got this error...
QuoteThe Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview.
Can you help?
Are you using the latest version?
hei, i still have the problem
the auto publisher used to work, but when i installed new version, no connections.
is it have something to do with "Request type" or "Request URI"
http://custom.simplemachines.org/mods/index.php?mod=3055 should have the most recent version...
Thanks so much :)
Couple of questions, what is the Twitter category at the foot of the forum, and if you choose the "publish" option, does it automatically publish that post to twitter if the poster is signed in with their twitter ID?
Can you tell me how to fix this?
When people try to register at my site with twitter, this error comes up.
QuoteAn error has occured
We caught an EpiOAuthException
Thank you!
From dev twit discussion: APIv1.1 Tweets have stopped working...All fixed. By reading the top bar on this page tells the story ...
"api.twitter.com now requires SSL/TLS for all connections as of today, January 14th, 2014"
adding a single "s" to http fixed the issue.
https://dev.twitter.com/discussions/25154#comment-56840
So no streaming post from website to twitter today... What can we do?
From day 14 has stopped working auto-link new threads.
It has happened to anyone else?
Saludos
Edito: https://dev.twitter.com/discussions/24239
Hello, I Need to know what i'm doing wrong..i set all the information in to create the app. when i try to login using twitter it wont login...only goes to my front homepage..i did click the checkbox yes for auto login.
deleted....i give up!
Update:
Version 1.2
!Use https for api connection
Thanks i will try again.
Dont know why i just can't get logged in...take a look at the photo and tell me what i'm missing.
(http://s24.postimg.org/myogcbxj9/Twitter_Admin.png)
hi there, can anyone help me.
i install this mod in a brand new 2.0.7 forum, everything works fine, all keys is in the place, but in the error log i found it every minute:
PHP Fatal error: Class 'EpiTwitter' not found in ....../public_html/Sources/Twitter/TwitterHooks.php on line 386
any help please
App stopped working as was giving an authorisation error, checked to see if app was up t date in package manger, it said it was (green dot) with version 1.1 so checked to be sure on the mod site and it was actually out of date. Deleted and installed 1.2 and now it's working again.
Why did it say it was up to date when it wasn't?
The green dot in the package manager doesn't take the version number from the mod site. It just shows the latest version you have installed in the package manager
But that is meant to inform you if you have the latest version or not? Usually turns red of the mod has been updated?
Nope it just lets you know which package is the newest one you have uploaded not if there are any updates.
I Have Google Login and facebook..Twitter is the only one i have had trouble adding. Can't seem to figure it out!
What part?
Sorry to bother anyone. Ok I have read over this board several times just to make sure I did not miss anything. The mod installs correctly but when anyone tries to login with twitter or register with twitter it takes me back to the home page andor registration agreement. I input all the correct info needed and it does authenticate but it will not log you in or register an account. Any ideas?
I am having problems with it as well. Did everything and when I hit login using twitter, it just goes to my homepage. Really need this to work.
When a user revokes access to my app in their Twitter settings and then tries to re-grant that access by signing back into the forum, they are taken (after Twitter's pop-up authorisation window) to an SMF error page:
QuoteWe caught an EpiOAuthException
{"errors":[{"message":"Invalid or expired token","code":89}]}
They remain signed out of the forum, so it's currently impossible for a user in this position to sign into their existing forum account through Twitter. How can I prevent this, other than telling people to never revoke access to the app because there's no going back?
Hi, I recently installed your app, created a twitter app, entered all the keys into the SMF app, and attempted to associate my account. However, when I get the pin, the button leading back to my site leads to an error message, which tells me to contact my webmaster. Is this because my website is not https?
Thanks,
Greg
What is the error message say?
It says to contact my webmaster because the DNS might not be settled, the server was moved, or my ip has changed, none of which are accurate
Is that exact message you get? Please copy and paste it here.
SORRY!
If you are the owner of this website, please contact your hosting provider:
[email protected]It is possible you have reached this page because:
The IP address has changed.
The IP address for this domain may have changed recently. Check your DNS settings to verify that the domain is set up correctly. It may take 8-24 hours for DNS changes to propagate.
There has been a server misconfiguration.
Please verify that your hosting provider has the correct IP address configured for your Apache settings and DNS records. A restart of Apache may be required for new settings to take affect.
The site may have been moved to a different server.
The URL for this domain may have changed or the hosting provider may have moved the account to a different server.
cPanel, Inc.
I also tried using the feature on a fresh account, to no avail. Hrm.
Further to the issue I posted above on June 14, I've discovered an even bigger problem - some users can't sign up at all!
After authenticating with Twitter they are returned to the registration details page (or registration agreement if I've enabled it). The database stores their forum username, email address, even their Twitter credentials, but their last login date remains 0 and no matter how many times they try they are never able to progress beyond this registration page.
It's always the same users - a significant minority - who encounter this problem. If I delete their forum account for them to start over it just happens again, consistently. It's not a client-side issue because I've tested and experienced it myself with certain Twitter accounts while others are fine. I can't see any common trait between these Twitter accounts that can't register on my forum, and it's becoming quite an embarrassment. Any ideas please?
Please i dont really get how this mod work...Is that as the admin if i install it any post being posted on my forum will be automatically posted on my twitter page or what exactly....someone pls help
I have installed the mod successfully and entered the data needed but still the publishing of url to my twitter page isnt working
Yes Update Portuguese files
attach
*Grabs popcorn and hopes for an update*
Update for what?
installed this mod and entered all the keys etc but whenever I try to completed/authorise registration it redirects to:
http://www.inspiredpe.co.uk/forum/index.php?action=twitter;area=connect;agree
and says "An Error has Occured - No Connection"
Really want to use this mod, can anyone help?
Bump
:-\ :-\
Sorry haven't had time lately to look into it. Check your error log. You must be able to do I believe fsockopen command in php to twitter.
Hi. I change url image in setting and image don't change. Why?
What is the exact setting name.
Twitter Integration -> Configuration:
QuoteLogin image
vbgamer, isn't it possible to change the setting that allows members that register through twitter to bypass the manual approval? This is a no go for us since we approve manually all our members and require them to activate their account.
Yes it would be possible would like a minor code change on the registermember call I believe in the twitter mod.
Quote from: MESWEB on May 11, 2015, 07:39:44 AM
Hi. I change url image in setting and image don't change. Why?
Hello You are don't answer my question.
Hey,
I had this working awhile ago (maybe an earlier version, not sure), But I have a custom button I want to use instead of the one that comes with the initial install, and no matter what I do, it keeps using the one that came with the install (http://si0.twimg.com/images/dev/buttons/sign-in-with-twitter-l.png)
In Custom Image I Have: http://www.android-x86.net/Themes/default/images/buttons/twitter.jpg
This SAME Link works with SA Google+, So really not sure why it's not "TAKING", I've cleared my CDN, Browser CACHE, and Forum CACHE... Not sure what else I can do?
Added screenshots for clarity on my question, and any help would be appreciated!
Mike
EDIT: JUST FOUND NEW PROBLEM
NOW When I Click LOG-IN with Twitter Button it just takes me back to the LOG-IN Screen, And When I click REGISTER with TWITTER it takes me back to the Agreement Screen...
Now I know THIS WAS WORKING when I 1st installed the mod, I checked it.....
Ok, After some testing I have an Update of a couple things.......
1st thing I did was go to Twitter DEV and Regenerated all the Keys, and Added them, It WORKED!!
Went to "SIGN-IN/REGISTER" and it STOPPED Working (Did what I mentioned Above)
2. Went In AND DELETED the APP, and re-did it, Punched in the NEW TOKENS, IT WORKED!!!
Went to "SIGN-IN/REGISTER" and it STOPPED Working (Did what I mentioned Above) (With I.E. Which I NEVER Use Incase It was a Cache Thing)
OK SO I decided to get the LINK for the Button BEFORE I did anything, 1st time and this is what it was:
https://api.twitter.com/oauth/authenticate?oauth_token=ew_QJQAAAAAAg6NVAAABTvmoPY4
Ok makes sense, this is the link that works.....
When I go to do it a second time I get this:
LOGIN Screen - http://www.android-x86.net/index.php?action=login
REGISTER Screen - http://www.android-x86.net/index.php?action=register
So I guess the Question is why is the Original LINK (That works) getting replaced with the NORMAL forum links....
Do I have a Setting wrong??? I tried Disabling Auto-Login, Other then that I don't know how to set it...
SOOOOO Any Ideas On a Fix???
Mike
Excellent mod!
Question...
This mod used to display a tweet button with a count... like this:
(http://img.ourmomspot.net/images/L2lEjI1411078956/Share_This.png)
Now it displays a flat blue button with no count....like this:
(http://img.ourmomspot.net/images/I8KWVOUF1450314601/Issue.png)
How can I adjust this so it shows a tweet button with a count?
Thanks!
Twitter removed the share count feature no longer an option
https://blog.twitter.com/2015/hard-decisions-for-a-sustainable-platform
Well, that explains it.
Thanks vbgamer45!
No problem. I think it is a bad idea that twitter did I heard people are not sharing as much
Quote from: vbgamer45 on December 17, 2015, 08:52:41 AM
No problem. I think it is a bad idea that twitter did I heard people are not sharing as much
Unfortunately - you're exactly right. People aren't sharing as much because of the change.
New question:
When I change the log in image, it won't work. Can you help?
(http://img.ourmomspot.net/images/EizZ01468183798/Twitter_Log_in_Button_is_gone.png)
It has been months. Can someone help?
In the admin area
Change the signin to twitter url to
http://www.smfhacks.com/images/sign-in-with-twitter-l.png
Update
Version 1.3
!Fixed signin twitter image for new installs. Link is now set to http://www.smfhacks.com/images/sign-in-with-twitter-l.png
!Updated http://twitter.com to https://twitter.com for profile links,sharing.
My first API and thanks to your wonderful directions I got it working within 15 minutes so thank you for that.
Since I'm new to API I'm wondering if I have to create a new app for each of my forums which use a different Twitter account or can I use the same information but change the Twitter username?
Rick
I believe a new app for each twitter handle
Hi,
so I installed the forum and the mod, and before testing it I had to change domain.
I updated all domain path with repair settings. The twitter API I created with new parh.
link for twitter look ok, but when I click "sign in with twitter" it doesn't work.
any help?
Also- can I disable regular registration and only enable twitter sign in?
I'm having a really strange issue with this mod. I seem to have gotten it installed and setup to work with Twitter ok. The problem is that when a new user registers via Twitter it just goes in a redirecting loop. The new user will be redirected back to the forum's registration agreement on completing registration and asked to fill in their details again after that. Interestingly, it appears that the new user is created successfully even though the user is sent back to the start of the registration process as a guest.
Another issue is that the mod seems to have cached it's own settings from a former install. I moved web hosts years ago and used to have an older version of SA Twitter installed on the forum which I uninstalled and deleted via the package manager. Now with the latest version of the mod freshly installed, it is linking new users to old synced Twitter accounts from the previous install that should not be linked to the new accounts.
TLDR; How can I stop this mod from repeatedly redirecting back to the forum's registration agreement on completion of registration and how can I clear the old settings and logs that appear to be corrupting the new install?
Thanks :)
Hello! This error pops up when people try to log into my forum with twitter.
Can you tell me how to fix this?
Thank you!
Are you using the newest version?
Thanks for replying so quickly.
According to my package manager, I'm running 2.1.2.
The other piece of info is - I recently changed all my urls from http to https. Could that be the issue?
That could be it. Did you update twitter callback url to https? for your twitter app?
available for 2.1 RC2?
Not currently no. Will hopefully be final 2.1