News:

Wondering if this will always be free?  See why free is better.

Main Menu

Auto Tweet Embed

Started by vbgamer45, January 11, 2015, 03:21:09 PM

Previous topic - Next topic

Julius_2000

@vbgamer45 , the changelog in the 4.0.3 package only mentions changes up to 4.0.1. Is that supposed to be? Would it be also possible to add a version suffix to the download package? Thanks for all your effort!

vbgamer45

4.0.3
!Handle x.com better, api workaround.
4.0.2
!Query string handling improvements
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

jsx

vbgamer45 can you implement Polish language into autotwitter.xml? I know it's not much, but it would be nice to have it translated.

<file name="$languagedir/Modifications.polish.php">
    <operation>
        <search position="end" />
        <add><![CDATA[
// Begin Auto Embed Twitter Strings
$txt['autotwitter_tweeterror'] = 'Błąd tweeta (nie istnieje)';
$txt['autotwitter_blankid'] = 'Błąd tweeta (pusty identyfikator)';
// END Auto Embed Twitter Strings           
]]></add>
    </operation>
</file>

<file name="$languagedir/Modifications.polish-utf8.php" error="skip">
    <operation>
        <search position="end" />
        <add><![CDATA[
// Begin Auto Embed Twitter Strings
$txt['autotwitter_tweeterror'] = 'Błąd tweeta (nie istnieje)';
$txt['autotwitter_blankid'] = 'Błąd tweeta (pusty identyfikator)';
// END Auto Embed Twitter Strings           
]]></add>
    </operation>
</file>

Marina3

And where are the settings for this mod?

vbgamer45

There are no settings. You just put a twitter link and it should auto embed
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

Antechinus

Just a thought: how hard would it be to also allow embedding on nitter.net media? With the extent to which Twitter/X has been degraded by Musk these days, Nitter is (IMO) a far better way of following content there. It's lighter on resources. You can follow a complete thread without logging in. You can see the account's recent timeline, in full, Etc, etc. Frankly, Nitter leaves Twitter/X for dead.

vbgamer45

Possibly have to see some example links might not be added to this mode but S.A.V.E instead
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

Antechinus

Links are simple. It's just a TLD change. The rest of the link stays the same.

https://nitter.net/gunsnrosesgirl3/status/1717182106382528702
https://twitter.com/gunsnrosesgirl3/status/1717182106382528702

https://nitter.net/gunsnrosesgirl3/status/1717182106382528702
https://twitter.com/gunsnrosesgirl3/status/1717182106382528702

vbgamer45

Does nitter having share coding though? I could change nitter to twitter to auto embed.
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

Antechinus

No idea. I don't use an account with either. I just view as a guest.
Changing nitter to twitter would be rather defeating the purpose of the exercise.

CreativeITWorld.com

I looked for a way to center tweets and couldn't find one within the topic, but managed to find the answer elsewhere ...

In Index.css Add
.twitter-tweet {
margin: 0 auto;
text-align: center;
}

You still have to use the standard center bbc if you want to center the text/link.

steferrari

Hi, I installed this mod and it seems to work ok on my forum, the only "issue" is that I see the tweet link under every tweet that I post.

Is this normal? Any chance to get rid of it?

Thank you!

vbgamer45

I believe that is normal. I am not sure on removing it.
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

steferrari

I asked that because I previously used this mod to embed tweets and they are displayed alone, without showing the link (more clean imho) but at the same time that mod has an issue with smileys: when you post a tweet, smileys are not displayed anymore.

Advertisement: