Author: Michael Simkin
Email: msimkin@gmail.com
Want this plugin professionally installed? For only $25USD this plugin will be installed on your forum for you and it is GUARANTEED to work or your money back! To get started please send a payment of $25USD to paypal@syscue.com via PayPal. In your message include the following information:
$10 extra for each additional style.
Installation services will be performed from 5pm EST - 8pm EST
Import the product XML file (set Allow Overwrite to yes) and enable it (if not enabled).
Find:
<!-- fbconnect -->
$fbconnect_button
<!-- / fbconnect -->
Replace With:
<!-- fbconnect -->
<center>
<span class="fbconnect" style="height:21px">
<img src="http://static.ak.fbcdn.net/images/loaders/indicator_white_small.gif" alt="Connect with Facebook" />
</span>
</center>
<!-- / fbconnect -->
BACK UP YOUR DATABASE AND FILES! Turn off your vBulletin board.
Re-upload and overwrite all the files.
Import the product XML file (set Allow Overwrite to yes) and enable it (if not enabled).
Find:
<!-- fbconnect -->
<script type="text/javascript">
<!--
var bburl = '$vboptions[bburl]';
//-->
</script>
<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
<script src="$vboptions[bburl]/clientscript/fbconnect.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
// Main Facebook Connect Javascript Initialization
FB.init("$vboptions[fbconnect_apikey]", "$vboptions[fbconnect_xd_receiver]");
//-->
</script>
<!-- / fbconnect -->
Replace With:
<!-- fbconnect -->
$fbconnect_init
<!-- / fbconnect -->
Find:
<!-- fbconnect -->
<center>
<a href="#" onclick="facebook_requestSession(); return false;">
<img id="fb_login_image" src="http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_medium_long.gif" border="0" alt="Connect"/>
</a>
</center>
<!-- / fbconnect -->
Replace With:
<!-- fbconnect -->
$fbconnect_button
<!-- / fbconnect -->
Find:
<form action="newreply.php?do=postreply&t=$threadid" name="vbform" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>
Replace With:
$fb_prepare_submit
<form action="newreply.php?do=postreply&t=$threadid" name="vbform" method="post"<if condition="!is_browser('webtv')"> onsubmit="return fb_prepare_submit(this, 0)"</if>>
Find:
<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_reply]" accesskey="s" tabindex="1" />
Replace With:
<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_reply]" accesskey="s" tabindex="1" onclick="isPreview = false" />
Find:
<input type="submit" class="button" name="sbutton" value="$vbphrase[submit_reply]" accesskey="s" tabindex="1" />
Replace With:
<input type="submit" class="button" name="sbutton" value="$vbphrase[submit_reply]" accesskey="s" tabindex="1" onclick="isPreview = false" />
Find:
<form action="newthread.php?do=postthread&f=$forumid" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.subject.value, $vboptions[postminchars])"</if>>
Replace With:
$fb_prepare_submit
<form action="newthread.php?do=postthread&f=$forumid" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return fb_prepare_submit(this, this.subject.value)"</if>>
Find:
<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" />
Replace With:
<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" onclick="isPreview = false" />
Find:
<input type="submit" class="button" name="sbutton" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" />
Replace With:
<input type="submit" class="button" name="sbutton" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" onclick="isPreview = false" />
Find:
<form action="newreply.php?do=postreply&t=$threadid" method="post" name="vbform" onsubmit="return qr_prepare_submit(this, $vboptions[postminchars]);" id="qrform">
Replace With:
<form action="newreply.php?do=postreply&t=$threadid" method="post" name="vbform" onsubmit="return fb_qr_prepare_submit(this, $vboptions[postminchars]);" id="qrform">
Find:
<!-- / quick reply -->
Insert Before:
$fb_qr_prepare_submit
Find:
<!-- fbconnect -->
<br />
<center>
<a href="#" onclick="facebook_requestSession(); return false;">
<img id="fb_login_image" src="http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_medium_long.gif" border="0" alt="Connect"/>
</a>
</center>
<!-- / fbconnect -->
Replace With:
<!-- fbconnect -->
$fbconnect_button
<!-- / fbconnect -->
Find:
<!-- fbconnect -->
<br />
<center>
<a href="#" onclick="facebook_requestSession(); return false;">
<img id="fb_login_image" src="http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_medium_long.gif" border="0" alt="Connect"/>
</a>
</center>
<!-- / fbconnect -->
Replace With:
<!-- fbconnect -->
$fbconnect_button
Find:
<!-- fbconnect -->
<br />
<center>
<a href="#" onclick="facebook_requestSession(); return false;">
<img id="fb_login_image" src="http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_medium_long.gif" border="0" alt="Connect"/>
</a>
</center>
<!-- / fbconnect -->
Replace With:
<!-- fbconnect -->
$fbconnect_button
Update Feed Template IDs in the settings (make sure they are the same as at: FB Connect Options -> News-Feed Templates).
Check FB Connect Options > Settings for new settings and FB Connect Options >Data Mapping to map Facebook data.