Contentteller

Contentteller Support Forums
Home Forums > Contentteller > Feedback and Suggestions >

Link username in comments to forum profile

Discussion in 'Feedback and Suggestions' started by error, Aug 26, 2008.

  1. error Customer

    Link username in comments to forum profile

    Is it possible to link username in CT comments to forum profile instead of CT profile?
    error, Aug 26, 2008
    #1
  2. Philipp Administrator

    Yes, with a simple template modification:

    news_story_comment_profile
    Code:
     <!-- Template: news_story_comment_profile -->
    <a href="http://url_to_your_forum/member.php?action=profile&amp;id={$insert['newscomment_authorid']}">{$insert['newscomment_author']}</a>
    You need to replace url_to_your_forum with the location of your forum
    Philipp, Aug 27, 2008
    #2
  3. error Customer

    That doesn't work. I'm using IPB 2.3.5.
    error, Aug 27, 2008
    #3
  4. Philipp Administrator

    Look like index.php?showuser= is used in the current version of IPB, but the old way should also work. Did you also replaced http://url_to_your_forum with the full path of your IPB installation? E.g. http://yourdomain/board/

    Code:
    <!-- Template: news_story_comment_profile -->
    <a href="http://url_to_your_forum/index.php?showuser={$insert['newscomment_authorid']}">{$insert['newscomment_author']}</a>
    Philipp, Aug 27, 2008
    #4
  5. error Customer

    Las one works like a charm. First one didn't worked.

    Thanks.t
    error, Aug 27, 2008
    #5
Tweet
Facebook:
Forgot your password?
Contentteller Support Forums
Home Forums > Contentteller > Feedback and Suggestions >
  • Home
  • Forums

    Forums

    Quick Links
    • Search Forums
    • What's New?
  • Members

    Members

    Quick Links
    • Registered Members
    • Current Visitors
    • Recent Activity
  • Help

    Help

    Quick Links
    • Smilies
    • BB Codes
    • Trophies

Separate names with a comma.

Advanced search...
    Forum software by XenForo™ ©2011 XenForo Ltd.