vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Files Upload Center - Upload Your Files To External Server (https://vborg.vbsupport.ru/showthread.php?t=113583)

beebi 04-22-2006 08:40 PM

<font size="4">sorry. I missed uploadercp.php :surprised:
you don't need to download it if you don't wanna used external server</font>

Ghanem 04-22-2006 08:53 PM

Quote:

Originally Posted by Makaveli105
that'd be nice.

This is my small modification and I am not a coder, Beebi might release another updated version with this feature, so you might consider waiting for him..

In file uploader.php, look for:
PHP Code:

<td align='center'><a href=" . $userfile['fileurl'] . " target='_blank' title='" . $userfile['file_name'] . "'>" . iif(strlen($userfile['file_name']) > 30 ,substr($userfile['file_name'], 0, 30) . "...", $userfile['file_name']) . "</a></td

Replace it with:

PHP Code:

<td align='center'><a href='" . $userfile['fileurl'] . "' target='_blank'><img border='0' src='". $userfile['fileurl'] ."' width='200' height='100'></a></td
<
td align='center'><a href='" . $userfile['fileurl'] . "' target='_blank' title='" . $userfile['file_name'] . "'>'" . iif(strlen($userfile['file_name']) > 30 ,substr($userfile['file_name'], 0, 30) . "...", $userfile['file_name']) . "'</a
<
br/><input type='text' name='link' size='50' onClick='this.focus();this.select()' value='" . $userfile['fileurl'] . "'></td

In Template uploader_files look for:
PHP Code:

<td width="50%">$vbphrase[file_name]</td

Add above it:
PHP Code:

<td width="40%">Image Thumbnail</td

Change the width of the four columns with what suits you..

Regards

beebi 04-22-2006 08:56 PM

Ghanem
thnx bro

Ghanem 04-22-2006 09:07 PM

Thx to you too, I have updated my post with your code :)

Makaveli105 04-23-2006 01:36 AM

thanks Ghanem :D using it on my site now

Johhhn 04-23-2006 03:13 AM

Just tried it on my local server (running OS X) running a copy of my forum and could never get it to work. I can see it creating an 'empty' file in my home folder (it actually never tries to upload it to 'uploaded' no matter where i put that folder), but that's it.

It creates that file and the browser just sits there waiting.

Any ideas?

beebi 04-23-2006 06:43 AM

in local server disable ALL FTP functions

Feckie (Roger) 04-23-2006 08:16 AM

Installed and working ty

Veer 04-23-2006 08:27 AM

Dear Beebi !!
uploading files on External Server NOT Working :(

look this screen:
https://vborg.vbsupport.ru/

and

https://vborg.vbsupport.ru/

Please tell me how does its work? or give some instructions / settings for External Server Uploads.

Thanks in advance.

kurtbarker 04-23-2006 09:09 AM

hey mate, how do I update... just reinstal the XML? any files need replacing?

thanks for the thumbnail edit Mr 'i'm not a coder', worked a treat.

beebi 04-23-2006 12:59 PM

Pehchaan
click install to get support

beebi 04-23-2006 01:00 PM

Quote:

Originally Posted by kurtbarker
hey mate, how do I update... just reinstal the XML? any files need replacing?

thanks for the thumbnail edit Mr 'i'm not a coder', worked a treat.

just upload uploader.php AND uploadercp.php AND reinstal the XML

r0ckstar 04-23-2006 01:17 PM

Quote:

(NEW) now you can upload your files to AN external server.
Does this mean your members can upload to rapidshare or similar file host?

Zachery 04-23-2006 01:26 PM

Quote:

Originally Posted by r0ckstar
Does this mean your members can upload to rapidshare or similar file host?

No, it means you can ftp files to another server for storage and retrival.

Iain M 04-23-2006 01:27 PM

How do you ban more than one usergroup?

i tried putting 8,16 i pressed Save and when i returned to the options just the 8 was saved.

CP1

wizardan 04-23-2006 01:47 PM

Wow... so far, so good.
Installed.

*edit*
Problems with .wav and .mp3 files...
I've increased max allowable size, and am testing with files well under the new limit...
The .wav audio file uploads up to the 2MB default limit, then cuts out.

Ideas?

Stop 04-23-2006 02:54 PM

Installed and works like a charm. I've been waiting for so long for such a hack but it's worth waiting.
I recommend you all to install it coz I don't think you would find better.
Thanks a lot beebi, The First Arabian Coder ;)

beebi 04-23-2006 03:11 PM

Quote:

Originally Posted by CP1
How do you ban more than one usergroup?

i tried putting 8,16 i pressed Save and when i returned to the options just the 8 was saved.


CP1

that option to move the user's group when her try to upload php,htm,cgi

in the usergroup
https://vborg.vbsupport.ru/attachmen...1&d=1145558328

beebi 04-23-2006 03:13 PM

Quote:

Originally Posted by wizardan
Problems with .wav and .mp3 files...
I've increased max allowable size, and am testing with files well under the new limit...
The .wav audio file uploads up to the 2MB default limit, then cuts out.


Quote:

2- don't you ever try to upload max then PHP Maximum Upload Size

https://vborg.vbsupport.ru/showpost....4&postcount=41

beebi 04-23-2006 03:24 PM

Is there phrases need to fixed, you can help me out

like

File upload center declarations to File Upload Center Permissions

beebi 04-23-2006 03:29 PM

Quote:

Originally Posted by Stop
Installed and works like a charm. I've been waiting for so long for such a hack but it's worth waiting.
I recommend you all to install it coz I don't think you would find better.
Thanks a lot beebi, The First Arabian Coder ;)

u r welcome ;)

wizardan 04-23-2006 04:54 PM

Yes Beebi, the max php upload size was the culprit.
My server people have adjusted it, and voila!
Works like a charm.

We're usuing this primarily for original music file uploads.
And since I wasn't able to debug the Jukebox hack, for some reason, your hack is just what the doctor ordered.

Thanks again.

GraphicPlanet 04-23-2006 06:00 PM

i have VBulletin V 3.5.4 and in local
we can install in local?

beebi 04-23-2006 07:29 PM

Quote:

Originally Posted by GraphicPlanet
i have VBulletin V 3.5.4 and in local
we can install in local?

https://vborg.vbsupport.ru/showpost....7&postcount=47

and don't forget install

beebi 04-23-2006 07:32 PM

Quote:

Originally Posted by wizardan
Yes Beebi, the max php upload size was the culprit.
My server people have adjusted it, and voila!
Works like a charm.

We're usuing this primarily for original music file uploads.
And since I wasn't able to debug the Jukebox hack, for some reason, your hack is just what the doctor ordered.

Thanks again.

Quote:

doctor ordered
waaaaaaaaw. isn't getting butter :D

Iain M 04-23-2006 08:04 PM

Quote:

Originally Posted by beebi
that option to move the user's group when her try to upload php,htm,cgi

in the usergroup
https://vborg.vbsupport.ru/attachmen...1&d=1145558328

ok, thnx :)

beebi 04-23-2006 09:06 PM

how to make ftp user via site's control panel

Open Your Cpanel ==> ftp manger
Attachment 46405

You will see a list choose "Ftp Accounts"
Attachment 46406

Then "Add Ftp Account"
Attachment 46407

password = enter your password
quota = unlimited (make sure it's unlimited)
directory = enter the full path to your "uploaded" folder like /home/"ur username that u use it to log in to the cpanel"/public_html/"your forum dir"/uploaded
Attachment 46408

Veer 04-23-2006 09:51 PM

Quote:

Originally Posted by beebi
Pehchaan
click install to get support

Installed :)

Quote:

Dear Beebi !!
uploading files on External Server NOT Working :(

Please tell me how does its work? or give some instructions / settings for External Server Uploads.

Thanks in advance.

beebi 04-24-2006 01:32 AM

make a user ftp
https://vborg.vbsupport.ru/showpost....&postcount=107

add it
and enable
External Server

in External Server URL
put the URL to the uploaded folder

yinyang 04-24-2006 01:45 AM

for the next version, can you create upload categories set by the admin? for our forum, this would be useful for having people upload their work product to the different projects we work on.

just a suggestion.

btw, excellent hack. installed smoothly and works great.

plateau 04-24-2006 05:47 AM

if would be better if it allows user to BUY the FTP upload and download permissions, which means relating this product to a Point System. :)

beebi 04-24-2006 03:20 PM

Quote:

Originally Posted by plateau
if would be better if it allows user to BUY the FTP upload and download permissions, which means relating this product to a Point System. :)

contact CMX_CMGSCCC

Delazar 04-24-2006 06:25 PM

Here the German translation file!

Best regards
derblack

beebi 04-24-2006 06:37 PM

thx derblack

been uploaded

Jay... 04-24-2006 07:58 PM

Hi beebi, ive installed this hack but seem to be having nothing but problems with it. all i get is 'you did not select a file' i have re-uploaded the newest version all files are within the PHP max upload. Just doesnt happen for me or my members!

Johhhn 04-24-2006 08:22 PM

Quote:

Originally Posted by beebi
in local server disable ALL FTP functions

What do you mean?

I have to have FTP Server turned on locally so that I can ftp to myself to test it.

I can't wait to get this working :)

beebi 04-24-2006 09:08 PM

Quote:

Originally Posted by Johhhn
What do you mean?

I have to have FTP Server turned on locally so that I can ftp to myself to test it.

I can't wait to get this working :)

no this isn't what I meant
https://vborg.vbsupport.ru/attachmen...6&d=1145558279

1- disable Create users private folders using FTP
2- disable External Server

beebi 04-24-2006 09:10 PM

Quote:

Originally Posted by Jay...
Hi beebi, ive installed this hack but seem to be having nothing but problems with it. all i get is 'you did not select a file' i have re-uploaded the newest version all files are within the PHP max upload. Just doesnt happen for me or my members!

ammmmmm...

I really need to take a close look to it

Johhhn 04-24-2006 09:35 PM

Quote:

Originally Posted by beebi
no this isn't what I meant
https://vborg.vbsupport.ru/attachmen...6&d=1145558279

1- disable Create users private folders using FTP
2- disable External Server

If I disable external server, then how can I ftp?

Even though my external server is 'internal', will I still be able to test out FTP this way?

ikomianos 04-24-2006 11:13 PM

Hi I cannot find the English version of product-uploader.xml file do you know where I can find it?

Thanks.


All times are GMT. The time now is 12:53 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.01699 seconds
  • Memory Usage 1,845KB
  • 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
  • (4)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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