vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - [DBTech] vBDownloads v2 (vB4) [AJAX] (https://vborg.vbsupport.ru/showthread.php?t=252497)

Alucard^ 10-30-2010 12:33 PM

Quote:

Originally Posted by DragonByte Tech (Post 2113984)
Upload the following file and run it. That should give you an idea of what your path will look like. Also, make sure the folder you are referencing actually exists.

- David

Didn't understand at all this, where i should upload that checkdir.php? i tested inside the forum folder but say only "DIR".

Thanks.

DragonByte Tech 10-30-2010 01:34 PM

Quote:

Originally Posted by Alucard^ (Post 2116027)
Didn't understand at all this, where i should upload that checkdir.php? i tested inside the forum folder but say only "DIR".

Thanks.

Upload to your forum root and then just go to http://www.YOURSITE.com/forum/checkdir.php

That should show you the path to your forum.

NOTE: On some Unix variants, getcwd() (the function used in checkdir.php) will return FALSE if any one of the parent directories does not have the readable or search mode set, even if the current directory does.

I hope this helps. If that file fails, you could contact your hosting company and ask them for the path. They most likely will be able to provide it for you.

- David

DragonByte Tech 10-30-2010 05:28 PM

Updated to 1.1.0:

New Features:
- Flash Uploading ***
- Sub-Categories ***
- Improved Importer

Note: Those marked with *** are Pro only features.

- David

x9751 10-30-2010 06:33 PM

Quote:

Originally Posted by DragonByte Tech (Post 2116024)
After you download the files, you should see a folder called integration. Open that and install the xml file in the folder via your AdminCP. You should then have the actions available in vBCreditsII.

- David

Hmm I don't see a folder called integration? It says it is a light feature so i know its not that... Or am i just blind.

TeknoSounds 10-30-2010 06:51 PM

Flash uploading? could you provide some more details? :)

Alucard^ 10-31-2010 12:39 AM

Quote:

Originally Posted by DragonByte Tech (Post 2116037)
Upload to your forum root and then just go to http://www.YOURSITE.com/forum/checkdir.php

That should show you the path to your forum.

NOTE: On some Unix variants, getcwd() (the function used in checkdir.php) will return FALSE if any one of the parent directories does not have the readable or search mode set, even if the current directory does.

I hope this helps. If that file fails, you could contact your hosting company and ask them for the path. They most likely will be able to provide it for you.

- David

Are you sure that this is the correct code of this file?

PHP Code:

<?php

echo DIR;

?>

There isn't nothing called "getcwd()" in the code.

Sry for my english.

Taurus1 10-31-2010 12:57 AM

Quote:

Originally Posted by DragonByte Tech (Post 2114024)
I'll get that fixed soon.

- David

Any update on when this will get fixed? It is really annoying. It leaves the comments in a mess. And I can not even edit it. It looks even worst after editing.

Thank you.

Quote:

And when I add a description, it displays this after I save it:

AlienWare Icon Pack With Installer, Blue 64bit systems&amp;amp;amp;lt;br&amp;amp;amp;gt;

With all these...amp, etc at the back. Does not matter if I edit it.

DragonByte Tech 10-31-2010 12:06 PM

1 Attachment(s)
Quote:

Originally Posted by Alucard^ (Post 2116232)
Are you sure that this is the correct code of this file?

PHP Code:

<?php

echo DIR;

?>

There isn't nothing called "getcwd()" in the code.

Sry for my english.

Ahh, that was the old file. Forgot that I had updated it :P Try the one attached to this post.

Quote:

Originally Posted by TeknoSounds (Post 2116138)
Flash uploading? could you provide some more details? :)

This will basically allow you to track the time it will take until your files will be uploaded with a progress bar. This is handy for larger files especially.

Quote:

Originally Posted by x9751 (Post 2116132)
Hmm I don't see a folder called integration? It says it is a light feature so i know its not that... Or am i just blind.

I seem to have left it out. I'll update the files now and you should have the folder.

Quote:

Originally Posted by Taurus1 (Post 2116236)
Any update on when this will get fixed? It is really annoying. It leaves the comments in a mess. And I can not even edit it. It looks even worst after editing.

Thank you.

It should be fixed in the version I have just released. Could you upgrade to that and try it. If that fails, could you PM me admin access to your site.

- David

AURFSCAN 10-31-2010 02:36 PM

Hi dbtech...

Install - good
Import from dlII - good

Configure catagories - bad... click save and get this.

this error after adding a 'test' category and same error for configuring an Imported category

thx


PHP Code:



Database error in vBulletin 4.0.8
:

Invalid SQL:

        
INSERT INTO dbtech_downloads_categories (catnamecatdescextgroupids, private, passwordmoderationpermissionsparentid)
        
VALUES    (
                    
'test',
                    
'test',
                    
'2',
                    
'0',
                    
'0',
                    
'',
                    
'a:3:{s:4:"view";a:1:{i:0;i:6;}s:8:"download";a:1:{i:0;i:6;}s:6:"upload";a:1:{i:0;i:6;}}',
                    
0
                
);

MySQL Error   Unknown column 'parentid' in 'field list'
Error Number  1054
Request Date  
MondayNovember 1st 2010 02:28:44 AM
Error Date    
MondayNovember 1st 2010 02:28:44 AM
Script        
http://www.********.com.au/admincp/vbdownloads.php?do=doaddcategory
Referrer      http://www.********.com.au/admincp/vbdownloads.php?do=addcategory
IP Address    : ************
Username      : *******
Classname     vB_Database
MySQL Version 
5.0.90-community-log 


DragonByte Tech 10-31-2010 04:05 PM

Quote:

Originally Posted by AURFSCAN (Post 2116376)
Hi dbtech...

Install - good
Import from dlII - good

Configure catagories - bad... click save and get this.

this error after adding a 'test' category and same error for configuring an Imported category

thx


PHP Code:



Database error in vBulletin 4.0.8
:

Invalid SQL:

        
INSERT INTO dbtech_downloads_categories (catnamecatdescextgroupids, private, passwordmoderationpermissionsparentid)
        
VALUES    (
                    
'test',
                    
'test',
                    
'2',
                    
'0',
                    
'0',
                    
'',
                    
'a:3:{s:4:"view";a:1:{i:0;i:6;}s:8:"download";a:1:{i:0;i:6;}s:6:"upload";a:1:{i:0;i:6;}}',
                    
0
                
);

MySQL Error   Unknown column 'parentid' in 'field list'
Error Number  1054
Request Date  
MondayNovember 1st 2010 02:28:44 AM
Error Date    
MondayNovember 1st 2010 02:28:44 AM
Script        
http://www.********.com.au/admincp/vbdownloads.php?do=doaddcategory
Referrer      http://www.********.com.au/admincp/vbdownloads.php?do=addcategory
IP Address    : ************
Username      : *******
Classname     vB_Database
MySQL Version 
5.0.90-community-log 


Hrm, thought I had that fixed in the version I just released. Let me check and make sure I have the right files included.

- David

DragonByte Tech 10-31-2010 09:03 PM

If you are getting the 'unknown column parentid' error, please run the following query:

[SQL]
ALTER TABLE {YOUR TABLE PREFIX}dbtech_downloads_categories ADD COLUMN parentid INT(10) unsigned NOT NULL DEFAULT '0'[/SQL]
Make sure to replace {YOUR TABLE PREFIX} with your table prefix.


I will have the files updated soon with a fix to this but if you are already on 1.1.0 you will need to run this.

- David

drsmash 10-31-2010 10:45 PM

i have Problem with UTF database the arabic names like this
Quote:

????? ??????? ? ??????

TeknoSounds 11-01-2010 04:12 AM

Oh another feature request I remembered :)

Tags and prefixes

AURFSCAN 11-01-2010 06:10 AM

Quote:

Originally Posted by DragonByte Tech (Post 2116523)
If you are getting the 'unknown column parentid' error, please run the following query:

[SQL]
ALTER TABLE {YOUR TABLE PREFIX}dbtech_downloads_categories ADD COLUMN parentid INT(10) unsigned NOT NULL DEFAULT '0'[/SQL]
Make sure to replace {YOUR TABLE PREFIX} with your table prefix.


I will have the files updated soon with a fix to this but if you are already on 1.1.0 you will need to run this.

- David

Thx David that fixed that.... but

when clicking a file link to download the file, it just shows the 'no image' pic

eg. vbdownloads.php?fileid=85&do=file just displays a new page with the 'no image' pic

cheers, lookin good

CoZmicShReddeR 11-01-2010 06:41 AM

Quote:

Originally Posted by AURFSCAN (Post 2116376)
Hi dbtech...

Install - good
Import from dlII - good

Configure catagories - bad... click save and get this.

this error after adding a 'test' category and same error for configuring an Imported category

thx


PHP Code:



Database error in vBulletin 4.0.8
:

Invalid SQL:

        
INSERT INTO dbtech_downloads_categories (catnamecatdescextgroupids, private, passwordmoderationpermissionsparentid)
        
VALUES    (
                    
'test',
                    
'test',
                    
'2',
                    
'0',
                    
'0',
                    
'',
                    
'a:3:{s:4:"view";a:1:{i:0;i:6;}s:8:"download";a:1:{i:0;i:6;}s:6:"upload";a:1:{i:0;i:6;}}',
                    
0
                
);

MySQL Error   Unknown column 'parentid' in 'field list'
Error Number  1054
Request Date  
MondayNovember 1st 2010 02:28:44 AM
Error Date    
MondayNovember 1st 2010 02:28:44 AM
Script        
http://www.********.com.au/admincp/vbdownloads.php?do=doaddcategory
Referrer      http://www.********.com.au/admincp/vbdownloads.php?do=addcategory
IP Address    : ************
Username      : *******
Classname     vB_Database
MySQL Version 
5.0.90-community-log 


Same here!

daveb47 11-01-2010 08:57 AM

Can lite be upgraded to pro without losing anything??

Also urgently need either Post to thread on upload or vbadvanced module for new uploads.
Thanx

DragonByte Tech 11-01-2010 06:30 PM

Quote:

Originally Posted by Myster Dude (Post 2116672)
Can lite be upgraded to pro without losing anything??

Also urgently need either Post to thread on upload or vbadvanced module for new uploads.
Thanx

No data is lost on upgrading :) I'll be releasing another update soon. I'm planning on adding a post to thread option with it. Let me know if you require any more assistance.

- David

x9751 11-01-2010 08:59 PM

Okay i got it integrated and i am assuming i set an event in vBcredits?

DragonByte Tech 11-01-2010 09:54 PM

Quote:

Originally Posted by x9751 (Post 2116911)
Okay i got it integrated and i am assuming i set an event in vBcredits?

You assume correctly :D

- David

AURFSCAN 11-01-2010 10:51 PM

David,

any idea as why a file wont dowload?

post 24:

when clicking a file link to download the file, it just shows the 'no image' pic

eg. vbdownloads.php?fileid=85&do=file just displays a new page with the 'no image' pic

drsmash 11-02-2010 03:09 PM

Quote:

Originally Posted by drsmash (Post 2116562)
i have Problem with UTF database the arabic names like this

any Idea?!

DragonByte Tech 11-02-2010 06:50 PM

Quote:

Originally Posted by AURFSCAN (Post 2116954)
David,

any idea as why a file wont dowload?

post 24:

when clicking a file link to download the file, it just shows the 'no image' pic

eg. vbdownloads.php?fileid=85&do=file just displays a new page with the 'no image' pic

Could you send me a link to your site? :)

Quote:

Originally Posted by drsmash (Post 2117164)
any Idea?!

Hmm, that is strange. What browser are you on and what is your site?

- David

daveb47 11-04-2010 03:42 PM

1 Attachment(s)
Having problems with path (I think)inporting from d2 using localhost.
Path i am useing is
J:\xampp\htdocs\public_html\downloads\
J:\xampp\htdocs\public_html\down\

Error i am getting is

Just hoping someone can help please

DragonByte Tech 11-04-2010 05:33 PM

Quote:

Originally Posted by Myster Dude (Post 2117928)
Having problems with path (I think)inporting from d2 using localhost.
Path i am useing is
J:\xampp\htdocs\public_html\downloads\
J:\xampp\htdocs\public_html\down\

Error i am getting is

Just hoping someone can help please

Do you have both directories created and does your DownloadsII folder actually have any files in it?

- David

daveb47 11-04-2010 05:45 PM

Yes to both..

DragonByte Tech 11-04-2010 06:11 PM

Quote:

Originally Posted by Myster Dude (Post 2117979)
Yes to both..

Let me see if I can reproduce this. Should be back to you soon.

- David

NUTNDUN 11-04-2010 10:00 PM

I don't know if you have this option built in to the pro version or not or have thought about it but what about the possibility of having on the fly watermarking? That way you can set which usergroups can have the files with or without watermarking but not have to have duplicate files?

Would also like to be able to watermark pdf's.

SSG.D 11-04-2010 10:19 PM

Quote:

Originally Posted by Myster Dude (Post 2117928)
Having problems with path (I think)inporting from d2 using localhost.
Path i am useing is
J:\xampp\htdocs\public_html\downloads\
J:\xampp\htdocs\public_html\down\

Error i am getting is

Just hoping someone can help please

If your downloads folder is located outside your public_html like db recommends then try:

./downloads for the path

If you intend to keep it in public_html then try:

./public_html/downloads

The first one worked for me.

Hope this helps:)

DragonByte Tech 11-05-2010 01:55 AM

Quote:

Originally Posted by NUTNDUN (Post 2118075)
I don't know if you have this option built in to the pro version or not or have thought about it but what about the possibility of having on the fly watermarking? That way you can set which usergroups can have the files with or without watermarking but not have to have duplicate files?

Would also like to be able to watermark pdf's.

hmm, I think this would be rather beyond the scope of a downloads mod. It would require image editing tools etc, plus there would be a host of issues from watermarking as well (people wanting to adjust transparency, location etc).

If you know of a simple and easy way to accomplish add ign watermarks to pdfs or editing image files with them etc using JS or PHP please do enlighten us though and we will try to add it.

Iain

daveb47 11-05-2010 09:34 AM

Managed to sort import on localhost.

Is there any way to mass delete the files from database etc so i can start again with fresh import.

DragonByte Tech 11-05-2010 11:55 AM

Quote:

Originally Posted by Myster Dude (Post 2118202)
Managed to sort import on localhost.

Is there any way to mass delete the files from database etc so i can start again with fresh import.

Run the following queries.

[SQL]
DELETE FROM {YOUR TABLE PREFIX}dbtech_downloads_filegroup
[/SQL]

[SQL]
DELETE FROM {YOUR TABLE PREFIX}dbtech_downloads_fileinfo
[/SQL]

Then delete the files in your downloads folder.

- David

drsmash 11-05-2010 04:52 PM

Quote:

Originally Posted by drsmash (Post 2117164)
any Idea?!

i want to know how to make it work on Vb 4.0.5 and UTF-8 Charset

DragonByte Tech 11-05-2010 05:11 PM

Quote:

Originally Posted by drsmash (Post 2118349)
i want to know how to make it work on Vb 4.0.5 and UTF-8 Charset

I can't think of anything in the mod that would cause this to break. Let me install a new language and test it for myself.

- David

Smiler2009 11-06-2010 10:40 AM

Can this mod or the pro version work with secondary usergroups?

We like to keep everybody as registered users and then add additional access to forums through additional usergroups but DownloadsII doesn't work with this and it's causing major headaches for us.

Regards, Jeff.

Athena1984 11-07-2010 09:31 PM

Although this mod looks very tempting, it doesn't seem to have thumbnails for the download threads. If this could be added, I would definitely buy the pro version.

DragonByte Tech 11-07-2010 10:14 PM

Quote:

Originally Posted by Athena1984 (Post 2119228)
Although this mod looks very tempting, it doesn't seem to have thumbnails for the download threads. If this could be added, I would definitely buy the pro version.

This is actually very easy to add yourself. I will have this included by default in the next release.

Open template dbtech_downloads_listings
FIND:
HTML Code:

<div class="td" style="vertical-align: top; width: 5%;">
REPLACE WITH:
HTML Code:

<div class="td" style="vertical-align: top; width: 115px;">
Open template dbtech_downloads_listings_bits
FIND:
HTML Code:

<img src="{vb:stylevar imgdir_statusicon}/forum_link-48.png" alt="{vb:rawphrase dbtech_downloads_download}" />
REPLACE WITH:
HTML Code:

<img src="{vb:var vboptions.dbtech_downloads_link}.php?do=file&amp;fileid={vb:var listings.image}&amp;image=1&amp;thumb=1" alt="{vb:raw listings.groupname}" style="width: 100px; height: 100px; border: 1px solid black;" />
- David

Athena1984 11-08-2010 01:08 AM

And this template edit will allow you to post different thumbnails for each thread started?

DragonByte Tech 11-08-2010 10:52 AM

Quote:

Originally Posted by Athena1984 (Post 2119302)
And this template edit will allow you to post different thumbnails for each thread started?

Thread started? Do you mean for every download?

- David

Athena1984 11-08-2010 09:27 PM

Yes, that's what I mean.

DragonByte Tech 11-09-2010 09:41 PM

Quote:

Originally Posted by Athena1984 (Post 2119655)
Yes, that's what I mean.

Yea, you'll get a thumbnail for each with that edit :)

- David


All times are GMT. The time now is 02:43 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.01890 seconds
  • Memory Usage 1,892KB
  • 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_html_printable
  • (5)bbcode_php_printable
  • (29)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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