vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Imageshack, MEGAUPLOAD & Photobucket Uploader (https://vborg.vbsupport.ru/showthread.php?t=196249)

Mosh 11-13-2008 10:00 PM

Imageshack, MEGAUPLOAD & Photobucket Uploader
 
1 Attachment(s)
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.

Bounce 11-14-2008 09:13 PM

How do users retrieve the files?:confused:

Mosh 11-15-2008 03:57 AM

Quote:

Originally Posted by hIBEES (Post 1665778)
How do users retrieve the files?:confused:

Quote:

Originally Posted by 1st Post
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

Once you have uploaded the file, you will be provided with a link to add to your post.

For further info regarding how Imageshack and MEGAUPLOAD work, refer to the quote above (this info is also in the 1st post, and I am only supporting the integration).

Bounce 11-15-2008 07:39 AM

Quote:

Originally Posted by Mosh (Post 1665923)
Once you have uploaded the file, you will be provided with a link to add to your post.

For further info regarding how Imageshack and MEGAUPLOAD work, refer to the quote above (this info is also in the 1st post, and I am only supporting the integration).

ah yes,sorry, thanks,must read the desc. afore posting :up:

Mosh 11-18-2008 10:22 PM

Update: v3.8.002
-- 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

Medtech 01-03-2009 01:08 AM

*INSTALLED*

Works great!! Thanks! MOTM....

Mosh 01-03-2009 04:22 AM

Quote:

Originally Posted by Medtech (Post 1699914)
*INSTALLED*

Works great!! Thanks! MOTM....

In that case, please click Mark as Installed.

Corsan 01-04-2009 07:26 PM

Hi! I get this error everytime i update usergroup settings 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 


Mosh 01-04-2009 07:48 PM

Quote:

Originally Posted by 1st Post
Hack Support - snippet

I will not be providing any support at all to people who have not clicked Mark as Installed.

Please read the above. This is in regards to all my supported hacks.

Corsan 01-05-2009 05:14 PM

Quote:

Originally Posted by Mosh (Post 1701632)
Please read the above. This is in regards to all my supported hacks.

Done ;).

Know what the problem is?


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02453 seconds
  • Memory Usage 1,787KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete