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)

HappyPike 05-27-2007 03:55 PM

Quote:

Originally Posted by CyberRanger (Post 1254897)
sorry, no eta

I agree this needs to be reworked. But I don't think user id is the way to go. Unlike normal vb attachments which tend to be spread among a lot of different users, the downloads files are often uploaded by a small number (or just one) admin.

Instead, I'll probably change it to either a random folder selection (say 1-9 with subfolders of 1-9 below each of those) or category id.

Thanks for the reply, CyberRanger.

It really depends on the sites (ex. number of users) and how the addon is used. On my site (which is a fan site for a computer game), my members create and upload most files and there are hundreds or even more than 1000 uploaders.

BTW the File Upload Center addon here creates a folder for each member. I think it works out pretty well.

If you don't go by user ID, then I suggest using year and month for upload folders. For example,

2007/1/ for January 2007
2007/10/ for October 2007
2008/3/ for March 2008

This way we have 1 folder per month, which is reasonable and more scalable than a fixed number of folders or a single folder.

luket79 05-27-2007 04:51 PM

I think I figured this out...when you manually enter a post count, it doesn't necessarily change the usergroup. I then changed the usergroup and it worked like a charm!

luket79 05-27-2007 06:02 PM

Actually, after looking into this, it looks like the promotion system doesnt move the user into the new usergroup. It changed the title for the user to the new group name but it didn't push the user in the new group to be able to see the new downloads. I made a user with 24 posts, then I made a post so it would be 25. The group named changed but the user was still unavailable to see the addidtional download. I even did a manual reload of user titles. Maybe I have something setup wrong in my promo system?

Andyrew 05-27-2007 06:35 PM

When i click on manage files i only get one page displaying even though it shows 3 pages, when i click on page 2 or 3 no files display.

rowlandc 05-28-2007 08:48 AM

I've been thinking about large files.

Is there a feature that you could ftp the files into the download directory on your site and then add the details in a menu in the admincp where the download will appear like the others in the download interface section.

I guess that would sort out big files?

CyberRanger 05-28-2007 01:53 PM

Quote:

Originally Posted by luket79 (Post 1255626)
I think I figured this out...when you manually enter a post count, it doesn't necessarily change the usergroup. I then changed the usergroup and it worked like a charm!

Remember that the promotion doesn't occur as soon as the user reaches the number of posts to move to the next usergroup. By default, user promotions only occur once an hour (at 25 minutes past the hour) AND that depends on how busy your board is. If it is a test board or a board with low activity, the promotions will occur even less frequently.

CyberRanger 05-28-2007 01:54 PM

Quote:

Originally Posted by Andyrew (Post 1255696)
When i click on manage files i only get one page displaying even though it shows 3 pages, when i click on page 2 or 3 no files display.

correct, that's a know bug.

CyberRanger 05-28-2007 01:55 PM

Quote:

Originally Posted by rowlandc (Post 1256054)
I've been thinking about large files.

Is there a feature that you could ftp the files into the download directory on your site and then add the details in a menu in the admincp where the download will appear like the others in the download interface section.

I guess that would sort out big files?

The "mass import" feature in the admincp is exactly for that type of functionality. I think the current problem someone is experiencing is with retrieving large files that have already been added.

rowlandc 05-28-2007 03:47 PM

Has the template edit of the navbar changed in the new patch?

I've gone to the navbar section and looked around and can't find the:

Code:

<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>

basketmen 05-29-2007 02:39 AM

Quote:

Question


I want to change Bytes to KB in the right side File name


where file or phrase i need to edit ?


thanks guys
BUMP :)

DementedMindz 05-29-2007 06:05 AM

CyberRanger any plans on having it so it will show the description of the file in the meta tags this way there is not constant duplicate content in the search engines from the downloads pages?

silencerdeluxe 05-29-2007 12:52 PM

Quote:

Originally Posted by silencerdeluxe (Post 1250226)
1. Use an folder for downloads from an external File-Server

Quote:

Originally Posted by CyberRanger (Post 1250269)
I don't understand what you mean. Can you explain this more?

I try it:
I have one Webserver with my vbulletin-forum, this Server have "only" 3000GB traffic free, and i have one Rootserver with traffic unlimited. The Idea: You can change the Download-Folder to an external Server, in ACP you can set this + ftp.account or something like this, so i can use the rootserver for storring the files, without external links.
Hope you understand my bad english :rolleyes:


Quote:

Originally Posted by CyberRanger (Post 1250269)
That's already been recoded by Jelle to stars in ver 6

Hope it will be release soon! :)

silencerdeluxe 05-29-2007 12:59 PM

Quote:

Originally Posted by silencerdeluxe (Post 1164506)
Hi there!

First please excuse my bad english!

The mod is really great,
but i have one little problem with the description-images added to a download,
when you click on it, the 403 error message come up, cause the image-file didnt have
the right chmod... I have set the 2 Folders "downloads" and "ec_temp" to chmod 777, but i need to change every single description-image-file from chmod 600 to 644 to get the large image working :( Dont want to disable the description-images...
Why it dont set it automatic on my webspace?

All other work fine!

Hope you undsertand me, and thanks for any help :o

Didnt find an answer for this Problem, thx for help!

CyberRanger 05-30-2007 01:59 PM

Quote:

Originally Posted by silencerdeluxe (Post 1256867)
Didnt find an answer for this Problem, thx for help!

Quote:

Originally Posted by Fish UK (Post 1254376)
Firstly, thank you for a great mod, just what I was looking for.

However I have a little problem I was hoping someone could assist with.
When an image is uploaded for a download it uploads with the permissions 600 which means it cannot be viewed.
The main download file uploads fine (666) and so does the thumbnail created (666).
The folder permissions are 777 and the ownership correct.

I am running the latest version of this mod and of VB. Any help would be much appreciated.

TIA

I think this will fix your problem. In downloads.php, around line 818 find:
PHP Code:

move_uploaded_file($_FILES['image']['tmp_name'], $dl->url.$newfilename); 

BELOW that ADD
PHP Code:

chmod($dl->url.$newfilename0666); 

Let me know how it works.

CyberRanger 05-30-2007 02:02 PM

Quote:

Originally Posted by silencerdeluxe (Post 1256864)
The Idea: You can change the Download-Folder to an external Server, in ACP you can set this + ftp.account or something like this, so i can use the rootserver for storring the files, without external links.
Hope you understand my bad english :rolleyes:

Idea noted. Right now, no plans to incorporate this although I see the utility of it.

CyberRanger 05-30-2007 02:03 PM

Quote:

Originally Posted by DementedMindz (Post 1256676)
CyberRanger any plans on having it so it will show the description of the file in the meta tags this way there is not constant duplicate content in the search engines from the downloads pages?

This would seem fairly simple. I guess we'd need to just add the meta tag to the right template with the description filled in. I'll see if Jelle is already planning to do so.

silencerdeluxe 05-30-2007 02:40 PM

Quote:

Originally Posted by CyberRanger (Post 1257616)
I think this will fix your problem. In downloads.php, around line 818 find:
PHP Code:

move_uploaded_file($_FILES['image']['tmp_name'], $dl->url.$newfilename); 

BELOW that ADD
PHP Code:

chmod($dl->url.$newfilename0666); 

Let me know how it works.

Works fine :up:

Thx for the fast Answer!

DementedMindz 05-31-2007 05:02 AM

Quote:

Originally Posted by CyberRanger (Post 1257619)
This would seem fairly simple. I guess we'd need to just add the meta tag to the right template with the description filled in. I'll see if Jelle is already planning to do so.

ok no problem just figured it may get more pages in search engines cause its not all dupe content that way

Hornstar 05-31-2007 07:28 AM

hey just dropping in to see how the progress is coming for the next release. any estimate on the percentage completed so far? looking forward to this next release so much ^^

bandare 05-31-2007 11:12 AM

I have installed this and can't wait to use it but I cant see where in the usergroup manager I can add permissions. Where should this be?

Don't worry.. I was being a mupp3t!

cellow 05-31-2007 11:43 AM

I try since 2 days & nights to put in the downloads.php + DownloadsII templates, the "$file[name]" and "$cat_value" into the download and category URLs.
But without success :(

It's hard to find the places which i have to change....

I will do this for better seo! I want to rewrite the urls with filename + catergoryname!
A lot of DownloadsII user are waiting for this in vBSEO forum, i hope CyberRanger, you can help us; which part of DownloadsII code we have to change...

thx

bandare 05-31-2007 05:51 PM

has anyone thought of making a vbadvanced module so the latest uploads and most popular could be listed in the homepage?

RS_Jelle 06-01-2007 05:13 AM

1 Attachment(s)
Quote:

Originally Posted by MotMann (Post 1255388)
@ RS
My litle problem exist. Look here ;

I fixed it and tested it, have a look at the attachment (I missed some = characters in the new line code) :)
Also note that you have to add +1 to the $countnumber you choose. If you want 3, then you set it to 4 :D

Quote:

Originally Posted by Dave Hybrid (Post 1255399)
Any chance of a copyright free version?

I don't know, but we are working freely on it and there's no donation system or anything like that :)
So ... the copyright is the only bit of attribution. In v6 the "Based on ecDownloads 4.1 ? Ronin" will disappear also (full recode, so no old Ron1n code any more), so it will become a bit smaller :D

Quote:

Originally Posted by basketmen (Post 1255419)
Question


I want to change Bytes to KB in the right side File name


where file or phrase i need to edit ?


thanks guys

This changes automatically with the vBulletin file size calculation function. If it's a small file, it uses bytes, if it's a bigger, it displays the size in kilobytes, if it's "very" big, it uses megabytes, ...

Quote:

Originally Posted by luket79 (Post 1255674)
Actually, after looking into this, it looks like the promotion system doesnt move the user into the new usergroup. It changed the title for the user to the new group name but it didn't push the user in the new group to be able to see the new downloads. I made a user with 24 posts, then I made a post so it would be 25. The group named changed but the user was still unavailable to see the addidtional download. I even did a manual reload of user titles. Maybe I have something setup wrong in my promo system?

So, that's not really a DownloadsII problem, but a problem with the vBulletin promotion system :D
Are you using the usergroups promotion system, as you are talking about usertitles, which is a different thing (and has nothing to do with the usergroups)?

Quote:

Originally Posted by rowlandc (Post 1256270)
Has the template edit of the navbar changed in the new patch?

I've gone to the navbar section and looked around and can't find the:

Code:

<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>

Indeed, this seems to be slightly changed to:
PHP Code:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td


RS_Jelle 06-01-2007 05:21 AM

Quote:

Originally Posted by DementedMindz (Post 1258154)
ok no problem just figured it may get more pages in search engines cause its not all dupe content that way

That's why we added already the custom titles :)
I'm also looking a bit at the SEO of my sites, but I don't think the description meta tag is a duplicate content problem (as the page content is different, that's the real point). But I also already thought about a custom description for categories and files. This shouldn't be a big problem to add like Brent said.

Quote:

Originally Posted by hornstar1337 (Post 1258198)
hey just dropping in to see how the progress is coming for the next release. any estimate on the percentage completed so far? looking forward to this next release so much ^^

No ETA :D
It's really difficult and for me, my exams are starting next week (two weeks of fun, afterwards a sea of time to code) :(

Quote:

Originally Posted by cellow (Post 1258285)
I try since 2 days & nights to put in the downloads.php + DownloadsII templates, the "$file[name]" and "$cat_value" into the download and category URLs.
But without success :(

It's hard to find the places which i have to change....

I will do this for better seo! I want to rewrite the urls with filename + catergoryname!
A lot of DownloadsII user are waiting for this in vBSEO forum, i hope CyberRanger, you can help us; which part of DownloadsII code we have to change...

thx

It's a bit difficult as you have to pay for vBSEO, so we can't test anything (and we don't know its code at all to integrate stuff). But the variables you mention should work fine ... I also don't think you have to change anything inside of downloads.php, you have to add this to the vBSEO rewrite rules.

Quote:

Originally Posted by bandare (Post 1258503)
has anyone thought of making a vbadvanced module so the latest uploads and most popular could be listed in the homepage?

There's already one (have a look at the add-ons listed in the first post): https://vborg.vbsupport.ru/showthread.php?t=110122 :)

Hornstar 06-01-2007 07:18 AM

your post above on the vbseo side of things, i would like to extend on this.

there is a few things that need to be modified for better seo for downloadsII while using vbseo

1. edit downloads.php
2. edit a couple/few threads
3. vbseo re write rules.

Now over at vbseo there is a thread which i pointed out in my 2nd last post in this thread, that includes the vbseo re write rules. and includes details (not the best nor easiest) was at doing 1 and 2.

I am fairly sure you can modify downloadsII so it will still function the same way for normal users, but will also be albe to detect if vbseo is running, and use more vbseo friendly urls.

see this thread on how to modify hacks/mods to be better for vbseo, which is a huge benefit for many users.

http://www.vbseo.com/f2/vbseo-functi...sibility-1662/
and
http://www.vbseo.com/f23/downloads-i...39/index5.html

hope you consider this. Thanks.

coolgus 06-01-2007 02:30 PM

don't know if this has been answered before but is there any way we can have update at the latest files after editing a file ? I've seen that there is a date table but I don't know if this can be used for this case.

If not, will the new version supoort something like this or do I have to make new entry everytime there is a new version of a program and I want to inform the users ?

Thanks in advance and for this wonderful mod

rowlandc 06-02-2007 07:39 AM

Hi I got two questions:

If I use the import function the 'latest files' info doesn't change? If I download one it does go into the 'most popular' info box but the latest file doesn't update itself with the import function.

Is there a way to get it to update the latest files box?

2nd question:

Is there a way with the code that the downloaded files could be more Download Manager friendly :P If I try and use mine it downloads a downloads.php file.


Still the 2nd problem isn't that bad and I do belive you have one of the best download mods :)

Thanks
Clem

RS_Jelle 06-02-2007 01:56 PM

@hornstar1337: thanks for the info, we will look into this :)

Quote:

Originally Posted by coolgus (Post 1259117)
don't know if this has been answered before but is there any way we can have update at the latest files after editing a file ? I've seen that there is a date table but I don't know if this can be used for this case.

If not, will the new version supoort something like this or do I have to make new entry everytime there is a new version of a program and I want to inform the users ?

Thanks in advance and for this wonderful mod

The date field is for the date the file was added. At the moment there's no last edit date, but this is already added to the v6 database scheme.

Quote:

Originally Posted by rowlandc (Post 1259652)
Hi I got two questions:

If I use the import function the 'latest files' info doesn't change? If I download one it does go into the 'most popular' info box but the latest file doesn't update itself with the import function.

Is there a way to get it to update the latest files box?

2nd question:

Is there a way with the code that the downloaded files could be more Download Manager friendly :P If I try and use mine it downloads a downloads.php file.


Still the 2nd problem isn't that bad and I do belive you have one of the best download mods :)

Thanks
Clem

1. You can update all stats boxes manually using the "Update Counters" navigation link.
2. This problem was already mentioned in the past. We could look into the vBulletin attachments code as I thought download manager support was added there.

rowlandc 06-02-2007 02:10 PM

Quote:

Originally Posted by RS_Jelle (Post 1259772)
@hornstar1337:
1. You can update all stats boxes manually using the "Update Counters" navigation link.

I went to Update Counters but I can't find anything concerning updates of states. Is there another name for it?

Sorry for being a pain :erm:

MotMann 06-02-2007 03:19 PM

1 Attachment(s)
Quote:

Originally Posted by RS_Jelle (Post 1258795)
I fixed it and tested it, have a look at the attachment (I missed some = characters in the new line code) :)
Also note that you have to add +1 to the $countnumber you choose. If you want 3, then you set it to 4 :D

Okey.. thats work. But, there now Number left from the screen... After 6 comes 2. The Number are not interest. You can delete them :D

Attachment 65098

AND.. the Thumbs can be a little bit larger.

Thanks for nice support....

DementedMindz 06-02-2007 03:21 PM

Quote:

Originally Posted by rowlandc (Post 1259777)
I went to Update Counters but I can't find anything concerning updates of states. Is there another name for it?

Sorry for being a pain :erm:

you just hit update counters and it will update the stats.

rowlandc 06-02-2007 04:00 PM

Quote:

Originally Posted by DementedMindz (Post 1259813)
you just hit update counters and it will update the stats.

Yeah I know but if I got to Admincp >> Maintenance >> Update Counters I get a list of what I'd like to update e.g. Update User Titles and Ranks ..... Which one should I click?

DementedMindz 06-02-2007 07:46 PM

no you do it from the downloads page you will have a link like this http://www.example.com/downloads.php?do=manfiles&act=updatecounters

rowlandc 06-02-2007 07:52 PM

Thanks Dement your a star.

I thought it was in the admincp not the download menu.

Stupid me :P

Thanks :)

DementedMindz 06-02-2007 08:01 PM

nah nothing stupid about it sometimes we just over look things ;)

CyberRanger 06-03-2007 03:29 AM

Quote:

Originally Posted by rowlandc (Post 1259895)
Thanks Dement your a star.

I thought it was in the admincp not the download menu.

Stupid me :P

Thanks :)

Nothing stupid at all! I think your situation highlights the need for us to produce an instruction manual. As the features of the program grow, items we (Jelle and I) think are obvious, are actually very confusing for new users. :)

DementedMindz 06-03-2007 03:38 AM

might be nice to have that in the admincp downloads dropdown for anyone unsure how to use such features. and possibly have the update counters there also incase they over look it.

RS_Jelle 06-04-2007 04:23 AM

1 Attachment(s)
Quote:

Originally Posted by MotMann (Post 1259811)
Okey.. thats work. But, there now Number left from the screen... After 6 comes 2. The Number are not interest. You can delete them :D

Attachment 65098

AND.. the Thumbs can be a little bit larger.

Thanks for nice support....

Lol, I added those numbers to debug it :D
I removed them, have a look at the attachment of this post.
The thumbs can't be larger as it's hardcoded. You can modify the code, but all old images will stay small as there's no rebuild feature. So I don't recommend it ...

Quote:

Originally Posted by DementedMindz (Post 1260121)
might be nice to have that in the admincp downloads dropdown for anyone unsure how to use such features. and possibly have the update counters there also incase they over look it.

I also thought about adding help items to the AdminCP (that's very easy with the product xml format), but writing all those things ... :p

rowlandc 06-04-2007 12:22 PM

you should also have a section in the admincp where you can select the default sort file, if its possible.
:)

RS_Jelle 06-05-2007 04:55 AM

Quote:

Originally Posted by rowlandc (Post 1260970)
you should also have a section in the admincp where you can select the default sort file, if its possible.
:)

Ring, you just guessed correct a new v6 feature :D
Already added to the database scheme: a sort method (name, date, # downloads, ...) and order (asc & desc) field. Pretty similar to the per forum sort methods introduced in vBulletin itself.


All times are GMT. The time now is 01:32 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.04473 seconds
  • Memory Usage 1,886KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_php_printable
  • (34)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