News:

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

Main Menu

SA Facebook Integration

Started by SMFHacks.com Team, February 12, 2010, 01:36:11 PM

Previous topic - Next topic

eladio

#3540
Quote from: Tapatalk on November 07, 2013, 09:39:31 PM
Quote from: SA™ on November 05, 2013, 02:57:19 PM
the issue is with this piece of code in your index.template.php

$content = ob_get_contents();
ob_end_clean();
$content = preg_replace_callback('/(<img src=")(http:\/\/img.tapatalk.com\/d\/[0-9]{2}\/[0-9]{2}\/[0-9]{2})(.*?)(".*?>)/i',
create_function(
'$matches',
'return \'<a href="http://tapatalk.com/tapatalk_image.php?img=\'.urlencode(base64_encode($matches[2].\'/original\'.$matches[3])).\'" target="_blank" class="externalLink">\'.$matches[1].$matches[2].\'/thumbnail\'.$matches[3].$matches[4].\'</a>\';'
),
$content);
echo $content;
ob_start();


this breaks smf's buffer hook would also say is problay not good to have that in your template  but dont just remove that peice of code cos it looks like copy right for that mod eaither remove tapatalk or ask them to fix it

Thanks for reporting this, we also get report from eladio on our support forum.
https://support.tapatalk.com/threads/tapatalk-3-9-0-breaks-smfs-buffer.21491/
We already have a solution on this issue and will confirm it with eladio and then we'll release an update.
You can also get our latest plugin code for SMF2 in Github soon later:
https://github.com/tapatalk/tapatalk-smf2


problem is still there..
After first post on forum , from my mobile phone (omnia7) , server crash (error 504), After that facebook plugin stop working correctly like last time.

Maybe worse, because after uninstall that first version of tapatalk that you send to me, problem now is still there..
uh..

i have purge cache from cloudflare , and from SMF , i also try to reinstall sa facebook mod, but..

you send to me one more version of tapatalk, but i will wait some time, i must see why i have now again problem (i still doubt the cache must be problem) hm..






eladio

#3541
ok, i have clean index.template.php ,
after uninstall i found there some lines of tapatalk code, now is all OK

i will test new tapatalk version that i get from them later

SA™

the same code is still in your theme
$content = ob_get_contents();
ob_end_clean();
$content = preg_replace_callback('/(<img src=")(http:\/\/img.tapatalk.com\/d\/[0-9]{2}\/[0-9]{2}\/[0-9]{2})(.*?)(".*?>)/i',
create_function(
'$matches',
'return \'<a href="http://tapatalk.com/tapatalk_image.php?img=\'.urlencode(base64_encode($matches[2].\'/original\'.$matches[3])).\'" target="_blank" class="externalLink">\'.$matches[1].$matches[2].\'/thumbnail\'.$matches[3].$matches[4].\'</a>\';'
),
$content);
echo $content;
ob_start();
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 -___-

SA™

yup it that code still breaks the buffer hook

Quote from: Tapatalk on November 07, 2013, 09:39:31 PM
Quote from: SA™ on November 05, 2013, 02:57:19 PM
the issue is with this piece of code in your index.template.php

$content = ob_get_contents();
ob_end_clean();
$content = preg_replace_callback('/(<img src=")(http:\/\/img.tapatalk.com\/d\/[0-9]{2}\/[0-9]{2}\/[0-9]{2})(.*?)(".*?>)/i',
create_function(
'$matches',
'return \'<a href="http://tapatalk.com/tapatalk_image.php?img=\'.urlencode(base64_encode($matches[2].\'/original\'.$matches[3])).\'" target="_blank" class="externalLink">\'.$matches[1].$matches[2].\'/thumbnail\'.$matches[3].$matches[4].\'</a>\';'
),
$content);
echo $content;
ob_start();


this breaks smf's buffer hook would also say is problay not good to have that in your template  but dont just remove that peice of code cos it looks like copy right for that mod eaither remove tapatalk or ask them to fix it

Thanks for reporting this, we also get report from eladio on our support forum.
https://support.tapatalk.com/threads/tapatalk-3-9-0-breaks-smfs-buffer.21491/
We already have a solution on this issue and will confirm it with eladio and then we'll release an update.
You can also get our latest plugin code for SMF2 in Github soon later:
https://github.com/tapatalk/tapatalk-smf2

hmmmm
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 -___-

eladio

#3544
this code i get last:

$content = @ob_get_clean();
$content = preg_replace_callback('/(<img src=")(http:\/\/img.tapatalk.com\/d\/[0-9]{2}\/[0-9]{2}\/[0-9]{2})(.*?)(".*?>)/i',
create_function(
'$matches',
'return \'<a href="http://tapatalk.com/tapatalk_image.php?img=\'.urlencode(base64_encode($matches[2].\'/original\'.$matches[3])).\'" target="_blank" class="externalLink">\'.$matches[1].$matches[2].\'/thumbnail\'.$matches[3].$matches[4].\'</a>\';'
),
$content);
@ob_start();
echo $content;


but problem is the same  :-[

and i still have problems with tapatalk, because my windows phone omnia7 have (very buggy version of) tapatalk , and i have errors in database when i make post from my phone..

Kindred

kill tapatalk.  IMO, it really serves no useful purpose
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

SA™

lol the only differenc in that code is they added "@" before the ob functions not exsacly a fix
the "@" will silence any php errors but would not fix your issue IMO your issue is that peice of code should not be in the template full stop but what do i know?
as kindred said just kill tapatalk  8)
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 -___-

lolicute

I want change the FB Button Login to the top, someone know how?


cagancelik

Installed the mod, login/register feature work ok but don't see any like/recommend buttons on posts. What could be the issue?

eladio

Quote from: SA™ on November 08, 2013, 10:30:48 PM
lol the only differenc in that code is they added "@" before the ob functions not exsacly a fix
the "@" will silence any php errors but would not fix your issue IMO your issue is that peice of code should not be in the template full stop but what do i know?
as kindred said just kill tapatalk  8)

soap opera continues ..  ;D , i get this answer:
QuoteYou may need to send this package to SMF guys as we are not familiar with how SMF's facebook integration works and we can only fix our codes to fit SMF guy's suggestion. I trust that the problem has been solved from our side. Please let me know if SMF guys give more suggestion.

Thank you.
Regards,

Euhow Huang
tapatalk.com

After that i see this , https://support.tapatalk.com/threads/tapatalk-3-9-0-breaks-smfs-buffer.21491/#_=_ :

QuoteI moved ob_start(); in front of $content = ob_get_contents(); and my mods started works normaly
Last modification also crash mod Optimus Brave

hm.. They definitely have a problem..


..I dont know, lots of my users ask me for tapatalk (asking me to handle it, because it brings them all forums in one place) ,
for now i am sure that i will wait.. I can not afford problems, I hope they have their own ways how tapatalk can be tested without me to be beta-tester..
until then, I will obey your advice - kill Tapatalk ,
I hope that it will eventually show up alternative fot that app/mod

Big thanks to all

maarawoe

Hi,

I have already installed version 2.0.2 which is properly listed in the list of my packages.
26.   SA Facebook    2.0.2     [ Uninstall ] [ List Files ] [ Delete ]

I downloaded a 2.0.3 zip to update this mod but i can't upload as it says the mod is already there....-could anyone suggest me whats wrong?

Thanks!

Kindred

you will have to uninstall 2.0.2 and then install 2.0.3
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

kingkingston

does the publish posts always post automatically to facebook ?

vbgamer45

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

kingkingston

it posted once on my facebook page and hasn't done it since

pathuri

I started using SMF on my domain.
I see pictures/images are embedded in-line with the text.
This is might be a nerd question - can you pl let me know how to do this.
I'm using SMF 2.0.06.
Also is there any possibility of linking FACEBOOK groups with SMF?

Kindred

This mod allows you to connect your SMF forum with facebook --- Facebook PAGEs, yes... facebook GROUPs... no.
https://www.facebook.com/pages/Legions-of-Steel/272479519478619 links from http://los.turtleshellprod.com

Your other question has nothing at all to do with this mod.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

rutenio3

I installed this mod but did not appear to me in the admin panel.
I can remove it perfectly.
How I can fix it as it supposedly is improperly installed,
Thanks

I have smf 2.0.5

And this mods are intalled

Quote1.   SMFShop    3.2.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
2.   Quick Spoiler    0.9.2     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
3.   RateThatTopic    2.2.0   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
4.   SMF 2.0.4 Update    1.0     [ Listar archivos ] [ Borrar ]
5.   Aeva ~ Auto-Embed Video & Audio    7.2     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
6.   Post Ratings    1.6   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
7.   Adk Personal Icon forums    1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
8.   Google Analytics Code    1.4     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
9.   Advance Facebook Like with OpenGraph    0.2   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
10.   Profile like mybb    2.0     [ Listar archivos ] [ Borrar ]
11.   Yolks Emoticons    1.0   [ Listar archivos ] [ Borrar ]
12.   EU Cookie    1.0.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
13.   SMF 2.0.3 Update    1.0     [ Listar archivos ] [ Borrar ]
14.   nCode Image Resizer    1.3.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
15.   Tapatalk SMF 2.0 RC5/Final Plugin    3.2.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
16.   Social Login    2.6     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
17.   Registered Links    3.0   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
18.   Thank-o-matic    3.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
19.   Treasury    2.12     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
20.   Topic Rating Bar    0.8.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
21.   Hide Topics from Guests    3.0   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
22.   Popos Smiley    1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
23.   Default Avatar    2.3     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
24.   cbi 1.0    1.7.8   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
25.   SMF 2.0.5 Update    1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
26.   Inventory In Display    1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
27.   Avatar On Board RC1    2.1   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
28.   SA Facebook    2.0.3     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
29.   SimplePortal    2.3.5     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
30.   Adk Login    1.0   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
31.   Board Icons Multiboard    0.1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
32.   Forum Firewall    1.1.5     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
33.   SMF_Points    1.0   [ Listar archivos ] [ Borrar ]
34.   Pretty URLs    1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
35.   Tidy Child Boards    1.4.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
36.   SMF Trader System


lepard

Anyone willing to get me set up for facebook intergration on my boards for money? [email protected]
Rick Lepard

Careful of the simple police

STRRAYNGE

Quote from: lepard on November 14, 2013, 03:23:38 PM
Anyone willing to get me set up for facebook intergration on my boards for money? [email protected]
I honestly wanted to ask the same thing. Ive tried setting up a Facebook application, then installing this app, and ive crashed my site all 3 times. Not sure what im doing wrong, but whatever it is its beyond my knowledge.  But, same as you, ill pay someone to help me get this going!

Advertisement: