• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: [Solved] Facebook
PostPosted: Tue Mar 15, 2011 10:42 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Nov 25, 2010 9:54 pm
Posts: 10
Location: Monclova, Mexico
thanks a lot for your time webform
I dont know why sometimes easy things become complicated..

sorry for bother.. now everything works great.

best regards :)


Top
 Profile  
 
 Post subject: Re: [Solved] Facebook
PostPosted: Tue Mar 15, 2011 10:48 pm 
Offline
Forum Members
Forum Members

Joined: Sat Nov 25, 2006 3:39 pm
Posts: 244
Location: Copenhagen, Denmark
No bother - Glad if i could help :)


Top
 Profile  
 
 Post subject: Re: [Solved] Facebook
PostPosted: Wed Mar 16, 2011 5:47 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Nov 25, 2010 9:54 pm
Posts: 10
Location: Monclova, Mexico
I'm back again..

I (with the valued help from webform) left the like button working fine yesterday and today just desapear?? what happened? is something wrong with the source at facebook?

anyone knows?

I've tried on differents browsers and is the same.. (it is showed on the page source)

???


Top
 Profile  
 
 Post subject: Re: [Solved] Facebook
PostPosted: Wed Mar 16, 2011 6:06 pm 
Offline
Forum Members
Forum Members

Joined: Sat Nov 25, 2006 3:39 pm
Posts: 244
Location: Copenhagen, Denmark
I think it's Facebook - Mine is also gone! So give it some time and see if it returns!


Top
 Profile  
 
 Post subject: Re: [Solved] Facebook
PostPosted: Wed Mar 16, 2011 7:04 pm 
Offline
Forum Members
Forum Members

Joined: Sat Nov 25, 2006 3:39 pm
Posts: 244
Location: Copenhagen, Denmark
Facebook Developer Forum is flooded with others missing the like button.

One workaround, that seems to work, is to place the following code right before the Facebook javascript:

Code:
<div id="fb-root"></div>


Top
 Profile  
 
 Post subject: Re: [Solved] Facebook
PostPosted: Wed Mar 16, 2011 10:30 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Fri Feb 02, 2007 4:31 pm
Posts: 2395
Location: Comox Valley, BC
Hadn't heard about that workaround - I had changed all of mine to use the iframe code.

Nullig

P.S. I use similar code for the CGCalendar module Event template:

<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://www.website.com{$smarty.server.REQUEST_URI}" show_faces="true" width="450" colorscheme="dark"></fb:like>


Top
 Profile  
 
 Post subject: Re: [Solved] Facebook
PostPosted: Fri May 27, 2011 2:40 am 
Offline
Forum Members
Forum Members

Joined: Wed Jan 28, 2009 1:12 am
Posts: 10
I thought I'd share some code for the iframe version as it seems to be where Facebook are heading rather than FBML:

Code:

<iframe src="http://www.facebook.com/plugins/like.php?app_id=148139585258930&amp;href=http://www.website.com{$smarty.server.REQUEST_URI}&amp;send=false&amp;layout=standard&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>



Top
 Profile  
 
 Post subject: Re: [Solved] Facebook
PostPosted: Thu Jan 05, 2012 12:43 pm 
Offline
Forum Members
Forum Members

Joined: Sat Oct 17, 2009 6:50 am
Posts: 63
Location: Finland
I want to use iframe embedding, but there is something wrong with the url.

{$entry->link} works fine with XFBML embedding, but if use it with iframe, the url is chopped like this:
Code:
index.php?mact=News%2Ccntnt01%2Cdetail%2C0


It should be:
Code:
index.php?mact=News%2Ccntnt01%2Cdetail%2C0&cntnt01articleid=7&cntnt01pagelimit=5&cntnt01returnid=15


So the first & character is the problem...? Here's the full code:
Code:
<iframe src="//www.facebook.com/plugins/like.php?href={$entry->link}&amp;send=false&amp;layout=standard&amp;width=297&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:297px; height:35px;" allowTransparency="true"></iframe>


{$smarty.server.REQUEST_URI} isn't the answer, cause the url isn't the current page url. It's the url of the detail page of the news.

Thanks in advance :)


Top
 Profile  
 
 Post subject: Re: [Solved] Facebook
PostPosted: Fri Apr 06, 2012 1:50 pm 
Offline
Forum Members
Forum Members

Joined: Sat Oct 17, 2009 6:50 am
Posts: 63
Location: Finland
I turned on the SEO friendly urls and now Facebook Like buttons work. But I still have one pretty strange issue.

I user likes the article in the article list (summary page) and goes to the detail page of article, like button is showing that user hasn't clicked it.

The code of the like button in detail and summary page are the same.

Any ideas?


Top
 Profile  
 
 Post subject: Re: [Solved] Facebook
PostPosted: Fri Apr 06, 2012 4:58 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11812
Location: Arizona
I would only have the like button on the detail as the summary isn't quite the article but just part of it...

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
 Post subject: Re: [Solved] Facebook
PostPosted: Fri Apr 06, 2012 6:44 pm 
Offline
Forum Members
Forum Members

Joined: Sat Oct 17, 2009 6:50 am
Posts: 63
Location: Finland
Dr.CSS wrote:
I would only have the like button on the detail as the summary isn't quite the article but just part of it...


Me too, 'cause everything would be so much easier. But 'cause it's pretty important that user can click Like as soon as possible and that is what client wants ;)

But... I'm not sure if the problem fixed itself. Maybe Facebook has some kind of a cache of these Like Button properties, but some of the articles are working now correctly and some aren't.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner