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)

bezibaerchen 12-22-2008 09:35 AM

Okay, then it seems to work :)
Implemented search field myself already.

Sunka 12-22-2008 09:52 AM

Any chance to have downloads folder (folder where are files for download) outside forum folder?
I mean www.pijanitvor.com/downloads and not www.pijanitvor.com/forum/downloads

entertain 12-22-2008 10:07 AM

Hi RS Jelle,

there are only three things that I want to point out:

1. Please use tabs in your tables (templates)
2. HTML Codes should not be implemented in the php-file (downloads.php)
For HTML Codes it would be better to use the product
3. Use "AND" and not "&"


Greetings. :)

entertain 12-22-2008 10:24 AM

Quote:

Originally Posted by Sunka (Post 1690961)
Any chance to have downloads folder (folder where are files for download) outside forum folder?
I mean www.pijanitvor.com/downloads and not www.pijanitvor.com/forum/downloads

Take a look into the settings. :)

AdminCP => Downloads => Settings => Download URL

This should work....

echo2kk5 12-22-2008 11:19 AM

Thank you for the update! :up:

Saudi Zoom 12-22-2008 11:21 AM

Do i have to re-translate after updating?

Thank you for updates

Sunka 12-22-2008 11:38 AM

Quote:

Originally Posted by entertain (Post 1690974)
Take a look into the settings. :)

AdminCP => Downloads => Settings => Download URL

This should work....

Yes, I looked there.
Default is ./downloads/ what is mean www.pijanitvor.com/forum/downloads/

But if I change ./downloads/ to www.pijanitvor.com/downloads/ it is not working (I try to create folder there), I can not upload files or even download files.

Same problem is for import files from folder allready in my web root. You can not import files from folder, if that folder is not on sam place where is downloads.php

This is my forum web address: www.pijanitvor.com/forum

What should I put in ACP option if I want to my downloads folder be on web root, not in forum root aka www.pijanitvor.com/downloads/

RS_Jelle 12-22-2008 11:39 AM

Quote:

Originally Posted by Sunka (Post 1690961)
Any chance to have downloads folder (folder where are files for download) outside forum folder?
I mean www.pijanitvor.com/downloads and not www.pijanitvor.com/forum/downloads

Then you need to set the Download URL setting to ../downloads/ (with two points in front of the first slash)
It's a relative path setting.

Quote:

Originally Posted by entertain (Post 1690969)
Hi RS Jelle,

there are only three things that I want to point out:

1. Please use tabs in your tables (templates)
2. HTML Codes should not be implemented in the php-file (downloads.php)
For HTML Codes it would be better to use the product
3. Use "AND" and not "&"


Greetings. :)

V6 beta already has that better code style. It's also following most other vB coding standards.

But what do you mean with 3? "AND" and "&" aren't synonyms. I guess you mean "&&" (which isn't used in v5 nor in v6)?

Quote:

Originally Posted by Saudi Zoom (Post 1690999)
Do i have to re-translate after updating?

Thank you for updates

Normally not, you only need to update the version number in the ecdownloads_copyright phrase if you translated that also.

Jawa Lunk 12-22-2008 11:48 AM

Hi, I ma using a previous version, do I uninstall it before installing this new version?

And also, am I going to lose all my downloads I already have or will this install recognize the categories and downloads already there?

I have hundreds of downloads and would hate to lose them by installing the new version :P

Thanks!

RS_Jelle 12-22-2008 11:50 AM

Quote:

Originally Posted by Jawa Lunk (Post 1691012)
Hi, I ma using a previous version, do I uninstall it before installing this new version?

And also, am I going to lose all my downloads I already have or will this install recognize the categories and downloads already there?

I have hundreds of downloads and would hate to lose them by installing the new version :P

Thanks!

You won't loose any data if you just upload the product XML with the overwrite option on (+ overwrite all FTP files).
NEVER uninstall-install it to upgrade: that's a reinstall and it will remove all data.

breakice 12-22-2008 12:50 PM

that trick with .htacess not work
and we cannot upload 30 mb
but we can upload manually and link it
any idea?

Sunka 12-22-2008 01:44 PM

Quote:

Originally Posted by RS_Jelle (Post 1691008)
Then you need to set the Download URL setting to ../downloads/ (with two points in front of the first slash)
It's a relative path setting.

Yes, that is working. Thank you very much!

Quote:

Same problem is for import files from folder allready in my web root. You can not import files from folder, if that folder is not on sam place where is downloads.php
Maybe you have solution for this one too? :D

entertain 12-22-2008 03:00 PM

Hi Jelle,

the Hook called cron_script_cleanup doesn't exist.

There are only the following hooks available:
- cron_complete
- cron_script_cleanup_daily
- cron_script_cleanup_hourly
- cron_script_cleanup_hourly2
- cron_script_subscriptions
- cron_start

Greetings. :)

glennybee 12-22-2008 03:43 PM

Hi,

I've just been informed there is a 5.1.0 version out. I am current using v5.0.8 with vb 3.7.4 PL1, if I upgrade this product will I loose all my downloads or will they be unaffected?

Thank you! :)

OCPerformance 12-22-2008 03:47 PM

sorry for questions but I'm a newbie

Little Problem, how i can delete the "":"" for the decription ? (its red marked in pic what I mean)

I can't find it ? Its in the same template like downloads_cat_filebit

downloads_cat_filebit template

PHP Code:

<tr>
 <
td class="$bgclassvalign="top" align="center"><if condition="$filethumb != ''">{$filethumb}<else />{$download}</if>
 </
td>
 <
td class="$bgclassvalign="top" align="left"><a href="downloads.php?do=file&amp;id={$file['id']}">{$file['name']}</a><if condition="$file['pin']">&nbsp;
   <
img class="inlineimg" src="{$stylevar['imgdir_misc']}/sticky.gif" alt="{$vbphrase['ecdownloads_pinned_file']}title="{$vbphrase['ecdownloads_pinned_file']}/>
  </if></
td

 <
td class="$bgclassvalign="top" align="left">{$smalldesc}&nbsp;($size)  </td

 <
td class="$bgclassvalign="top" align="center" nowrap="nowrap"><span class="smallfont">$date</span></td
 <
td class="$bgclassvalign="top" align="center" height="40"><span class="smallfont">{$file['downloads']}</span></td>
 <if 
condition="$dl->showcomments"><td class="$bgclassvalign="top" align="center"><span class="smallfont">{$file['comments']}</span></td></if>
</
tr


Link to pic its red marked what I mean.

echo2kk5 12-22-2008 04:02 PM

Quote:

Originally Posted by glennybee (Post 1691194)
Hi,

I've just been informed there is a 5.1.0 version out. I am current using v5.0.8 with vb 3.7.4 PL1, if I upgrade this product will I loose all my downloads or will they be unaffected?

Thank you! :)

I'm running VB 3.7.4 PL1 and have successfully upgraded to the 5.1.0 version from 5.0.8 without a hitch....I just over-wrote all files and imported the product allowing overwrite, didn't lose anything. ;)

OCPerformance 12-22-2008 04:16 PM

sorry for questions but I'm a newbie

Little Problem, how i can delete the "":"" for the decription ? (its red marked in pic what I mean)

I can't find it ? Its in the same template like downloads_cat_filebit

downloads_cat_filebit template

PHP Code:

<tr>
 <
td class="$bgclassvalign="top" align="center"><if condition="$filethumb != ''">{$filethumb}<else />{$download}</if>
 </
td>
 <
td class="$bgclassvalign="top" align="left"><a href="downloads.php?do=file&amp;id={$file['id']}">{$file['name']}</a><if condition="$file['pin']">&nbsp;
   <
img class="inlineimg" src="{$stylevar['imgdir_misc']}/sticky.gif" alt="{$vbphrase['ecdownloads_pinned_file']}title="{$vbphrase['ecdownloads_pinned_file']}/>
  </if></
td

 <
td class="$bgclassvalign="top" align="left">{$smalldesc}&nbsp;($size)  </td

 <
td class="$bgclassvalign="top" align="center" nowrap="nowrap"><span class="smallfont">$date</span></td
 <
td class="$bgclassvalign="top" align="center" height="40"><span class="smallfont">{$file['downloads']}</span></td>
 <if 
condition="$dl->showcomments"><td class="$bgclassvalign="top" align="center"><span class="smallfont">{$file['comments']}</span></td></if>
</
tr


Link to pic its red marked what I mean.

kho91 12-22-2008 04:23 PM

please help me I have a problem this error message

Quote:

The download directory does not exist!

MrEyes 12-22-2008 04:32 PM

Quote:

Originally Posted by OCPerformance (Post 1691226)
Little Problem, how i can delete the "":"" for the decription ? (its red marked in pic what I mean)

Oddily enough I have just made that very modification to my install as I wanted the title and description to be on separate lines and the ':' looked odd. Your setup seems to be slightly different to the version I have (5.1.0) but the following might help:

Open the downloads.php file and find the line that reads:

Code:

$smalldesc = ": ".$smalldesc;
Change it to this:

Code:

//$smalldesc = ": ".$smalldesc;
This basically comments out that line so the ':' isn't added.

OCPerformance 12-22-2008 04:38 PM

Thanks a lot :)

Rene Kriest 12-22-2008 04:39 PM

This addon is so damn sexy. Guys, why did it take so long for porting one of the most important addons of all time for vb? Anyway thank you lazy bones! ;)

drpeppper 12-22-2008 05:56 PM

Quote:

Originally Posted by DemoVFW (Post 1684803)
You can fix this issue (the security token problem) by editing or creating a PHP.ini file. I had the same problem and saw that it was answered on page 200 of this thread. See below (edit the "post_max_size" to a larger size then 8M). Worked for me.

this does not work. my post_max_size is at 100mb
files work, but images do not.

drpeppper 12-22-2008 06:07 PM

furthermore, ive just solved the problem and all it took was a simple template edit. meaning the mod has a bug, and its not a server setting..

in template 'downloads_file'

look for
Code:

<input type="submit" name="submit" value="{$vbphrase['ecdownloads_add_image']}" />
right under that, put this
Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
this solved my issue with users uploading images and getting a security token error.
the created of this mod failed/forgot to add this.

you can read more about it here
https://vborg.vbsupport.ru/showthread.php?t=177013

Mastergumble 12-22-2008 06:47 PM

I still get this message :(

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

I have GARS and did the change on the plugin but still unable to upload large files.

Other thing how can i put the smiles under the box instead by side?

Cobra-J82 12-22-2008 10:04 PM

I'm in love with this mod.

UKBusinessLive 12-22-2008 11:32 PM

Quote:

Originally Posted by Cobra-J82 (Post 1691502)
I'm in love with this mod.

Me too, so easy to install and use :D

Just what i've been looking for ;)

bollie 12-23-2008 05:09 AM

Quote:

Originally Posted by drpeppper (Post 1691313)
furthermore, ive just solved the problem and all it took was a simple template edit. meaning the mod has a bug, and its not a server setting..

in template 'downloads_file'

look for
Code:

<input type="submit" name="submit" value="{$vbphrase['ecdownloads_add_image']}" />
right under that, put this
Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
this solved my issue with users uploading images and getting a security token error.
the created of this mod failed/forgot to add this.

you can read more about it here
https://vborg.vbsupport.ru/showthread.php?t=177013



Work not.

RS_Jelle 12-23-2008 07:24 AM

Quote:

Originally Posted by entertain (Post 1691138)
Hi Jelle,

the Hook called cron_script_cleanup doesn't exist.

There are only the following hooks available:
- cron_complete
- cron_script_cleanup_daily
- cron_script_cleanup_hourly
- cron_script_cleanup_hourly2
- cron_script_subscriptions
- cron_start

Greetings. :)

Thanks for reporting, the hook seems to be split up in multiple ones in vB 3.7 :)
You need to set it to the cron_script_cleanup_hourly hook. Will be fixed in the next release.

7lanet 12-23-2008 08:12 AM

1 Attachment(s)
Please upgrade the product from 5.0.8 to 5.1.0

As the product in Arabic
And I just want the Arabization of the new words

7lanet 12-23-2008 10:28 AM

Some of his suggestions to improve the product

1 - what do you think of making a separate xml file to be imported language and words
=====
2 -And Aita Can you add functionality to make independent style with the possibility of changing the language and style DownloadsII
So that control language and style independent of the Forum
And making the search window over the statistics of all pages
=====
3- I want Downloads calculated the number at the opening of files not click on the Download
ex/
Downloads calculated the number
when open
http://www.7lanet.com/vb/downloads.php?do=file&id=1
not click
http://www.7lanet.com/vb/downloads.p...&id=1&act=down
=====
4 -I want when click the image (download) in the cate go to the file and not download
=====
5 - View all comments in Admincp


-------
sory, My language bad

dmknights 12-23-2008 11:10 AM

Before i download & install this mod, can someone tell me if this mod can set permissions for which group can download certain files?

7lanet 12-23-2008 11:55 AM

Quote:

Originally Posted by dmknights (Post 1691887)
Before i download & install this mod, can someone tell me if this mod can set permissions for which group can download certain files?

yes

^_^

dmknights 12-23-2008 12:09 PM

*Downloaded*
Will try this later

drpeppper 12-23-2008 02:20 PM

Quote:

Originally Posted by Mastergumble (Post 1691345)
I still get this message :(

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

I have GARS and did the change on the plugin but still unable to upload large files.

Other thing how can i put the smiles under the box instead by side?

Quote:

Originally Posted by bollie (Post 1691741)
Work not.

the fix was for users getting the token security message with image uploads, not file uploads.
if you're having problems with the file uploads, find this line

Code:

<input type="submit" name="submit" value="{$vbphrase['ecdownloads_addit_file']}" />
in template downloads_file_addit

under that place this line

Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
hope that works, it worked for me. good luck.

bollie 12-23-2008 04:25 PM

Quote:

Originally Posted by drpeppper (Post 1692013)
the fix was for users getting the token security message with image uploads, not file uploads.
if you're having problems with the file uploads, find this line

Code:

<input type="submit" name="submit" value="{$vbphrase['ecdownloads_addit_file']}" />
in template downloads_file_addit

under that place this line

Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
hope that works, it worked for me. good luck.

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

drpeppper 12-23-2008 04:44 PM

Quote:

Originally Posted by bollie (Post 1692119)
Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

cleared cookies/cache?

if you did, there is a last thing you can try, but i dont recommend.

in the downloads.php file, find the line

Code:

define('CSRF_PROTECTION', true);
change true to false

let me know if this works.

Drakah 12-23-2008 06:10 PM

Does this version now let you customize the fields, lets say, to add in a "Version:" under the Date of the download? Speaking of which... does the date now update when you update the file attachment?

Sandgrinder 12-23-2008 06:55 PM

Bloody hell lad, you made my day.

Veteranich 12-24-2008 02:44 AM

Thanks, but I have two suggestions.
  1. Many buttons doesn't have class atribute so in different style they will be showed same. Add please class="button".
  2. Commas isn't be parsed in the title. For example I type "Hack name". Then if I will see source code, I can find alt=""Hack name"". It doesn't make valid code. Please, add the feauture that commas will be parsed (commas will be replaced by &quot;).

Thank you again!

Goomzee 12-24-2008 02:53 AM

what's new this time


All times are GMT. The time now is 12: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.06930 seconds
  • Memory Usage 1,889KB
  • 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
  • (11)bbcode_code_printable
  • (2)bbcode_php_printable
  • (20)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