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)

se_p800 01-05-2008 06:24 PM

Thanks a lot :D

All is fine now. Except it wont except the extesion bmp even when I add it to the list??

jimjam 01-06-2008 06:33 PM

Suddenly we are getting file not found errors. The files are physically there, the downloads folder is 777 and all the files are 666. We installed VBSEO at around the time the downloads stopped working. Whould this have anything to do with some of the files not being found?

Thanks in anticipation

drpeppper 01-06-2008 11:11 PM

hi i just moved servers. all of the download links are telling me Error: File Not Found.
I know its correct because all of the thumbnails work, its just the download link to actual files.

Can someone please help?

cellow 01-07-2008 01:28 AM

Hi DownloadsII Users :)

If i change a Users nickname in vbulletin, the database tables of DownloadsII did not change. the column
dl_downloads.user
Code:

UPDATE `vb3_dl_downloads` SET `user` = "xyz" WHERE `userid` = 123
or
dl_files.uploader
Code:

UPDATE `vb3_dl_files` SET `uploader` = "xyz" WHERE `uploaderid` = 123
or
dl_comments.author
Code:

UPDATE `vb3_dl_comments` SET `author` = "xyz" WHERE `authorid` = 123
or
dl_images.uploader
Code:

UPDATE `vb3_dl_images` SET `uploader` = "xyz" WHERE `uploaderid` = 123
are existing with the old "username".

Is there any possibility to mass-update / mass-sync all nicknames in the DownloadsII tables with the actually existing nicknames in the vbulletin user table?


Thank you 4 ur support :)

loki-sama 01-07-2008 07:22 AM

I have this Mod, but I have noticed something with happening with it. I have it set up so that a member with less then 30 posts can only download one file per day. The thing is, I've notice that there are some people that are able to beat this and are downloading multiple files in a single day. How are they doing this, and how can I stop this from happening?

EDIT:
Also I have noticed that whenever we add a file, some files become unapproved, or unpinned. Is there a way to stop this as well?

se_p800 01-07-2008 06:58 PM

I know the amount of questions is accumulating so I am unlikely to get a answer, but is there anyway to get the thumbnails bigger?

Thanks

hugh_ 01-07-2008 07:21 PM

Could I suggest an optional captcha prompt (e.g: a random question) for every download?

Chazz Layne 01-07-2008 09:53 PM

I'm having trouble getting this going on a clean install of 3.6.8 (no other hacks... yet). The install went smoothly from what I can tell, but I kept getting the standard vB "nopermissions" when going to downloads.php even though I have set them several times. When I went back to do it again, I noticed all of them are back at the default "no" and continue to revert back to this. Obviously, the permissions I set are not making it into the database...

Chazz Layne 01-07-2008 11:24 PM

Well, it doesn't appear specific to this hack as I've just installed PhotoPlog and I'm getting the same problem for it's permissions. Hopefully, some commonality between the two will make the problem easier to find...

After a little more digging I'm finding it's a little more complex of a problem. I don't know how the number-value in the database is calculated from the form inputs, but that is probably where the problem is happening. I get a different outcome every time I try a different combination of permission-options... ranging from all yes, to all no, to completely random ...and some permission-options work just fine if they are the only ones changed.

The stock permission sets are unaffected by this, it's only these two (now) add-ons.

/me keeps digging...

maidos 01-08-2008 11:44 AM

Hello
im having a major issue due to high load im experiencing. The hosting company strongly recommended me to move all files to ftp as the cpu is being extremly drained and causong the server downtime almost everyday.

But the issue is that i cant rename all files to ftp since i have uploaded all files on admincp and import and theres no url for me to edit that :( please advice

hugh_ 01-08-2008 06:43 PM

Since upgrading from php4 to php5 I keep getting the following errors and very substantially the value of increasing wait_timeout and max_allowed_packet in my.cnf hasn't helped. Any thoughts? All help gratefully received of course...

Hugh

ps: IPs removed.

Database error in vBulletin 3.5.4:

Invalid SQL:

INSERT IGNORE INTO session
(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass)
VALUES
('aefad92623ce39d0197d87f57e914a60', 18587, 'xxx', '4164986e4a5501b76beee7e032910783', 1199823363, '/vbulletin/downloads.php?do=file&id=333&act=down', 0, 0, 0, 0, 0, 0, 0, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; SIMBAR=0; MEGAUPLOAD 2.0)', 0);

MySQL Error : MySQL server has gone away Error Number : 2006
Date : Tuesday, January 8th 2008 @ 02:37:58 PM
Script : http://www.xxx.com/vbulletin/downloa...d=333&act=down
Referrer : http://www.xxx.com/vbulletin/downloads.php?do=cat&id=19
IP Address : xxx
Username : xxx
Classname : vB_Database

maidos 01-09-2008 12:07 PM

beside what do u think about the feature to report dead links?

uydudoktoru 01-12-2008 08:58 AM

hello ! Upload Your Files To External Server setting ?

RS_Jelle 01-12-2008 01:40 PM

Quote:

Originally Posted by jimjam (Post 1416704)
Suddenly we are getting file not found errors. The files are physically there, the downloads folder is 777 and all the files are 666. We installed VBSEO at around the time the downloads stopped working. Whould this have anything to do with some of the files not being found?

Thanks in anticipation

Disable vBSEO and try again :)
I don't use vBSEO myself, so I don't know how it works with DownloadsII.

Quote:

Originally Posted by drpeppper (Post 1416823)
hi i just moved servers. all of the download links are telling me Error: File Not Found.
I know its correct because all of the thumbnails work, its just the download link to actual files.

Can someone please help?

Check the chmod of the downloads folder and ec_tmp subfolder. They should be 777 (writable). The files inside of the downloads folder should have a 666 chmod normally.

Quote:

Originally Posted by cellow (Post 1416870)
Hi DownloadsII Users :)

If i change a Users nickname in vbulletin, the database tables of DownloadsII did not change. the column
dl_downloads.user
Code:

UPDATE `vb3_dl_downloads` SET `user` = "xyz" WHERE `userid` = 123
or
dl_files.uploader
Code:

UPDATE `vb3_dl_files` SET `uploader` = "xyz" WHERE `uploaderid` = 123
or
dl_comments.author
Code:

UPDATE `vb3_dl_comments` SET `author` = "xyz" WHERE `authorid` = 123
or
dl_images.uploader
Code:

UPDATE `vb3_dl_images` SET `uploader` = "xyz" WHERE `uploaderid` = 123
are existing with the old "username".

Is there any possibility to mass-update / mass-sync all nicknames in the DownloadsII tables with the actually existing nicknames in the vbulletin user table?


Thank you 4 ur support :)

There's no mass update method for this at the moment. Running those queries manually is an option.

We should place a plugin in the AdminCP so it runs those queries after a username update.
[high]* RS_Jelle notes it down :)[/high]

Quote:

Originally Posted by loki-sama (Post 1416997)
I have this Mod, but I have noticed something with happening with it. I have it set up so that a member with less then 30 posts can only download one file per day. The thing is, I've notice that there are some people that are able to beat this and are downloading multiple files in a single day. How are they doing this, and how can I stop this from happening?

EDIT:
Also I have noticed that whenever we add a file, some files become unapproved, or unpinned. Is there a way to stop this as well?

  1. Check the "Use strict daily download limits." usergroup setting. Probably it's set to No and the amount of allowed MB's to download is a higher value (or unlimited, -1).
  2. That's controlled by the "Can Avoid Moderation Queue" usergroup permission.

Quote:

Originally Posted by se_p800 (Post 1417358)
I know the amount of questions is accumulating so I am unlikely to get a answer, but is there anyway to get the thumbnails bigger?

Thanks

That's not possible at the moment. You can change it in downloads.php, but this doesn't affect old thumbnails then (and you can't recount them at the moment like vB attachment thumbnails).

Quote:

Originally Posted by hugh_ (Post 1417916)
Since upgrading from php4 to php5 I keep getting the following errors and very substantially the value of increasing wait_timeout and max_allowed_packet in my.cnf hasn't helped. Any thoughts? All help gratefully received of course...

Hugh

ps: IPs removed.

Database error in vBulletin 3.5.4:

Invalid SQL:

INSERT IGNORE INTO session
(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass)
VALUES
('aefad92623ce39d0197d87f57e914a60', 18587, 'xxx', '4164986e4a5501b76beee7e032910783', 1199823363, '/vbulletin/downloads.php?do=file&id=333&act=down', 0, 0, 0, 0, 0, 0, 0, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; SIMBAR=0; MEGAUPLOAD 2.0)', 0);

MySQL Error : MySQL server has gone away Error Number : 2006
Date : Tuesday, January 8th 2008 @ 02:37:58 PM
Script : http://www.xxx.com/vbulletin/downloa...d=333&act=down
Referrer : http://www.xxx.com/vbulletin/downloads.php?do=cat&id=19
IP Address : xxx
Username : xxx
Classname : vB_Database

That query isn't created by DownloadsII, but by vBulletin (on each page). It's a server configuration problem.

Some documentation: http://www.vbulletin.com/docs/html/m...mysql_goneaway

ezurick 01-12-2008 02:37 PM

Installed and GREAT mod! I got a question...

I want to allow only a certain usergroup to use this... I call "Privleged Members" which is usergroupid=9. And I only want that usergroup to see the download link in the navbar... Is there way to put an if statement in there so only they see the link? Thanks...

RS_Jelle 01-12-2008 04:34 PM

Quote:

Originally Posted by ezurick (Post 1420156)
Installed and GREAT mod! I got a question...

I want to allow only a certain usergroup to use this... I call "Privleged Members" which is usergroupid=9. And I only want that usergroup to see the download link in the navbar... Is there way to put an if statement in there so only they see the link? Thanks...

Use this:
HTML Code:

<if condition="is_member_of($bbuseruserinfo, 9)">
<td class="vbmenu_control"><a href="downloads.php$session[sessionurl_q]">$vbphrase[ecdownloads_downloads]</a></td>
</if>

For multiple usergroups:
HTML Code:

<if condition="is_member_of($bbuseruserinfo, 9, 6, 5)">
<td class="vbmenu_control"><a href="downloads.php$session[sessionurl_q]">$vbphrase[ecdownloads_downloads]</a></td>
</if>


taheri6 01-12-2008 04:55 PM

[EDIT]
Problem Solved, my host messed up NTFS file permissions so the mod could no longer read teh files using the ANON user

rizelim 01-12-2008 08:50 PM

sorry!!!

lukedono 01-12-2008 11:01 PM

i don't know if any one asked this, but i'm getting an error in the adminCP.
i get this:

Parse error: syntax error, unexpected ']', expecting ',' or ';' in www/forum/admincp/downloadadmin.php on line 287

when i got to Categories, Import, and Downloads. is there a fix for this?

dtv100 01-13-2008 07:57 AM

1 Attachment(s)
today we find to errors .

cant upload any file and we dont have idea why .

also if you look in attach pic thats the error browser show now.

any idea what where to look .


things that change since last week we replaces apache with litespeed and turn off zend and update gars .



update:

I restore site to before I update gars and now is working again but still get error in attachment.

ezurick 01-13-2008 11:48 AM

Quote:

Originally Posted by RS_Jelle (Post 1420222)
Use this:
For multiple usergroups:
HTML Code:

<if condition="is_member_of($bbuseruserinfo, 9, 6, 5)">
<td class="vbmenu_control"><a href="downloads.php$session[sessionurl_q]">$vbphrase[ecdownloads_downloads]</a></td>
</if>


That's strange... I applied this multiple usergroups and I am the admin (usergroup=6) and I don't see it in the navbar when I go to my forum. Also, is there a way to shorten that vbphrase? My navbar is getting kinda packed with stuff... thanks so much!

rizelim 01-13-2008 04:51 PM

hello ! Upload Your Files To External Server setting ?

inciarco 01-13-2008 08:06 PM

Quote:

Originally Posted by RS_Jelle (Post 1411831)
That's because of the default upload limit of PHP.

You need to create a file named .htaccess (note the period in front of the name). Put the following two lines into the file:

Code:

php_value upload_max_filesize 30M
php_value post_max_size 30M

Upload the file into your forum directory (the same location where downloads.php is located.)

This will increase the size of the file you can upload to 30MB.

Great Advice!! :up::up::up:

It allows to Increase the FTP Upload Limit!! ;)

Thank You Very Much!! :up:

:)

Vinyljunky 01-14-2008 01:35 PM

This looks great :)

I currently use LDM for my downloads, how do the two compare?

With DownloadsII can I do the following:
- Restrict certain download groups (I want everyone to see them but only group Z to be able to download.
- Does anybody use this with VBSEO
- Are there stats for user and admin (Hot, new, most in catagory,.,,,,,)
- Integrate into VB search

Thanks

VinylJunky

Golzarion 01-14-2008 04:47 PM

Quote:

3. Change the permissions on the directory called 'downloads' (under your forum directory) making it writeable and executable (chmod 777) (Note for Advanced users: once you have installed the product, you also have the option to place the 'downloads' folder anywhere in your web server's path.)
how can I set the downloads directory above the document root.??

would you please tell me what I should write in admin cp ?

I mean what shold I write as the directory link ?

thx

CyberRanger 01-14-2008 05:00 PM

Quote:

Originally Posted by Golzarion (Post 1421324)
how can I set the downloads directory above the document root.??

That's not currently supported.

maidos 01-15-2008 07:22 PM

please reply on my previous msg

https://vborg.vbsupport.ru/showthrea...00#post1417700

i really need a feature to edit the links please

ezurick 01-15-2008 07:32 PM

Quote:

Originally Posted by ezurick (Post 1420605)
That's strange... I applied this multiple usergroups and I am the admin (usergroup=6) and I don't see it in the navbar when I go to my forum. Also, is there a way to shorten that vbphrase? My navbar is getting kinda packed with stuff... thanks so much!

Can I get help with this please?

CyberRanger 01-16-2008 12:28 AM

Quote:

Originally Posted by maidos (Post 1422094)
please reply on my previous msg

https://vborg.vbsupport.ru/showthrea...00#post1417700

i really need a feature to edit the links please

sorry but there's no feature to do this. If you've uploaded the file, you can't convert it into a linked file. You only option is to put the file somewhere else, then edit it's downloads page and put the new link in.

CyberRanger 01-16-2008 12:36 AM

Quote:

Originally Posted by ezurick (Post 1420605)
That's strange... I applied this multiple usergroups and I am the admin (usergroup=6) and I don't see it in the navbar when I go to my forum. Also, is there a way to shorten that vbphrase? My navbar is getting kinda packed with stuff... thanks so much!

little typo:
PHP Code:

<if condition="is_member_of($bbuseruserinfo, 9, 6, 5)"

should be

PHP Code:

<if condition="is_member_of($bbuserinfo, 9, 6, 5)"

if it's a vbphrase, simply search for the phrase (Language and Phrases -> Search in Phrases), find it, change it. :)

lukedono 01-16-2008 04:53 PM

sorry to be a bother, but can some one help? i keep getting an error in the downloadadmin.php file. it tells me there's a "
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' on line 287"

which is:
Code:

echo '<tr><td class="'.$class.'" rowspan="2"><input type="hidden" name="dir" value="
.$_POST['dir'].'" /><b>All Files</b><br /><i>(not filled out)</i></td><td class="'.$class.'"><b>File Name</b></td><td class="'.$class.'"><b>Author</b></td><td class="'.$class.'"><b>File Desc</b></td><td class="'.$class.'"><b>Category</b></td><td class="'.$class.'"><b>Pinned</b></td><td class="'.$class.'"><b>Import</b></td></tr>';

is there a way to fix this? i would be most greatfull for any help. thnx. i think the problem is value="
.$_POST['dir'].'" but i'm not sure how to fix it. anyone???

ezurick 01-16-2008 05:30 PM

Quote:

Originally Posted by CyberRanger (Post 1422271)
little typo:
PHP Code:

<if condition="is_member_of($bbuseruserinfo, 9, 6, 5)"

should be

PHP Code:

<if condition="is_member_of($bbuserinfo, 9, 6, 5)"

if it's a vbphrase, simply search for the phrase (Language and Phrases -> Search in Phrases), find it, change it. :)

Thanks... that worked!

CyberRanger 01-16-2008 08:58 PM

Quote:

Originally Posted by lukedono (Post 1422591)
sorry to be a bother, but can some one help? i keep getting an error in the downloadadmin.php file. it tells me there's a "
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' on line 287"

which is:
..

is there a way to fix this? i would be most greatfull for any help. thnx. i think the problem is value="
.$_POST['dir'].'" but i'm not sure how to fix it. anyone???

I've it's only happening when you try select the "Import" option, then you probably don't have the import directory set right. If it happens when you click on "Categories", then I suggest you download the product again and re-upload downloadadmin.php

lukedono 01-17-2008 03:04 AM

thnx, i'll give it a try again.

Praxis 01-17-2008 04:12 PM

Cool feature would be to have the script send the file to one of those online virus scanners of your choice to scan it. Best mod I have used by the way. Easy installation and very professional good work!

Golzarion 01-18-2008 06:13 PM

of course it's a very nice hack as I try before ..

I installed !!

But if a user upload a virus files ... there isn't a way for other users to report it ?

I mean it would be very useful if you put a report button in files download area.

thx

rayw 01-19-2008 02:48 AM

<font color="Silver">I've just noticed, having been using it for months now that there is no open to attach a file, more importantly an image.

Is there a was I can enable this?

Thanks!</font>

rayw 01-19-2008 02:55 AM

Oops... forget my last post, I found the setting in the Admin CP. Sorry! :)

yahoooh 01-19-2008 02:58 AM

i installed v 5.0.6

there is an additional query per file show in category

if i choose to show 20 files
it add 20 query

if i choose to show 25 files it will add 25 query and so on !

any help ?

REVHEAD 01-19-2008 07:01 AM

Can this mod have set forum permissions for usergroups?

I am seriously thinking about installing this.


All times are GMT. The time now is 05:15 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.03765 seconds
  • Memory Usage 1,871KB
  • 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
  • (10)bbcode_code_printable
  • (3)bbcode_html_printable
  • (4)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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