Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Images and Media Files Uploader Details »»
Images and Media Files Uploader
Version: 1.00, by Moya Moya is offline
Developer Last Online: Aug 2009 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 11-20-2005 Last Update: 11-20-2005 Installs: 27
Uses Plugins Template Edits
Additional Files  
No support by the author.

This is a port of this version HERE

What this script does is:

- Allow members to select a file-either images or music/media- from their local computer.

-Upload to the board's predifined directory, which can be generic for everyone or can be set for each user automatically.

- If the file is images, then it will the member url to add to the im bbcode

-If the file is media/music/video related, it will create a meta file that associated with the current uploaded file, and save to another directory. This meta will be used by the music bb code.

All Settings are done via admin cp.

Instructions:

Download and extract files to their appropriate directory

Upload the plugin.

Templates edit (2)

Open SHOWTHREAD template


Find

HTML Code:
$vbphrase[quote_message_in_reply]</label>
						</div>
					</fieldset>
				
				</td>
			</tr>
Add Under

HTML Code:
<tr>
<td>
<if condition="$show['medialoader']">
$mms[Multimedias]

</if>
</td>
</tr>
Open newthread template

Find

HTML Code:
<fieldset class="fieldset">
					<legend>$vbphrase[miscellaneous_options]</legend>
					<div> 
Add Above

HTML Code:
<if condition="$show['medialoader']">
$mms[Multimedias]

</if>
If you use this hack please click install, so that you can receive all script update notifications.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-21-2005, 05:59 PM
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
Posts: 356
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Image Attachement
Reply With Quote
  #3  
Old 11-21-2005, 09:37 PM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice.

/me clicks install
Reply With Quote
  #4  
Old 11-22-2005, 03:46 AM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great!

but I always have something to add/ask. It would be great if there was some kind of system to watermark uploaded pics.
Reply With Quote
  #5  
Old 11-22-2005, 03:50 AM
G-Force 199's Avatar
G-Force 199 G-Force 199 is offline
 
Join Date: Nov 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank stitch@aotrangmongmo.com
Clicked Install
Reply With Quote
  #6  
Old 12-10-2005, 06:52 PM
aberg aberg is offline
 
Join Date: Jul 2004
Location: Netherlands
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Get this error when import the xml file:

Database error in vBulletin 3.5.2:

Invalid SQL:
CREATE TABLE media_config (
locationid smallint(5) unsigned NOT NULL auto_increment,
fileurl varchar(200) NOT NULL default '',
realfilepath varchar(250) default '',
realstreamfilepath varchar(250) default '',
streamurl varchar(200) NOT NULL default '',
permitfilesize int(11) default 30720,
fileextension varchar(200) default '',
maxwidth int(11) default 0,
maxheight int(11) default 0,
userspecific int(11) default 0,
filewritemode int(11) default 0,
cleanupfilename int(11) default 0,
PRIMARY KEY (locationid)
) ENGINE=MyISAM;

MySQL Error : You have an error in your SQL syntax near 'ENGINE=MyISAM ' at line 15
Error Number : 1064
Reply With Quote
  #7  
Old 12-10-2005, 07:01 PM
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
Posts: 356
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What database version are you using?

Can you run the create table process manually with this

Code:
CREATE TABLE `media_config` (
  `locationid` smallint(5) unsigned NOT NULL auto_increment,
  `fileurl` varchar(200) NOT NULL default '',
  `realfilepath` varchar(250) default '',
  `realstreamfilepath` varchar(250) default '',
  `streamurl` varchar(200) NOT NULL default '',
  `permitfilesize` int(11) default '30720',
  `fileextension` varchar(200) default '',
  `maxwidth` int(11) default '0',
  `maxheight` int(11) default '0',
  `userspecific` int(11) default '0',
  `filewritemode` int(11) default '0',
  `cleanupfilename` int(11) default '0',
  PRIMARY KEY  (`locationid`)
)
Reply With Quote
  #8  
Old 12-10-2005, 07:12 PM
ReadOrDie ReadOrDie is offline
 
Join Date: Sep 2005
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Aw man. I thought this was a jukebox...I really need one.
Reply With Quote
  #9  
Old 12-13-2005, 02:56 AM
Justice's Avatar
Justice Justice is offline
 
Join Date: Oct 2001
Location: New Orleans
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible for something like this to work on a remote server?

like say.... forum.domain.com for the forum, and files stored on media.domain.com ?
Reply With Quote
  #10  
Old 12-17-2005, 08:22 AM
Kila_Bite Kila_Bite is offline
 
Join Date: Apr 2005
Location: UK
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All I get is a blank white screen? What permissions should the media and meta files be set to?
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 12:12 PM.


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.04889 seconds
  • Memory Usage 2,296KB
  • 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
  • (1)bbcode_code
  • (4)bbcode_html
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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