Info :
A simple way to add a shorten bottom for your vBulletin ( bitly shorten url service )
Note:
Of course, you can use this code to any custom template or page ( like Blogs, Cms, Forums and etc )
Screenshots:
Installation:
1- Go to : Admincp>Phrase Manager>Add New Phrase:
Product = vBulletin
Phrase Type = GLOBAL
Varname: vbshorten
Text: Shorten
Save.
2- In the SHOWTHREAD template, Find:
And below that, add this code:Code:<h1>
This is just an example for threads.Code:<a href="javascript:(function(){%20window.open('http://bit.ly/?url='+encodeURIComponent(location.href));%20})();" rel="nofollow" class="pagetitleinfo textcontrol" >{vb:rawphrase vbshorten}</a>
and this code works with any version of vBulletin.
All the best.
Screenshots:
Bookmarks