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)

majorvbuser 07-10-2007 09:44 AM

Quote:

Originally Posted by RS_Jelle (Post 1287428)
Ah, sorry. I forgot about that setting :)

NP, you coder types forget us dimwits don't think to check stuff like that as standard. Thanks again for your patience.:)

funrun 07-10-2007 11:12 AM

I have Disable file thumbnails set to NO, but none of my test jpg files, linked or uploaded, are showing thumbnail previews anywhere. Its just that little double arrow default icon. Everything else that I can tell is running fine. What might be wrong?

RS_Jelle 07-10-2007 11:37 AM

Quote:

Originally Posted by funrun (Post 1287494)
I have Disable file thumbnails set to NO, but none of my test jpg files, linked or uploaded, are showing thumbnail previews anywhere. Its just that little double arrow default icon. Everything else that I can tell is running fine. What might be wrong?

That's strange, I can't think about something causing that if the option is set to no. Can you pm me your site url and a normal user test account (username/password) to check it out?

Noctavia 07-10-2007 12:22 PM

I was wondering if it's possible to make the reply comments match the look of the standard vBulletin comments?

My vBulletin forum replies are separated (each reply is) and shows the full member account info (profile fields etc) on the right. My downloads comments aren't separated and there's no account info. I want people to think it's just part of the site.

Also, is it possible to have the reply section look like the quick reply from the forums? Mine's all smooshed up against the bottom comment.

rowlandc 07-11-2007 08:38 PM

Any news on the new release I'm getting all excited since Jelle showed me the pictures :D

Saviour 07-12-2007 02:43 PM

I've seen several posts regarding this bug, but have yet to see any fixes.

I'm currently running vbulletin 3.6.7 PL1 I have Downloads II 5.0.4 installed.

Problem:

Manage files only displays one page...additional pages are still not being displayed.

Did I miss a fix for this...another version possibly?

Any help is greatly appreciated.

CyberRanger 07-13-2007 02:58 AM

Quote:

Originally Posted by Saviour (Post 1289206)
Manage files only displays one page...additional pages are still not being displayed.

Did I miss a fix for this...another version possibly?

Any help is greatly appreciated.

Sorry, this is a know bug that I'd hoped to release a fix for weeks ago. Legal !%@%@#%$%^&$^ with the x-wife have kept me away from programming and will for at least the next two weeks. I do still hope to release a minor bug update while the work on v6 continues.

winstone 07-13-2007 04:48 PM

how can I have thumbnail image for each entry in "latest files", "most popular files" section
It would also very nice if thumbnail show up in "vbAdvanced Add-On" as well

meantime I'll try to modify the codes and see if I can do it myself

btw this is a great mod, well done

RS_Jelle 07-13-2007 06:44 PM

Quote:

Originally Posted by Noctavia (Post 1287537)
I was wondering if it's possible to make the reply comments match the look of the standard vBulletin comments?

My vBulletin forum replies are separated (each reply is) and shows the full member account info (profile fields etc) on the right. My downloads comments aren't separated and there's no account info. I want people to think it's just part of the site.

Also, is it possible to have the reply section look like the quick reply from the forums? Mine's all smooshed up against the bottom comment.

The reply editor is already recoded to use the quick reply editor in v6.
More user info hasn't been added currently to the commentbits (except an edit feature next to the delete feature).

Quote:

Originally Posted by winstone (Post 1290100)
how can I have thumbnail image for each entry in "latest files", "most popular files" section
It would also very nice if thumbnail show up in "vbAdvanced Add-On" as well

meantime I'll try to modify the codes and see if I can do it myself

btw this is a great mod, well done

Hmm, how would you place that? A decent thumbnail is way too large to place it in such a small column :(

koolstuff 07-13-2007 07:44 PM

Hi Does this run on the database?

RS_Jelle 07-13-2007 09:19 PM

Quote:

Originally Posted by koolstuff (Post 1290225)
Hi Does this run on the database?

Euhm, yes, it creates some new tables and fields in existing tables in the vBulletin database. Most mods do this if they need to store data, but you don't have to know anything about databases yourself. The product file does all the work for you: installing, upgrading and deinstalling.

Files in the downloads section (DownloadsII) can be linked to another site, or you can upload them and they are stored in the file system. You can choose a directory to do this inside your vBulletin forums FTP folder.

winstone 07-14-2007 04:49 PM

Quote:

Originally Posted by RS_Jelle (Post 1290189)
Hmm, how would you place that? A decent thumbnail is way too large to place it in such a small column :(

100x100 pixel thumbnails underneath each other would be very nice in my opinion, I would highly appreciate if you could give me some tips on how I can add that

in Addition, is there any way to add full size picture to thread description? (using create new thread mod)

hydrodyn 07-16-2007 07:36 AM

Hi all,

is it possible to set passwords for single categories?
I saw it on a Handy-Support-Site, but i didnt find the Page again to show you.

Greez

CraiovaOnLine 07-16-2007 08:43 PM

i need some keywords and description to share with mr Google.

thinking: keyword: the name of the download
description : shortdescript.

tried to modify the template and to call them as meta, kinda screwd up my header.

any ideeas?

AudioFX 07-17-2007 12:19 PM

Just wanted to say thanx for an awesome vb hack.
This hack has been used in my music community website.
Check it out in action: http://www.audiofx.co.za/forums/downloads.php?
And VBA integration: www.audiofx.co.za

:):)

basketmen 07-20-2007 02:32 PM

Ugh still not get the answer, i think this easy enough

How to set title lenght?

i know to set description lenght in downloadsII in admincp options, but How to set title lenght?

RS_Jelle 07-20-2007 03:21 PM

Quote:

Originally Posted by winstone (Post 1290932)
100x100 pixel thumbnails underneath each other would be very nice in my opinion, I would highly appreciate if you could give me some tips on how I can add that

in Addition, is there any way to add full size picture to thread description? (using create new thread mod)

It's not that easy to add in a moment, so I can't give "some tips". First you need a new piece of PHP code to create the 100x100 thumbnails and then you can add them to the template.
Another method is without using special thumbnails and just setting style="width: 100px; height: 100px;" in the img tag for the normal image. You can do this pretty easy in the correct template when you add the PHP code for the normal thumbnails (have a look at the category code part of downloads.php, there's a loop function to pick a thumbnail) to the column functions in class_downloads.php.

For the Create New Thread mod, you better ask this in the mod thread to keep things organised :)

Quote:

Originally Posted by hydrodyn (Post 1292553)
Hi all,

is it possible to set passwords for single categories?
I saw it on a Handy-Support-Site, but i didnt find the Page again to show you.

Greez

That's not possible at the moment, so it's probably a custom coded mod for that site.

Quote:

Originally Posted by CraiovaOnLine (Post 1293119)
i need some keywords and description to share with mr Google.

thinking: keyword: the name of the download
description : shortdescript.

tried to modify the template and to call them as meta, kinda screwd up my header.

any ideeas?

I already added this to v6, next to the existing custom titles for better SEO. It's done using a plugin as we want to avoid modifying any templates.
But meta tags aren't that important any more for SEO. Google is looking more at your inbound links etc. for their PageRank system.

Quote:

Originally Posted by basketmen (Post 1296636)
Ugh still not get the answer, i think this easy enough


How to set title lenght?

i know to set description lenght in downloadsII in admincp options, but How to set title lenght?

Hmm, I don't see your question anywhere else in the thread :confused:
That's not possible as we assume the title isn't that long normally (you can put all extra details in the description which is cropped) ...

basketmen 07-20-2007 09:56 PM

This tutorial to make title name in url is posted in vbseo.com site, i posting here again more perfect and i think you can use it even you dont use vbseo





Step 1:

Open downloads.php

Find: $file['name']

Add this line Below all the entrees, there are about 10-15 of them.

Quote:

$file['name2'] = str_replace(' ', '-', $file['name']);



Step 2:

Edit the template downloads_cat_filebit

Find:

Quote:

<a href="downloads.php?do=file&amp;id={$file['id']}

Replace with:

Quote:

<a href="downloads.php?do=file&amp;id={$file['id']}-{$file['name2']}">






this how is looks like in your category page

Before

After above code edit
if you use vbseo too it will be like this






Above code works in category page, i still can not change url in Latest Files and Most Popular Files, anyone know what files or template i need to edit Latest Files and Most Popular Files url?



contribution needed to make this mod more perfect, come on give your hand too :up:

BYB-01 07-21-2007 10:18 PM

I have just installed this mod and am having troubles with it. I followed the steps right through to "6. Create directories in the 'Categories' menu under the 'Downloads' in your admincp". When I try this all I get is a blank page beside the nav menu. The settings work but the rest (Categories, Import, Downloads) are all blank.

charles abiola 07-21-2007 10:46 PM

I install download II, but the button didn't show in my menu bar.
Anyhelp will really appreciated.

I delete my categories main by mistakes any suggestion for undone it.

RS_Jelle 07-22-2007 07:47 AM

Quote:

Originally Posted by BYB-01 (Post 1297772)
I have just installed this mod and am having troubles with it. I followed the steps right through to "6. Create directories in the 'Categories' menu under the 'Downloads' in your admincp". When I try this all I get is a blank page beside the nav menu. The settings work but the rest (Categories, Import, Downloads) are all blank.

That's pretty strange. First try reuploading all the files to your ftp and re-import the product file (using the overwrite option when importing it).

Quote:

Originally Posted by charles abiola (Post 1297792)
I install download II, but the button didn't show in my menu bar.
Anyhelp will really appreciated.


I delete my categories main by mistakes any suggestion for undone it.

You have to edit the navbar template yourself for this. Have a look at the Install-readme.txt file which is included in the package.

That's not a problem. You just need to create some new ones using the category admin of DownloadsII in the AdminCP.

basketmen 07-22-2007 06:00 PM

hello RS_Jelle,

i am sorry do you know
what files or template or plugin i need to edit Latest Files and Most Popular Files url?

or some clue for that

RS_Jelle 07-22-2007 08:41 PM

Sorry, I missed your question because I thought it was a tutorial only and didn't read the rest of the message. I didn't ignored you intentional, you have to do more 3vil things to get me angry :p

You can find the url HTML code of the panel bits in the downloads_panel_bit template. The $url variable in it is generated by /includes/class_downloads.php (just search in it for $url, it's there multiple times for the diferent top lists).

wolf32 07-23-2007 12:50 AM

Thank you for this mod superb *clicks install*. :)

I have one issue though. I see that you can insert images, which is eye-candy! However, is there a way to place the category name under 'Description' and just leave an image in the 'Category' section?

I have started something similar Here, but there's just too much white space surrounding the icon!

Also, how to replace the default download icon, when there is not an image in its place?

Once again, superb Hack :) (I'm sure you already knew that since it was MOTM, hehe)

RS_Jelle 07-23-2007 05:09 PM

Quote:

Originally Posted by wolf32 (Post 1298662)
I have one issue though. I see that you can insert images, which is eye-candy! However, is there a way to place the category name under 'Description' and just leave an image in the 'Category' section?

I have started something similar Here, but there's just too much white space surrounding the icon!

You have to remove the <br /><br /> before the img HTML code in the template to remove the white space ;)

Quote:

Originally Posted by wolf32 (Post 1298662)
Also, how to replace the default download icon, when there is not an image in its place?

It's placed in the buttons folder of the vBulletin style you are using, so it depends from the style the user have selected. So you need to upload it to your /forums/styledirectory/buttons/ folder as download.gif.

wolf32 07-23-2007 07:44 PM

Righteous! One last, quick question though. Is there any way to get rid of the white space to the right of the image? You can see it Here

Thanks

basketmen 07-24-2007 06:08 AM

how to remove Category Tree , Stats, My Files and Manage Files from navigation


what template or file i need to edit??




thanks for your nice support

CraiovaOnLine 07-24-2007 12:10 PM

I already added this to v6, next to the existing custom titles for better SEO. It's done using a plugin as we want to avoid modifying any templates.
But meta tags aren't that important any more for SEO. Google is looking more at your inbound links etc. for their PageRank system.

i dont see a v6 release, it is important those meta tags because otherwise all my dowload links will apeare as suplemental results in a google search.

basketmen 07-24-2007 10:44 PM

Quote:

Originally Posted by CraiovaOnLine (Post 1300100)
I already added this to v6, next to the existing custom titles for better SEO. It's done using a plugin as we want to avoid modifying any templates.
But meta tags aren't that important any more for SEO. Google is looking more at your inbound links etc. for their PageRank system.


i dont see a v6 release, it is important those meta tags because otherwise all my dowload links will apeare as suplemental results in a google search.

hi craiovaonline, maybe you can try this for seo your downloadsII mods





This post had been posted in vbseo.com too, but its need more help from the author, maybe this can be using in next downloadsII release


So your title, meta description and meta keywords will be like this:

Your file name, Category name



To do that replace $headinclude in downloads template with this full code:




HTML Code:

<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" /> <meta name="keywords" content="{$dl->title}<if condition="$dlcustomtitle">, $dlcustomtitle</if>,$cat_value" /> <meta name="description" content="{$dl->title}<if condition="$dlcustomtitle"> - $dlcustomtitle</if>,$cat_value" />

$style[css]
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script> <if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>


ShawneyJ 07-24-2007 11:32 PM

omg how did i miss this lol, love it cheers.

RS_Jelle 07-25-2007 09:57 AM

Quote:

Originally Posted by wolf32 (Post 1299508)
Righteous! One last, quick question though. Is there any way to get rid of the white space to the right of the image? You can see it Here

Thanks

Have a look at this post and try that version of downloads.php.
I created it for someone who wanted more images per row. There's a $countnumber variable in it to control the amount.
Here you can find a screenshot of how the modified version looks like (without the numbers in front of the image, that was a debugging thing).

Quote:

Originally Posted by basketmen (Post 1299838)
how to remove Category Tree , Stats, My Files and Manage Files from navigation


what template or file i need to edit??




thanks for your nice support

That's currently hardcoded in downloads.php. Open it and have a search for $dlinks. It's pretty easy to edit yourself (even without knowing PHP).

wolf32 07-25-2007 11:14 PM

Agggg!!!! didn't work. Do I need to change something in the PHP file? I checked it and didn't see anything. ;)

Edit: Is there a way to just center justify the image? or just make that column thinner? I know it seems like your answering a questionaire, but one last one. How do I replace the download button? The one that looks like vB's default expand and collapse button. Also, can you check out 'Tools & Utilities' under Programming, something is definitely wrong.

Appreciate it.

exportforce 07-26-2007 10:34 AM

Hello,

I have problems with windows.
I can't upload files larger than 2MB.
php.ini upload and post-max-size is set to 1000M

Help ?

hydrodyn 07-27-2007 12:23 AM

Hi,

i wanna delete the boxes "newest files", "files-stats", and "upper".

I can deactivate it, but the downloadbox isn“t larger then. I will use the full site for showing my downloads.

Can you help me?

rowlandc 07-27-2007 07:03 AM

I was just wondering about the Stats page. Does the data prune itself our does it stay up for ever?

I've set my download data to keep it up for 30days but the Stats page has data since 2months.

Cyricx 07-27-2007 11:46 AM

It appears to not work well with secondary usergroups.

If a secondary usergroup is set to restrict categories and another secondary usergroup is set to allow access to all categories.

The restricted categories are not viewable.

exportforce 07-28-2007 10:05 AM

Quote:

Originally Posted by exportforce (Post 1302071)
Hello,

I have problems with windows.
I can't upload files larger than 2MB.
php.ini upload and post-max-size is set to 1000M

Help ?

This problem persists...
Please help :(

adc-arab 07-28-2007 12:59 PM

awesome mod installed :D i wounder when is the next release i'd like to prevent members from dl before a number of posts like 10 posts or some thing to allow them to dl it would be great to add the feature ;) thx for this great mod

rowlandc 07-29-2007 05:23 PM

Quote:

Originally Posted by adc-arab (Post 1303851)
awesome mod installed :D i wounder when is the next release i'd like to prevent members from dl before a number of posts like 10 posts or some thing to allow them to dl it would be great to add the feature ;) thx for this great mod

You can already do that m8, if you make member get promoted after a certain amount of posts. You can set that group with the chance to download. ;)

Andyrew 07-29-2007 05:50 PM

I am having problems with downloading .pdf files, it was fine untill i went to vb 3.6.8
When a user downloads a .pdf it downloads in a split second then, when you try to view the file adobe gives an error saying the file is corrupt.
The downloads don't seem to be complete, only a small amount of data is downloaded hence the error from adobe.
Anyone know why this happens. :confused:

Update:

I have set .pdf files to open in the users browser using adobe rather than just download.
Once loaded into adobe the user just needs to click save a copy. :up:


All times are GMT. The time now is 10: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.04762 seconds
  • Memory Usage 1,868KB
  • 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
  • (1)bbcode_html_printable
  • (26)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