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)

Krumbz 08-25-2008 01:57 PM

1 Attachment(s)
Bollie, I know how to get the image there.. But the image shows under the Category Title. Not on the left of it. Look at the mods screen shot.

eLkRi 08-25-2008 02:31 PM

Is possible to add custom fields in the downloads?

the same download can belong to two different categories?

thanks!!

sadiq6210 08-28-2008 10:01 PM

RS_Jelle

Is there a new version for vb3.7 ?
I didn't upgrade the forum yet becuase i am watting the new version of this product

So, could you give us a date?

Thanks

ezurick 08-29-2008 10:45 AM

Quote:

Originally Posted by sadiq6210 (Post 1609409)
RS_Jelle

Is there a new version for vb3.7 ?
I didn't upgrade the forum yet becuase i am watting the new version of this product

So, could you give us a date?

Thanks

Can you people take this to the 3.7 Mod area... this is 3.6 and some of us refuse to upgrade...

ncangler 09-03-2008 11:25 PM

I am running vb 3.7.2 and have DownloadsII 5.0.8. When trying to upload a new .pdf document I get the message: Fields marked in RED must be filled in!

But there are no fields marked in RED. Any ideas how I can upload this document without getting this message? Thanks.

Drakah 09-05-2008 09:45 PM

Is there a way that there can be an additional field(s) where I can add a "Version Number", as well as a "Date Modified" instead of the original date the download initial post was created? Some users think the files are old because they are seeing the date the download post was first created.

katie hunter 09-05-2008 10:39 PM

Hi Jelle =] Nice mod but is it possible to make your modification compatible with GTSmiliebox - Move Smilies Below Editor

https://vborg.vbsupport.ru/showthrea...hlight=smilies

Because now it looks funny when viewing each file , it stretches the message box in a funny way.

MissKalunji 09-05-2008 11:04 PM

Quote:

Originally Posted by Lionel (Post 1173277)
easy. In includes/class_downloads.php look for

PHP Code:

function update_latest_files() 

To grab URL, replace the $statslatestfiles_q with this

PHP Code:

$statslatestfiles_q $db->query_read("SELECT name, id, url FROM " TABLE_PREFIX "dl_files WHERE `purgatory`='0' ORDER BY `date` DESC LIMIT ".$this->statslatestfiles.""); 

and right below, in the while loop, add (please note I only get the first name of the extension as in my case they are unique. Like f for flv, m for mp3, p for pdf. If yours are not unique, like mp3 or mov both start with "m" then you need the substring method to get full extension name)

PHP Code:

$fname=$latest['url'];
$ficon=$fname{strlen($fname)-3};
    if (
$ficon=='f'){$icon="<img src=\"/forums/images/icons/icon_video.gif\" alt=\"video\">";}else if ($ficon=='m'){$icon="<img src=\"/forums/images/music.png\" alt=\"mp3\">";}else{$icon="";} 

do the similar for the function function update_popular_files()
SELECT `id`,`name`,`downloads`,`url`

then add $icon in template

I did some more nifty tricks with downloads, like allowing people to pick and choose songs to add to a playlist (icon changes to "remove" if they were added, then play all of them.

That's nice

RS_Jelle 09-06-2008 07:38 AM

Quote:

Originally Posted by katie hunter (Post 1615480)
Hi Jelle =] Nice mod but is it possible to make your modification compatible with GTSmiliebox - Move Smilies Below Editor

https://vborg.vbsupport.ru/showthrea...hlight=smilies

Because now it looks funny when viewing each file , it stretches the message box in a funny way.

Try putting this line in your downloads.php (after the other defines):
PHP Code:

define('GET_EDIT_TEMPLATES''add,edit,file'); 


katie hunter 09-06-2008 10:01 AM

Thanks for the fast reply <333 It is fixed now


All times are GMT. The time now is 10:09 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.05105 seconds
  • Memory Usage 1,754KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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