Version: 1.1, by crazyace
Developer Last Online: Sep 2012
Category: Social Group and Album Enhancements -
Version: 4.0.2
Rating:
Released: 03-17-2010
Last Update: 03-17-2010
Installs: 17
Template Edits
Re-useable Code Translations
No support by the author.
If you use vBSEO and want to add Twitter to your Social Bookmarking area, then this is for you.
Upload files to your forum root
Open vBSEO and go to Other Enhancements>> Social Bookmarking
Put a check in add custom
Add this code
Code:
http://twitter.com/home/?status=Check+this+out+%url%,images/vbseo/twitter.png,Share on Twitter,Share on Twitter
Now you should see your twitter icon listed with your other Social Bookmarking icons.
You can change "Check This Out" to what ever you want. But make sure you use +'s for the spaces. Using %20's will not work. Make sure to never use http://www.twitter.com/ - This will not work. You will need to always use http://twitter.com - For some reason twitter doesn't want you to use the www address. Now this will work fine if you're all ready logged in. But for people that are not logged in, it will not work well at all.
If you would like to add a "&" symbol you will need to use +%26 in order to have it added. So here is an example:
Code:
http://twitter.com/home/?status=Read+26%+Share+%url%,images/vbseo/twitter.png,Share on Twitter,Share on Twitter
If you would like to have your vBSEO Social Bookmarks in the postbit like mine here is what you will need to do.
vB4 Post Bit
Here is how to locate the postbit template to edit:
NOTE: If you don't have vBSEO RC2 installed you will get an added "$post[postid]" on the end of your shared twitter posts. This is a bug in RC1. Instead of giving you a #post123 you get #post$post[postid]. So to fix just update to RC2.
*Update 1.1
I found that the images should be 20x20 and not 16x16. That's why the image would hang down a bit. With the updated image it is now in-line with the other bookmark icons.
You're very welcome. I plan on working on changing the code a bit to see what other results I can get from it. That way I can try to improve it even more. Any feedback would be great
Yeah that was the whole reason I set out to try and fix this issue. I was googling about twitter stuff when I found the posts from people on vBSEO asking for this. So I did it :-)
However, one small complaint and I apologize if you have already addressed this and I didn't recognize it, but on my twitter post using the twitter icon in vbseo, my URLl listed in the twitter post is:
However, one small complaint and I apologize if you have already addressed this and I didn't recognize it, but on my twitter post using the twitter icon in vbseo, my URLl listed in the twitter post is:
You're very welcome. No that shouldn't be in the posts. Out of all the testing that I have done, I didn't have that issue with 3 different sites. I'm not sure as to why it would pull that into the link. I will try some different settings and see what I can come up with.
However, one small complaint and I apologize if you have already addressed this and I didn't recognize it, but on my twitter post using the twitter icon in vbseo, my URLl listed in the twitter post is:
Out of the testing that I just got done doing, I noticed that only "#post158" should be at the end of it. The number at the end will be what ever the post number is. So getting, the $post[postid] makes me think that something is wrong with vBSEO or its settings. It's possible that another mod is causing the issue.
But that's odd, is that it still works even with that odd code at the end of the link.