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)

Mobo 07-03-2009 07:43 AM

I did not find this in a search of the thread, but I would like to rename how this is shown on my forums as "Downloads" to "Files". I would like this change to show in the Navbar as well as the actual DownloadsII pages that the users will see and use. I'm not worried about in the Admin CP.

Is this possible?

RS_Jelle 07-03-2009 09:22 AM

Quote:

Originally Posted by Mobo (Post 1841861)
I did not find this in a search of the thread, but I would like to rename how this is shown on my forums as "Downloads" to "Files". I would like this change to show in the Navbar as well as the actual DownloadsII pages that the users will see and use. I'm not worried about in the Admin CP.

Is this possible?

Just edit the (English) translation of the phrases ;)
(Everything is phrased, so you can change all text.)

Mobo 07-03-2009 03:54 PM

Sorry, what are phrases and how do I edit them?

RS_Jelle 07-03-2009 05:42 PM

Quote:

Originally Posted by Mobo (Post 1842141)
Sorry, what are phrases and how do I edit them?

AdminCP -> Languages & Phrases -> Phrase Manager -> Phrase Type -> Downloads

Mobo 07-04-2009 06:22 AM

1 Attachment(s)
Thanks for the quick lession in Phrases! But I guess what I am wanting is some thing else. I would like to change the text circled in the attached image to read Files instead of Downloads.

RS_Jelle 07-04-2009 07:28 AM

Quote:

Originally Posted by Mobo (Post 1842523)
Thanks for the quick lession in Phrases! But I guess what I am wanting is some thing else. I would like to change the text circled in the attached image to read Files instead of Downloads.

Actually not, these are the ecdownloads_downloads and ecdownloads phrases ...

Mobo 07-04-2009 10:14 AM

Thanks man, that did it!
For anyone else looking to do this, they are loctated in...

AdminCP -> Languages & Phrases -> Phrase Manager -> Phrase Type -> Global

rangana1 07-04-2009 08:13 PM

thx bro installed

Hizam 07-09-2009 02:14 PM

first thank you for this plugin
second When I downloaded show me this error

Warning: copy(./downloads//ec_tmp/FredMiranda-BW-Workflow-Pro.v1.51.for.Photoshop.zip) [function.copy]: failed to open stream: Permission denied in [path]/downloads.php on line 704
ERROR: File not found.

Thank you

mpoorrajab 07-12-2009 02:00 PM

we have a problem with this mod ...

we cannot add files with size more than 2.5 mb ...

there is no permission for usergroup for uploading files ...

Konstantinos 07-12-2009 02:19 PM

1 Attachment(s)
If u have mp3 players in profiles or want to embed mp3 uploaded files in posts you need to have the direct links to the files.


In order to achieve this edit the downloads_my template

Replace all with

Code:

<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="{$stylevar['tablewidth']}" align="center">
 <tr>
  <td>
  <table cellpadding="{$stylevar['cellpadding']}" cellspacing="{$stylevar[cellspacing]}" border="0" width="100%">
    <tr>
    <td class="thead" width="17%">{$vbphrase['ecdownloads_name']}</td>
    <td class="thead" width="17%">Date and Info</td>
    <td class="thead" width="16%">Status and Rating</td>
<td class="thead" width="100%">Direct Link</td>
    </tr>
    $dmyfilebits
  </table>
  </td>
 </tr>
</table>
<br />
$navigation

and replace downloads_my_bit template with

Code:

<tr>
 <td class="$bgclass"><a href="./downloads.php?do=file&amp;id={$file['id']}">{$file['name']}</a><br/>{$file['author']}</td>
 <td class="$bgclass">{$vbphrase['date']} : $date<br />{$vbphrase['ecdownloads_downloads']}: {$file['downloads']}</td>
 <td class="$bgclass">{$vbphrase['ecdownloads_rating']}: $grade<br />{$vbphrase['ecdownloads_status']} : $status</td>
<td class="$bgclass"><input class="bginput" type="text" value="http://www.yoursite.com/forum/downloads/{$file['url']}" size="90%" onclick="this.focus();this.select()" /></td>
</tr>

The direct link is only shown for the users file when going to My Files and the result is this (when u click it gets highlighted and u can copy paste)

Attachment 101861


remember to replace http://www.yoursite.com/forum with ur forum link

googlexx 07-12-2009 06:44 PM

how do i change the navbar?

cowcowcow 07-13-2009 11:10 AM

Love this mod.

Right now i would like to have different permissions for uploading within the same uploading section.

For example there will be a "public uploaded files" category and an "admin uploaded files" category. Obv the public wont be able to upload in the admin area, but can still see the files, whereas the admin can upload/veiw anything.

Is there a way limit permissions by the exact category?

Thanks!!

cowcowcow 07-13-2009 11:15 AM

I dont want to simply change viewing permissions, the option for that is there already

"To permit this usergroup to view all categories, leave this entry BLANK. Otherwise, enter the categories to include or exclude (depending on the setting above) separated by commas. For example: 1,2,4,6"

Is there a similar option for uploading rights?
i.e To permit this usergroup to upload in all categories...

RS_Jelle 07-13-2009 11:42 AM

Quote:

Originally Posted by googlexx (Post 1847598)
how do i change the navbar?

What do you want to change? You can disable the navbar button in the downloads settings. And you can change the downloads_navbar_button template.

Quote:

Originally Posted by cowcowcow (Post 1848029)
I dont want to simply change viewing permissions, the option for that is there already

"To permit this usergroup to view all categories, leave this entry BLANK. Otherwise, enter the categories to include or exclude (depending on the setting above) separated by commas. For example: 1,2,4,6"

Is there a similar option for uploading rights?
i.e To permit this usergroup to upload in all categories...

That's not possible at the moment.

cowcowcow 07-13-2009 02:35 PM

Quote:

Originally Posted by RS_Jelle (Post 1848043)

That's not possible at the moment.


Jelle in that case would it be possible to have two download modules i.e creating a copy of download.php and renaming it as download2.php and going thru all the installations steps? This way it seems i can have different download areas with different user permissions.

RS_Jelle 07-13-2009 02:47 PM

Quote:

Originally Posted by cowcowcow (Post 1848125)
Jelle in that case would it be possible to have two download modules i.e creating a copy of download.php and renaming it as download2.php and going thru all the installations steps? This way it seems i can have different download areas with different user permissions.

No, that would require renaming a lot of variables in the PHP code, otherwise they would conflict ;)

googlexx 07-14-2009 12:09 AM

im looking to change the actual links on the downloads.php navbar... like say i wanted to get rid of a link in the navbar how would i do this?

RS_Jelle 07-14-2009 07:27 AM

Quote:

Originally Posted by googlexx (Post 1848345)
im looking to change the actual links on the downloads.php navbar... like say i wanted to get rid of a link in the navbar how would i do this?

Like I said, you can disable it in the downloads settings ("Show Navbar Button" Yes/No).

ahesard 07-15-2009 07:10 AM

hello
please help me for this problem
I am type but not show complete
what Solution for unLimit ?
http://tinypic.info/files/ovt4hjfvmenn9f29g5j4.jpg
http://tinypic.info/files/vhethp8a0tyxxlkrps9y.jpg

gnrx 07-15-2009 07:43 PM

Hello.
I view that, in my forum, when acces to Dwonloads, in the title of navigator, appears: MY forum name - My Downloads.
In others sites, I view that, in the title of navigator appears: Forum name - Downloads.
I search for change this for default value, but I don't view the option.
How can change this value or what its the pharse?

Verys thanks and regards!

googlexx 07-15-2009 10:34 PM

Quote:

Originally Posted by RS_Jelle (Post 1848464)
Like I said, you can disable it in the downloads settings ("Show Navbar Button" Yes/No).

i guess you dont understand... The actual navbar. The navbar you created. It has main, tree, my files, add and that shit on there... Not the vbulletin navbar. Say i want to get rid of just the tree link how do i do that?

server-ceo 07-16-2009 11:58 AM

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.

Hi
My hosting company setting in a manner that PHP acts as CGI and they don't increase the file upload size more than 10 MB, they told me to use ftp for uploading my file! they don't understand that i can not create ftp account for each of my forum users!, is there any way or any upload center hack that uses ftp for upload file to upload center at least by mods and admins?
thanks

cowcowcow 07-18-2009 08:09 AM

Quote:

Originally Posted by Hareth (Post 1795369)
I would like to arrange the main categories in a way that every two categories appear next to each other (in the mode DOWNLOADSII). Every time I tried this, the categories come above each other. Please Advise.

Im having this problem too! Would like to display two colums in the categories section . But for me if i add the <td> i can display them side by side but the same ID gets displayed. How do u display seperate entries in a 2 column table side by side?

Thank you!

RG_LunAnder 07-18-2009 02:16 PM

Hi and thnx for a great mod.

I was wondering if there are any plans on adding a "download archive of selected files" functionallity.
I have had this request on my site a couple of times, mainly from ppl that download alot of small (<5-10MB) files.

/Anders

GetWebHost 07-19-2009 08:51 AM

I recently found a major bug with this mod concerning "Additional Usergroups".

Settings:
Custom Usergroups: A, B and C.
Categories: 1, 2 and 3.

Premissions:
Usergroup A can access Category 1 only. Usergroup B can access Category 2 only and Usergroup C can access Category 3 only.

Scenario:
I set UserXXX Primary Usergroup to A. With this, UseXXX can access Category 1. Then I edit UserXXX and check Usergroup C as his Additional Usergroup.

Expected Result:
UserXXX can have access to Category 1 and 3 because he's on Usergroup A and Additional Usergroup C.

Actual Result:
UserXXX can only access Category 1.

Bases:
My "Expected Result" is based on how a user can have permissions on a certain forums.
For example:Usergroup Z can access Forum 100 and Usergroup Y can access Forum 101. Then if a VBUSER is belong to Primary Usergroup Z and have Additional Usergroup Y, then he can access both Forum 100 & Forum 101 - hence the word "Additional". This should also how DownloadsII will work, but not as of current testing.

Additional Info:
VB version: 3.8.3
DownloadsII version: 5.1.0
VB Skin: Default
Additional Mods Installed: NONE

mpoorrajab 07-19-2009 11:02 AM

how can i solve this problem ?

Black Tiger 07-19-2009 01:47 PM

Quote:

My hosting company setting in a manner that PHP acts as CGI and they don't increase the file upload size more than 10 MB
When php acts as CGI you don't make a .htaccess file but a php.ini in your websites root directory (f.e. /home/yourname/public_html/) and put the php value in there.
However, if your hosting company put a hardcoded limit in their php.ini the only alternatives are uploading with ftp or uploading it somewhere else and then linking to it.

@mpoorrajab: Depends on if it's the forums or server usergroup whichs lacks permission. If it's the forums usergroup you should change the rights in the Admincp.

deetwelve 07-19-2009 05:00 PM

Quote:

Originally Posted by mpoorrajab (Post 1847466)
we cannot add files with size more than 2.5 mb ...

That's on a per hosting provider basis, you will have to check and see what there limit is.

To do that, do the following steps:

1. Log into AdminCP
2. Scroll down to the bottom of the administration navigation on the left side and locate the "Maintenance" tab - click it..
3. Scroll down some more and you will see a link that says, "View PHP Info" - click it..

Inside of here you will see a whole bunch of server related configs settings and what your hosting provider has. Your going to want to locate "post_max_size" and that will tell you what your hosting provider has set for the max size you can upload via http.

It's best to just upload your files to FTP and link to them.

mpoorrajab 07-20-2009 05:23 AM

Quote:

Originally Posted by Kadafi420 (Post 1851740)
That's on a per hosting provider basis, you will have to check and see what there limit is.

To do that, do the following steps:

1. Log into AdminCP
2. Scroll down to the bottom of the administration navigation on the left side and locate the "Maintenance" tab - click it..
3. Scroll down some more and you will see a link that says, "View PHP Info" - click it..

Inside of here you will see a whole bunch of server related configs settings and what your hosting provider has. Your going to want to locate "post_max_size" and that will tell you what your hosting provider has set for the max size you can upload via http.

It's best to just upload your files to FTP and link to them.

thank you dear friend ...

i check my php info and it was 8M ,so i dont think the problem is for our server setup ...

Eruantien 07-22-2009 07:42 PM

I keep getting the following message regardless of what settings I change. Does anyone know what I need to do?

Quote:

Sorry! You have exceeded your daily allowed download amount.

mpoorrajab 07-23-2009 11:07 AM

is there anyone that can help me?

Eruantien 07-23-2009 11:11 AM

Same here, need help ;)

spirittina 07-23-2009 10:24 PM

me 2 i wanna know even some of my members cant even download nothing help!!!!!

Black Tiger 07-23-2009 10:41 PM

I think you all 3 have rights problems. That's the reason people get notices they can't download or can't download anymore.
Check your usergroup rights permissions. Doublecheck if people are not also in other usergroups with less rights.

RS_Jelle 07-24-2009 11:37 AM

Quote:

Originally Posted by ahesard (Post 1849045)
hello
please help me for this problem
I am type but not show complete
what Solution for unLimit ?

Can you explain this a bit more?

Quote:

Originally Posted by gnrx (Post 1849450)
Hello.
I view that, in my forum, when acces to Dwonloads, in the title of navigator, appears: MY forum name - My Downloads.
In others sites, I view that, in the title of navigator appears: Forum name - Downloads.
I search for change this for default value, but I don't view the option.
How can change this value or what its the pharse?

Verys thanks and regards!

There's the "Title" setting for that ("Enter a title for your downloads section").

Quote:

Originally Posted by googlexx (Post 1849577)
i guess you dont understand... The actual navbar. The navbar you created. It has main, tree, my files, add and that shit on there... Not the vbulletin navbar. Say i want to get rid of just the tree link how do i do that?

You need to edit downloads.php for that at the moment. You can find it at the top of the code (after the includes).

Quote:

Originally Posted by RG_LunAnder (Post 1851123)
Hi and thnx for a great mod.

I was wondering if there are any plans on adding a "download archive of selected files" functionallity.
I have had this request on my site a couple of times, mainly from ppl that download alot of small (<5-10MB) files.

/Anders

Not really. I'm planning to use vB 4's asset manager (if possible), but this kind of usage isn't very common.

gbox master 07-24-2009 08:40 PM

i got this mod installed for a while now
but i was wondering can i adjust the font color of the txt download in the navbar ?

if yes where can i find it
and what code should be replaced with what code

great job guys keep it up

Mahar 07-25-2009 07:41 AM

I'm interested in this so, I have a few questions before downloading...

Can my own users upload their own material for download? If so, I'm 100% possitive I'll install this.

mpoorrajab 07-25-2009 02:16 PM

help me please ...

Black Tiger 07-25-2009 02:44 PM

@mpoorrajab: Did you check your folder rights and all usergroup rights? I asked this already 2 times and did not see an answer to it yet. How do you expect to get help if you don't mention what is checked and corrected and what is not?


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