vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Integration with vBulletin - Photobucket Image Uploader (https://vborg.vbsupport.ru/showthread.php?t=166286)

Dannyloski 12-27-2007 10:00 PM

Photobucket Image Uploader
 
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 12-28-2007 12:30 AM

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 12-28-2007 12:59 AM

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 12-28-2007 01:29 AM

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

Dannyloski 12-28-2007 01:59 AM

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 12-28-2007 05:24 AM

I like it! nice hack =]

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

inciarco 12-28-2007 05:31 AM

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 12-28-2007 05:35 AM

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 12-28-2007 05:35 AM

katie hunter, glad that it works for you know.

inciarco, thanks for pointing it out to her

shadyninja 12-28-2007 06:16 AM

will this work on 3.6.7. ?

UncoderMom 12-28-2007 12:02 PM

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 12-28-2007 04:13 PM

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 12-28-2007 05:12 PM

Will this only allow a single image upload ?

katie hunter 12-28-2007 05:30 PM

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 12-28-2007 05:35 PM

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 ...

AndyA 12-28-2007 07:34 PM

Thanks Danny.

shadyninja 12-28-2007 09:39 PM

Quote:

Originally Posted by Dannyloski (Post 1410892)
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!

[ .

I installed it, but it doesnt seem to be doing any thing,

1) Download the attached .XML Product. Check!
2) Import the .XML Product via Admin CP > Plugins & Products > Manage Products > [Add/Import Product] Check!
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.
What settings need to be changed?
It looks set up already?

Dannyloski 12-28-2007 09:45 PM

shadyninja, by default the hack is disabled, so you must go in and enable it where ever you want to use it. You can also change the settings of the color an d the display text to make it fit your site's color scheme. If you have any questions, just ask. Let me know if it works on vB 3.6.7 :up: once it has been enbled, etc.

shadyninja 12-28-2007 09:52 PM

I checked to see if its enabled, it was (i even tried disable and re enable it)
still not working , any other ideas?
we are upgrading our VB , but not for a few more weeks

Dannyloski 12-28-2007 09:57 PM

Well i guess it doest work with vB 3.6.7 .. Sorry.

shadyninja 12-28-2007 10:00 PM

guess it will wait till we upgrade

PoetJA-1975 12-29-2007 01:02 AM

Works wonderful on 3.6.8 = Thanx so much for the share DANNY ;)

Jacquii.

Dannyloski 12-29-2007 03:15 AM

^ No problem glad you like it :up: ... I'm glad I shared this, I had originally made this for my site only and didnt plan on releasing it. Then, I got bored and decided to make the options/settings editable via the AdminCP, so I thought "Maybe I should release this, some other people might use it" ... so I did, lol. I guess I was right, so far in 2 days 25 people have installed :D

shadyninja 12-29-2007 03:36 PM

it will be 1 more site using it as soon as I get time to do a upgrade

Dannyloski 12-29-2007 07:56 PM

^ Cool :up: ... To be honest I do not know why its not working with vB 3.6.7 - I thought it would. The only thing that I can think of is that you edited the templates and accidentally removed the necessary code. Do this:

Search your editpost, newreply, and newthread templates for $attachmentoption ... If its not there, then that's the reason why this hack isnt working for you. If its there then its something else, but I am almost positive that it has to be this. Let me know how it turns out ... If you want me to take a look at it for you PM me login info to your Admin CP and I can try and get this to work for you with vB 3.6.7 ...

raja811 12-30-2007 11:55 AM

thanks

Dannyloski 12-31-2007 03:23 AM

^ No problem :up: :D ... Mark as installed so you can stay up-to-date with it ;)

wolfyman 01-02-2008 04:05 PM

Quote:

Originally Posted by Dannyloski (Post 1411550)
Do this:

Search your editpost, newreply, and newthread templates for $attachmentoption ... If its not there, then that's the reason why this hack isnt working for you.

The code is there, but it's not working for me. Did anyone figure out the 3.6.7 issue?

SSG.D 01-02-2008 04:23 PM

Works on my 3.6.7 : And thanks for this mod!:D

However I do have a question. My large images are distorted as they display in the viewer area, all those that are like 120x120 display great, is there a work around for this for the large images to be displayed in correct proportion? If not, I still like this mod and will continue to use it.:)

Thanks again for your hard work:cool:

Dannyloski 01-03-2008 04:27 AM

I knew it had to work on 3.6.7, the code didnt change. It should work on all vB 3.6.X ... Might even work on 3.5.X (dont know). For those that have 3.6.7 and its not working, it must be due to your Modified Styles or something.

SSG.D, unfortunately that option is managed server-side with this Hack, meaning that its something that only Photobucket can manage. Photobucket makes the images into thumbnails using a declared width/height attribute to keep everything nice and neat. If they were to make it so that images appear proportional then it wouldnt look as neat/symmetrical as they wanted to make it look. Hope that explains it a bit more, but to answer your question: No, that is something that cannot be changed. Sorry.

fodvapor 01-03-2008 02:53 PM

Why is the download link dead for this mod?

wolfyman 01-03-2008 08:40 PM

Quote:

Originally Posted by fodvapor (Post 1414670)
Why is the download link dead for this mod?

downloads fine for me!

I just can't get the mod to show :P

PoetJA-1975 01-03-2008 10:13 PM

Quote:

Originally Posted by Dannyloski (Post 1411183)
^ No problem glad you like it :up: ... I'm glad I shared this, I had originally made this for my site only and didnt plan on releasing it. Then, I got bored and decided to make the options/settings editable via the AdminCP, so I thought "Maybe I should release this, some other people might use it" ... so I did, lol. I guess I was right, so far in 2 days 25 people have installed :D

Very nice! I know I've had the imageshack mod on JPiC for quite some time - but it's not nearly as nice as your mod --- I like that the options are available to be set in the AdminCP - makes it more of a "professional" modification so to speak - Anyway - it works wonderfully and I appreciate the share ;)

Jacquii.

Dannyloski 01-04-2008 04:14 AM

^ No problem, glad to release it :up:

Quote:

Originally Posted by fodvapor
Why is the download link dead for this mod?

Download link is working for me too ... Check your Internet connection?

fodvapor 01-04-2008 04:24 AM

It was just IE actin up...used firefox...works great !

sylar 01-04-2008 08:16 AM

What an awesome hack bro.

One question though.

Since the preview image is displayed on the forum does this eat up more bandwidth on the forum since its displaying the image or does it grab the preview from photobucket.

wolfyman 01-04-2008 10:48 AM

Quote:

Originally Posted by sylar (Post 1415191)
What an awesome hack bro.

One question though.

Since the preview image is displayed on the forum does this eat up more bandwidth on the forum since its displaying the image or does it grab the preview from photobucket.

The preview image and the full image are both hosted on photobucket.

wolfyman 01-04-2008 10:48 AM

Quote:

Originally Posted by sylar (Post 1415191)
What an awesome hack bro.

One question though.

Since the preview image is displayed on the forum does this eat up more bandwidth on the forum since its displaying the image or does it grab the preview from photobucket.

The preview image and the full image are both hosted on photobucket, aren't they?

Greek76 01-04-2008 01:29 PM

Quote:

Originally Posted by Dannyloski (Post 1411067)
Well i guess it doest work with vB 3.6.7 .. Sorry.

Works great for 3.6.7 that is what Im using. You might have a mod thats preventing the photobucket from working possibly.

SVTCobraLTD 01-04-2008 02:10 PM

Installed on 3.6.8 pl2 and seems to be working except when I click a picture and hit submit on my site, it does not show the picture. Am I missing a step to get the picture to display? Seems like I missed a little step here.

SVT


All times are GMT. The time now is 10:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01362 seconds
  • Memory Usage 1,843KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete