News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Twitter Profile

Started by Sakae, August 26, 2008, 07:55:10 PM

Previous topic - Next topic

Sakae

Twitter Profile MOD v2.2
By softcore


Link to Mod | Support Topic | Demo (l: simple p: machines)



MOD NO LONGER UPDATED. USE AT YOUR OWN RISK OR FOLLOW THIS SUGGESTION:

Quote from: Dismal Shadow on April 27, 2010, 10:04:57 PMFor anyone who have been wondering....you don't need this mod with this tutorial:Social Media Icons in Profile Field Tutorial for 2.0 RC2-RC3
Compatibility

For SMF 1.1.x and SMF 2.0

Features

This modification allows you to add a Twitter icon linked to your Twitter address in your profile.

Includes the following languages (please help me with more!)

       
  • English;
  • English (UTF8);
  • Portuguese Brazilian;
  • Portuguese Brazilian (UTF8);
  • French; (thanks to Saesee)
  • French (UTF8); (thanks to Saesee)
  • Spanish; (thanks to 4kstore)
  • Turkish; (thanks to Özgür´)
  • Turkish (UTF8); (thanks to Özgür´)
I welcome more translations on the support topic!

Installation

If you already have Twitter MOD v1.x working on your board, you don't need to install v2.0.

For SMF 1.1.x: This mod only changes TEMPLATE FILES. For install in other themes, just copy the file twitter.gif to it's image folder (your theme/images).

For SMF 2.0 RC1: Don't forget to install in your theme ("Install in other themes" option).

Changelog

Version 2.2 (June 3, 2009)
* Fixed CRITICAL BUG (thanks to General Naga);
* Added Spanish and Turkish (both normal and UTF8) languages.

Version 2.0 (May 20, 2009)
* PLEASE USE FIX-TwitterMODv2.zip!

Version 1.1 (May 12, 2009)
* English (UTF-8), French and French (UTF-8) supported (thanks to Saesee).

Version 1.0 (August 25, 2008)
* Supports the following languages: English, Portuguese Brazilian and Portuguese Brazilian (UTF-8).
http://www.tigrelog.com.br
l: simple p: machines

Kimmie

ok I'll bite...


What the heck is a "Twitter"?  lol


Sakae

Quote from: Kimmie on August 27, 2008, 02:46:54 PM
ok I'll bite...


What the heck is a "Twitter"?  lol

Also, read this: http://www.twittown.com/blogs/jaiku/google-buys-twitter-competitor-jaiku

It's a growing online community. If there's a Google interest, it must be important. Right?...
http://www.tigrelog.com.br
l: simple p: machines

beatlemanu

Hi,

I got this error when I tried to install on SMF 1.1.5

3. Execute Modification ./Themes/default/languages/Modifications.english.php File not found

Is this setup for English-utf8.php and not english.php????

Please let me know, thanks...

RoarinRow

Cool, thanks for this mod!   8)

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Sakae

Quote from: beatlemanu on September 18, 2008, 09:27:14 AM
Hi,

I got this error when I tried to install on SMF 1.1.5

3. Execute Modification ./Themes/default/languages/Modifications.english.php File not found

Is this setup for English-utf8.php and not english.php????

Please let me know, thanks...

Hi, sorry for taking so long.

You erased Modifications.english.php of your languages default theme folder? Try to upload this file to your server and try again.

Quote from: RoarinRow on September 19, 2008, 01:06:11 PM
Cool, thanks for this mod!   8)

Thank you :)
http://www.tigrelog.com.br
l: simple p: machines

RoarinRow

Do you know when you might have this for SMF 2.0 beta 4?   :)

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Sakae

#8
Quote from: RoarinRow on September 26, 2008, 05:40:37 PM
Do you know when you might have this for SMF 2.0 beta 4?   :)

Man.... Feel free (or anyone else) to create a update for this mod to SMF 2. I'll only make one if I move to 2.0, and I won't do that 'till it's a beta version.

ps.: Added a screenshot (using Outline-TP Theme)
http://www.tigrelog.com.br
l: simple p: machines

bjraines

how does this work? i looked at the code and it doesn't make a new database field?

Low

Doesn't work!

Applies correctly but no twitter icon or text show with no clear instructions for adding your twitter profile. under profile settings it has

MSN
YAHOO
:

I'm assuming the : is for Twitter?

Either way I added my Twitter to it but the image isn't found.

Thanks anyway as once sorted this will be a great mod.

Louis

Sakae

Quote from: Low on December 07, 2008, 04:19:58 PM
Doesn't work!

Applies correctly but no twitter icon or text show with no clear instructions for adding your twitter profile. under profile settings it has

MSN
YAHOO
:

Louis, what language are you using? If it's not english or portuguese-BR, you might want to add this bit of code in your language file:

$txt['twitter_title'] = 'Twitter';
            $txt['twitter_desc'] = 'Enter your USERNAME on Twitter (i.e. if your Twitter link is http://www.twitter.com/john_doe, enter john_doe here)';


Also, if you're using other theme than default one, you'll need to change the Profile and Display templates files.
http://www.tigrelog.com.br
l: simple p: machines

Sakae

Quote from: bjraines on October 16, 2008, 07:29:32 PM
how does this work? i looked at the code and it doesn't make a new database field?

It doesn't, but it works (!) :)
http://www.tigrelog.com.br
l: simple p: machines

seeson

I've just installed this mod on 1.17 and there's a link to my twitter profile (displays my linked twitter username in text), just no icon. i installed the package via forums. please help! thanks!

seeson

Nevermind! I just manually uploaded the twitter.gif to my theme's images folder and it worked. ;)

blath

#15
Obrigada!, very nice. :)

I'm using default  theme version 1.1.7 and encountered that blank Twitter description in the profile page that was described earlier by Low.

I fixed this by simply adding what was added the 'Modifications.english.php' to 'Modifications.english-utf8.php'.

ie

Find:
Quote
?>

Add Before:
Quote
$txt['twitter_title'] = 'Twitter';
$txt['twitter_desc'] = 'Enter your USERNAME on Twitter (i.e. if your Twitter link is hxxp:www.twitter.com/john_doe [nonactive], enter john_doe here)';

So if anyone encounters this problem there you go.

May want to include this as an option in the instruction set.

Thanks again for the Twitter modification. :) Have a wonderful 2009.

bork


Where does this mod store the twitter username?

I can't see any database code.

GazOutEast

Just tried it on SMF 2.0 RC1 and it failed installation

*     1.     Execute Modification     ./Themes/default/Profile.template.php     Test failed
      1.    Add After    ./Themes/default/Profile.template.php    Test failed
      2.    Add After    ./Themes/default/Profile.template.php    Test failed
*    2.    Execute Modification    ./Themes/default/Display.template.php    Test failed
      1.    Add After    ./Themes/default/Display.template.php    Test failed
3.     Execute Modification     ./Themes/default/languages/Modifications.english.php     Test successful

I guess it's not ready for SMF 2.0 yet - shame
I have 20:20 vision - I can see anything bigger than 20" x 20"

Sakae

Quote from: bork on February 26, 2009, 07:40:32 AM
Where does this mod store the twitter username?

I can't see any database code.

Huh?

Quote from: GazOutEast on March 03, 2009, 10:28:00 AM
Just tried it on SMF 2.0 RC1 and it failed installation

*     1.     Execute Modification     ./Themes/default/Profile.template.php     Test failed
      1.    Add After    ./Themes/default/Profile.template.php    Test failed
      2.    Add After    ./Themes/default/Profile.template.php    Test failed
*    2.    Execute Modification    ./Themes/default/Display.template.php    Test failed
      1.    Add After    ./Themes/default/Display.template.php    Test failed
3.     Execute Modification     ./Themes/default/languages/Modifications.english.php     Test successful

I guess it's not ready for SMF 2.0 yet - shame

Guess right, it isn't. And my plans of updating are: Who wants to code that?
http://www.tigrelog.com.br
l: simple p: machines

Smoky "Rider" Blue

* SmokyBlue thinks.. perhaps Babjusi??  O:) ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Advertisement: