vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - DownloadsII ver 5.0 vbAdvanced Add-On (https://vborg.vbsupport.ru/showthread.php?t=110122)

sunnycher 01-27-2007 07:16 PM

color me stupid but I can't find where to add categories? I bet it's staring me right in the face too!

akulion 01-31-2007 12:42 PM

how to add for the latest vb advanced? using 3.6.4vb

sunnycher 01-31-2007 12:57 PM

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

Loving this, thank you!

akulion 01-31-2007 12:59 PM

never mind got it working :D

thanks

phpdevrus 02-10-2007 02:11 AM

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

phpdevrus 02-10-2007 06:07 AM

nice, installed perfectly.

Jay... 02-21-2007 03:36 PM

is there anyway i can have this working but have the other one not show up on the downloads.php page?

CyberRanger 02-21-2007 04:46 PM

Quote:

Originally Posted by Jay... (Post 1187562)
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!

Jay... 02-21-2007 04:49 PM

Quote:

Originally Posted by CyberRanger (Post 1187617)
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:

Jay... 03-20-2007 08:03 PM

Quote:

Originally Posted by NiTRoN (Post 1163317)
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?


All times are GMT. The time now is 12:54 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.01265 seconds
  • Memory Usage 1,756KB
  • 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
  • (8)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
  • (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