Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter fahdoos

    (@fahdoos)

    FYI, I was able to get the visual editor working by passing in ALL headers, but would be great to know which ones are required to limit this down. Anyone know?

    Thread Starter fahdoos

    (@fahdoos)

    Bump!

    Any ideas? Still broken after upgrading to 3.9.1

    Additional question: between headers and cookies what needs to reach the server for tinymce to load properly? Specifically what paths/files do they apply to? Note: login and all other functionality works fine. Only the visual editor is broken.

    right now I have the following paths forwarding all cookies, but no headers:

    wp-includes*
      wp-admin*
      wp-login.php*

    Wondering if there is something in the headers that helps tinymce initialze?!? If so, what files/paths need to get those headers passed through?

    Thread Starter fahdoos

    (@fahdoos)

    BTW, I’ve done this by:

    $connected = p2p_type( 'posts_to_repost' )->get_connected( $post );
    		if($connected->post_count > 0){
    			$title = '(<strong>' . $connected->post_count . 'x</strong>) '.$title;
    		}

    Thread Starter fahdoos

    (@fahdoos)

    Possibly unrelated, but I noticed recently that some links within wp-admin use the server host instead of the website URL, for example the post list pagination links at /wp-admin/edit.php. Digging through the code this is due to some of the links using $_SERVER[‘HTTP_HOST’]. I forced this to the correct value via wp-config.php as a long shot. While it fixes some of the broken links in wp-admin, didn’t help with the TinyMCE issue.

    Also, I should point out that I am using a reverse proxy, which probably has something to do with HTTP_HOST not resolving properly.

    Any suggestions?

    Thread Starter fahdoos

    (@fahdoos)

    More info, it also seems to “cross wires” with deeper WordPress functions, noticed things like post revisions, permalinks, authors get incorrectly associated to posts. Disabling the facebook plugin alleviated the issue.

    Forum: Plugins
    In reply to: Custom field for tags?
    Thread Starter fahdoos

    (@fahdoos)

    basically… based on the tags that a post has i need to associate another value to an ad url. So for example tags might have the following mapping:

    tag1 -> some value
    tag2 -> different value
    tag3 -> blah

    and lets say the current post uses tag1, then i’d grab the associated “some value” for use with the ads.

    If there is a better/easier route please feel free to suggest.

    Thanks!

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