REQ google friends

mojopanel

New Member
Here you go:

Number 1:


friendconnect-logo.gif

UKBL ~ Google friends Connect​


A simple and effective way to let your members sign up to their google friends from your forum​


Lets start...

This will add a small Google friends connect box next to your username in the navbar, This is just one of many possabilities for using this new Google friends Connect

signin1.png


Ok so first we need to set up a Google friends connect account at google so go to this link here and sign up

http://www.google.com/friendconnect/...start?hl=en_US

1. Click on "Friends Connect for websites"

2. Add your site name and Url

3. Download and save to your server the two files which are then shown, these are
rpc_relay.html and canvas.html

You need to save them onto your root directory, if you see the instructions it will show you where
wink.gif


Don't worry if you've made a mistake, google will soon tell you
up.gif


4. Once you've done that you need to click on the members gadgets on the left hand side menu, Click on "Sign in Gadget"

5. Then "Create HTML Code"

and thats the first part done.

Now to add it to the Navbar
wink.gif


In Notepad or a text editor of your choice add the following code

Code:
Code:
<!--<UKBL Google Friends Start>----------------------------------------------------------------------->

<td class="alt2">

<DIV ALIGN=RIGHT>
<if condition="!is_member_of($bbuserinfo, X, Y, Z)">



******** Add your Downloaded google friends Script here - Don't forget to change the X,Y,Z of the condition above to allow whatever usergroup you want this visable too, Just add the usergroup id number and space with a comma  ********


</DIV>
</td>
</if>
<!--<UKBL Google friends End>----------------------------------------------------------------------->
you should have something along the lines of this

Code:
Code:
<!--<UKBL Google Friends Start>----------------------------------------------------------------------->

<td class="alt2">

<DIV ALIGN=RIGHT>
<if condition="!is_member_of($bbuserinfo, 1, 2, 3)">
<td class="alt2">
<!-- Include the Google Friend Connect javascript library. -->
<script type="text/javascript" src="http://www.google.com/friendconnect/script/friendconnect.js"></script>
<!-- Define the div tag where the gadget will be inserted. -->
<div id="div-6496169506965828886" style="width:250px;border:0px solid #ffffff;"></div>
<!-- Render the gadget into a div. -->
<script type="text/javascript">
var skin = {};
skin['BORDER_COLOR'] = '#ffffff';
skin['ENDCAP_BG_COLOR'] = '#e0ecff';
skin['ENDCAP_TEXT_COLOR'] = '#333333';
skin['ENDCAP_LINK_COLOR'] = '#0000cc';
skin['ALTERNATE_BG_COLOR'] = '#ffffff';
skin['CONTENT_BG_COLOR'] = '#ffffff';
skin['CONTENT_LINK_COLOR'] = '#0000cc';
skin['CONTENT_TEXT_COLOR'] = '#333333';
skin['CONTENT_SECONDARY_LINK_COLOR'] = '#7777cc';
skin['CONTENT_SECONDARY_TEXT_COLOR'] = '#666666';
skin['CONTENT_HEADLINE_COLOR'] = '#333333';
skin['ALIGNMENT'] = 'right';
google.friendconnect.container.setParentUrl('/' /* location of rpc_relay.html and canvas.html */);
google.friendconnect.container.renderSignInGadget(
 { id: 'div-6496169506965828886',
   site: '02417642747277593193' },
  skin);
</script>
</DIV>
</td>
</if>
<!--<UKBL Google friends End>----------------------------------------------------------------------->
Now save this in Notepad, because we now need to upload this onto our Navbar template

Go to edit the following template in your admin CP

AdminCP > Styles & Templates> Style Manager> Your Chosen Style> All style options> Edit templates> Navigation / Breadcrumb Templates> navbar

In template NAVBAR find

Code:
Code:
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
        </if>
    </td>
and directly below it add your saved code.

Then save, and thats it

Members will be able to sign up, Using their Google, Aim and Yahoo id's

signin2.png


and then the login box will turn like this...

signin3.png


where members can then sort out their friends and send invites etc..

signin4.png


Enjoy

UPDATE:

For those of you That would prefer the Social Bar that goes accross the top of your screen, then here are the instructions
biggrin.gif


google1.png


LIVE DEMO : Freestyle

1. Sign up to Google friends as described above and the from the menu on the left choose "Social Bar"
Add a social bar to your site

Put a social bar at the top of your site's pages to give your visitors easy access to Friend Connect's social features.

Enable your visitors to easily join and discover each other
Let visitors read and post comments together
Activities taking place in social gadgets throughout your site bubble to the top
No need to redesign your pages

2. Fill in the Options 1 on that page, thats easy enough.

3. Option 2 creates the HTML code that we'll need to ad to our site it looks something like this...

Code:
Code:
<!-- Include the Google Friend Connect javascript library. -->
<script type="text/javascript" src="http://www.google.com/friendconnect/script/friendconnect.js"></script>
<!-- Define the div tag where the gadget will be inserted. -->
<div id="div-6077485798636155185"></div>
<!-- Render the gadget into a div. -->
<script type="text/javascript">
var skin = {};
skin['BORDER_COLOR'] = '#cccccc';
skin['ENDCAP_BG_COLOR'] = '#e0ecff';
skin['ENDCAP_TEXT_COLOR'] = '#333333';
skin['ENDCAP_LINK_COLOR'] = '#0000cc';
skin['ALTERNATE_BG_COLOR'] = '#ffffff';
skin['CONTENT_BG_COLOR'] = '#ffffff';
skin['CONTENT_LINK_COLOR'] = '#0000cc';
skin['CONTENT_TEXT_COLOR'] = '#333333';
skin['CONTENT_SECONDARY_LINK_COLOR'] = '#7777cc';
skin['CONTENT_SECONDARY_TEXT_COLOR'] = '#666666';
skin['CONTENT_HEADLINE_COLOR'] = '#333333';
skin['POSITION'] = 'top';
skin['DEFAULT_COMMENT_TEXT'] = '- add your comment here -';
skin['HEADER_TEXT'] = 'Comments';
google.friendconnect.container.setParentUrl('/' /* location of rpc_relay.html and canvas.html */);
google.friendconnect.container.renderSocialBar(
 { id: 'div-6077485798636155185',
   site: '02417642747277593193',
   'view-params':{"scope":"SITE","features":"video,comment","showWall":"true"}
 },
  skin);
</script>
So now we need to ad the code to our site, and its so easy, First we go to our adminCP and Styles & Templates > Style Manager > Your Style >

and at the top of your header template add the code, then save.

Thats it, You should see your sites new google social bar at the top of your forum
biggrin.gif


g1-1.png

Number 2:
ICQ, AIM, MSN, Yahoo Online Status for vB 3.6
Back by popular demand! After being contacted by several vb.org forum members, I have brought this modification back to life with a vB 3.6 BETA. After a few weeks of bug reports and the mod being released to the wild, I will release a stable version and begin planning and adding new features. Please post any bugs you find in this thread, and I will do my best to fix them in a timely matter. Enjoy!

Beta Update:
After running the hack myself and seeing several other people use it, it appears that I can safely remove the "BETA" portion of this hack. The first release, 1.5.0 should be out tomorrow (10/19) (with a minor tweak or two). Thanks!
Developer:
adb22791 - originally written for 3.0.x by BeerMonster
Current Version: 1.5.0 BETA
vBulletin Version: 3.6.8 (vBulletin 3.5.x version available here).
Edits: 2 Template Edits (3 if you use both postbit and postbit_legacy)

Please note:
This modification is currently in BETA. While I have done my best to work out all the bugs, the end user may still encounter some problems. If you have a problem with the mod, please post a reply in this thread.


What it does:
This
modification displays your AIM/ICQ/MSN/Yahoo Online Status in the postbit_legacy or postbit templates, as well as on the member info page, using an updating icon. Uploading the modification will add a new setting category called IM Online Status, where you can choose the server you use to display a users IM Online Status. Server lists, etc, can be found at OnlineStatus.org. There is also an option built in to turn this mod off and display regular IM Online Status Icons should you have problems.

To Install:
Download the .zip file attached here, and upload the product via the product manager in your admin CP. Then open Install.txt in the zip file and follow the instructions for template edits.

To Upgrade:
This is the first version of this mod for 3.6. If you are upgrading from 3.5, I suggest you reapply this mod from scratch. Upgrading from version 1.0.x of this mod to version 1.5.x is not supported.

Current Bugs: -None Reported


Support
Please ask for support in this thread only. I will try my best to answer whatever question you have, or to fix whatever problem you are solving. Please also make sure that an issue you are having has not already been reported. NOTE: This is a BETA product. There may be bugs! I have not encountered any major issues on my forum, but I can not guarantee complete stability (at this time).

Changelog
(Please note this is a limited changelog, the full changelog is included in the zip file).
Version 1.5.0 BETA (6th October 2007)
Updated Product to fix compatibility problems with vb 3.6
Updated MEMBERINFO template code to work with vb 3.6
Modified postbit and postbit_legacy code slightly for 3.6
Cleaned up descriptions for settings menu

A few notes about custom icons... I have found through testing that using custom icons on your web server can make the online status icons load a lot faster. I suggest you download the icons from whichever online status server you use, and upload them to your forum directory (I put mine in images/icons). This is not necessary, just a little tip.

Please Please Please remember that this modification is in BETA and things can go wrong. I can not and will not be held responsible for anything this modification may do to your forum or theme. As always, I recommend that you backup your database before applying this modification. Also please note that I reserve the right to remove this
modification at any time. By downloading this modification, you agree to the terms above.

If you use this
mod please click Install.

Thanks,
adb22791
 

lilfabbro

New Member
omfg i wish i could thank you 1000 times so ill do it in a reply
Code:
THANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOUTHANK YOU
 
Top