Community Support Forums — WordPress® ( Users Helping Users ) — 2011-03-02T17:47:16-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=268 2011-03-02T17:47:16-05:00 http://www.primothemes.com/forums/viewtopic.php?t=268&p=7332#p7332 <![CDATA[Re: Is there a way to disable the use of tinyurl?]]> viewtopic.php?f=4&t=1636

Statistics: Posted by Cristián Lávaque — March 2nd, 2011, 5:47 pm


]]>
2010-07-18T03:28:55-05:00 http://www.primothemes.com/forums/viewtopic.php?t=268&p=1649#p1649 <![CDATA[Re: Is there a way to disable the use of tinyurl?]]> @TODO :: URL Shortening options.

Statistics: Posted by Jason Caldwell — July 18th, 2010, 3:28 am


]]>
2010-07-18T02:47:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=268&p=1643#p1643 <![CDATA[Re: Is there a way to disable the use of tinyurl?]]>
Jason Caldwell wrote:
better is better, and a customized URL is better than a tinyURL. So again, this IS on the radar


second that :D

Statistics: Posted by Brian Hatano — July 18th, 2010, 2:47 am


]]>
2010-06-23T14:10:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=268&p=1082#p1082 <![CDATA[Re: Is there a way to disable the use of tinyurl?]]>
Yes, with all of the Tweets flying around, and other shortening services popping up, my opinion is that most visitors would not think twice about clicking a tinyURL. However, better is better, and a customized URL is better than a tinyURL. So again, this IS on the radar. ~Thanks.

Statistics: Posted by Jason Caldwell — June 23rd, 2010, 2:10 pm


]]>
2010-06-22T14:51:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=268&p=1045#p1045 <![CDATA[Re: Is there a way to disable the use of tinyurl?]]>
I figured it was because the registration URLs would be massive.

A good "feature" to add would be something like Twitter Friendly Links (http://wordpress.org/extend/plugins/twi ... dly-links/). It basically creates a URL shortener for the domain it's installed on.

I'll keep the tinyurls for now :). I assume you haven't heard any clients complain that they weren't trusted.

Thanks again.
Lew

Statistics: Posted by lewayotte — June 22nd, 2010, 2:51 pm


]]>
2010-06-22T13:44:46-05:00 http://www.primothemes.com/forums/viewtopic.php?t=268&p=1039#p1039 <![CDATA[Re: Is there a way to disable the use of tinyurl?]]> — and for the great question.

Yes, you can disable tinyURL, but you'll need to use a WordPress Hook.

Inside the functions.php file for your theme, you can add these lines.
Code:
add_action("ws_plugin__s2member_before_sp_access_link_gen", "disable_s2member_tinyURL");
add_action("ws_plugin__s2member_before_register_link_gen", "disable_s2member_tinyURL");

function disable_s2member_tinyURL($vars)
    {
        $vars["__refs"]["shrink"] = false;
    }

Now, I do NOT recommend this though :-). The reason tinyURL is being used, is because these URLs tend to be very long. They contain authorization codes in the URL. So shrinking them with tinyURL prevents broken links due to long lines in some email applications.

Statistics: Posted by Jason Caldwell — June 22nd, 2010, 1:44 pm


]]>
2010-06-22T13:36:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=268&p=1036#p1036 <![CDATA[Is there a way to disable the use of tinyurl?]]>
Is there a reason why it is set to tinyurl by default? and is there a way to disable this? (I didn't see it in the options page.

btw, I noticed that includes/functions/sp-access.inc.php and includes/functions/register-access.inc.php have functions, that set $shrink to TRUE by default.

line 21: ws_plugin__s2member_sp_access_link_gen
and
line 244: ws_plugin__s2member_register_link_gen

I think the subscriber would feel more comfortable clicking a registration link, if they saw the actual domain they just subscribed too.

Thank you.
Lew

P.S. I bought s2member Pro this past weekend. I'm not using the pro features yet, but I wanted to support your development. You've created a really great product here. I'm glad I found the free version to get me started.

Statistics: Posted by lewayotte — June 22nd, 2010, 1:36 pm


]]>