Advertisement:

Author Topic: Auto Tweet Embed  (Read 26094 times)

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,503
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Auto Tweet Embed
« on: January 11, 2015, 03:21:09 PM »
Link to Mod

This modification auto embeds twitter tweets in your forum. Caches the result since twitter has a limit of how many api calls per site that can be called at a time.

Developed by  L'arri
Packaged and modified by vbgamer45 https://www.smfhacks.com

Adds jquery to your forum hosted on cloudfare cdn

1.1
Changed end point

1.0.1
!Updated jquery library to use https


Licensed under: https://creativecommons.org/licenses/by-nd/4.0/ Attribution-NoDerivs
CC BY-ND
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline nsno

  • Semi-Newbie
  • *
  • Posts: 97
    • @nsno on Twitter
    • Everton Forum
Re: Auto Tweet Embed
« Reply #1 on: January 12, 2015, 02:20:33 PM »
excellent work!

Offline akbora

  • Sr. Member
  • ****
  • Posts: 960
    • Anında Tepki
Re: Auto Tweet Embed
« Reply #2 on: January 12, 2015, 04:57:27 PM »
great and awesome works perfect...
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,503
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Auto Tweet Embed
« Reply #3 on: January 12, 2015, 05:20:47 PM »
Glad you enjoy the mod!
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline dimspace

  • Jr. Member
  • **
  • Posts: 343
    • @dimspace on Twitter
    • Velorooms.com
Re: Auto Tweet Embed
« Reply #4 on: January 29, 2015, 12:49:51 PM »
Excellent, thanks again for developing, improving and packaging this.

Offline luuuciano

  • SMF Hero
  • ******
  • Posts: 2,978
    • http://cbasites.net/
Re: Auto Tweet Embed
« Reply #5 on: March 02, 2015, 06:14:05 AM »
Nice mod, thanks!

BTW, it would be better to use something like this?

Code: [Select]
<script type="text/javascript">!window.jQuery && document.write(unescape('%3Cscript src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"%3E%3C/script%3E'))</script>
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

Offline Krissnikkers

  • Semi-Newbie
  • *
  • Posts: 48
  • Gender: Female
  • Proud Geek and Nerd
    • Kriss' Websites
Re: Auto Tweet Embed
« Reply #6 on: May 31, 2015, 03:24:48 AM »

Ok so I am thick....  How do you use this mod?

Tried the embed code that didn't work and then tired just the link and that didn't work either...  :(

Thanks in advance

Kriss :)

Offline Antes

  • Evil Black Cat
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,943
  • Gender: Male
  • Black cat rulz!
    • Antes on GitHub
    • merta on LinkedIn
    • @XinYenFon on Twitter
    • WoWSnips
Re: Auto Tweet Embed
« Reply #7 on: May 31, 2015, 03:33:45 AM »
You just need to paste the link of the tweet (like: https://twitter.com/CNNMoney/status/604905917272891392) - Modification does the rest for you.
You can support me directly via Patreon

In Catnip We Trust.
The solution is Catnip!
Vote for Catnip!

Current Project(s): [ WoWSnips ]
Past Project(s): [ ezPortal ] # [ Lunarfall ] # [ RDD (HTML5) ]

Offline Krissnikkers

  • Semi-Newbie
  • *
  • Posts: 48
  • Gender: Female
  • Proud Geek and Nerd
    • Kriss' Websites
Re: Auto Tweet Embed
« Reply #8 on: May 31, 2015, 03:37:15 AM »

I tried that and all I got was the link and nothing else...  :(

Offline Antes

  • Evil Black Cat
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,943
  • Gender: Male
  • Black cat rulz!
    • Antes on GitHub
    • merta on LinkedIn
    • @XinYenFon on Twitter
    • WoWSnips
Re: Auto Tweet Embed
« Reply #9 on: May 31, 2015, 03:52:36 AM »
I installed the mod, it embeds but w/o styling. Seems like a problem from twitter side.
You can support me directly via Patreon

In Catnip We Trust.
The solution is Catnip!
Vote for Catnip!

Current Project(s): [ WoWSnips ]
Past Project(s): [ ezPortal ] # [ Lunarfall ] # [ RDD (HTML5) ]

Offline Krissnikkers

  • Semi-Newbie
  • *
  • Posts: 48
  • Gender: Female
  • Proud Geek and Nerd
    • Kriss' Websites
Re: Auto Tweet Embed
« Reply #10 on: May 31, 2015, 03:54:35 AM »

Thank god...  means I am not stupid  ;D

Will see if the mod designer can do anything..  :)

Thanks for your help!

Kriss :)

Offline Antes

  • Evil Black Cat
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,943
  • Gender: Male
  • Black cat rulz!
    • Antes on GitHub
    • merta on LinkedIn
    • @XinYenFon on Twitter
    • WoWSnips
Re: Auto Tweet Embed
« Reply #11 on: May 31, 2015, 04:14:12 AM »
oh wait scratch the last post I made, mods working perfectly, do you have ghostery or alike blocker? If you block twitter embed js it won't show with style.
You can support me directly via Patreon

In Catnip We Trust.
The solution is Catnip!
Vote for Catnip!

Current Project(s): [ WoWSnips ]
Past Project(s): [ ezPortal ] # [ Lunarfall ] # [ RDD (HTML5) ]

Offline Krissnikkers

  • Semi-Newbie
  • *
  • Posts: 48
  • Gender: Female
  • Proud Geek and Nerd
    • Kriss' Websites
Re: Auto Tweet Embed
« Reply #12 on: May 31, 2015, 04:17:09 AM »

As I have never heard of those I will presume no.. :D I have a like mod though

Kriss :)

Offline Kr1sp3r

  • Newbie
  • *
  • Posts: 2
Re: Auto Tweet Embed
« Reply #13 on: June 18, 2015, 09:22:17 PM »
I just installed this mod, but I am getting this error:-

Database Error
Incorrect string value: '\xF0\x9F\x94\x8A\xF0\x9F...' for column 'html' at row 1
File: /usr/home/chems/forum/www/tweet-cache.php
Line: 94

Any ideas?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,503
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Auto Tweet Embed
« Reply #14 on: June 18, 2015, 10:33:14 PM »
What kind of language set are you using?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Kr1sp3r

  • Newbie
  • *
  • Posts: 2
Re: Auto Tweet Embed
« Reply #15 on: June 18, 2015, 10:53:58 PM »
The default is English ISO-8859-1.

I did notice when the mod installed that there was no /Themes/default/languages/Modifications.english-utf8.php file to modify, only /Themes/default/languages/Modifications.english.php.

I am just helping out with this site and don't know a lot about SMF, can you suggest a fix? Thanks.

Offline villasg

  • Full Member
  • ***
  • Posts: 485
Re: Auto Tweet Embed
« Reply #16 on: June 19, 2015, 03:24:51 AM »
Hi .
In my 2.0.10 greek-utf8 do not work .
I have change ( add ) autotwitter.xml as follow

Code: [Select]
<file name="$languagedir/Modifications.greek-utf8.php">
<operation>
<search position="end" />
<add><![CDATA[
// Begin Auto Embed Twitter Strings
$txt['autotwitter_tweeterror'] = 'Tweet error (does not exist)';
$txt['autotwitter_blankid'] = 'Tweet error (blank ID)';
// END Auto Embed Twitter Strings
]]></add>
</operation>
</file>
Installed without errors .
But after test do not show tweets .
Need some configuration ?

Offline helyea

  • Semi-Newbie
  • *
  • Posts: 28
  • Gender: Male
  • Le Cortex ♥
    • https://www.facebook.com/PremiumHotel on Facebook
    • @TheChopo22 on Twitter
    • Helyea
Re: Auto Tweet Embed
« Reply #17 on: July 17, 2015, 07:56:19 AM »
My tweet dont embed


Offline JTVaughn

  • Jr. Member
  • **
  • Posts: 177
Re: Auto Tweet Embed
« Reply #18 on: September 11, 2015, 07:22:45 AM »
Tweets aren't embedding for me. Console shows this error:

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

Any ideas?

Offline luuuciano

  • SMF Hero
  • ******
  • Posts: 2,978
    • http://cbasites.net/
Re: Auto Tweet Embed
« Reply #19 on: September 11, 2015, 08:35:40 AM »
Tweets aren't embedding for me. Console shows this error:

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

Any ideas?

Temporary twitter fault? it works here...

Oh, it looks like I was using this one finally http://custom.simplemachines.org/mods/index.php?mod=3837 ... not the one of this thread
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).