Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Open Wordpress Vanilla Comments in New Tab/Window

aeryaery Gtricks Forum in 2.2 :) ✭✭✭

[I am using Vanilla Comments for my wordpress blog ]

Whenever I click on any member name from vanilla comments below blog post, they get open within the same frame and looks crappy. I would like to open it in new window or tab. I am not using embed feature.

I think they are coming from -

<?php echo UserPhoto($Author); echo UserAnchor($Author); ?>

There was an error rendering this rich post.


  • Options
    aeryaery Gtricks Forum in 2.2 :) ✭✭✭
    edited January 2013

    I have found the solution but it requires modifying core :(

    In vanilla folder > library > core > functions.render.php line 159 (version add target = "_parent" to

    return '<a href="'.htmlspecialchars(Url('/profile/'.($NameUnique ? '' : "$UserID/").rawurlencode($Name))).'"'.$CssClass.'>'.htmlspecialchars($Name).'</a>';

    There was an error rendering this rich post.

  • Options

    yes it works but what if I use vanilla embed in wordpress?it opens at first non-embed version and than embed version in blog... and it does not look good...
    BTW english is not my first language.

Sign In or Register to comment.