Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • I had to modify the permalink returned by get_blog_permalink($post[“blog_id”], $post[“id”]) to work for my sub directory blog. Here is the change I made to diamond-recent-posts.php.

    //Code to create correct permalinks for sub directory multisite blogs
    $burl = get_blog_option($post["blog_id"], 'home');
    $permalink = str_replace('<em>input here your domain with the incorrect /blog</em>', $burl.'/', get_blog_permalink($post["blog_id"], $post["id"]));
    $txt = str_replace('{title}', '<a href="'.$permalink.'">'.$p->post_title.'</a>' , $txt);
    $txt = str_replace('{more}', '<a href="'.$permalink.'">'.$wgt_mtext.'</a>' , $txt);

    This plug does work. The issue was that I did not have the curl module for php installed. You need that when making a secure connection to CAS. That solved my infinite redirecting loop. Would be great if you could add that to the FAQ.

    We are also running 3.3 here. I have not found a working solution for CAS on WordPress. Currently, sticking with Active Directory. However, I have to customize the login page to have the correct verbiage. Looking forward to this working with 3.3.

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