Support » Plugin: Referrer Detector » Referrer Detector Images

Viewing 2 replies - 1 through 2 (of 2 total)
  • I changed the allowable tags option but I know it’ll get removed in a future update. Was just wondering why they aren’t a part of the allowed tags by default.

    May I also offer a suggestion (which I’ve just gone ahead and done) for allowing a tag {encoded_url} as I am constructing a message to StumbleUpon visitors to be able to also “like” the post from the welcome graphic.

    So my body content looks like:
    <a href="http://www.stumbleupon.com/submit?url={encoded_url}"><img src="http://domain.com/wp-content/uploads/StumbleUpon.jpg" alt="Stumble Upon"></a>

    To achieve this I added “<img>” to the approved tags and changed the prepare_post_data method in rd.class.php inserting:
    $encoded_url = urlencode( get_permalink($post->ID) );
    after the url variable and inserting:
    'encoded_url' => $encoded_url,
    Into the $data array.

    This may be against what you were intending but it fits our immediate needs… Just wanted to give you a heads up in case you like the idea and would consider it in a future update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Referrer Detector Images’ is closed to new replies.