PDA

View Full Version : Add Yardbarker, BallHype button to vBulletin?


SBlueman
03-15-2008, 05:17 PM
I am trying to find out if there is a way to format a Yardbarker button for vBulletin? Yardbarker is a social bookmark site that is specific to sports. They have a page where you can find code for a Yardbarker button, but none work with vBulletin:

"Bark It Up" Buttons" (http://yardbarker.com/help/blog_main)

What I would like is to have a Yardbarker button along with the other social bookmark buttons I have installed. Is this possible with vBulletin?

Attached is a image of a post in our news section with where I envision the Yardbarker button.

I was able to add a button to BallHype.com but with the code it's not opening in a new window. Can someone suggest how to have this happen with this code:

From BallHype.com (http://ballhype.com/help/hype/)
<a href="http://ballhype.com/post/" onclick="location.href='http://ballhype.com/post/url/?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);return false;"><img src="http://images.ballhype.com/img/hype/button_96x22.png" width="96" height="22" alt="BallHype: hype it up!"/></a>

SBlueman
03-17-2008, 02:54 AM
Ok...I think I am close. This is the code I am using now for both sites:
<a href="javascript:void(window.open('http://ballhype.com/post/url/?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)), 'qp');"><img src="http://images.ballhype.com/img/hype/button_96x22.png" alt="BallHype: hype it up!" width="96" height="22" border="0"/></a>
<a href="javascript:void(window.open('http://www.yardbarker.com/author/new/?pUrl='+(encodeURIComponent(location.href)).replac e(/\./g,'%252E')), 'qp');"><img src="http://www.yardbarker.com/images/extern/bark_narrow.gif" width="64" height="22" border="0" style="border: 0; padding: 0 0 0 0;"></a>

The BallHype button is working like a gem and Yardbarker is almost complete. Only problem is I can't figure out what needs to be edited so when someone clicks on the button the thread's title gets plugged in as well.

Any help is greatly appreciated!

QbinMissileCris
02-27-2009, 05:24 AM
Have you got updated code for this?

I'd like to add the same social bookmarks but am having problems...

Thanks