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?

Mosh 01-05-2009 06:25 PM

Quote:

Originally Posted by Corsan (Post 1701603)
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 


The only way I can see this happening is you mixing up the v3.7.x product file with the v3.8.x bitfield file. As the ms_imageshack_upload_permissions column is not being added to the user table. v3.7.x version of this hack does not include a bitfield file and does not create an extra column in the database.

What I suggest is that you to do the following (exactly):
  1. Delete bitfield_ms_imageshack_upload.xml from your /includes/xml folder.
  2. Uninstall the hack from your Product Manager
  3. Download and unzip ms_imageshack_upload_v3.8.002.zip to an entirely new location
  4. Upload bitfield_ms_imageshack_upload.xml from your /includes/xml folder.
  5. Import ms_imageshack_upload.xml into vB using the AdminCP Product Manager.
  6. In the Admin CP, select vBulletin Options -> Imageshack & MEGAUPLOAD Uploader, and change the size and colour settings for the imageshack and MEGAUPLOAD dialog boxes.
  7. In Usergroups -> Usergroup Manager, change the usergroup permissions for each usergroup individually to enable display locations (disabled by default)
That should fix the problem, if it does not let me know.

Darkstarproject 01-06-2009 02:02 AM

*Installed*

However, the Megauploader just shows how long it is taking, and sitting at 0KB uploaded... The file is a .tiff and only 38KB

Mosh 01-06-2009 09:09 AM

Quote:

Originally Posted by Darkstarproject (Post 1702897)
*Installed*

However, the Megauploader just shows how long it is taking, and sitting at 0KB uploaded... The file is a .tiff and only 38KB

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

Please note the above. This hack only integrates the dialog boxes for imageshack and megaupload uploaders, it does nothing with the dialog boxes, the dialog boxes are actually hosted on their respective websites. So, you will have to ask over at the megaupload for support in regards to this problem.

Cobra-J82 01-22-2009 04:01 AM

Because Megaupload support team is too busy to answer my 100s of requests
I hope someone can do it here
I have a premium account at megaupload
Im just wondering can I use my filebox here meaning giving acess to public?

Thanks
And I would realy love to use your mod :)

Del_Boy 01-22-2009 09:20 AM

Downloaded, installed and working perfectly!

Thannks

Vaupell 01-22-2009 09:46 AM

to much text to read,

installed and testing.. seems ok..

intporn 01-22-2009 05:17 PM

Will it be hard to convert this plugin to support rapidshare and imagebam instead?

Mosh 01-22-2009 07:11 PM

Quote:

Originally Posted by Cobra-J82 (Post 1720859)
Because Megaupload support team is too busy to answer my 100s of requests
I hope someone can do it here
I have a premium account at megaupload
Im just wondering can I use my filebox here meaning giving acess to public?

Thanks
And I would realy love to use your mod :)

This hack is not geared for Premium accounts, as I am not interested in paying for a premium account myself just to develop a version for that, and no one else is willing to allow me access to their premium account to look at adding it (I don't blame them, I don't think I would allow anyone access to it if I paid either). So, even though it is possible, it is very, very unlikely support for premium accounts will ever be added to this hack.

Mosh 01-22-2009 07:19 PM

Quote:

Originally Posted by intporn (Post 1721400)
Will it be hard to convert this plugin to support rapidshare and imagebam instead?

Rapidshare still has no facility to allow an uploads script like imageshack and megaupload to be embedded in a webpage, I have repeatedly said this over the last 2 years in all 3 versions of this hack.

Never heard of imagebam before I read this post, just had a look at it, same thing as rapidshare, it does not have a ready made facility to allow an upload script to be embedded in a webpage, although they have a developer api, you would have to write the embedded script from scratch and register for 2 different api keys, one for the developer and one for users (to be honest, not interested in registering for it), it is not something I am going in looking into at all.

RedHacker 01-23-2009 12:47 AM

Download\Install but not see this plugin..!!!Why...?

digicom 01-23-2009 11:10 PM

Thanks Installed :up:

Vaupell 01-30-2009 07:44 AM

okay uninstalled,

cause ewen if i set settings on/off they are all on.
dont know if its becourse of vba intergration but in anycase

all usergroups function as all options is on/yes ewen though imageshack is 100% disabled
and megaupload only should be availible in new posts its availible in both quick reply, pm and new posts.

Great idea, but prefer to be able to disable it for quick reply.

imaroot 01-30-2009 09:11 AM

if i have the premium account on megaupload can i integrate it with the addon?

Vaupell 01-30-2009 08:08 PM

Quote:

Originally Posted by Mosh (Post 1702529)
The only way I can see this happening is you mixing up the v3.7.x product file with the v3.8.x bitfield file. As the ms_imageshack_upload_permissions column is not being added to the user table. v3.7.x version of this hack does not include a bitfield file and does not create an extra column in the database.

What I suggest is that you to do the following (exactly):
  1. Delete bitfield_ms_imageshack_upload.xml from your /includes/xml folder.
  2. Uninstall the hack from your Product Manager
  3. Download and unzip ms_imageshack_upload_v3.8.002.zip to an entirely new location
  4. Upload bitfield_ms_imageshack_upload.xml from your /includes/xml folder.
  5. Import ms_imageshack_upload.xml into vB using the AdminCP Product Manager.
  6. In the Admin CP, select vBulletin Options -> Imageshack & MEGAUPLOAD Uploader, and change the size and colour settings for the imageshack and MEGAUPLOAD dialog boxes.
  7. In Usergroups -> Usergroup Manager, change the usergroup permissions for each usergroup individually to enable display locations (disabled by default)
That should fix the problem, if it does not let me know.

getting excaktly same error after uninstallation.
aparently it leaves something behind, preventing from usergroup creation
so reinstalled to create a user group. and uninstalling again when done.

Nadeemjp 02-09-2009 12:22 AM

good hack:)

Nadeemjp 02-10-2009 10:16 PM

wonderful hack paul:) good job

hoadnvse 02-11-2009 04:50 AM

Hi, when i try to install this mod, it's show that:
Quote:

A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:

* Bitfield Collision: canalwayspostmessage = canpostnonmembergroup

Nadeemjp 02-11-2009 08:33 AM

wonderful hack paul:) good job

Y-ZOOM 02-13-2009 03:26 AM

it's great

but megaupload not good

can you add more servers like zshare , filesend , sendspace , 4share, fileflyer and others

that will be a great mod

thanks a lot

RedTrinity 02-13-2009 08:30 AM

I can't get this to work :( The settings for this hack appear in the VB menu, but there's absolutely nothing in the usergroups related to it. I've tried clearing the cache for my browser but that hasn't worked either....

Would appreciate some support.

Mosh 02-18-2009 07:05 PM

Quote:

Originally Posted by GamerGirl27 (Post 1742680)
I can't get this to work :( The settings for this hack appear in the VB menu, but there's absolutely nothing in the usergroups related to it. I've tried clearing the cache for my browser but that hasn't worked either....

Would appreciate some support.

You need to upload bitfield_ms_imageshack_upload.xml to your /includes/xml folder for the usergroup permissions to show.

Mosh 02-18-2009 08:04 PM

Quote:

Originally Posted by hoadnvse (Post 1740469)
Hi, when i try to install this mod, it's show that:

Quote:

A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:

* Bitfield Collision: canalwayspostmessage = canpostnonmembergroup

You have some other hack that is conflicting, as this hacks bitfield file does not include either of the two bitfields in question.

itsheinz 02-19-2009 05:13 AM

Tahnks for this i already installed.

MAD-DOG 02-20-2009 06:44 AM

Image shack works good but MEGA UPLOAD when i press (s) = send file nothing happen ??

Mosh 02-20-2009 06:00 PM

Quote:

Originally Posted by MAD-DOG (Post 1749699)
Image shack works good but MEGA UPLOAD when i press (s) = send file nothing happen ??

The upload box embeds, so the hack is working, it is just the upload box is not sending, I do not control this at all, the upload box is hosted on the megaupload site, so you will have to ask there. See the below:
Quote:

Originally Posted by 1st Post
Hack Support - snippet

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


RedTrinity 02-21-2009 06:10 AM

Quote:

Originally Posted by Mosh (Post 1748331)
You need to upload bitfield_ms_imageshack_upload.xml to your /includes/xml folder for the usergroup permissions to show.

Already have done that - just checked and its there. But usergroup permissions are still not appearing.

Mosh 02-21-2009 08:49 AM

Quote:

Originally Posted by GamerGirl27 (Post 1750447)
Already have done that - just checked and its there. But usergroup permissions are still not appearing.

I can not recreate this problem, so I am going to have to look at your installation.

[s]If you want me to take a look then feel free to PM me your site address, a temp admin user (with admin permissions - Can Administer Settings for editing options, Can Administer Styles for editing templates, Can Administer Language Settings for editing phrases, Can Administer User Permissions to edit usergroups and finally Can Administer Plugins for editing products and plugins), and ftp access details, without these I can not help you. I will look when I have time, and even if I have a look, I can not guarantee that I will be able to fix it, so it is up to you what you want to do. You can revoke these after I have helped you out.

Let me know what you decide.[/s]

RedTrinity 02-21-2009 08:51 PM

I've PMed you. Cheers :)

Mosh 02-22-2009 04:47 AM

Quote:

Originally Posted by GamerGirl27 (Post 1750978)
I've PMed you. Cheers :)

I have had a quick look and sent you a reply PM.

Mosh 02-22-2009 07:44 PM

Quote:

Originally Posted by GamerGirl27 (Post 1750978)
I've PMed you. Cheers :)

All fixed up :)


All times are GMT. The time now is 05:47 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.01655 seconds
  • Memory Usage 1,881KB
  • 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
  • (2)bbcode_php_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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