vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Add Yardbarker, BallHype button to vBulletin? (https://vborg.vbsupport.ru/showthread.php?t=173116)

SBlueman 03-15-2008 05:17 PM

Add Yardbarker, BallHype button to vBulletin?
 
1 Attachment(s)
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"

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
HTML Code:

<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:
HTML Code:

<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)).replace(/\./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


All times are GMT. The time now is 08:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00948 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete