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
  #52  
Old 06-29-2008, 08:05 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 SemperFideles View Post
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".
You do not require a premium account to upload, if you did I would never have added MEGAUPLOAD to this hack.

I just provide an easy way to integrate it into your site, but if you are having problems with the actual MEGAUPLOAD box itself, then you will really need to contact MEGAUPLOAD about it, because as you yourself stated, it is MEGAUPLOAD's embedded flash object that is giving you the problem, not this integration.

As to documentation on how to use the MEGAUPLOAD and Imageshack embedded boxes, their sites (links in the 1st post) should have adequte documentation/FAQs etc. I am only providing instructions on how to use the vBulletin integration and not the embedded boxes themselves.
Reply With Quote
  #53  
Old 06-29-2008, 08:51 AM
-=Leb=-'s Avatar
-=Leb=- -=Leb=- is offline
 
Join Date: Jan 2008
Location: Sweden
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wOw this is awesome, i was looking for the megaupload.Thank you very much for adding the megaupload for us

Great job m8
Reply With Quote
  #54  
Old 06-29-2008, 11:40 AM
thedark1's Avatar
thedark1 thedark1 is offline
 
Join Date: Oct 2007
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack, thanks for the update....question, how do i center the imageshack and megaupload iframes? they appear to the right...

note: nevermind, just edit imageshack template, or the xml and change:

<div style="padding:$stylevar[formspacer]px">

to

<div align="center" style="padding:$stylevar[formspacer]px">
Reply With Quote
  #55  
Old 06-29-2008, 12:01 PM
srkrocks srkrocks is offline
 
Join Date: Jun 2008
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for Upgrade..
Reply With Quote
  #56  
Old 06-29-2008, 12:18 PM
shofolofo shofolofo is offline
 
Join Date: Aug 2007
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea and thanks for the effort . I upgraded the latest version but the megaupload box isn't appearing

see attachments

***********
Fixed
*****

Needed to revert templates
Reply With Quote
  #57  
Old 06-29-2008, 12:42 PM
neto614's Avatar
neto614 neto614 is offline
 
Join Date: Dec 2006
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great thanks
Reply With Quote
  #58  
Old 06-29-2008, 01:29 PM
jbear6 jbear6 is offline
 
Join Date: Oct 2001
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there an easy way to limit this to just one forum? For instance designating a "Photo Forum" where threads with photos are posted?

Thanks,
Jbear6
Reply With Quote
  #59  
Old 06-29-2008, 07:45 PM
SemperFideles's Avatar
SemperFideles SemperFideles is offline
 
Join Date: Oct 2006
Location: Northern VA
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
You do not require a premium account to upload, if you did I would never have added MEGAUPLOAD to this hack.

I just provide an easy way to integrate it into your site, but if you are having problems with the actual MEGAUPLOAD box itself, then you will really need to contact MEGAUPLOAD about it, because as you yourself stated, it is MEGAUPLOAD's embedded flash object that is giving you the problem, not this integration.

As to documentation on how to use the MEGAUPLOAD and Imageshack embedded boxes, their sites (links in the 1st post) should have adequte documentation/FAQs etc. I am only providing instructions on how to use the vBulletin integration and not the embedded boxes themselves.
Thanks. I realized I was having the exact same problem when trying to upload from MEGAUPLOAD itself. It might be that the service itself was having problems.
Reply With Quote
  #60  
Old 06-29-2008, 07:47 PM
SemperFideles's Avatar
SemperFideles SemperFideles is offline
 
Join Date: Oct 2006
Location: Northern VA
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Separate question: do you think it would be possible to integrate premium features for those willing to pay for MEGAUPLOAD's premium service?

The reason I ask is that the service FAQ state that they only store files for about 90 days.

I really love this idea and am very appreciative for your integration of it but I could literally turn off attachments altogether for my board if I could figure out a way to make the uploaded files more "permanent".
Reply With Quote
  #61  
Old 06-30-2008, 12:35 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 SemperFideles View Post
Separate question: do you think it would be possible to integrate premium features for those willing to pay for MEGAUPLOAD's premium service?

The reason I ask is that the service FAQ state that they only store files for about 90 days.

I really love this idea and am very appreciative for your integration of it but I could literally turn off attachments altogether for my board if I could figure out a way to make the uploaded files more "permanent".
Not sure, will look into it, but am not promising anything.
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 11:46 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.04678 seconds
  • Memory Usage 2,323KB
  • 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