Quote:
Originally Posted by poolking
How do I get the Thread/Post links to open in a new window/tab?
|
I doubt the OP is ever going to answer this since he never answered it when it was first mentioned. I figured it out after pulling my hair out for awhile.
You have to edit the javascript file that pulls the url.
Open va_spy.js
And find
Code:
if(title.length == 0) {
clip = '<strong>Unknown</strong>';
} else {
clip = '<img src="' + statusicon + '" alt="" /><strong><a href="' + post_url + '">' + title + '</a></strong>';
}
if (preview.length > 0) {
clip = clip + '<br />' + preview ;
}
clip = clip + ' (' + view + ' views, ' + numreplies + ' replies)';
if (userid.length > 0) {
poster_clip = '<a href="' + vburl + 'member.php?u=' + userid + '">' + poster + '</a>';
}
poster_clip = poster_clip + '<br />' + when;
if (parseInt(forumname.length) > 0) {
where = where + '<strong><a href="' + vburl + 'forumdisplay.php?f=' + forumid + '">' + forumname + '</a></strong>';
} else {
where = '';
}
Code:
if(title.length == 0) {
clip = '<strong>Unknown</strong>';
} else {
clip = '<img src="' + statusicon + '" alt="" /><strong><a href="' + post_url + '" target=_blank>' + title + '</a></strong>';
}
if (preview.length > 0) {
clip = clip + '<br />' + preview ;
}
clip = clip + ' (' + view + ' views, ' + numreplies + ' replies)';
if (userid.length > 0) {
poster_clip = '<a href="' + vburl + 'member.php?u=' + userid + '" target=_blank>' + poster + '</a>';
}
poster_clip = poster_clip + '<br />' + when;
if (parseInt(forumname.length) > 0) {
where = where + '<strong><a href="' + vburl + 'forumdisplay.php?f=' + forumid + '" target=_blank>' + forumname + '</a></strong>';
} else {
where = '';
}
That's where it's pulling the new url's from so the code change has to be there or it's not going to work.