Adding a discussion link

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Blade-uk
    Senior Member
    • Jan 2004
    • 532
    • 3.7.x

    Adding a discussion link

    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
    http://www.eteknix.com/images/misc/vbulletin4_logo.png
    eTeknix.com - http://www.eteknix.com
    eTeknix Forums - http://forums.eteknix.com
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...