Topic-icon JFBCConent -> Facebook like button

Active Subscriptions:

None
14 years 7 months ago #15044 by deluxep
I like the JFBConnect plugin very much, and it is very stable.

However, currenlty I find one little problem (related to the facebook like button in the article) with my template in mobile theme from GavickPro. Actually, I have contacted them. Here is our message:

============ MESSAGE 1 [ From Me ] ============
To GavickPro:

Hi, I find that the file "head.android.php" conflict with JFBConnect Plugin.
I found that the following line in "head.handheld.php" will remove the facebook like button from JFBConnect Plugin

Line 11 --- GKParser::$customRules['/(.*?)/mis'] = '';

## Please download the full code here ##


How can we fix this??

I have tried to remove this link, the facebook like button can be revealed. However, there will be problem on the Collapsible menu.

I truly understand that JFBConnect Plugin is the 3rd plugin, but please help me to do this little hack. Thx!

============ MESSAGE 2 [ Reply From GaviakPro] ============

This code is integral part of our templates and it is repsonsible of disabling social API and facebook login for pages and. Probably not this line of GKParses is causing problem but this which include "fb tag" which strip all facebook login on proper pages. Please tell me in which file you've added the fblogin button and direct link to page where it should be visible I'll try to look at this code to fix this.

============ MESSAGE 3 [ Reply From ME] ============

Thank you for reply!!! Actually, I am talking about the "Facebook Like Button" from the plugin called "jfbcontent" Here is the file path:

/www/www/plugins/content/jfbccontent/jfbccontent.php
/www/www/plugins/content/jfbccontent/jfbccontent.xml

Thx!

============ END OF THE MESSAGE============


So, my question if where the file which has "fb tag" or related code?? Thx!!

Here is my website: www.deluxe-party.com/mobile (please visit it in mobile device) , you should find that the "Facebook like button" is missing.
The topic has been locked.
Support Specialist
14 years 7 months ago #15057 by alzander
It depends. How are you inserting the tag? With the JFBCLike module, the {JFBCLike} tag, or using the content plugin? Generally, most tags are actually inserted in the /system/jfbcsystem/jfbcsystem.php plugin, but there's a bunch of different ways to tell that plugin to insert it.

We've seen in the past that Gavick templates will remove Like buttons that are not their own, or will remove them if you simply have their Social integration disabled.. so it will basically delete JFBConnect's Like buttons and other tags.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 7 months ago #15108 by deluxep
Finally, I can do the little hack to fix the problem

(1) Open /www/www/plugins/system/jfbcsystem/jfbcsystem.php
(2) Go to Line 158 : change
script type="text/javascript"
into
script type="text/javascript" JFBConnect
(3) Such that the GKParser fail to delete the JFBConnect Javascript... cox they only target for script type="text/javascript"

I have spend 2 weeks to communicate with the Gavick team...but now I can fix the problems with this little trick in 2 mins...so happy
The topic has been locked.
Support Specialist
14 years 7 months ago #15113 by alzander
Very interesting, and thanks for your solution. I'm really not sure what the issue was there, but we have seen their templates be extremely over-aggressive in removing 'other' social buttons and code. It's unfortunate, but is something we can't really do much about.

Anyways, glad you got it, and should you need anything else, just let us know. We'll gladly help out however we can.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 7 months ago #15115 by deluxep
Thank you!!

FYI, this problem only happen in the mobile template...but not the desktop template.
The topic has been locked.