vBulletin Mods

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

Photobucket Image Uploader
by Dannyloski
28 Dec 2007 02:16

9 Attachment(s)
This Modification works in both vB 3.6.x and vB 3.7.x

Introduction:
Well this is my first official "hack" for vBulletin :p :up:, so cheers to me! Anyways, I want to apologize in advanced if for some reason this post or the instructions are not clear enough - I am trying my best to explain as elaborate as possible. With this being my first modification, I have dedicated a lot of time and effort into it and I can say that I am 99.9% sure that there are no bugs with this hack, as I have tested it numerous times - but we all know how that goes ... With that said, if you do find a bug or something, just let me know and I'll look into it. Also, I want to thank Mosh for letting me use his ImageHack as a Framework for mine, thanks bro!

NOTE: This hack works in total harmony with the latest version of Mosh's ImageShack Image Upload hack.

PHOTOBUCKET IMAGE UPLOADER
... BROUGHT TO YOU BY: DANNY ...

Description:
This hack will allow you to have access to your Photobucket Account from inside vBulletin, so that you can post up your pictures or videos without the need of opening a new window. It will allow you to display this Hack in the New Thread, New Post/Reply, Quick Reply, and Quick Edit Windows. This hack also provides the user with multiple options/settings to make this Add-on blend in with the site's color scheme. It has many benefits and options, so for more info just take a look at the Screenshots provided or download and install the Add-on to see and explore its settings.

Installation Instructions:
1) Download the attached .XML Product.
2) Import the .XML Product via Admin CP > Plugins & Products > Manage Products > [Add/Import Product]
3) Edit the Settings accordingly and Enable Hack where desired. Go to Admin CP > vBulletin Options > vBulletin Options > Photobucket Image Uploader to manage the settings. Remember to also enter the Usergroup IDs of those who you wish to be able to use the Hack or this Mod will not work!
4) Your Done! Its that easy ...

Upgrade Instructions:
1) Download the attached .XML Product.
2) Import the .XML Product via Admin CP > Plugins & Products > Manage Products > [Add/Import Product] and Select the "Overwrite" option ...
3) Your Done! Its that easy ...

IMPORTANT NOTE:
Quote:

Originally Posted by Dannyloski (Post 1418096)
Guys/Gals,

I want to make a note for those who said they were having trouble with this Hack, please make sure that you enter all the Usergroup IDs of the Usergroups who you want to be able to use this Hack in the "Allowed Usergroups" Settings Section.

I have a feeling that most of you left "0" in there. What the "0" does is "not force any usergroups". What that means is that no usergroup will be able to use the Hack, basically if you enter "0" there, then you are disabling the Hack completely.

I think that this is the solution to most (if not all) the problems for those who were claiming that this hack wasnt working. Please enter the Usergroup IDs and report back if it works for you or not.

PS. Some of you might be wondering how I figured this out, well one of the members on here who installed this Hack and was having problems, sent me a PM with Admin Login Info into their site and upon checking out the settings, this was the problem. They forgot to enter the Usergroup IDs in the specified Setting. I entered "6" for the Usergroup ID to test if Administrators could view the Hack and voila, it worked!

Version History:
  • v1.0
    • Official "Hack" Release
    • No known bugs
  • v2.0
    • Page no longer jumps to the Top when clicking on the "Display" or "Hide" Text.
    • Using vBulletin's fetch_object() function instead of document.getElementById() to take advantage of vBulletin's Browser Compatibility features.

Special thanks to Code Monkey for assisting me with the Code Fixes for v2.0 ... Now this Hack rocks even more ;)

If you like then [Mark As Installed] or [Donate]


IFRAME RELOADING IN BLANK PAGE? READ THIS!
You need to clear your Browser's Cache (all if it) & Flush your DNS. This is a server-side issue with Photobucket, not with the Modification. This is Photobucket Support Team's response ...

Quote:

Originally Posted by Photobucket Support Team
Dear Danny,

Please log out, clear your cache, refresh, close your browser window, then flush your DNS and reboot your entire system, including the modem and router.

http://pic.pbsrc.com/help/Content/Tr...ClearCache.htm

http://pic.pbsrc.com/help/Content/Tr...g/FlushDNS.htm

Thank you.

Sincerely,
Your Photobucket Support Team


w1z4rd 28 Dec 2007 02:30

Thanks I'll give this a try. Is there a way to only display this in certain forums?

edit--

Have to say congratulations, pretty neat mod so far. I'd also if at all possible love to see an option for members to turn this on or off in their usercp. Just a suggestion. Cool mod.

Hornstar 28 Dec 2007 02:59

Hey nice release. I have my own image hosting site as well, and I would like to integrate that for my members to use more. Would it be possible for you to take a look at it and see if you could help me do that, similiar to how this one is done?

TTG 28 Dec 2007 03:29

Very useful addition considering the number of folks that use photobucket.
Thanks Dannyloski.
Clicked install.

Dannyloski 28 Dec 2007 03:59

Thanks guys glad you all like it thus far :) ...

w1z4rd, I will have to look into it to see if I can get the option of it only displaying in certain forums to work, I should be able to ... As far as the User enable/disable in User CP, I think that would require some Database calling or something - I'm still earning how to code (I'm no expert) and that would be a bit too hard for me at the moment, maybe in the future.

hornstar1337, I sent you a PM ...

katie hunter 28 Dec 2007 07:24

I like it! nice hack =]

Edit : for some reason i tried to change the background color but it isn;t working

inciarco 28 Dec 2007 07:31

Quote:

Originally Posted by katie hunter (Post 1410572)
I like it! nice hack =]

Edit : for some reason i tried to change the background color but it isn;t working

Remember You Should Not include a "#" Character in the Number of the Color!! ;)

Great Hack!! :up:

:)

katie hunter 28 Dec 2007 07:35

Quote:

Originally Posted by inciarco (Post 1410575)
Remember You Should Not include a "#" Character in the Number of the Color!! ;)

Great Hack!! :up:

:)

Oh! thanks, working now :p

Dannyloski 28 Dec 2007 07:35

katie hunter, glad that it works for you know.

inciarco, thanks for pointing it out to her

shadyninja 28 Dec 2007 08:16

will this work on 3.6.7. ?

UncoderMom 28 Dec 2007 14:02

Wow! A lot of great Mods this week!! This is fantastic! I make my users use PB instead of attachments. They will love this!

Cant wait till my upgrade!!

Dannyloski 28 Dec 2007 18:13

shadyninja, should work with vB 3.6.7, test it out and see. Its only one Product to Import, so its not much of a hassle to uninstall if it doest work ... It should work though!

UncoderMom, thanks! That's the same reason why I came up with it. I do not use Attachments in my forums, so I make my members use a 3rd Party Site to host their images/videos - most use Photobucket, so I decided to do something about it.

AndyA 28 Dec 2007 19:12

Will this only allow a single image upload ?

katie hunter 28 Dec 2007 19:30

Quote:

Originally Posted by Dannyloski (Post 1410577)
katie hunter, glad that it works for you know.

inciarco, thanks for pointing it out to her

Hi Danny,

Do you think you can make another hack that supports/allows adult pictures ? Like hentai that is?
If it isn't too much work for you :3 Other than imageshake, that yellow frogy that appears from time to time is creepy :rolleyes: May be imagevenue.com ?
That is the only one i could think of that is stable for some years now.

Dannyloski 28 Dec 2007 19:35

AndyA, this Hack allows you to upload images directly to your Photobucket Account. You can only upload one at a time. After you finished uploading one, you can then upload another one.

katie hunter, sent you a PM ...


All times are GMT. The time now is 13:19.

Powered by vBulletin® Version 3.8.13
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.