WordPress.org

Ready to get started?Download WordPress

Forums

Referrer Detector
Referrer Detector Images (3 posts)

  1. teejnits
    Member
    Posted 2 years ago #

    Simple question: Why are images not allowed?

    http://wordpress.org/extend/plugins/referrer-detector/

  2. teejnits
    Member
    Posted 2 years ago #

    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.

  3. teejnits
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic