Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Imageshack, MEGAUPLOAD & Photobucket Uploader Details »»
Imageshack, MEGAUPLOAD & Photobucket Uploader
Version: 3.8.006, by Mosh Mosh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.x Rating:
Released: 11-13-2008 Last Update: 04-02-2010 Installs: 302
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

Please click Mark as Installed if you are using this hack.


IMPORTANT NOTICE: This hack has now been discontinued - this means that while it will remain available for download and use, there will be no further updates as this thread is no longer monitored. I am also not interested in doing paid work requests to update this hack at all.


What Does This Hack Do?[hr]hr[/hr]
This is an update of my v3.7.x hack available here, with the added bonus of being able to use this with private messages (vBulletin v3.8.x only) and enabling dialog box locations per usergroup via usergroup permissions (no longer centrally, so allowing extra flexability). This hack is now fully phrased.

The v3.6.x version of this hack is listed on the official ImageShack's 3rd Party Tools page, and that links to this version - see ImageShack :: 3rdparty ::

With kind permission from Dannyloski, I have now fully updated and integrated his Photobucket Image Uploader hack (which was itself, with my permission, based on my Imageshack Image Upload hack for v3.6.x.) into this hack (as of v3.8.004).

This is a hack that adds the ability to upload images/files to the Imageshack, MEGAUPLOAD or Photobucket services and be given a url to post in your posts to show your now uploaded file(s), it is available (if enabled):
  • when creating a new thread
  • when creating a new post
  • editing a post
  • quick replying to a post
  • creating a new private message (vBulletin v3.8.x only)
  • quick replying to a private message (vBulletin v3.8.x only)
  • replying to a private message (vBulletin v3.8.x only)

The Imageshack, MEGAUPLOAD & Photobucket dialog box locations are controlled independently via usergroup permissions.

You can control the size and color of both the Imageshack (fully customisable), MEGAUPLOAD (3 sizes and 6 colors) & Photobucket (fully customisable) boxes centrally from the AdminCP.

You do NOT need a premium account to upload using either Imageshack or MEGAUPLOAD.

With MEGAUPLOAD, you can enter your premium account license key (if you have a premium account) in the AdminCP options (see post #57 for more information).

If you allow your members to use Photobucket, your members will need to registered with, and login to Photobucket to be able to upload files to Photobucket.

AdminCP settings for this hack available in vBulletin Options -> Imageshack, MEGAUPLOAD & Photobucket Uploader.
Settings that can be changed are:
  1. Imageshack iFrame properties - size of the upload input field. The width, height and color (this setting will work instantly once the Imageshack developers fix this) of the iframe
  2. MEGAUPLOAD Embedded box properties - size and color of the embedded MEGAUPLOAD box. You can also enter your premium account license key if you have one (see post #57 for more information).
  3. Photobucket Embedded box properties - size and color of the embedded Photobucket box.
NOTE 1: If you have highly customised templates or styles and the imageshack/MEGAUPLOAD/Photobucket dialog box does not display after usergroup permissions are set, then you may need to manually add the contents of the imageshack template to the templates where you want the dialog box to appear. If that does not work, you are on your own.

Usergroup permissions for each usergroup are available in Usergroups -> Usergroup Manager.
Settings that can be changed are:
  1. Choose which locations the Imageshack Image Upload box are displayed (as of v3.8.002)
  2. Choose which locations the MEGAUPLOAD Uploader box are displayed (as of v3.8.002)
  3. Choose which locations the Photobuck Uploader box are displayed (as of v3.8.004)

vBulletin Version Compatibility[hr]hr[/hr]
This hack can be used with v3.8.0, v3.7.5, v3.6.12 and later versions. This hack should also work fine with earlier versions of v3.7.x and v3.6.x.

For the v4.0.x version of this hack - check here.



Install/Upgrade/Uninstall Instructions[hr]hr[/hr]
The InstallInstructions.txt instructions file is included in attached .zip file.


Screenshots[hr]hr[/hr]
Shown in this order:
  • Imageshack and MEGAUPLOAD in Additional Posting Options
  • Imageshack and MEGAUPLOAD in Quick Reply
  • Imageshack only in Additional Posting Options
  • MEGAUPLOAD only in Additional Posting Options
  • Imageshack and MEGAUPLOAD in Private Message Quick Reply
  • Imageshack, MEGAUPLOAD & Photobucket (hidden form) in Quick Reply
  • AdminCP usergroup permissions
  • AdminCP options
  • Imageshack, MEGAUPLOAD & Photobucket (expanded form) in Private Message Additional Posting Options

Version History[hr]hr[/hr]
v3.8.006 - Saturday 3rd April 2010
-- Final v3.8.x Release
-- Released at Wolfshead Solution on Monday 29th March 2010
-- Fixed: Recent changes to the imageshack.us site caused uploads to Imageshack to fail

v3.8.005 - Friday 6th November 2009
-- Changed: 3 bitfield files
-- Added: 3 phrases
-- Added: 1 plugin

v3.8.004 - Monday 19th October 2009
-- Changed: Hack name
-- Changed: 3 templates
-- Changed: 7 plugins
-- Changed: Screenshots
-- Changed: 1 bitfield file
-- Removed: 1 template
-- Removed: 1 plugin
-- Removed: 1 phrase
-- Added: Integrated Photobucket Upload hack
-- Added: 5 phrases (now fully phrased)
-- Added: 2 bitfield files
-- Added: 7 AdminCP Options (Photobucket)
-- Added: Extra Install/Uninstall code

v3.8.003 - Tuesday 5th May 2009
-- Changed: 4 templates
-- Changed: 2 phrases
-- Changed: Install/Uninstall code
-- Changed: 1 screenshot
-- Added: 1 AdminCP Option (MEGAUPLOAD license key)
-- Added: Install/Uninstall instructions text file
-- Added: Version history text file

v3.8.002 - Wednesday 19th November 2008
-- Changed: Streamlined all plugins (i.e. less code)
-- Changed: Usergroup permissions in all plugins
-- Changed: Screenshots
-- Removed: 1 plugin (no longer needed)
-- Removed: 16 AdminCP Options (no longer needed, now set via usergroup permissions)
-- Added: 15 Phrases
-- Added: 1 bitfield file

v3.8.001 - Friday 14th November 2008
-- Initial v3.8.x Release


Thanks[hr]hr[/hr]
A big thanks go out to Dannyloski for permission to integrate his Photobucket Image Uploader hack into this one. Thanks also go out to Paul M who gave me permission to use some of his install code.


Show Your Appreciation [hr]hr[/hr]
Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.

Download Now

File Type: zip ms_imageshack_upload_38x.zip (12.0 KB, 690 views)

Screenshots

File Type: jpg snapshot2.jpg (75.7 KB, 0 views)
File Type: jpg snapshot3.jpg (51.4 KB, 0 views)
File Type: jpg snapshot4.jpg (59.8 KB, 0 views)
File Type: jpg snapshot5.jpg (60.2 KB, 0 views)
File Type: jpg snapshot8.jpg (83.2 KB, 0 views)
File Type: jpg snapshot1.jpg (62.1 KB, 0 views)
File Type: jpg snapshot6.jpg (159.3 KB, 0 views)
File Type: png snapshot7.png (79.9 KB, 0 views)
File Type: png snapshot9.png (50.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 10-20-2009, 12:40 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Something I've noticed with this modification. It takes forever and a day for the Imagshack buttons to show up at the bottom of a thread, if they show up at all. This increases the response time for the browsers to render a page, and at times, has created small issues with my users.

Obviously, this is an issue with the Imageshack servers (most likely high use). How difficult would it be to create the forms locally, including the buttons/images? This way, the actual "connection" to Imageshack wouldn't be needed unless the user wanted to actually upload a file.
Reply With Quote
  #103  
Old 10-20-2009, 09:25 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Biker_GA View Post
Something I've noticed with this modification. It takes forever and a day for the Imagshack buttons to show up at the bottom of a thread, if they show up at all. This increases the response time for the browsers to render a page, and at times, has created small issues with my users.

Obviously, this is an issue with the Imageshack servers (most likely high use). How difficult would it be to create the forms locally, including the buttons/images? This way, the actual "connection" to Imageshack wouldn't be needed unless the user wanted to actually upload a file.
Unfortunately not as easy as you think. For instance, with Imageshack, they do have a XML API. First thing you have to do is get and api key, to get that key you have to justify why you want the key and they may or may not issue it to you (you need to specify the number of unique visitors to your site per day and include a description of how you intend to use the ImageShack XML API). And that is even before you begin to be able to develop a form to use the API. See http://code.google.com/p/imageshacka.../ImageshackAPI for more information.

It is just a lot easier to use the embedded form method. If I was doing a paid request for a client and they wanted to go the API way, then I would. But as I have limited free time on my hands and I am releasing this for free, this hack is likely to stay with the embedded form method.
Reply With Quote
  #104  
Old 10-22-2009, 12:47 PM
ouch ouch is offline
 
Join Date: Jan 2009
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a problem with this...only 1 of them works on my forum

Imageshack toolbar

Rest dont work

am I doimg sumit wrong
Reply With Quote
  #105  
Old 10-23-2009, 12:10 AM
10 Gauge's Avatar
10 Gauge 10 Gauge is offline
 
Join Date: Nov 2008
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not getting the options in my usergroup manager after installation to enable this hook. Anyone else had this problem?
Reply With Quote
  #106  
Old 10-23-2009, 12:10 AM
10 Gauge's Avatar
10 Gauge 10 Gauge is offline
 
Join Date: Nov 2008
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 10 Gauge View Post
I am not getting the options in my usergroup manager after installation to enable this hook. Anyone else had this problem?
Nevermind, user error.... *smack*
Reply With Quote
  #107  
Old 10-23-2009, 01:08 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ouch View Post
I have a problem with this...only 1 of them works on my forum

Imageshack toolbar


Rest dont work

am I doimg sumit wrong
Did you do Steps 2, 3 & 6 of the Install/upgrade Instructions ?
Reply With Quote
  #108  
Old 10-25-2009, 05:48 AM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
It is just a lot easier to use the embedded form method. If I was doing a paid request for a client and they wanted to go the API way, then I would. But as I have limited free time on my hands and I am releasing this for free, this hack is likely to stay with the embedded form method.
Understood. Was pretty much thinking out loud and wondering if it could easily be done. Thanks for the reply.
Reply With Quote
  #109  
Old 10-25-2009, 10:10 PM
ouch ouch is offline
 
Join Date: Jan 2009
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
Did you do Steps 2, 3 & 6 of the Install/upgrade Instructions ?
yep m8
Reply With Quote
  #110  
Old 10-25-2009, 10:47 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ouch View Post
yep m8
If that is the case, and you have followed the instructions to the letter and it has nothing to do with manually edited templates (because the auto-template insertion did not work), then the only way I can help you is to look at your installation.

[s]If you want me to take a look then feel free to PM me your site address, a temporary Administrator user (with the following administrator permissions - Can Administer Settings for editing options, Can Administer Styles for editing templates, Can Administer Language Settings for editing phrases, Can Administer User Permissions for editing Usergroup permissions and finally Can Administer Plugins for editing products and plugins), and ftp access details (with appropriate permissions).

Without these I can not help you any further. You can revoke these after I have helped you out.

I will look when I have time, and even if I have a look, I can not guarantee that I will be able to fix it, so it is up to you what you want to do.[/s]
Reply With Quote
  #111  
Old 10-27-2009, 09:07 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ouch View Post
I have a problem with this...only 1 of them works on my forum

Imageshack toolbar


Rest dont work

am I doimg sumit wrong
Quote:
Originally Posted by Mosh View Post
Did you do Steps 2, 3 & 6 of the Install/upgrade Instructions ?
Quote:
Originally Posted by ouch View Post
yep m8
Quote:
Originally Posted by Mosh View Post
If that is the case, and you have followed the instructions to the letter and it has nothing to do with manually edited templates (because the auto-template insertion did not work), then the only way I can help you is to look at your installation.

[s]If you want me to take a look then feel free to PM me your site address, a temporary Administrator user (with the following administrator permissions - Can Administer Settings for editing options, Can Administer Styles for editing templates, Can Administer Language Settings for editing phrases, Can Administer User Permissions for editing Usergroup permissions and finally Can Administer Plugins for editing products and plugins), and ftp access details (with appropriate permissions).

Without these I can not help you any further. You can revoke these after I have helped you out.

I will look when I have time, and even if I have a look, I can not guarantee that I will be able to fix it, so it is up to you what you want to do.[/s]
I had a look at your installation and the problem was that you uploaded the .xml files from Steps 1 - 3 to /httpdocs/includes/xml which is the wrong location (in your case), instead of /httpdocs/forums/includes/xml and that is why the Megaupload and Photobucket did not work.

It is now all fixed up. Enjoy
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:01 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05070 seconds
  • Memory Usage 2,376KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (10)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete