News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SA Twitter Integration

Started by SMFHacks.com Team, August 17, 2011, 04:26:47 PM

Previous topic - Next topic

cryber

Los admisnistradores de SMFSIMPLE no borran las cuentas y siguen espameando a todo el mundo.Si se lo dices por privado no te hacen ni caso y si lo haces en foro abierto borran el mensaje PARA QUE NADIE MÁS SE ENTERE DE LO QUE HACEN.BORRAD MI CUENTA!!.Aquí,digo yo,que no podréis borrar mi firma,aunque seais moderadores.
4kstore responde: Lo siento, las cuentas no se borran y menos si sos asi de maleducado. Si hubieses atendido la 1ª vez hace tres días no hubiese tenido que ser maleducado!!
Lástima que no estáis en España sino la AGPD ya daría cuenta de vosotros.

SA™

hmmm ok can you give me a few days? to look into this more?
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

cryber

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
Los admisnistradores de SMFSIMPLE no borran las cuentas y siguen espameando a todo el mundo.Si se lo dices por privado no te hacen ni caso y si lo haces en foro abierto borran el mensaje PARA QUE NADIE MÁS SE ENTERE DE LO QUE HACEN.BORRAD MI CUENTA!!.Aquí,digo yo,que no podréis borrar mi firma,aunque seais moderadores.
4kstore responde: Lo siento, las cuentas no se borran y menos si sos asi de maleducado. Si hubieses atendido la 1ª vez hace tres días no hubiese tenido que ser maleducado!!
Lástima que no estáis en España sino la AGPD ya daría cuenta de vosotros.

Nitesh Kunnath

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 !!!

Nitesh Kunnath

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

SA™

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
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Nitesh Kunnath

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 !!!

SA™

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
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Nitesh Kunnath

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 ?

SA™

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
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Nitesh Kunnath

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 :)

SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-


Adrek

#153
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
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

SA™

you can chnage this in twitter admin area
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Adrek

yes, i know, but when i added url for my image in settings mod does not use it
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

SA™

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);
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Adrek

Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

SA™

yw not sure why i never chnaged that lol just an oversight i guess
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Nitesh Kunnath

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

Advertisement: