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)

Digital Jedi 01-25-2010 09:00 PM

Quote:

Originally Posted by b6gm6n (Post 1966503)
Just wondered if anyone else has a problem with their custom style footer...? it's all bunched up, as if the whats-going-on has been broken, might be just the style... but it should not interfere with it right?

It shouldn't, but sometimes a mod will reveal layout problems in your HTML that wouldn't have shown up otherwise. Try running it through the validator: http://validator.w3.org

TheInsaneManiac 02-04-2010 02:48 AM

Great mod!

I have a few feature requests:
Is it possible so that when there is new content in the Downloads area the navigational link will turn red or display a small image that says "new" next to it?


Even though this modification is small that is found HERE:
https://vborg.vbsupport.ru/showthread.php?t=230008

I like a few of it's features and I'd like to see them in Downloads II:
Screenshots
Managing Moderated Files

Goomzee 02-04-2010 03:27 AM

anybody please tell me how do i make condition to user like at least 10 posts for downloads videos

RS_Jelle 02-04-2010 10:08 AM

Quote:

Originally Posted by TheInsaneManiac (Post 1974387)
Great mod!

I have a few feature requests:
Is it possible so that when there is new content in the Downloads area the navigational link will turn red or display a small image that says "new" next to it?


Even though this modification is small that is found HERE:
https://vborg.vbsupport.ru/showthread.php?t=230008

I like a few of it's features and I'd like to see them in Downloads II:
Screenshots
Managing Moderated Files

That's more someting to suggest for the vB4 version. I'm not planning any big updates on the vB3 version.

Quote:

Originally Posted by Goomzee (Post 1974407)
anybody please tell me how do i make condition to user like at least 10 posts for downloads videos

You can do this with usergroups. You can promote users to a different group when they reach the 10 posts.

TheInsaneManiac 02-04-2010 05:00 PM

Quote:

Originally Posted by RS_Jelle (Post 1974563)
That's more someting to suggest for the vB4 version. I'm not planning any big updates on the vB3 version.

I'll donate for the extra time you will be spending to port it from 4 to 3.8. I don't plan on upgrading to 4.0 I don't need it.


Quote:

Originally Posted by Goomzee (Post 1974407)
anybody please tell me how do i make condition to user like at least 10 posts for downloads videos

<if condition="$post['postcount'] == 10"></if>

That would be the conditional, you would just need to place it over the download buttons, or do what Jelle said and promote the users.

Goomzee 02-08-2010 03:39 AM

Quote:

Originally Posted by

<if condition="$post['postcount'
== 10"></if>

That would be the conditional, you would just need to place it over the download buttons, or do what Jelle said and promote the users.

cold you please tell me which template should i post this condition

Stanthrax 02-09-2010 08:44 PM

1 Attachment(s)
Here is a little tweak that replaces the upload and download text with icons within the postbit. You can see the number of uploads or downloads when you mouse over the icon. I credit post 3394 for the if statements so they only show when there is an upload or download.

Upload the attached icon files to your images/misc directory and replace everything in your downloads_memberinfo_postbit template with the following code.
Code:

<if condition="$post[downloads]>0"><img border="0" src="images/misc/16_icon_download.gif" width="16" height="16" alt="{$vbphrase['ecdownloads_downloads']}: $post[downloads]"></if>
<if condition="$post[uploads]>0"><img border="0" src="images/misc/16_icon_upload.gif" width="16" height="16" alt="{$vbphrase['ecdownloads_uploads']}: $post[uploads]"></if>

http://www.talkatropolis.com/gallery...bit_before.jpg http://www.talkatropolis.com/gallery...tbit_after.jpg

weedheaven 02-10-2010 08:04 AM

I am having a problem, after last time we imported the database from vb3.8 cause vb4 wasnt working really well for us. But now when i upload or want to download a file in the download section. It says ERROR: File not found While it does vieuw like it uploads it, when its redirected. I get the page as usual, when i click download i get : ERROR: File not found

How can i fix this, i never had this prob before. And for now i dont know a solution, or would a reinstall help? All is setup as it should. Linked files do download. But no files that where uploaded or what i am trying to upload.

Clayton 02-10-2010 08:34 AM

check your 777 for the downloads folder etc

I moved server and the same occurred to me

hope this helps

weedheaven 02-10-2010 10:12 AM

Quote:

Originally Posted by Clayton (Post 1978967)
check your 777 for the downloads folder etc

I moved server and the same occurred to me

hope this helps

Was already chmod 777 (so didnt helped me) as the right settings are set.

-edit- Problem solved

ec_tmp folder wasnt chmodded

Xencored 02-16-2010 06:34 PM

Quote:

Originally Posted by RS_Jelle (Post 1615688)
Try putting this line in your downloads.php (after the other defines):
PHP Code:

define('GET_EDIT_TEMPLATES''add,edit,file'); 


Thank mate :D

Goomzee 02-18-2010 03:52 AM

Quote:

Originally Posted by Goomzee (Post 1977175)
cold you please tell me which template should i post this condition

kindly replay this please

vidan 02-18-2010 09:14 PM

Hello, Rs_jelle and others,

can anyone tell me this downloadsII working with vbexperience,
so when a user download from downloadsII, his point(vbexperience) will be substract after download finish?
thank you

Thr33 02-19-2010 04:34 PM

how can i change the tab text from "Downloads"?

Digital Jedi 02-19-2010 08:23 PM

Looks like I'm getting that error message now that says I have exceeded the maximum file limit. I tried both fixes, but so far no go. Would either of you mind taking a look at my Admin CP and see if I'm missing something?

Netz 02-22-2010 03:19 PM

Hi.

The MOD is completing my link field with http:// how can I stop this to links elsewhere e.g. FTP or a link in a LAN?

gigglegirl 02-22-2010 06:36 PM

I'm getting this error:

Database error in vBulletin 3.8.4:

Invalid SQL:
SELECT * FROM vbdl_main;

MySQL Error : Table 'texters.vbdl_main' doesn't exist
Error Number : 1146
Request Date : Monday, February 22nd 2010 @ 12:34:01 PM
Error Date : Monday, February 22nd 2010 @ 12:34:01 PM
Script : http://***.com/***/admincp/downloada...hp?do=category
Referrer :
IP Address : *****
Username : ****
Classname : vB_Database
MySQL Version : 5.0.67-userstats-log

madotds 02-23-2010 01:45 PM

1 Attachment(s)
Sorry posted in wrong version.

Netz 02-24-2010 04:53 AM

Quote:

Originally Posted by Netz (Post 1988830)
Hi.

The MOD is completing my link field with http:// how can I stop this to links elsewhere e.g. FTP or a link in a LAN?

It's probably only one value to change. Does nobody have an idea?

Opus4 02-24-2010 05:20 PM

Is there a way to have files from excluded categories hidden from places such as the list of Latest Files? I am trying to create a hidden category, but the files in that category are still visible in other places -- the users can't download the files, but it is still visible so the category isn't really private. I've searched this topic & saw this mentioned before, but if there is a solution, I didn't see it.

RS_Jelle 02-24-2010 07:42 PM

Quote:

Originally Posted by Netz (Post 1988830)
Hi.

The MOD is completing my link field with http:// how can I stop this to links elsewhere e.g. FTP or a link in a LAN?

It should be ok for FTP. When it contains "ftp://", no "http://" is added.

It's in downloads.php:
PHP Code:

                // check for http on beginning of link or d/l won't work
                
if (strpos($newfilename"http://") === false AND strpos($newfilename"https://") === false AND strpos($newfilename"ftp://") === false)
                {
                    
$newfilename "http://".$newfilename;
                } 

Remove it if you don't want anything added. Or add an extra condition to it.

Quote:

Originally Posted by Opus4 (Post 1990551)
Is there a way to have files from excluded categories hidden from places such as the list of Latest Files? I am trying to create a hidden category, but the files in that category are still visible in other places -- the users can't download the files, but it is still visible so the category isn't really private. I've searched this topic & saw this mentioned before, but if there is a solution, I didn't see it.

It's on my todo list, but I'm only updating the vB4 version.

Opus4 02-24-2010 08:27 PM

Quote:

Originally Posted by RS_Jelle (Post 1990671)
It's on my todo list, but I'm only updating the vB4 version.

OK; thanks for the info.

Netz 02-26-2010 05:20 AM

Thanks, too!

abdulbasitsaeed 02-28-2010 03:44 AM

Dear RS_Jelle, is there any way to increase the number of characters displayed under "File" in the Downloads Log?

Currently, I think it is set at 20. :)

j1mmy 03-01-2010 12:58 AM

Is there any way to disable guests trying to upload a file altogether?

Also, why can't we mass delete or disapprove files?

RS_Jelle 03-01-2010 05:30 AM

Quote:

Originally Posted by abdulbasitsaeed (Post 1993407)
Dear RS_Jelle, is there any way to increase the number of characters displayed under "File" in the Downloads Log?

Currently, I think it is set at 20. :)

Change the size of the "file" field of the dl_downloads table (using phpMyAdmin). Currently it's set to 20 indeed.

Quote:

Originally Posted by j1mmy (Post 1994172)
Is there any way to disable guests trying to upload a file altogether?

Also, why can't we mass delete or disapprove files?

Guests can only upload if you give them those usergroup permissions.

Mass actions are possible, just use manage files.

archaosus 03-01-2010 05:33 PM

Quote:

Originally Posted by RS_Jelle (Post 1990671)
It's in downloads.php:
PHP Code:

                // check for http on beginning of link or d/l won't work
                
if (strpos($newfilename"http://") === false AND strpos($newfilename"https://") === false AND strpos($newfilename"ftp://") === false)
                {
                    
$newfilename "http://".$newfilename;
                } 

.

Would it be possible by changing the above to remove the "https://" to make the software call the file from an absolute path - thus allowing files to be stored subroot and linked to?

singsign 03-01-2010 06:08 PM

Getting this: Your server is running safe mode. You MUST manually create a folder named dl_tmp under your downloads folder. Be sure to change the permissions to 777. Made the new folder and changed the permissions, but it still shows the same thing. Any idea how to fix?

Er edit: this is for vb4 just saw you were posting in this thread and not the other.

j1mmy 03-06-2010 02:42 AM

Is it possible to move mass move files from one category to another? Or files from the root, to a sub-category?

Also, it is saying that there are a certain number of files in a cateogry, when in fact there is nothing in that category?

RS_Jelle 03-07-2010 08:45 AM

Quote:

Originally Posted by archaosus (Post 1994606)
Would it be possible by changing the above to remove the "https://" to make the software call the file from an absolute path - thus allowing files to be stored subroot and linked to?

Paths outside the vB folder aren't supported at the moment.

Quote:

Originally Posted by j1mmy (Post 1998174)
Is it possible to move mass move files from one category to another? Or files from the root, to a sub-category?

Also, it is saying that there are a certain number of files in a cateogry, when in fact there is nothing in that category?

1. Yes, you can do this with Manage Files (though not in 1 move, unless you change the "files per page" setting to a very high one). And when you delete categories it is asked to you to move the files (or to delete them).

2. Click the "Update Counters" button in Manage Files to fix it.

weedheaven 03-14-2010 10:11 AM

When i try to upload a file(3.8.5) I get now the message that a security token is missing. Any idea how to solve this. Already thanks

Black Tiger 03-14-2010 05:05 PM

You should try and use the "search this Mod" search option, it was asked a few times already.:)

But oke, the problem is in most cases that the file you try to upload is too big compared to the server (php.ini) settings.

Kadi 03-21-2010 02:53 PM

Thanks for this mod!!!

I have a question.

- I can't seem to find the word "Downloads:" (that appears on the table below each file) to translate it.


Thanks. :)

Panzer Max 03-21-2010 11:38 PM

Since we moved to a new server, we lost the ability to add a thumbnail image to downloads. It worked fine before we moved, so it could be a php issue. I searched this thread and found this guy had the problem but solved it (he did not explain how, thanks)
https://vborg.vbsupport.ru/showpost....postcount=3939

When we try to add a thumbnail, we get
Fatal error: Call to undefined function imagecreatefromjpeg() in /home/panzer/public_html/forum/downloads.php on line 838

We are also seeing a problem with the vB Albums, when we add a new picture, no thumbnail. The old pics all have thumbnails.

RS_Jelle 03-22-2010 07:23 AM

Quote:

Originally Posted by Kadi (Post 2007590)
Thanks for this mod!!!

I have a question.

- I can't seem to find the word "Downloads:" (that appears on the table below each file) to translate it.


Thanks. :)

It's the ecdownloads_downloads phrase (in the GLOBAL phrase type).

Quote:

Originally Posted by Panzer Max (Post 2007828)
Since we moved to a new server, we lost the ability to add a thumbnail image to downloads. It worked fine before we moved, so it could be a php issue. I searched this thread and found this guy had the problem but solved it (he did not explain how, thanks)
https://vborg.vbsupport.ru/showpost....postcount=3939

When we try to add a thumbnail, we get
Fatal error: Call to undefined function imagecreatefromjpeg() in /home/panzer/public_html/forum/downloads.php on line 838

We are also seeing a problem with the vB Albums, when we add a new picture, no thumbnail. The old pics all have thumbnails.

Have you got PHP's GD library installed? Check your PHP Info (AdminCP -> Maintenance) The imagecreatefromjpeg() function is part of it.
http://www.php.net/imagecreatefromjpeg

Panzer Max 03-22-2010 02:52 PM

Quote:

Originally Posted by RS_Jelle (Post 2007979)
It's the ecdownloads_downloads phrase (in the GLOBAL phrase type).



Have you got PHP's GD library installed? Check your PHP Info (AdminCP -> Maintenance) The imagecreatefromjpeg() function is part of it.
http://www.php.net/imagecreatefromjpeg

Excellent suggestion, I think that could be the problem. I checked the php info through the vB Maint/View php info and did not find any mention of imagecreatefromjpeg

Is the GD library tricky to add, Jelle?

thanks for your help and the great mod, it is the mainstay of our system.

RS_Jelle 03-22-2010 06:29 PM

Quote:

Originally Posted by Panzer Max (Post 2008166)
Excellent suggestion, I think that could be the problem. I checked the php info through the vB Maint/View php info and did not find any mention of imagecreatefromjpeg

Is the GD library tricky to add, Jelle?

thanks for your help and the great mod, it is the mainstay of our system.

It's not that difficult, but you need shell access for this.

Btw, you won't find the imagecreatefromjpeg function at the PHP info page. You need to look for a gd subtitle with parameters like "GD Support" and "GD Version" (and in your case also "JPG Support", which could be separately disabled, but that would be a really strange gd configuration).

golfing123 03-22-2010 07:26 PM

Hey everyone

Everytime i am done trying to upload something on this downloader hack

this error message comes up

The file(s) uploaded were too large to process.

so how can i fix it then

Speysider 03-22-2010 08:42 PM

You tell me Bryan.
It's obvious from the error what's wrong.

But of course, you make a support request, then don't bother to reply to the thread. Or, you don't click Install to get support.

Panzer Max 03-22-2010 09:21 PM

Quote:

Originally Posted by RS_Jelle (Post 2008291)
It's not that difficult, but you need shell access for this.

Btw, you won't find the imagecreatefromjpeg function at the PHP info page. You need to look for a gd subtitle with parameters like "GD Support" and "GD Version" (and in your case also "JPG Support", which could be separately disabled, but that would be a really strange gd configuration).


Thanks, Jelle, I have full shell access, what do I do? Or where should I start?

The php info does not have GD anything in it. :up:






Quote:

Originally Posted by golfing123 (Post 2008333)
Everytime i am done trying to upload something on this downloader hack this error message comes up The file(s) uploaded were too large to process. so how can i fix it then

Search here https://vborg.vbsupport.ru/showthrea...en#post1952774


All times are GMT. The time now is 03:19 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.04581 seconds
  • Memory Usage 1,864KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_php_printable
  • (24)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