Adding a discussion link

Soldato
Joined
29 Dec 2004
Posts
5,653
Location
Chatham, Kent
My main site is using wordpress and has links in a bar.

The code for this is defined here:

// Add social bookmarking buttons
$postbar .= '<li><a href="http://digg.com/submit?phase=2&amp;url=' . get_permalink() . '&amp;title=' . get_the_title() . '">' . __('Digg it!', 'arras') . '</a></li>';
$postbar .= '<li><a href="http://www.facebook.com/share.php?u=' . get_permalink() . '&amp;t=' . get_the_title() . '">' . __('Facebook', 'arras') . '</a></li>';
$postbar .= '<li><a href="http://twitter.com/home?status=Check out @eTeknix ' . get_the_title() . ' ' . get_permalink() . '">' . __('Twitter', 'arras') . '</a></li>';

$postbar .= '<li><a href="' . get_bloginfo('wpurl') . '/wp-admin/post.php?action=edit&post=' . $post->ID . '">' . __('Edit Post', 'arras') . '</a></li>';
$postbar .= '</ul>';

How would i add a link to discussion on vbulletin.

I tried this:

$postbar .= '<li><a href=<?php echo get_option('vbb_VBURL') ?>/newreply.php?do=newreply&noquote=1&t=<?php echo $vbridge[id] ?>' . __('Discuss this in our forums', 'arras') . '</a></li>

It didn't work :(

Any ideas?

I need it to know what the vbulletin URL is for each thread/article.

Andy
 
Back
Top Bottom