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
  #12  
Old 12-19-2005, 03:02 PM
esology esology is offline
 
Join Date: Mar 2005
Location: Alabama
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same error as the member above.

Database error in vBulletin 3.5.1:

Invalid SQL:
CREATE TABLE vb3_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. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ENGINE=MyISAM' at line 15 Error Number : 1064
Reply With Quote
  #13  
Old 12-19-2005, 03:55 PM
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
Posts: 356
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you run the query I provide as manual?
Reply With Quote
  #14  
Old 12-19-2005, 03:57 PM
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
Posts: 356
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Justice
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 ?
I have never done that. This system is permission based on usergroup id. It would take a lot of coding to bridge both forum.

Quote:
Originally Posted by COBRAws
great!

but I always have something to add/ask. It would be great if there was some kind of system to watermark uploaded pics.
Hehehe tried that but it didn't work well. I will have to dig in more.:nervous::nervous::nervous:

Quote:
Originally Posted by Kila_Bite
All I get is a blank white screen? What permissions should the media and meta files be set to?
Is your site down?
Reply With Quote
  #15  
Old 12-19-2005, 06:26 PM
aberg aberg is offline
 
Join Date: Jul 2004
Location: Netherlands
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stitch
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`)
)
Yes i can and i have done this but still the same error when i try to install the plug-in
Use PHP Version 4.3.2 dbase
Reply With Quote
  #16  
Old 01-22-2006, 06:10 AM
heeeh heeeh is offline
 
Join Date: Oct 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this plug-in that you do,have conflict with the window way of the enclosure!
help me!
please:
http://www.shebude.cn
thanks !
Reply With Quote
  #17  
Old 01-22-2006, 07:39 AM
Snatch Snatch is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to upload more then one file ?
Reply With Quote
  #18  
Old 01-22-2006, 09:23 AM
heeeh heeeh is offline
 
Join Date: Oct 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snatch
Is it possible to upload more then one file ?
No....
Reply With Quote
  #19  
Old 01-24-2006, 02:47 PM
mbader71 mbader71 is offline
 
Join Date: Jul 2005
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is really a great plugin,

I appreciate this man

Thank you
Reply With Quote
  #20  
Old 01-24-2006, 05:43 PM
Guest210212002
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by aberg
Yes i can and i have done this but still the same error when i try to install the plug-in
Use PHP Version 4.3.2 dbase
If your vB version is 3.0.3 as it says in your profile, that's the source of your problem.

How's this working on 3.5.3?

[high]* Guest210212002 clicks install to tag this for later.[/high]
Reply With Quote
  #21  
Old 01-26-2006, 04:13 AM
quanvo81 quanvo81 is offline
 
Join Date: Apr 2004
Location: Flushing - New York
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Moya, can you help me with this thread?
https://vborg.vbsupport.ru/showthread.php?t=106249
I think this is some kind of similar to your Hack
Thanks Moya
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 05:37 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.04821 seconds
  • Memory Usage 2,308KB
  • 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
  • (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
  • (2)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
  • (10)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