Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter gbrazell

    (@gbrazell)

    resolved in another topic

    Thread Starter gbrazell

    (@gbrazell)

    This was actually a cookie issues, caused by testing in an “incognito window” which blocked wordpress and p2 from creating cookies. Thanks for being a soundboard though www.ads-software.com!

    Perhaps that code I posted above will help somebody in the future, cuz it works a treat for custom comment_author_urls.

    ??

    Thread Starter gbrazell

    (@gbrazell)

    I believe it has to do with my use of:

    add_filter('get_comment', 'force_comment_author_url');

    And by filtering all ‘get_comment’, I’m breaking functionality in p2 somewhere along the lines. Been scratching my head on how to do this without editing the p2 theme directly. Hopefully somebody has experience with p2 and comment_author.

    Thread Starter gbrazell

    (@gbrazell)

    Some more background:

    I’ve seen this posted already:

    replace
    <?php comment_author_link() ?>
    
    with
    
    <a href ="<?php bloginfo('url'); ?>/?author=<?php echo $comment->user_id ?>"><?php echo $comment->comment_author?></a>

    However I’m not finding this used in the p2 template. Is this referring to the wordpress core files? I’m attempting to keep all hacks within our child theme.

    Forum: Hacks
    In reply to: Link to Author's Profile Page

    This worked perfectly for blog post authors and their links, but I’m stumped on comment authors. I’d like anybody who’s registered through symposium and my site, and who leaves a comment on any post, to have their name clickable to visit their profile in symposium (or wordpress profile as symposium should forward automatically). This should overwrite any html link they may already have attached to their author name.

    Anybody know how I would go about doing this, in a similar method to the above code for post authors?

Viewing 5 replies - 1 through 5 (of 5 total)