Viewing 2 replies - 1 through 2 (of 2 total)
  • Same here!
    Please explain how to make it work on bbPress forums and topics.
    Is there an option to purchase this added ability?

    I have a working solution:

    edit the file “seo-auto-links.php”

    replace this text:
    if ((($options[‘lposts’] && $postitem->post_type==’post’) || ($options[‘lpages’] && $postitem->post_type==’page’)) && (!$maxlinks || ($links < $maxlinks)) && (($options[‘casesens’] ? $postitem->post_title : strtolower($postitem->post_title))!=$thistitle) && (!in_array( ($options[‘casesens’] ? $postitem->post_title : strtolower($postitem->post_title)), $arrignore))) {

    with this text:
    if ((($options[‘lposts’] && $postitem->post_type==’post’) || ($options[‘lpages’] && $postitem->post_type==’page’) || $postitem->post_type==’topic’ || $postitem->post_type==’forum’ ) && (!$maxlinks || ($links < $maxlinks)) && (($options[‘casesens’] ? $postitem->post_title : strtolower($postitem->post_title))!=$thistitle) && (!in_array( ($options[‘casesens’] ? $postitem->post_title : strtolower($postitem->post_title)), $arrignore))) {

    and also, replace this text:
    if ($options) {
    if ($options[‘post’] || $options[‘page’])
    add_filter(‘the_content’, array(&$this, ‘SEOAutoLinks_the_content_filter’), 10);
    if ($options[‘comment’])
    add_filter(‘comment_text’, array(&$this, ‘SEOAutoLinks_comment_text_filter’), 10);
    }

    with this text:
    if ($options) {
    if ($options[‘post’] || $options[‘page’])
    add_filter(‘the_content’, array(&$this, ‘SEOAutoLinks_the_content_filter’), 10);
    if ($options[‘comment’])
    add_filter(‘comment_text’, array(&$this, ‘SEOAutoLinks_comment_text_filter’), 10);

    add_filter(‘bbp_get_reply_content’, array(&$this, ‘SEOAutoLinks_the_content_filter’), 10);
    }

    Good Luck.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not working on BBpress running Genesis’ is closed to new replies.