Very BIG Bug with the social integration of the template

GK User
Tue Sep 13, 2011 5:56 pm
I find its a critical bug. This template will actually strip out any Facebook, Twitter, Google +1, and multiple other social buttons if the social integration of the template isn't enabled. This is like if some component were to remove any CSS files from the template, because it didn't want them there, and obviously, not the right thing to do.

Im using other FB integrate component and i find, i must have your API enabled, and FB Likeit button enablet too to show FB like it.

I find also a solution, but i must hack of your core template,

I can manually remove this functionality by removing calls to the code in your /templates//lib/gk.framework.php file and searching for "Clear FB Like" and removing the line after that.

But it was much better if you can fix it bug in your core files and not strip any call to all social plugins of 3th party...
User avatar
Fresh Boarder

GK User
Tue Sep 13, 2011 6:18 pm
For better understunding, line 621,622
// clear FB like
// GKParser::$customRules['/<fb:like(.*?)fb:like>/mi'] = '';
User avatar
Fresh Boarder

GK User
Tue Sep 13, 2011 6:23 pm
You're right - the solution is easy and we'll implement it in the next upgrade.

You just need to add tags <gavern:social> </gavern:social> or similar to the clear rules and the place where the like buttons are added.
User avatar
Administrator

GK User
Tue Sep 13, 2011 6:35 pm
but its very awesome template!!!!!!
User avatar
Fresh Boarder

GK User
Tue Sep 13, 2011 6:36 pm
i put //before line 622 and its works..
User avatar
Fresh Boarder


cron