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
  #132  
Old 12-30-2008, 09:47 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 Brycestro View Post
Hi there, neat mod.

I'm having issues with the imageshack uploader. It pops up the file browser box fine, but as soon as I change the current directory (to choose a file in a folder other than the default directory folder) it breaks, causing the whole browser to freeze up such that I have to kill the browser Ctrl + Alt + Delete style. I've observed this in both Google Chrome and Firefox. The Mega Upload file browser box works fine.

The test system is VBulletin version 3.7.4 Patch Level 1, Windows Vista x64.
I have tried this hack in Firefox, IE, Opera and Chrome. I also have tried in both Windows XP and Linux. Also on local testbeds and also on a few live forums. I can not replicate this issue you are having.

Have you tried in IE? Have you tried from any other machines? Are any of other members having the same issue?

I suspect it your PC that is the issue, as this hack is installed on hundreds of forums and used by thousands (if not, tens of thousands) of users, and this is the first time that this issue has been reported in the two years since I wrote the original hack.

So, if it is causing problems for all of your members, you can always disable the Imageshack portion of this hack.

You can also ask on the imageshack website about it, as anything in the iframe is not hosted locally on your server - see note below:
Quote:
Originally Posted by 1st Post
Hack Support - snippet

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

NOTE 2: I only provide an easy way of integrating MEGAUPLOAD and Imageshack into your sites, and I am only providing support for the vBulletin integration.

If you need support, information (how they work, FAQ etc) in regards either of the embedded upload boxes, then you are best of checking out their respective websites, as I will not help you out there (you need to do the research yourself) - MEGAUPLOAD, Imageshack
Reply With Quote
  #133  
Old 12-30-2008, 11:00 PM
Brycestro Brycestro is offline
 
Join Date: Sep 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mosh, after some more investigation it's certainly looking like a problem with my computer now. I just tried to upload a file using vBulletin's standard attachment manager and found that I'm experiencing the same issue. This is both on my own forum and others. Anyway, I started up a virtual machine running Windows XP and found that the problem was gone when using it rather than Vista x64. Anyway, I'll look into the problem some more and make another post for the benefit of others if I find out what the problem is.

Cheers, Bryce.
Reply With Quote
  #134  
Old 12-31-2008, 01:58 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 Brycestro View Post
Mosh, after some more investigation it's certainly looking like a problem with my computer now. I just tried to upload a file using vBulletin's standard attachment manager and found that I'm experiencing the same issue. This is both on my own forum and others. Anyway, I started up a virtual machine running Windows XP and found that the problem was gone when using it rather than Vista x64. Anyway, I'll look into the problem some more and make another post for the benefit of others if I find out what the problem is.

Cheers, Bryce.
I am interested in learning what you discover. Please keep us informed
Reply With Quote
  #135  
Old 12-31-2008, 03:39 PM
l2-inferno l2-inferno is offline
 
Join Date: Jul 2006
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good hack, congrats!

pD: add rapidshare
Reply With Quote
  #136  
Old 12-31-2008, 08:02 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 l2-inferno View Post
good hack, congrats!

pD: add rapidshare
Read Post #125 for your answer about rapidshare.
Reply With Quote
  #137  
Old 01-01-2009, 10:46 AM
Brycestro Brycestro is offline
 
Join Date: Sep 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Mosh, to be honest I'm not sure 100% what's causing the problem with the freezing browser. After restarting my system, I found that it worked perfectly with Vista x64. Then, sometime later I tried it and it wasn't working again. At this point I logged off and then on again, and that fixed the problem for a second time.

I suspect that something funky may be happening with the file system when the computer goes into and then back out of sleep mode. I've had some issues where my motherboard doesn't properly recognise a hard-disk of mine (even though Windows later does), so it's quite possible that I just have some very quirky combination of factors specific to my computer and possibly even the hardware that is causing it.

Either way, I'm guessing there's very few other people/nobody else out there who are affected by this issue.

Cheers, Bryce.
Reply With Quote
  #138  
Old 01-02-2009, 09:31 PM
Corsan Corsan is offline
 
Join Date: Jun 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi! I get this error everytime i update usergroup permissions and i have uninstalled and reinstalled the hack over and over again and still get this.

Im running vb 3.8 latest version.

PHP Code:
Database error in vBulletin 3.8.0 Release Candidate 2:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###

took alot of irrelevant code out.

MySQL Error   Unknown column 'ms_imageshack_upload_permissions' in 'field list'
Error Number  1054
Request Date  
FridayJanuary 2nd 2009 04:28:56 PM
Error Date    
FridayJanuary 2nd 2009 04:28:56 PM
Script        
IGNORE.
Referrer      IGNORE.
IP Address    IGNORE.
Username      Cory
Classname     
vB_Database
MySQL Version 
5.0.67-community-log 
Reply With Quote
  #139  
Old 01-03-2009, 04:21 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 Corsan View Post
Hi! I get this error everytime i update usergroup permissions and i have uninstalled and reinstalled the hack over and over again and still get this.

Im running vb 3.8 latest version.

PHP Code:
Database error in vBulletin 3.8.0 Release Candidate 2:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###

took alot of irrelevant code out.

MySQL Error   Unknown column 'ms_imageshack_upload_permissions' in 'field list'
Error Number  1054
Request Date  
FridayJanuary 2nd 2009 04:28:56 PM
Error Date    
FridayJanuary 2nd 2009 04:28:56 PM
Script        
IGNORE.
Referrer      IGNORE.
IP Address    IGNORE.
Username      Cory
Classname     
vB_Database
MySQL Version 
5.0.67-community-log 
Please post this in the correct support thread (you are using the v3.8.x version of this hack) - link in first post, I will answer it in that thread. This thread is only for support for the v3.7.x version. Ensure you have marked the hack as being installed.
Reply With Quote
  #140  
Old 01-04-2009, 07:25 PM
Corsan Corsan is offline
 
Join Date: Jun 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
Please post this in the correct support thread (you are using the v3.8.x version of this hack) - link in first post, I will answer it in that thread. This thread is only for support for the v3.7.x version. Ensure you have marked the hack as being installed.
Will copy and say it there, thankyou!
Reply With Quote
  #141  
Old 01-09-2009, 03:04 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
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:53 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.07739 seconds
  • Memory Usage 2,345KB
  • 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
  • (2)bbcode_php
  • (6)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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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