Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • The problem with editing the templates is when the next update comes out the changes maybe over written.

    Thread Starter advail

    (@advail)

    I am running WPMS

    Thread Starter advail

    (@advail)

    I’ve been looking into it. And Yes Google states the API is read-only, but further on it refers to the method Moments: Insert.

    Now I don’t consider my self a developer (anymore {reverse engineering is just too difficult and writing “hello world” does not make one a developer}), I am more a hobbyist that knows my limitations. I looked at the SVN and was a bit overwhelmed. But based on what I read and what I can tell of the Publicize feature, would “Moments: Insert” provide what we need?

    I did something a little different. I modified the code to look at a specific folder depending on the URL of the site. off of root WP folder I created a favicon folder with the FQDN names as subfolders. I then modified the code like this

    function network_favicon() {
      $ADVSite_URL = site_url();
      $ADVNSite_URL = network_site_url();
      $ADVFavIcon = $ADVNSite_URL.'favicon/'.trim($ADVSite_URL, 'http://');
      $ADVFavIcon2 = ABSPATH.'favicon/'.trim($ADVSite_URL, 'http://');
      $template = get_bloginfo('stylesheet_directory');
      $dir = get_stylesheet_directory();
      if( file_exists($ADVFavIcon2 . '/favicon.ico') ) {
        echo '<link rel="Shortcut Icon" type="image/x-icon" href="'.$ADVFavIcon.'/favicon.ico" />';
      } elseif( file_exists($ADVFavIcon2 . '/favicon.png') ) {
        echo '<link rel="Shortcut Icon" type="image/x-icon" href="'.$ADVFavIcon.'/favicon.png" />';
      } elseif( file_exists($ADVFavIcon2 . '/favicon.gif') ) {
        echo '<link rel="Shortcut Icon" type="image/x-icon" href="'.$ADVFavIcon.'/favicon.gif" />';
      }
    
    }

    I know ADV in the variable names… it’s something I got used to doing years ago to minimize stepping on other global variables. It has nothing to do with vanity 😉

    I also had the issue. What I was trying to do. (To Spell it out clearly for others).

    My “parent domain” (the main one hosting the other sites) is vail-industries.com . I followed the instructions here for beginning of the setup.

    Then I installed the WordPress MU Domain Mapping plugin. and thoroughly followed the instructions there.

    I then added one of my spare domains (when registered I got the .info for free) fuelupwithadvocare.info.

    I started troubleshooting the site with this reference. Got further along.

    But I still couldn’t get past the login for Dashboard. I tried the Android App and was able to post (couldn’t access the Dashboard there either).

    The instructions did not specify adding the other domain into the Domain Mapping: Domains as a new domain. I haven’t found anything that specifies what a SITE ID is and where to get it. So I just started at 1. The Parent Domain is not required (or so i think as it’s not listed after adding) but after adding it. It works.

    Now I’m off to try this one.

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