The Arcive of vBulletin Modifications Site. |
|
Add Twitter to vBSEO Social Bookmarking Details »»
|
|||||||||||||||||||||||||||||||
If you use vBSEO and want to add Twitter to your Social Bookmarking area, then this is for you.
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: 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>
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>
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 Now
Screenshots
Show Your Support
|
|||||||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
*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. |
|
#3
|
|||
|
|||
|
Forums are now working. I have the files uploaded.
|
|
#4
|
|||
|
|||
|
Thanks!
|
|
#5
|
|||
|
|||
|
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
|
|
#6
|
||||
|
||||
|
Great stuff...did you post this on vbseo's site?
|
|
#7
|
|||
|
|||
|
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 :-)
Heres the link, but it has less info than here - http://www.vbseo.com/f4/add-twitter-...marking-41945/ |
|
#8
|
|||
|
|||
|
The hack works nice.
Thank you and good job. ![]() 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: http://www.raptureforums.com/forum/prophecy-end-times-chat/33399-there-hope-fearful-world.html#post$post[postid] Is that "post$post[postid] supposed to be there?
|
|
#9
|
|||
|
|||
|
Quote:
|
|
#10
|
|||
|
|||
|
Quote:
But that's odd, is that it still works even with that odd code at the end of the link. |
![]() |
|
|