My main site is using wordpress and has links in a bar.
The code for this is defined here:
How would i add a link to discussion on vbulletin.
I tried this:
It didn't work
Any ideas?
I need it to know what the vbulletin URL is for each thread/article.
Andy
The code for this is defined here:
// Add social bookmarking buttons
$postbar .= '<li><a href="http://digg.com/submit?phase=2&url=' . get_permalink() . '&title=' . get_the_title() . '">' . __('Digg it!', 'arras') . '</a></li>';
$postbar .= '<li><a href="http://www.facebook.com/share.php?u=' . get_permalink() . '&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>';
$postbar .= '<li><a href="http://digg.com/submit?phase=2&url=' . get_permalink() . '&title=' . get_the_title() . '">' . __('Digg it!', 'arras') . '</a></li>';
$postbar .= '<li><a href="http://www.facebook.com/share.php?u=' . get_permalink() . '&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>';
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>
Any ideas?
I need it to know what the vbulletin URL is for each thread/article.
Andy