Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Latest Addons
AD Gallery 54
SyntaxHighlighte... 51
Newsletters v4.03 112
Facebook Like Box 125
Newsletters v4.02 57
Metro 164
Facebook Connect 171
Shoutbox Panel 127
Redactor for PHP... 106
MI Floating Side... 109
Facebook Login/R... 154
Avatar Studio v2.03 179
Relationship Sta... 98
Sexual Orientati... 116
Fisherman 143
Popular Addons
iTheme2 5801
Arise 5790
User Control v1.23 4619
Event Calendar 4050
Photowidget panel 3888
Radio-Theme red2... 3356
Highslide Gallery 3314
CSS/JavaScript D... 3231
Facebook Connect... 2985
Dynamic Menu 2893
Slideshow Lightb... 2721
L-AMANT 2659
Enigma 2636
2Dark 2606
Black 2579
View Thread
Official Home of PHP-Fusion » General Addon and Modification Support » Panels and Infusions
Who is here? 1 guest(s)
 Print Thread
Google Plus side panel code
HobbyMan
If you run a Google+ page, you can now add a "badge" to your site just like the one on this site.

The following code is set for the PHP-Fusion page and is 180px wide. You will need to alter it to suit. Just add the code into a new side panel in panel manager and you're good to go.

Download source  Code
add_to_head ("
<link href='https://plus.google.com/115557867634843097728' rel='publisher' /><script type='text/javascript'>
window.___gcfg = {lang: 'en'};
(function()
{var po = document.createElement('script');
po.type = 'text/javascript'; po.async = true;po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(po, s);
})();</script>
");

openside("Follow us on Google+");
echo "<g:plus href='https://plus.google.com/115557867634843097728' width='180' height='69' theme='light'></g:plus>\n";
closeside();




Badge configuration: https://developer...dge/config

Visitors to your site will be able to add your page to their circles directly from the panel and can also increase the size to include a +1 button and numbers of those who've +1'd the page.
Just some Guy
 
http://www.hobbysites.net/
Joetho
Its not W3C valid

http://joetho-web.../gplus.php
 
HobbyMan
There's an option in the Google configurator for HTML5 valid syntax if you want it.

Change

Download source  Code
<g:plus href='https://plus.google.com/115557867634843097728' width='180' theme='light'></g:plus>




to....

Download source  Code
<div class='g-plus' data-href='https://plus.google.com/115557867634843097728' data-width='180' data-theme='light'></div>



Just some Guy
 
http://www.hobbysites.net/
SantaClaus
http://themes.lew...php?did=43
 
studies have shown MS lesions in the brain shrank following helminthic therapy. . The theory behind helminthic therapy is called hygiene hypothesis lace dresseslace dresses . . Western countries are thought to have a higher incidence of autoimmune diseases than developing countries where people are more likely to have infectious diseases and parasitic infestations sexy wedding dressessexy wedding dresses . . discount wedding dressesdiscount wedding dresses cheap homecoming dressescheap homecoming dresses . Human immune systems are accustomed to fighting off lowlevel infections, generating a balanced immune response. Certain types of regulatory lymphocytes circulate to keep the immune system from overreacting to infection which can do more harm to the human host than the original infectious disease. It's believed that in Western countries, with a high level of hygiene sexy prom dressessexy prom dresses , sexy prom dressessexy prom dresses people lack exposure to infections and parasitic infestations. This may lead to failure of the immune system to properly develop, resulting in an inappropriate
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Birthday panel Panels and Infusions 1 21-05-2013 21:12
Link panel to another subdomain Content Administration 3 19-05-2013 08:50
Stop Forum Spam Panel Official releases [Panels] 14 12-05-2013 19:51
edit login side panel. Content Administration 3 10-05-2013 18:45
Theme Control Panel Content Administration 2 08-05-2013 13:19
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel byVenue