crazyace
03-17-2010, 10:00 PM
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 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:
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:
AdminCP>> Styles & Templates>> Style Manager>> Edit Templates>> Postbit Templates>> postbit
Search for: <div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
After Add: <!--VBSEO_BOOKMARKS-->
Legacy Postbit
AdminCP>> Styles & Templates>> Style Manager>> Edit Templates>> Postbit Templates>> postbit_legacy
Search for: <div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
After Add: <!--VBSEO_BOOKMARKS-->
Now save and you should be good to go.
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.
Upload files to your forum root
Open vBSEO and go to Other Enhancements>> Social Bookmarking
Put a check in add custom
Add this 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:
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:
AdminCP>> Styles & Templates>> Style Manager>> Edit Templates>> Postbit Templates>> postbit
Search for: <div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
After Add: <!--VBSEO_BOOKMARKS-->
Legacy Postbit
AdminCP>> Styles & Templates>> Style Manager>> Edit Templates>> Postbit Templates>> postbit_legacy
Search for: <div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
After Add: <!--VBSEO_BOOKMARKS-->
Now save and you should be good to go.
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.