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

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

Category: Integration with vBulletin - Version: 3.7.x Rating:
Released: 02-06-2008 Last Update: 08-28-2008 Installs: 294
Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

Hack Support

This hack is now discontinued - this means that while it will remain available for download and use, there will be no further updates, nor will support be provided as the thread is no longer monitored. You can now check out the 3.8.x version of this hack, as it also works with v3.7.5, v3.6.12 (and maybe even earlier versions).

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


NOTE: You can not change the language/text in either the Imageshack or MEGAUPLOAD embedded upload boxes as they are actually being hosted on their respective websites, and this hack can in NO way control that.

If you need support (they embed but don't upload, they are slow, etc), information (how they work, FAQ etc) in regards either of the embedded upload boxes, then you are best off checking out their respective websites, as I will not help you out there (you need to do the research yourself) - MEGAUPLOAD, Imageshack



vBulletin Version Compatibility

This hack can be used with v3.6.10 and v3.7.x. This has not been tested with earlier versions of v3.6.x, but should work.


What Does This Hack Do?

This is an update of my v3.6.x hack available here, with the added bonus of being able to upload files to MEGAUPLOAD.

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

This is an hack that adds the ability to upload image images to the Imageshack service and upload files to the MEGAUPLOAD service 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, new post, editing a post, quick editing a post or doing a quick reply.

Both Imageshack and MEGAUPLOAD are controlled by the same permissions, but you can show one of them or both of them when creating a new thread, new post, editing a post, quick editing a post or doing a quick reply independently (via settings in AdminCP).

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

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


NOTE 2: This hack works in total harmony with the latest version of Dannyloski's Photobucket Image Upload hack (Dannyloski, with my permission, used the base code of v3.6.x version of this hack to create his hack), so you can use Imageshack, MEGAUPLOAD and Photobucket all at the same time (if you choose to).

AdminCP settings for this hack available in vBulletin Options > Imageshack Image Upload.
Settings that can be changed are:
  1. Usergroup permissions - which groups will see the Imageshack/MEGAUPLOAD Upload boxes
  2. Choose which locations the Imageshack Image Upload box are displayed
  3. 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
  4. Choose which locations the MEGAUPLOAD Uploader box are displayed
  5. MEGAUPLOAD Embedded box properties - size and color of the embedded MEGAUPLOAD box
Note: If you have highly customised templates or styles and the imageshack/MEGAUPLOAD 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.


Installation Instructions
  1. Import ms_imageshack_upload.xml into vB using the AdminCP Product Manager. If upgrading then set Allow Overwrite to Yes.
  2. In the Admin CP, select vBulletin Options > Imageshack/MEGAUPLOAD Uploader, and change the settings to enter usergroups that you want to use this, which locations you want to display the imageshack and MEGAUPLOAD dialog boxes and change other settings to your liking.
  3. Enjoy the new addition to your posting arsenal !!!

Uninstall Instructions
  1. Uninstall the product in vB using the AdminCP Product Manager.

Screenshots
Show in this order:
  • Imageshack and MEGAUPLOAD (in Quick Reply)
  • Imageshack and MEGAUPLOAD (in Quick Edit)
  • Imageshack and MEGAUPLOAD (in Additional Posting Options)
  • Imageshack only (in Additional Posting Options)
  • AdminCP options (2)
  • AdminCP options (1)
  • MEGAUPLOAD only (in Additional Posting Options)


Version History

v3.7.007 - Friday 29th August 2008
-- Final Release
-- Changed: Check boxes now for usergroup selection, instead of needing comma separated numbers
-- Changed: Removed dependency, now works with v3.6.10
-- Changed: Screenshots
-- Added: New plugin, for processing usergroup permissions

v3.7.006 - Sunday 29th June 2008
-- Changed: Hack name
-- Changed: Total code rewrite
-- Added: MEGAUPLOAD Upload

v3.7.005 - Saturday 28th June 2008
-- Fixed: Quick Reply now works with Photobucket Image Uploader hack

v3.7.004 - Wednesday 25th June 2008
-- Fixed: Imageshack in Quick Reply not showing

v3.7.003 - Wednesday 25th June 2008
-- Changed: Version numbering
-- Added: AdminCP option to display to all usergroups

v3.1.0 - Wednesday 2nd April 2008
-- Added: QuickEdit option
-- Added: AdminCP Options input validation

v3.0.0 - Thursday 7th February 2008
-- Initial v3.7.x Release


Thanks

Thanks go out to Paul M who gave me permission to use some of his install code.


Show Your Appreciation

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.

Show Your Support

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

Comments
  #42  
Old 06-27-2008, 11:28 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 Megatr0n View Post
I do, yes.

Any way around it?
Not sure yet, will have a look at it and let you know.

But I take it, if you disable QR on either hack, then only one is displayed?
Reply With Quote
  #43  
Old 06-28-2008, 12:02 AM
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Correct.
Reply With Quote
  #44  
Old 06-28-2008, 05:09 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: v3.7.005
  • Quick Reply now works correctly with Dannyloski's Photobucket Image Uploader hack installed
Reply With Quote
  #45  
Old 06-28-2008, 08:22 AM
l0streflecti0n's Avatar
l0streflecti0n l0streflecti0n is offline
 
Join Date: Dec 2004
Location: chicago
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet ... thanx
Reply With Quote
  #46  
Old 06-28-2008, 11:57 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 l0streflecti0n View Post
sweet ... thanx
If you are using this, then please click Mark as Installed.
Reply With Quote
  #47  
Old 06-28-2008, 12:01 PM
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works now!
Reply With Quote
  #48  
Old 06-28-2008, 12:08 PM
fukdawrld fukdawrld is offline
 
Join Date: Nov 2005
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whenever i use it i get a double 1 above my megaupload and one below
Reply With Quote
  #49  
Old 06-28-2008, 12:12 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 fukdawrld View Post
whenever i use it i get a double 1 above my megaupload and one below
Which megaupload hack?
Reply With Quote
  #50  
Old 06-29-2008, 05:16 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: v3.7.006
  • Total code rewrite
  • Added MEGAUPLOAD file uploader
  • Changed name of hack to Imageshack & MEGAUPLOAD Uploader
Reply With Quote
  #51  
Old 06-29-2008, 06:46 AM
SemperFideles's Avatar
SemperFideles SemperFideles is offline
 
Join Date: Oct 2006
Location: Northern VA
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there some sort of trick to the megaupload to get it to host a file? Do I need a premium account with them?

I updated this mod and tried testing out the MEGAUPLOAD feature by uploading a 890K exe file into a post and it began uploading it. It estimated the time at a few seconds, got to the end of uploading the file, and then has displayed "Finishing, Please Wait" for over 6 minutes. When I finally gave up and pressed submit for the thread, it locked up my browser.

Obviously it's not your "fault" because it's the MEGAUPLOAD iframe that seems stuck but do you know how this thing is supposed to work and what its limitations are? There is no documentation in this thread on what I should tell my users about the operation of this feature. I'd like to be able to warn my users what this thing is doing and what happens when they press "Get your own filebox".
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:33 PM.


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.07365 seconds
  • Memory Usage 2,318KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete