The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
jquery social share script
Hey guys,
Trying to add this to my site in footer. http://plugins.in1.com/share/demo I'm not sure what I'm doing wrong here. I've added this in the headinclude template Code:
<script type="text/javascript"> $('#mydiv').share({ networks: ['facebook','googleplus','twitter','tumblr','email','stumbleupon','digg'] }); </script> <script type="text/javascript" src="clientscript/jquery.share.js"></script> <link rel="stylesheet" type="text/css" href="clientscript/jquery.share.css" /> I added this in footer template Code:
<div id="mydiv"></div> |
#2
|
||||
|
||||
Anyone please?
--------------- Added [DATE]1365714587[/DATE] at [TIME]1365714587[/TIME] --------------- I found an issue. Code:
<div id="mydiv"></div> <script type="text/javascript" src="clientscript/jquery.share.js"></script> <link rel="stylesheet" type="text/css" href="clientscript/jquery.share.css" /> <script type="text/javascript"> $('#mydiv').share({ networks: ['facebook','googleplus','twitter','tumblr','email','stumbleupon','digg'] }); </script> The script only appears when not logged in. Once logged in, it disappears. I've replicate this when I placed it in header, footer and showthread templates (one at a time too). Someone mentioned this to me from another forum Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|