Wordpress Plugin for Su.Pr
I'll be glad if you guys will bring out a wordpress plugin that lets you shorten your post url and at the same time it posts the su.pr url to twitter and facebook.
I m sure some people might already be working over it. But if it comes from the real developers of stumbleupon, then it would be really nice.
@igufi hi next2devil is right. If you installed your wordpress in a subdirectory then you need to install the general supr for your domain script. You can still use the plugin to post to Twitter and Facebook. But the redirect script has to be installed at the root level in order to manage the redirects.
Thanks,
George
61 comments
-
Ted Beatie commented
I'm trying to configure StumbleUpon for Wordpress. I have wordpress in a sub-directory, with .htaccess rewrite rules to appear as if from docroot.
I've found this post which mentions that I "need to install the general supr for your domain script", which I've done, and have a modified supr.php in my docroot, and can pass the check_install test.
However, I can't get http://su.pr/settings/ to recognize that Short URLs are set up. I assume this is because I haven't properly merged the .htaccess rules.
Despite this useful forum thread, I don't see a sample merged .htaccess file! Can someone help? Thanks!
-
bluestella
commented
I have a problem installing it on my wordpress blog. I got this error: Plugin could not be activated because it triggered a fatal error.
-
Anthony
commented
This totally doesn't work for me at all. Nothing is posted to Twitter or Facebook when i make a post nor update a post, nor when i input the option. When I manually enter my post from su.pr, it will change it to my domain name, but the link doesn't work... plus i have to delete THIS from it: %7Csupr_bm_selection=
What the heck is that? It ruins the link even more. Someone please fix this for me. -
Alf Pardo
commented
So I installed this plugin and followed the directions exactly when doing so, but whenever I post a blog from Wordpress, neither Twitter nor Facebook catches the update. If my blog is hosted from a sub domain, do I still have to configure .htaccess etc.? Thanks in advance.
-
Áine MacDermot commented
Does anyone know where there is a step-by-step guide to using the su.pr wordpress plugin in conjunction with the url shortening service on your own domain? I have the plugin installed properly, it's synching with my blog, but it doesn't seem to be automatically posting to twitter or facebook (and yes, the checkboxes on the WP editor are checked). The only way it seems to work is to go to su.pr, enter my blog's url, and tweet from there... when i think it should be working from within wordpress, and it's not. What the heck am I doing wrong? Is it really supposed to work like that where I have to go to su.pr to find the shortened url from my domain and then go back to my Editor and edit the post? That seems pointless and more work than I want to do.
And why isn't there a step-by-step guide to using the plugin with url shortening on your own domain in the SU Help section?
-
michaeljdeluca
commented
I installed the plugin with no problems and configured it to post to twitter and facebook, but it's only posting to StumbleUpon. My wordpress install is located in a subdirectory--I know that means the supr URLs won't work unless I jump through some hoops, but I'm more interested in getting the fb and twitter crossposting. Are there other as yet undocumented hoops for getting that to work from a subdirectory?
-
Bojan Devic
commented
For fixing this problem with feed change the line:
RewriteRule ^[a-zA-Z0-9]{1,4}$ ?supr=$0
To:
RewriteRule (^[a-zA-Z0-9]{4}$)(?<!feed) ?supr=$0
-
helgatheviking
commented
@Jeffrey Nelson, did you get your htaccess configuration to work? If so, would you mind sharing the whole code? I am having the same problem, tried Bojan's suggestion for you and still no luck... actually that created a 500 internal server error for me.
-
Fred
commented
Hi,
I've got the su.pr plugin for WordPress - it's correctly associated with my twitter and facebook account. I'm not sure how to use it, though. When I publish, half the time it never shows up on my su.pr page or FaceBook. Sometimes, it does.#1 - should it be instantaneous, or is there a delay? If so, how long?
#2 - are you supposed to type something in the text box on the wordpress edit post page? (the text box where you select to send to twitter, facebook, etc)
Any idea why half the time it works, and half the time it doesn't?
-
Avi Marcus
commented
@Sean - thanks, I posted there. The link does go here, though..
-
Sean Weigold Ferguson commented
@Avi Click on the "Su.pr by StumbleUpon" logo on the top left. Look on the right sidebar. There's a forum for reporting bugs.
-
Avi Marcus
commented
@Sean - the link on the bottom of http://www.stumbleupon.com/developers/Supr:WordPress_Plugin/ goes here. Where should I be?
-
Sean Weigold Ferguson commented
@Jeffrey Check out Bojan's RewriteRule below. I always struggle with .htaccess.
-
Sean Weigold Ferguson commented
@Avi wrong forum brother.
-
Avi Marcus
commented
I set it up the plugin, api, refreshed the permalinks, but http://su.pr/settings won't show my domain name after hitting update. When I created a new link, it still shows me at su.pr, and doesn't work when I just put that code after the domain name.
The integration part isn't working for me! -
Jeffrey Nelson
commented
@Sean. Thanks for the tip. I'm not sure what to correct (or rule to add) in the file. Any offer of suggestion would be greatly appreciated!
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^[a-zA-Z0-9]{1,4}$ ?supr=$0
RewriteRule ^check_supr_install$ ?check_install=$0
RewriteRule ^supr_settings.json$ ?supr_settings_json=$0
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
-
Bojan Devic
commented
Somebody here asked how to use shortcode, so I have written a post about su.pr with Wordpress. At the end there is an explanation on how to use su.pr short link just with [supr] shortcode. http://skepo.info/kO0U
-
Sean
commented
@Jeffrey This is a bug. To fix it, you'll have to modify your .htaccess file
-
Jeffrey Nelson
commented
I installed the plugin for my client and it works fine for posting to twitter & facebook. However, when you click "blog" on the nav bar you are redirected to supr instead of the site's page that includes all the posts.
the site is www.buy-autowarranty.com.
-
Sean
commented
@moffman It looks like you have two plugins both using the function external_or_permalink() . You can probably just change one of them by renaming all instances of that function to something new - ie. permalink_or_external()