WordPress.org

Ready to get started?Download WordPress

Forums

[Mingle Forum] Email Notifications: Modify Thread Links (1 post)

  1. chris_weinert
    Member
    Posted 1 year ago #

    Hello everyone,

    I have Mingle Forum installed and I'm trying to modify the code so that the links that are output in the email notifications actually link to the post and not to the thread (which they do now, and which sucks). I found that the code for this output is in line 2696 of the wpf.class.php file. I modified this:

    __("View Post Here:", "mingleforum")." ".$this->get_threadlink($thread_id);

    into:

    __("View Post Here:", "mingleforum")." ".$this->get_paged_threadlink($post->parent_id, '#postid-'.$post->id);

    But the link that is included into the email notification seems to be incomplete. For permalinks, this threadlink command actually works fine. Can anyone help with this?

    Thanks in advance,
    Chris

Topic Closed

This topic has been closed to new replies.

About this Topic