Customizing SMF > Modifications and Packages

SA Facebook Integration

<< < (557/672) > >>

DutchJam:

--- Quote from: SA™ on August 09, 2012, 11:52:46 PM ---yes the page id is the id of the page with out it it dont know where to post topics
assuming this is your page https://www.facebook.com/WeatherConnectionForum the id is
363434477048298

using graph api you can see this info

https://www.facebook.com/WeatherConnectionForum
 just chnage the www to graph and you have all the info on your page

--- End quote ---

Ok, I added my Page ID (numbers) in the field in stead of jamaicaforum.nl (my Facebook page is http://www.facebook.com/jamaicaforum.nl). Maybe this wil solve my problem too...

About the HTML tags, see image below what happens if SA Facebook Integration posts a new topic from my forum to the page at Facebook...

SA™:
@dutchjam you can try this in facebookhooks.php


--- Code: ---$attachment['description'] = $nobbc_body;
--- End code ---

replace with


--- Code: ---$attachment['description'] = strip_tags($nobbc_body);
--- End code ---

@isl30fvi3w
php version?

DutchJam:

--- Quote from: SA™ on August 10, 2012, 02:48:10 PM ---@dutchjam you can try this in facebookhooks.php


--- Code: ---$attachment['description'] = $nobbc_body;
--- End code ---

replace with


--- Code: ---$attachment['description'] = strip_tags($nobbc_body);
--- End code ---

@isl30fvi3w
php version?


--- End quote ---

Thanks for your reply SA.

It works, yes and no....

Text in post at facebook page was (like image above):

Usain Bolt zorgt ook voor Twitter-record<br /><br />Niet alleen liep de 25-jarige

And is now:

Usain Bolt zorgt ook voor Twitter-recordNiet alleen liep de 25-jarige

So the HTML tags are gone, but there is no space between the first line and the second line. This would look better:

Usain Bolt zorgt ook voor Twitter-record Niet alleen liep de 25-jarige

Is that possible?

phtomay:

--- Quote from: isl30fvi3w on August 10, 2012, 06:31:25 AM ---I tried installing this mod with no errors. But after the installation, my forum went down. I tried installing this mod and deactivating all other mods but the problem still exists.

--- End quote ---

@isl30fvi3w more like we have the same issues here but no 1 seems to be responding/helpful. Did u get any error message?

Texan78:

--- Quote from: phtomay on August 10, 2012, 03:33:23 PM ---
--- Quote from: isl30fvi3w on August 10, 2012, 06:31:25 AM ---I tried installing this mod with no errors. But after the installation, my forum went down. I tried installing this mod and deactivating all other mods but the problem still exists.

--- End quote ---

@isl30fvi3w more like we have the same issues here but no 1 seems to be responding/helpful. Did u get any error message?

--- End quote ---

Can you access the admin CP? Have you tried uninstalling and then reinstalling? Also did you create a back up before you installed it that you can restore to as I suggested above?

@DutchJam That might be just how it formats it. I am not sure if there is a way to make it wrap at a certain point. If you do it by characters it might wrap in the middle of a word and make it worse. Maybe SA has some insight.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version