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
  #72  
Old 07-03-2008, 12:17 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 mannaraja View Post
thanks thanks thanks:up:
You downloaded this, if you are using this, please click Mark as Installed.
Reply With Quote
  #73  
Old 07-03-2008, 01:48 PM
jbear6 jbear6 is offline
 
Join Date: Oct 2001
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jbear6 View Post
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
I haven't installed this, but would appreciate it if you could answer my question. If it is possible to easily limit this to one forum I would install it.

Thanks,
Jbear6
Reply With Quote
  #74  
Old 07-03-2008, 11:59 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 jbear6 View Post
I haven't installed this, but would appreciate it if you could answer my question. If it is possible to easily limit this to one forum I would install it.

Thanks,
Jbear6
Sorry, did not see that the first time around.

Limiting it to one forum should be as easy as adding template conditionals to both of the templates imageshack and imageshack_quickedit:

Code:
<if condition="$forum[forumid] == xx">
<--rest of template  here-->
</if>
Where xx is the forum ID of the forum you want it displayed. I would put it around both the Imageshack and MEGAUPLOAD code seperately.
Reply With Quote
  #75  
Old 07-04-2008, 12:47 AM
jbear6 jbear6 is offline
 
Join Date: Oct 2001
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
Sorry, did not see that the first time around.

Limiting it to one forum should be as easy as adding template conditionals to both of the templates imageshack and imageshack_quickedit:

Code:
<if condition="$forum[forumid] == xx">
<--rest of template  here-->
</if>
Where xx is the forum ID of the forum you want it displayed. I would put it around both the Imageshack and MEGAUPLOAD code seperately.
Thank you Mosh, I will give it a try tomorrow

Jbear6
Reply With Quote
  #76  
Old 07-04-2008, 04:21 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
Sorry, I am not planning to. Until I just read your post, I had never heard of sendspace.

But you never know, one day I may feel the urge to release a hack based on sendspace, so I will not say I will definitely not release a sendspace hack, it is however, very unlikely that I will.
Would you mind if I edited your code to support sendspace, re-released it, and put you in as a co-author?


Quote:
Originally Posted by Mosh View Post
Well, I looked into it, and there is nothing available for premium uploads that resemble what the free Filebox does, so no dice, sorry
PM me, I have a lifetime Megaupload premium account where I can create a filebox that will never delete the files. Although since I only have 250 GB of space, I empty it out every 6 months. So I think 180 days is better than 90, wouldn't you say so?
Reply With Quote
  #77  
Old 07-04-2008, 11:19 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 TheInsaneManiac View Post
Would you mind if I edited your code to support sendspace, re-released it, and put you in as a co-author?
You are more than welcome to code an add-on hack to this hack or use my code as a framework (like the Photobucket hack, Dannyloski was granted this same permission) to just support sendspace and make sure it does not conflict with this hack at all.

But you do not have my permission use the entire code with it added in (i.e not with Imageshack, MEGAUPLOAD and sendspace in the same hack), sorry

Quote:
Originally Posted by TheInsaneManiac View Post
PM me, I have a lifetime Megaupload premium account where I can create a filebox that will never delete the files. Although since I only have 250 GB of space, I empty it out every 6 months. So I think 180 days is better than 90, wouldn't you say so?
I have PM'ed you about that.
Reply With Quote
  #78  
Old 07-04-2008, 03:20 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
You are more than welcome to code an add-on hack to this hack or use my code as a framework (like the Photobucket hack, Dannyloski was granted this same permission) to just support sendspace and make sure it does not conflict with this hack at all.

But you do not have my permission use the entire code with it added in (i.e not with Imageshack, MEGAUPLOAD and sendspace in the same hack), sorry



I have PM'ed you about that.
Nah lol, I just wanted sendspace. I actually just wish you would have released them all separate. That way people can decide which ones they wish to install. I guess two isn't that bad, at least they can disable one or the other.
Reply With Quote
  #79  
Old 07-04-2008, 11:51 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 TheInsaneManiac View Post
Nah lol, I just wanted sendspace. I actually just wish you would have released them all separate. That way people can decide which ones they wish to install. I guess two isn't that bad, at least they can disable one or the other.
It was easier to code them in one hack, and more work as separate hacks, so I went down the easier road, and that is also why you can disable one or the other.
Reply With Quote
  #80  
Old 07-05-2008, 08:53 PM
jbear6 jbear6 is offline
 
Join Date: Oct 2001
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
Limiting it to one forum should be as easy as adding template conditionals to both of the templates imageshack and imageshack_quickedit:

Code:
<if condition="$forum[forumid] == xx">
<--rest of template  here-->
</if>
Where xx is the forum ID of the forum you want it displayed. I would put it around both the Imageshack and MEGAUPLOAD code seperately.
Thanks Mosh, but that did not work. I think it is because there are several instances of
Code:
</if>
within each template before the last line of code in each.

The mod did work for all forums after I removed the conditional.

Thanks again,
Jbear6
Reply With Quote
  #81  
Old 07-06-2008, 03:54 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it and now it shows both imageshack and megauploader twice...any fix for this?
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 04:06 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.07576 seconds
  • Memory Usage 2,336KB
  • 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
  • (4)bbcode_code
  • (11)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