vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=256493

Shorten Bottom [Bit.ly]
by LOGECT
04 Jan 2011 18:14

3 Attachment(s)
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:

http://www.vbulletin.org/forum/attac...1&d=1294168217

http://www.vbulletin.org/forum/attac...1&d=1294168222

http://www.vbulletin.org/forum/attac...1&d=1294174499


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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And below that, add this code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This is just an example for threads.
and this code works with any version of vBulletin.


All the best.

Brandon Sheley 04 Jan 2011 19:35

wouldn't you want to place this outside the header tags?
maybe after the </h1> tag
I wouldn't want a bit.ly link in all my h1 tags

nice idea

LOGECT 05 Jan 2011 10:13

Quote:

Originally Posted by Brandon Sheley (Post 2144059)
wouldn't you want to place this outside the header tags?
maybe after the </h1> tag
I wouldn't want a bit.ly link in all my h1 tags

nice idea

Use this code for any place that you want, that was just an example for threads.

Dr.osamA 06 Jan 2011 01:21

2 Attachment(s)
Excellent = 5 stars
installed

Note:
I think the reference to missing when adding a new phrase you should choose
Phrase Type = GLOBAL
Product = vBulletin

I chose to add the code to another place after you make changes to code
Become so as it is in the attached photo

my code is:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and i add it in SHOWTHREAD template .. if you need to do same
find

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

then add code below that

LOGECT 06 Jan 2011 17:29

Quote:

Originally Posted by Dr.osamA (Post 2144676)
Excellent = 5 stars
installed

Note:
I think the reference to missing when adding a new phrase you should choose
Phrase Type = GLOBAL
Product = vBulletin

Thanks Dr.osamA, first post updated.

Dr.osamA 07 Jan 2011 02:02

you are welcome bro

thank you for update

Kingdombuilder 28 Feb 2011 07:27

This is an awesome mod thank you for your contribution. I have my own url shortener and i would like to use it instead of bit.ly. The shortener is http://www.bfx.me

I tried substituting the URL of bit.ly with bfx.me - it comes up but the url does not automatically go into the field provided. Can anyone help me to get this to work?


Edit:

Well i got it to work a little bit. I found this on the http://bfx.me site:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



So I use this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Instead of this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It will return the shortened url but will not function the site properly. What I mean by that is if you go to the bfx.me and shorten a url it eill return the shortened url and a barcode as well and will also alow you to tweet the url. From what I did it just comes up as a white screen with the shortened url in the upper left corner. The shortened url is right but I would like it to return to the bfx.me page where it will display the bardcode and the tweet option.

Any help would be appreciated...

BlueCheri 28 Feb 2011 07:58

This can be very useful, tagged.

indie2industry 25 Feb 2013 23:16

Can this be used for o-url.com ?

datoneer 26 Feb 2013 01:35

Thanks. Installed and it works fine

xbrian88 14 Mar 2013 01:40

http://goo.gl/ is possible use???

xbrian88 20 Mar 2013 16:48

uppppppppppp

LOGECT 22 Mar 2013 11:54

Quote:

Originally Posted by xbrian88 (Post 2409851)
http://goo.gl/ is possible use???

Try this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



All times are GMT. The time now is 08:50.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.