Back to vBulletin 4.x Add-ons

Add Twitter to vBSEO Social Bookmarking
Mod Version: 1.1, by crazyace

vB Version: 4.0.2 Rating: (3 votes - 4.67 average) Installs: 17
Released: 18 Mar 2010 Last Update: 18 Mar 2010 Downloads: 119
Not Supported Template Edits Re-usable Code Translations External Content  

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 https://www.twitter.com/ - This will not work. You will need to always use https://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:

AdminCP>> Styles & Templates>> Style Manager>> Edit Templates>> Postbit Templates>> postbit

Search for:
Code:
						<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:
Code:
		<!--VBSEO_BOOKMARKS-->

Legacy Postbit

AdminCP>> Styles & Templates>> Style Manager>> Edit Templates>> Postbit Templates>> postbit_legacy

Search for:
Code:
				<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:
Code:
		<!--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.

Download

File Type: %1$s Add_Twitter_to_vBSEO_1.1.zip (7.2 KB, 133 downloads)

Screenshots

Click image for larger version
Name:	default area.PNG
Views:	261
Size:	5.0 KB
ID:	114352   Click image for larger version
Name:	twitter in postbit.PNG
Views:	601
Size:	19.5 KB
ID:	114353  

Similar Mods

Mini Mods Add new social bookmarking for Arabic vBulletin forums vBulletin 3.7 Template Modifications
Mini Mods Add PyPoo Social Bookmarking button to your forum vBulletin 3.7 Template Modifications
Show Thread Enhancements Add Sharethis To Your Posts (Social Bookmarking) vBulletin 3.7 Template Modifications
Show Thread Enhancements Add Social Bookmarking JS Dropdown to Threads vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2025