Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Ok, I saw that comment and thought it meant the site root was only being stripped from the variable on that line and for some reason it never occurred to me that the comment meant site root is excluded from masking.

    Thank you for answering my questions and helping out and for the awesome plugin – I have been looking for a plugin exactly like this for a while and had just found it and it does everything I needed.

    If you place the main wordpress index file in the root of your site then wordpress can use home and will know site url:

    http://codex.wordpress.org/Editing_wp-config.php#Blog_address_.28URL.29

    siteurl references blog directory:

    http://codex.wordpress.org/Editing_wp-config.php#WordPress_address_.28URL.29

    Its probably not well known since many people don’t use the setup that I have, but it does work. I replaced both instances of get_option('siteurl') with get_option('home') and that did work without having to rewrite .htaccess.

    I’m just not sure if its necessary to replace the $site=get_option('siteurl'); on line 222. I’m pretty sure the $url=get_option('siteurl').$sep.$url; on line 203 does the actual rewrite masking, since $sep=goto and $url=(original external url), so replacing siteurl with home there makes sense. But what does line 222 do? Is that used for making sure internal links don’t get rewritten?

    I checked “Mask Comments author’s link”. I unchecked and rechecked it and it still wasn’t working, so it must be the theme I’m using.

    I could rewrite .htaccess, I’ve done it before and added some of my own rewrite rules, but I don’t want to download an older version of the plugin. Its not a big deal. I thought I could just change something in the wp-noexternallinks file. After looking through the code… can’t I just change this line in function parse_noexternallinks:

    $url=get_option(‘siteurl‘).$sep.$url;

    To

    $url=get_option(‘home‘).$sep.$url;

    siteurl points to where the WordPress core files are, while home points to the main index file (for those that store WordPress in another directory). It seems to make sense to change it there, but if I change that should I change this line in function wp_noextrenallinks:

    $site=get_option('siteurl');

    Not sure what that does, but it seems like that is used for excluding internal links.

    Great plugin.

    I have a couple problems though.

    1) The author comments link is not being masked.
    2) I have my blog installed in a different directory (/blog) and my index in the root so my blog is the front page, but masked links show mysite.com/blog/goto and I’d like it to just show mysite.com/goto

    Thread Starter dealcolossuscom

    (@dealcolossuscom)

    I was wondering how noticeable the tiled marble was. I noticed it, but thought it might just be because I knew how big the tiles were. I had cut the original marble tile in half, so the file wasn’t quite as large, but I guess 12kb isn’t that big a deal. I changed it back to the original, does it look smoother or is it still noticeable?

    As for the empty space, that was a temporary solution I had to a problem I’ve been meaning to fix. IE and Firefox add different amounts of space to the top and the right bar overlaps the tab in IE without enough white space. I’m going to eventually put the pulldown in the middle and have the left and right bars go all the way up to the tab bar.

    Thanks for the feedback, those were a couple of problems I’ve been wondering about.

    Thread Starter dealcolossuscom

    (@dealcolossuscom)

    I never thought of that. Most of my ad images are hosted on the merchant’s own servers so that is probably the main problem. Thanks again.

    Thread Starter dealcolossuscom

    (@dealcolossuscom)

    Thanks for the feedback and help on tracking down what might be the problem. These were all free website tools, which I don’t trust much; that’s why I wanted to get some human opinions.

    Look in share-this.php around line 488 or 489 for this line:

    <form action=”<?php bloginfo(‘wpurl’); ?>/index.php” method=”post”>

    Try changing “bloginfo(‘wpurl’)” to just “bloginfo(‘url’)”. Remove the “wp”. wpurl goes to your wordpress directory and url points to your index.php directory. So it should look like this:

    <form action=”<?php bloginfo(‘url’); ?>/index.php” method=”post”>

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