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)
-   -   Major Additions - DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=120122)

jer2eydevil88 10-16-2007 04:21 PM

Thanks :-D that works.

I Googled it shortly after asking on here but still for those of us who are not accustomed to modding vbulletin it would be nice to have that in the readme.

maidos 10-16-2007 04:30 PM

also can u please answer my second msg

Stifmeister2 10-16-2007 07:47 PM

Quote:

Originally Posted by RS_Jelle (Post 1361657)
@Stifmeister2: Does it work for you?


Yes it does. :) Thanks! ;)

Black Tiger 10-17-2007 01:08 PM

I got a problem. I moved my site from servers and uploaded all the files which already were in Downloads II via FTP with the according numbers in the filename like: 15567-arioner.zip
There was a problem downloading via the site so my provider activated php-suexec and now downloads are possible but another error occurs.
When downloading files via the site, the zip and rar files have errors or a map in a rar file shows as a file.
When downloading via ftp however, the file comes in correctly.

So something must be wrong but I don't know what.
Files imported and uploaded either with ftp or via the web can be downloaded without problems.

So it looks as if the files which were already present before the server move, can't be downloaded without errors anymore. Is there a fix for this?
Did I forget something or did something wrong?

Edit: Just discovered another thing when clicking in the ACP on import, it says:
The absolute path to this script is /home/mydomain/domains/mydomain.org/public_html/bbs/admincp/
It should be /home/mydomain/public_html/bbs/admincp but i don't know where to change that.
Re-imported the downloads II product but that did not change anything... help?

maidos 10-17-2007 03:35 PM

also the scriptdoesnt work on the browser AOL please check it

Black Tiger 10-17-2007 04:02 PM

About my edit: No problem in the paths, I just discovered that they're both the same bot the second one is a symlink to the other one.
I would like however quick help with the download problems.

logofreax 10-17-2007 05:39 PM

Questions about Confirm on Deleting Files.

I read that at Version 5.0.4 there will be a Window which I have to confirm, when I am deleting Files. But at my Version 5.0.4 there is no one.

How can I activate it?

cu
logofreax

maidos 10-17-2007 07:17 PM

feature request: instead of restricting size limits can u instead set amount of download restrictioninstead ?

TheFixx 10-18-2007 01:30 AM

After looking through this Mod (great job btw!), I could not find the answer to my question, and did not feel like reading all 121 pages.... lol, anyway here is the question. What I would like to do is have the download section show another box, containing the actual URL. I am using this as a place for clan members to upload files and then embed them via bbcode into the actual forum.

Unfortunately I am still in the process of learning actual coding and this is beyond me for the time, so any help would be highly appreciated.

RS_Jelle 10-18-2007 05:44 AM

Quote:

Originally Posted by maidos (Post 1361672)
also can u please answer my second msg

I'm sorry, but I really don't understand the problem. I checked your downloads and I can see an Anime category. Categories can't disappear, or you should have deleted them (as that's the only existing query which can delete them).

Quote:

Originally Posted by Black Tiger (Post 1362309)
I got a problem. I moved my site from servers and uploaded all the files which already were in Downloads II via FTP with the according numbers in the filename like: 15567-arioner.zip
There was a problem downloading via the site so my provider activated php-suexec and now downloads are possible but another error occurs.
When downloading files via the site, the zip and rar files have errors or a map in a rar file shows as a file.
When downloading via ftp however, the file comes in correctly.

So something must be wrong but I don't know what.
Files imported and uploaded either with ftp or via the web can be downloaded without problems.

So it looks as if the files which were already present before the server move, can't be downloaded without errors anymore. Is there a fix for this?
Did I forget something or did something wrong?

Edit: Just discovered another thing when clicking in the ACP on import, it says:
The absolute path to this script is /home/mydomain/domains/mydomain.org/public_html/bbs/admincp/
It should be /home/mydomain/public_html/bbs/admincp but i don't know where to change that.
Re-imported the downloads II product but that did not change anything... help?

Check the chmod of newly uploaded files and compare it with the chmod of old, existing files in the downloads directory on your FTP. Possibly you didn't change the chmod of the files after moving servers.

Quote:

Originally Posted by maidos (Post 1362390)
also the scriptdoesnt work on the browser AOL please check it

I don't know if there's anyone else here using that browser to confirm this? I'm only testing with the major browsers: Firefox, Internet Explorer, Opera and Safari.
AOL Browser seems to be built upon Internet Explorer, so it should work normally. Normally all modern browsers should work with DownloadsII as we aren't using any exotic code.

Quote:

Originally Posted by logofreax (Post 1362505)
Questions about Confirm on Deleting Files.

I read that at Version 5.0.4 there will be a Window which I have to confirm, when I am deleting Files. But at my Version 5.0.4 there is no one.

How can I activate it?

cu
logofreax

That should work. Have you reverted all downloads templates to get the newest version of them (if you edited them)?

Quote:

Originally Posted by maidos (Post 1362589)
feature request: instead of restricting size limits can u instead set amount of download restrictioninstead ?

That's already an existing usergroup permission: "This is the maximum number of files that a user can download in one day. Set this to -1 for there to be NO limit."

Quote:

Originally Posted by TheFixx (Post 1362768)
After looking through this Mod (great job btw!), I could not find the answer to my question, and did not feel like reading all 121 pages.... lol, anyway here is the question. What I would like to do is have the download section show another box, containing the actual URL. I am using this as a place for clan members to upload files and then embed them via bbcode into the actual forum.

Unfortunately I am still in the process of learning actual coding and this is beyond me for the time, so any help would be highly appreciated.

You could edit the downloads_file template and add something like this:
HTML Code:

    <tr>
    <td class="alt1">Direct file link:</td>
    <td class="alt2" colspan="3" valign="middle" align="left"><input type="text" class="bginput" name="directlink" size="50" value="<if condition="$file['link']">{$directlink}<else />http://www.yoursite.com/downloads/{$directlink}</if>" /></td>
    </tr>

after:
HTML Code:

    <tr>
    <td class="alt1">{$vbphrase['ecdownloads_downloads']}:</td>
    <td class="alt2" colspan="3" valign="middle" align="left">{$file['downloads']}</td>
    </tr>

Change http://www.yoursite.com/downloads/ to your actual site/downloads folder url. Note that hotlinking can be problematic (everyone can link to the content on your server, so they are consuming your bandwidth).

Finally open downloads.php and find the second instance of:
PHP Code:

$downloads vb_number_format($file['downloads']); 

Add the following on the next line:
PHP Code:

$directlink htmlspecialchars_uni($file['url']); 

This is necessary for protection against an XSS security issue.

Black Tiger 10-18-2007 11:48 AM

@RSJelle: Ik checked the chmods, they were both the same. Even checked the file owner, they ware both satfun.
When the rights would not be ok, it would be impossible to download, but dowload is possible, only the downloaded files will be corrupted.
I just checked with files which were imported after the servermove and they are all the same, rights are rw-r--r-- and owner is satfun:satfun on all files.

maidos 10-18-2007 11:54 AM

also when you add the llinks the file url wont be cloaked as if you wouldimportthe files!
how can i do the samefor my other directory which is where i use to add links

also fdorsome reason myentire category is gone, but not entierly since i can access a file that were located at that directory that was supposed to be deleted but it still exist!!!!

it says thefile is on main downloadpage when i cant see a single file there

beside can you make a own section for moderator to import incase its not possible to cloak the url, since it seems on /downloads/ have a protection against reveealing the true url location

Yesbut please download AOL and see for your self

TheFixx 10-18-2007 12:45 PM

Quote:

Originally Posted by RS_Jelle (Post 1362873)
You could edit the downloads_file template and add something like this:
HTML Code:

    <tr>
    <td class="alt1">Direct file link:</td>
    <td class="alt2" colspan="3" valign="middle" align="left"><input type="text" class="bginput" name="directlink" size="50" value="<if condition="$file['link']">{$directlink}<else />http://www.yoursite.com/downloads/{$directlink}</if>" /></td>
    </tr>

after:
HTML Code:

    <tr>
    <td class="alt1">{$vbphrase['ecdownloads_downloads']}:</td>
    <td class="alt2" colspan="3" valign="middle" align="left">{$file['downloads']}</td>
    </tr>

Change http://www.yoursite.com/downloads/ to your actual site/downloads folder url. Note that hotlinking can be problematic (everyone can link to the content on your server, so they are consuming your bandwidth).

Finally open downloads.php and find the second instance of:
PHP Code:

$downloads vb_number_format($file['downloads']); 

Add the following on the next line:
PHP Code:

$directlink htmlspecialchars_uni($file['url']); 

This is necessary for protection against an XSS security issue.

Thanks :D I do have one issue with it though if you wouldn't mind taking a peek, I can set up an account for you with access to it. It's just showing up as "http://www.mysite.net/forum/downloads/" instead of "http://www.hostileint.net/forum/downloads/filename.ext" though.

VBORGUSER 10-18-2007 02:26 PM

How to get rid of the stats in Downloads II 5.0.5 please ?

Want to hide everything regarding quantity of downloads and data.

Any suggestion please ?

RS_Jelle 10-18-2007 04:50 PM

Quote:

Originally Posted by Black Tiger (Post 1363005)
@RSJelle: Ik checked the chmods, they were both the same. Even checked the file owner, they ware both satfun.
When the rights would not be ok, it would be impossible to download, but dowload is possible, only the downloaded files will be corrupted.
I just checked with files which were imported after the servermove and they are all the same, rights are rw-r--r-- and owner is satfun:satfun on all files.

Hmm, that's pretty strange then :p
New files work correctly, old files are corrupted, but they aren't if you download them using FTP. So the problem has to be something with the files in the downloads folder.

The chmod and owner of the old files is the only thing I can think about, but they are the same :(
I also did some server moves and doing a chmod/chown was the only thing I did to get it back to live.

Quote:

Originally Posted by maidos (Post 1363007)
also when you add the llinks the file url wont be cloaked as if you wouldimportthe files!
how can i do the samefor my other directory which is where i use to add links

also fdorsome reason myentire category is gone, but not entierly since i can access a file that were located at that directory that was supposed to be deleted but it still exist!!!!

it says thefile is on main downloadpage when i cant see a single file there

beside can you make a own section for moderator to import incase its not possible to cloak the url, since it seems on /downloads/ have a protection against reveealing the true url location

Linking to a file is something totally different than importing it. A link is ... well a link (file isn't stored on your server) and importing it is done on your server. Changing this behaviour isn't something we can do easily, so I can't give you five lines of PHP code to change for something big like this.
We do our best to give users what they want, but we can't code everything custom.

A category, like I said, doesn't disappear suddenly. The only way they go away is when you remove them using the AdminCP. Other, external reasons can be a corrupt table in your database for example, so try running a repair command on all your database tables for example.

Quote:

Originally Posted by TheFixx (Post 1363028)
Thanks :D I do have one issue with it though if you wouldn't mind taking a peek, I can set up an account for you with access to it. It's just showing up as "http://www.mysite.net/forum/downloads/" instead of "http://www.hostileint.net/forum/downloads/filename.ext" though.

That's strange. I tested it now and it works for me :p
Are you sure you've done the downloads.php edit correct (placed the code after the second instance of the code to find)? I've attached a pre-edited downloads.php, try uploading that one to be sure.
If that's not working, you can pm me an account so I can check it out.

Note that you need to change http://www.yoursite.com/downloads/ in the template edit to match your site details, so http://www.hostileint.net/forum/downloads/ for your site.

Quote:

Originally Posted by VBORGUSER (Post 1363083)
How to get rid of the stats in Downloads II 5.0.5 please ?

Want to hide everything regarding quantity of downloads and data.

Any suggestion please ?

AdminCP -> Downloads -> Settings -> Display "Tops" on all pages? -> No
That's a beginning to remove the left panel stats (most popular files, newest files and top contributors) on most pages.
Also set "Number of "Latest Files" to Display", "Number of "Most Popular Files" to Display" and "Number of "Top Contributors" to Display" to 0.

For hiding other statistics, you need to edit the downloads templates manually. For example remove
PHP Code:

   <tr align="center">
    <
td class="thead" colspan="4">
     <
span style="float:left">{$vbphrase['ecdownloads_downloads']}: {$dl->stats['downloads']}</span>
     <
span style="float:right"><phrase 1="{$dl->stats['files']}2="{$dl->stats['categories']}">{$vbphrase['ecdownloads_x_files_in_y_categories']}</phrase>.</span>
    </
td
   </
tr

from downloads_main.

VBORGUSER 10-18-2007 05:19 PM

To get rid of statistics :

AdminCP -> Downloads -> Settings -> Display "Tops" on all pages? -> No

This was logial, and had done that already, alltough i do not care about a top 5 or something like that ; nice feature :) if it does not show how many times it was downloaded.

Anyway, this is clear.

The only thing i don't want to be public is :

- how many files are downloaded
- how many data is used

So any referal to any page concerning quanties.

How can we get rid of that :up:

(editing the downloads_main did not solve it)

Thanks for your help !

maidos 10-18-2007 05:29 PM

actually the files is stored on the same server but in different directory, my uploaders just add the url on add my links..
the reason is because i got alot of uploaders and if theyuploadfrom the browser my server just die since im running on dedicated server and my /tmp/ is only set on 500mb, and since only admins can importthe file it would be a issue right?

what im telling is the /downloads/ request on php which cloak the real url when ppl download it using download managare what i want is that the script request on php on my other directorys aswell

Black Tiger 10-18-2007 05:37 PM

Quote:

New files work correctly, old files are corrupted, but they aren't if you download them using FTP. So the problem has to be something with the files in the downloads folder.
Exactly. I've read you tested it and had no problems. Could it maybe be so, that the other linux distro had a different filesize or something and that now the actual size differs from the on in the database which corrupts files when downloading via the browser?
I don't have clue if this is possible. But that's the only thing left I can think about.
I'll guess I have to reimport all my files again or something like that.:(

TheFixx 10-18-2007 06:19 PM

Quote:

Originally Posted by RS_Jelle (Post 1363197)
That's strange. I tested it now and it works for me :p
Are you sure you've done the downloads.php edit correct (placed the code after the second instance of the code to find)? I've attached a pre-edited downloads.php, try uploading that one to be sure.
If that's not working, you can pm me an account so I can check it out.

Note that you need to change http://www.yoursite.com/downloads/ in the template edit to match your site details, so http://www.hostileint.net/forum/downloads/ for your site.

You nailed it on the head, I put it after the first instance, I did change the url I just typed it out wrong in my post lol. It works like a charm :up::up:

logofreax 10-18-2007 07:47 PM

Now, I installed newest Version 5.0.5 but no Confirmation Window if I am deleting a File.

Whats wrong?

cu
logofreax

Black Tiger 10-19-2007 12:19 AM

@RS_Jelle:
The problem I have do not occur with all the old moved files. I just discovered that a file which gives a corruption notice when downloaded with IE6, does NOT give any problems when downloading with Firefox Portable.
So maybe the problem is lying in Internet Explorer 6 or one of the latest updates from windowsupdate for IE6.
Do you know of any incompatibility problems with IE6 and or linux/apache/php server settings needed for this to work well?

RS_Jelle 10-19-2007 11:56 AM

Quote:

Originally Posted by VBORGUSER (Post 1363212)
To get rid of statistics :

AdminCP -> Downloads -> Settings -> Display "Tops" on all pages? -> No

This was logial, and had done that already, alltough i do not care about a top 5 or something like that ; nice feature :) if it does not show how many times it was downloaded.

Anyway, this is clear.

The only thing i don't want to be public is :

- how many files are downloaded
- how many data is used

So any referal to any page concerning quanties.

How can we get rid of that :up:

(editing the downloads_main did not solve it)

Thanks for your help !

Ok, that's more clear :)

For the italic download amounts (most popular files), you need to edit the downloads_panel bit template and remove $value from it (then run the Update Counters feature to empty the cache of the left box stats).

Also edit downloads_file for the file page and remove
HTML Code:

    <tr>
    <td class="alt1">{$vbphrase['ecdownloads_downloads']}:</td>
    <td class="alt2" colspan="3" valign="middle" align="left">{$file['downloads']}</td>
    </tr>

for the amount of downloads.

For the amount of downloads on the category view, you need to do three template edits:
  1. Edit the downloads_cat template and remove
    HTML Code:

    <option value="downloads.php?do=cat&amp;id={$cleancatid}&amp;sort=downloads">{$vbphrase['ecdownloads_total_downloads']}</option>
    This removes the amount of downloads sorting method.
  2. Edit the downloads_cat_files template and remove
    HTML Code:

    <td class="thead" width="10%" align="center"><a href="./downloads.php?do=cat&amp;id={$cleancatid}&amp;sort=downloads" rel="nofollow">{$vbphrase['ecdownloads_downloads']}</a></td>
  3. Edit the downloads_cat_filebit template and remove
    HTML Code:

    <td class="$bgclass" valign="top" align="center" height="40"><span class="smallfont">{$file['downloads']}</span></td>

You need to do three template edits for the my files page (if users can upload files, otherwise you are the only one who can see stats there):
  1. Edit the downloads_my template and remove
    HTML Code:

    <td class="thead" width="17%">{$vbphrase['ecdownloads_downloads']}</td>
  2. Edit the downloads_my_bit template and remove
    HTML Code:

    <td class="$bgclass">{$file['downloads']}</td>

What do you mean with "how many data is used"? The file size, or the bandwidth counter?
For the last one, you need to edit downloads.php and remove
PHP Code:

<a href="./downloads.php?do=stats">'.$vbphrase['ecdownloads_stats'].'</a> | 

This will remove the navigation link to the stats page.

Quote:

Originally Posted by maidos (Post 1363222)
actually the files is stored on the same server but in different directory, my uploaders just add the url on add my links..
the reason is because i got alot of uploaders and if theyuploadfrom the browser my server just die since im running on dedicated server and my /tmp/ is only set on 500mb, and since only admins can importthe file it would be a issue right?

what im telling is the /downloads/ request on php which cloak the real url when ppl download it using download managare what i want is that the script request on php on my other directorys aswell

That would require some PHP surgery. It would need to detect the fact that a linked file contains your site url and then it would need to use the cloaked method.

Easier is to add a .htaccess file to block hotlinking. You can find a hotlink protection .htaccess generator here. Set the extensions of the big files your admins are uploading as the "Files To Protect" and upload the .htaccess to your alternative downloads folder.

Quote:

Originally Posted by logofreax (Post 1363305)
Now, I installed newest Version 5.0.5 but no Confirmation Window if I am deleting a File.

Whats wrong?

cu
logofreax

There's only a JavaScript deletion prompt on the file pages (for the file itself, comments and images). The Manage Files page hasn't got the prompt, so files will be deleted immediately if you are using that way.

Note that you need JavaScript enabled in your browser, but I don't think that's the problem :)

If it doesn't work on the file page, can you pm me a test account (with file deletion rights for DownloadsII), so I can check it out?

Quote:

Originally Posted by Black Tiger (Post 1363428)
@RS_Jelle:
The problem I have do not occur with all the old moved files. I just discovered that a file which gives a corruption notice when downloaded with IE6, does NOT give any problems when downloading with Firefox Portable.
So maybe the problem is lying in Internet Explorer 6 or one of the latest updates from windowsupdate for IE6.
Do you know of any incompatibility problems with IE6 and or linux/apache/php server settings needed for this to work well?

Can you pm me a test account for your site?

If you are doing your Windows Update correctly, you would normally get the newer Internet Explorer 7 (on Windows XP).

maidos 10-19-2007 12:09 PM

the hot link protection doesnt work when ppl use download manager...what i mean is the url location wiill be revealed

so the only option is what you say php surgery so please help me :(

maidos 10-19-2007 07:38 PM

is it possible to have rss feed on the downloads because its not possible with the rss feature installed on the forum already

Smooth Adam 10-21-2007 08:55 PM

Is it possible for the images to be resized before they are uploaded to the file's thread?

Black Tiger 10-21-2007 09:49 PM

@RSJelle: You forgot my question. Seems now more users with IE6 having problems downloading or better said that downloads work but will be downloaded incomplete c.q. with errors.

maidos 10-22-2007 06:27 AM

i also get reported errors like black tiger

doobiefillin 10-22-2007 06:19 PM

this is a noob question but how can i go about doing: Change the permissions on the directory called 'downloads' making it writeable and executable (chmod 777)

as well as: Create directories in the 'Categories' menu under the 'Downloads' in your admincp

everything else is working fine. thanks

neopet001 10-23-2007 02:22 AM

Quote:

Originally Posted by CyberRanger
Here are our plans for future versions:

* Vastly enhanced permissions by usergroup and category
* Multiple files per entry

Thanks for this, because we want to distribute movies but each of them usually has over 2 links (2 parts to join) so we are waiting for your next version.
Click installed and vote 5*.
Cheers

TB Poptarts 10-23-2007 03:20 AM

I was wondering where I go in Downloads II so I can edit how large of a file people can upload...

Because for some odd reason.. I'm unable to upload .wmv or .avi.. and i've edited it for these file extentions.. but it just loads for a long time and then it makes the page reload after its done and gives me blank boxes as if i never typed anything to be uploaded...

actually.. is there a way i can edit it so.. files that are large can be uploaded? i think that's the problem

Can I get some help there? ^^;

RS_Jelle 10-23-2007 05:03 AM

Quote:

Originally Posted by Smooth Adam (Post 1365410)
Is it possible for the images to be resized before they are uploaded to the file's thread?

If it's a question about the DownloadsII Create New Thread Add-On, you better ask it there to keep things together. But I don't think that add-on can display the uploaded images in the newly created threads? Only if you use the IMG button to set them in the file description, they will be transfered also to the thread, but that's logical (then you need to use an image resizer like this one for your forum).

Quote:

Originally Posted by Black Tiger (Post 1365453)
@RSJelle: You forgot my question. Seems now more users with IE6 having problems downloading or better said that downloads work but will be downloaded incomplete c.q. with errors.

I didn't forget it. I answered in this post (after the last quote) :)

Quote:

Originally Posted by doobiefillin (Post 1366111)
this is a noob question but how can i go about doing: Change the permissions on the directory called 'downloads' making it writeable and executable (chmod 777)

as well as: Create directories in the 'Categories' menu under the 'Downloads' in your admincp

everything else is working fine. thanks

You need to chmod the downloads folder (which is one of the files/folders you need to upload before to your forums ftp) to 777 permissions with your FTP-program, so PHP can upload files to it. Chmod is explained for example here and here.

Quote:

Originally Posted by TB Poptarts (Post 1366450)
I was wondering where I go in Downloads II so I can edit how large of a file people can upload...

Because for some odd reason.. I'm unable to upload .wmv or .avi.. and i've edited it for these file extentions.. but it just loads for a long time and then it makes the page reload after its done and gives me blank boxes as if i never typed anything to be uploaded...

actually.. is there a way i can edit it so.. files that are large can be uploaded? i think that's the problem

Can I get some help there? ^^;

PHP has got an upload limit, that's probably the problem. It's a common issue :)
If you have full server access, you can edit your php.ini (PHP configuration file) and edit the size there manually. If you are on a shared server, you can put a .htaccess file in your forums directory (where you can find downloads.php) with the following content:
Code:

php_value upload_max_filesize 25M
php_value post_max_size 25M

Ofcourse you can change the 25MB to what you want. It overrides the php.ini setting.

maidos 10-23-2007 09:01 AM

oknow its damn odd, remember when i said my whole category is gone? well it seems some more members are downloading inside that lost category, i did the repair on admincp but it doenst wrok, all of my files is their but not visible can you just pleaseeee check it on my site...

kevcj 10-23-2007 11:46 AM

Quote:

Originally Posted by TB Poptarts (Post 1366450)
I was wondering where I go in Downloads II so I can edit how large of a file people can upload...

Because for some odd reason.. I'm unable to upload .wmv or .avi.. and i've edited it for these file extentions.. but it just loads for a long time and then it makes the page reload after its done and gives me blank boxes as if i never typed anything to be uploaded...

actually.. is there a way i can edit it so.. files that are large can be uploaded? i think that's the problem

Can I get some help there? ^^;

To get around the blank screen, zip the files and then upload then via FTP. Then add the new file in the downloads menu and input the url.

I was having the same exact problem as you, zipping the files and uploading with FTP fixed the issues. My members are happy they can download my movies, and I am happy that they can.

Just so everyone will know, my movies are made by me. I have a youtube channel with over 100 of my own videos - so my site is not hosting any warez.

I have people sign up just to download files, this add-on extends my website by another whole layer.

Thank you Cyber Ranger, this is a great add-on!!!

TB Poptarts 10-23-2007 02:39 PM

Quote:

Originally Posted by RS_Jelle (Post 1366486)
If it's a question about the DownloadsII Create New Thread Add-On, you better ask it there to keep things together. But I don't think that add-on can display the uploaded images in the newly created threads? Only if you use the IMG button to set them in the file description, they will be transfered also to the thread, but that's logical (then you need to use an image resizer like this one for your forum).



I didn't forget it. I answered in this post (after the last quote) :)



You need to chmod the downloads folder (which is one of the files/folders you need to upload before to your forums ftp) to 777 permissions with your FTP-program, so PHP can upload files to it. Chmod is explained for example here and here.



PHP has got an upload limit, that's probably the problem. It's a common issue :)
If you have full server access, you can edit your php.ini (PHP configuration file) and edit the size there manually. If you are on a shared server, you can put a .htaccess file in your forums directory (where you can find downloads.php) with the following content:
Code:

php_value upload_max_filesize 25M
php_value post_max_size 25M

Ofcourse you can change the 25MB to what you want. It overrides the php.ini setting.


Where could I find that code in the php.ini or downloads.php?

I'm still looking for it. x.x



Edit 1: All I found was this

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
file_uploads = On ; Whether to allow HTTP file uploads
;upload_tmp_dir = ; temporary directory for HTTP uploaded files (will use system default if not specified)
upload_max_filesize = 200M ; Maximum allowed size for uploaded files

I changed it from 2M to 200M

That still didn't make a difference.. this was in the php.ini


Edit 2: I've found the post_max_filesize now.. and i made that 200M.. im going to try it now and see what happens

TB Poptarts 10-23-2007 03:23 PM

That didn't fix my problem. ;.;

TB Poptarts 10-23-2007 04:09 PM

Quote:

Originally Posted by kevcj (Post 1366692)
To get around the blank screen, zip the files and then upload then via FTP. Then add the new file in the downloads menu and input the url.

I was having the same exact problem as you, zipping the files and uploading with FTP fixed the issues. My members are happy they can download my movies, and I am happy that they can.

Just so everyone will know, my movies are made by me. I have a youtube channel with over 100 of my own videos - so my site is not hosting any warez.

I have people sign up just to download files, this add-on extends my website by another whole layer.

Thank you Cyber Ranger, this is a great add-on!!!

I did it this way and it worked.. but.... i wanted to make it so.. not only i could get my own files up, but my clan members could upload things too.. i want to get the uploading files thing to work. ;P

vrom 10-23-2007 06:27 PM

I have a strange problem, after turning on my vbseo custom rules, written by vbseo stuff, specially for downloadsII plugin. I got an error "invalid file id" and "invalid category id", when i open any file or any category...
But really several days ago thet rules worked good
What can i do?

doobiefillin 10-23-2007 10:36 PM

thanks for the reply :)

Q1: i'm having another program. i did everything in the installation instructions and i went to upload a test file and it wouldn't let me upload a flash file or a wma file. i allowed those types of file extensions in the file manager but still nothing :S

Q2: is there any way i can link the Top 5 uploaded files onto my homepage? thanks a lot.

maidos 10-24-2007 05:42 AM

llol yeah i often get blank page aswell when i import files if its big one,,,

Khalid-B 10-24-2007 10:49 AM

i installed it but there is no option in ACP side bar options to make categories.....


All times are GMT. The time now is 01:48 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.07881 seconds
  • Memory Usage 1,957KB
  • 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_code_printable
  • (10)bbcode_html_printable
  • (6)bbcode_php_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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