Facebook and Twitter Sharer

Started by Aleksi "Lex" Kilpinen, December 13, 2010, 04:16:04 PM

Previous topic - Next topic

Gryzor


DarkAngel612

Well here at the Attic it had left leaving only the Twitter button for linking...but somewhere--sometime it came back. :o

I have now the Tweet button and the F image with the Share link and when I hit it to share it opens up a window like my store has---where you can add your comment to the top and even click the area of text from the post that gets shared to edit what needs to be edited there too along with if there are images on the page you can choose an image, including the one from the post (if not an attachment)

I just had to remember to also edit the display.php from the templates folder since it came with its own and does not use the default one.

I love that you can choose which categories/sections you can allow the sharing from.

http://thefantasiesattic.net/

Since guests can see our forum (not post) you might be able to see the buttons in action. In IE you need to be logged in though to use the FB share link.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.0+ with various mods and TinyPortal

Aleksi "Lex" Kilpinen

I've been inactive for some time, for personal reasons, and have not looked on to this because of that. I may see if I can rebuild this, in a few weeks when I have some time off from everything else..
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Gryzor

Thanks for the update man, much appreciated!!

JCphotog

Thanks for the update on this.  I'll be very excited if we can add this functionality to my forum.   Best holiday wishes! 

Aleksi "Lex" Kilpinen

I'm working on this now, and it seems the button itself works still - so I'll probably be able to fix this :)
Not promising anything yet, but lets see in a couple of days ;)
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Gryzor

Happy New Year Aleksi! Thanks for the update - take your time, we appreciate it :)

DarkAngel612

Yes the buttons work for both FB and Twitter, I am using the latest version of SMF and just as mysteriously as it quit working (even did not show up) it started again so it must have been something FB did on their end.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.0+ with various mods and TinyPortal

Aleksi "Lex" Kilpinen

I cleaned up the template code a bit, removed some configuration options to make space for upcoming additions to this mod, and tried to make the buttons look like they are supposed to. For one reason or another, the FB button seems shaky, jumping all over the place at times - while staying exactly where I want it at other times - but at the moment I'm not about to stress over that too much...

Here is my work in progress, feel free to test it out and tell me if you find any oddities in it :P ( But do uninstall any old versions before doing this ). And do remember this is a work in progress, not a released version yet... Though, it might be soon.

This is only for 2.0.3.
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Gryzor

Downloaded and installed. Just a note, your edits to subs-boards.php and load.php are a bit problematic because there are quite a few mods doing stuff there, so the string to be replaced cannot be found... I'd suggest using a shorter string to find/insert after :)

So, it seems to work nice! The FB button does indeed appear a bit off (see screenshot) but functionality seems complete.

Thanks so much for your work - your mod is the only one out there that's both functional AND discreet (instead of spamming every single post or presenting huge buttons...).

Aleksi "Lex" Kilpinen

That's exactly the behaviour I meant - It works perfectly on FF though, but Opera and IE do strange things :P
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Gryzor


Aleksi "Lex" Kilpinen

I will see if I can think of a way to stop it from doing that, but I'm afraid it will mean doing funky browser specific crap that I'm not at all interested in doing to be honest...
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Gryzor

Heheh I get you. It's strange, actually - the way I read it from the code (which is not my specialty if I may say so) it shouldn't matter... yet it does. Oh well, even with this misalignment, I'm keeping it.

Gryzor

Hey, it just occurred to me - any chance for some G+ love? :)

Aleksi "Lex" Kilpinen

Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Gryzor


winsoft

can't wait to see this mod when completed with G+ !

Dblog

isn't F share outdated and Like/Recommend button with count and twitter button with count more used these days ?

DarkAngel612

I personally like the f-share vs that like button...can't stand that button...lol

this way when we share we can edit it easier too for including the item and our comment about it.

I use one for my store also that is f-share
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.0+ with various mods and TinyPortal

Advertisement: