Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
DownloadsII ver 5.0 vbAdvanced Add-On Details »»
DownloadsII ver 5.0 vbAdvanced Add-On
Version: 1.0.1, by CyberRanger CyberRanger is offline
Developer Last Online: Jan 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 03-11-2006 Last Update: 10-30-2006 Installs: 300
Additional Files  
No support by the author.

DownloadsII vBadvanced CMPS Add-On
Version 1.0.1

The DownloadsII vBadvanced CMPS Add-On, is not a stand-alone mod. It requires DownloadsII 5.0.1 or higher. You can find it here (free).
Also vBadvanced CMPS (a vBulletin 3.5.x or 3.6.x version) is required. You can find it here (free).



Installation
  1. Upload downloads2.php to the module directory of vBadvanced CMPS
  2. Create the new module using the drop down menu to select downloads2.php
    In the "templates used" field enter 'adv_portal_ecdownloads, downloads_panel_bit' (without the quotation marks ofcourse)
  3. Update your index pages(s) to show the new module
Done!

Changelog

Version 1.0.0
CyberRanger
- Initial Release

Version 1.0.1
Jelle
- Small code cleanup
- Renamed the module to downloads2.php
- Added a changelog and readme/install text file to the package

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 01-27-2007, 07:16 PM
sunnycher sunnycher is offline
 
Join Date: Mar 2005
Location: FL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

color me stupid but I can't find where to add categories? I bet it's staring me right in the face too!
Reply With Quote
  #53  
Old 01-31-2007, 12:42 PM
akulion's Avatar
akulion akulion is offline
 
Join Date: Nov 2005
Location: Canada
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how to add for the latest vb advanced? using 3.6.4vb
Reply With Quote
  #54  
Old 01-31-2007, 12:57 PM
sunnycher sunnycher is offline
 
Join Date: Mar 2005
Location: FL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ignore my other post! I was in the wrong thread anyway

Loving this, thank you!
Reply With Quote
  #55  
Old 01-31-2007, 12:59 PM
akulion's Avatar
akulion akulion is offline
 
Join Date: Nov 2005
Location: Canada
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

never mind got it working

thanks
Reply With Quote
  #56  
Old 02-10-2007, 02:11 AM
phpdevrus phpdevrus is offline
 
Join Date: Mar 2006
Location: San Francisco, CA
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do i limit the displayed file name? some of my file names are long and it messes up my template on vba index.

thnx
Reply With Quote
  #57  
Old 02-10-2007, 06:07 AM
phpdevrus phpdevrus is offline
 
Join Date: Mar 2006
Location: San Francisco, CA
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice, installed perfectly.
Reply With Quote
  #58  
Old 02-21-2007, 03:36 PM
Jay... Jay... is offline
 
Join Date: Jan 2006
Location: Sunderland, UK
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there anyway i can have this working but have the other one not show up on the downloads.php page?
Reply With Quote
  #59  
Old 02-21-2007, 04:46 PM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jay... View Post
is there anyway i can have this working but have the other one not show up on the downloads.php page?
Yes, you'll need to edit downloads.php to make that happen.

Around line 393, look for:
PHP Code:
    eval('$dpanel = "' fetch_template('downloads_panel_side') . '";');
    eval(
'$dmain = "' fetch_template('downloads_wrapper_side') . '";'); 
REPLACE with:
PHP Code:
eval('$dmain .= "' fetch_template('downloads_wrapper_top') . '";'); 
Around line 1980, look for:

PHP Code:
    if ($dl->statslatestfiles OR $dl->statstopcontributers OR $dl->statsmostpopularfiles 0)
    {
        eval(
'$dpanel = "' fetch_template('downloads_panel_side') . '";');
        eval(
'$dmain .= "' fetch_template('downloads_wrapper_side') . '";');
    }
    else
    {
        eval(
'$dmain .= "' fetch_template('downloads_wrapper_none') . '";');
    } 
REPLACE with:
PHP Code:
eval('$dmain .= "' fetch_template('downloads_wrapper_none') . '";'); 
That should do the trick!
Reply With Quote
  #60  
Old 02-21-2007, 04:49 PM
Jay... Jay... is offline
 
Join Date: Jan 2006
Location: Sunderland, UK
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CyberRanger View Post
Yes, you'll need to edit downloads.php to make that happen.

Around line 393, look for:
PHP Code:
    eval('$dpanel = "' fetch_template('downloads_panel_side') . '";');
    eval(
'$dmain = "' fetch_template('downloads_wrapper_side') . '";'); 
REPLACE with:
PHP Code:
eval('$dmain .= "' fetch_template('downloads_wrapper_top') . '";'); 
Around line 1980, look for:

PHP Code:
    if ($dl->statslatestfiles OR $dl->statstopcontributers OR $dl->statsmostpopularfiles 0)
    {
        eval(
'$dpanel = "' fetch_template('downloads_panel_side') . '";');
        eval(
'$dmain .= "' fetch_template('downloads_wrapper_side') . '";');
    }
    else
    {
        eval(
'$dmain .= "' fetch_template('downloads_wrapper_none') . '";');
    } 
REPLACE with:
PHP Code:
eval('$dmain .= "' fetch_template('downloads_wrapper_none') . '";'); 
That should do the trick!
That worked a treat that mate! Cheers :up:
Reply With Quote
  #61  
Old 03-20-2007, 08:03 PM
Jay... Jay... is offline
 
Join Date: Jan 2006
Location: Sunderland, UK
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NiTRoN View Post
is there any way to make this to truncate long file names with (...) without prentecies on main page lets say after 10 caracters?.

Sometimes I have long filenames and this screws up front page layout badly...

Any help would be greatly appreciated.
this is what i want to do. any ideas?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:30 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.06030 seconds
  • Memory Usage 2,335KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete