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)

RS_Jelle 07-13-2007 06:49 PM

Quote:

Originally Posted by Noctavia (Post 1287555)
I think this is also what I want to do. I'd like to have the actual downloads section (ie the right column of the downloads.php page showing as a vBadvanced page more than the top stats.

On the vBadvanced site, you can find integration instructions for v2 of it: http://www.vbadvanced.com/membersare...tid=4&pageid=6
I didn't tests v3 yet, as I didn't have the time for it and it's not yet a final release (it's an RC, Release Candidate).

Then you only need to turn off the column in the DownloadsII options. But for removing them from the home page of DownloadsII, you need to edit downloads.php (at the end of the file).

There you will find:
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 this with:
PHP Code:

eval('$dmain .= "' fetch_template('downloads_wrapper_none') . '";'); 


HarryBO 08-19-2007 08:58 PM

Works fine, but how can I translate the stats into german? I can“t find anything in the phrases or in the templates!

mlucek 08-27-2007 05:39 PM

Nice !! *** INSTALLED ***

VB 3.6.7 (yeah I know, haven't updated to 3.6.8 yet)
CMPS 3.0 RC1

RS_Jelle 08-27-2007 10:01 PM

Quote:

Originally Posted by HarryBO (Post 1321198)
Works fine, but how can I translate the stats into german? I can?t find anything in the phrases or in the templates!

They are hardcoded in the adv_portal_ecdownloads template at the moment ;)

AudioFX 09-15-2007 12:23 AM

Coolin, very useful, thanx!

ang2el 09-27-2007 03:21 PM

the contents of top contributors and latest files are not showing up. How should I fix this? Please goto http://www.xenomed.com/forums/downloads.php to see this problem.

CyberRanger 09-28-2007 11:32 AM

Quote:

Originally Posted by ang2el (Post 1348296)
the contents of top contributors and latest files are not showing up. How should I fix this? Please goto http://www.xenomed.com/forums/downloads.php to see this problem.

Try running "Update Counters".

Zellbet 10-03-2007 11:18 PM

1. I am trying to modify the VBadanced module to show only one category. IE I want one module to show the most popular files, and another module to show the latest files. Not sure what I am doing wrong here, but this is the image i get

https://vborg.vbsupport.ru/

This is the code. I would like it to just say in the module the names of the files. And not include most popular files 2 times, and remove the lines around it.

Code:

    <if condition="$dl->statsmostpopularfiles > 0">
    <tr align="center">
      <td class="thead" width="25%"><span class="smallfont">Most Popular Files</span></td>
    </tr>
    <tr align="center">
      <td class="alt1">
      <fieldset class="fieldset" style="margin:0px 0px 0px 0px">
      <legend>Most Popular Files</legend>
      <div style="padding:0px">
      <table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
        <tr>
        <td width="100%">
          <table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
          $dpanel_popular_bits
          </table>
        </td>
        </tr>
      </table>
      </div>
      </fieldset>
      </td>
    </tr>
    </if>


scotsmist 10-08-2007 09:41 AM

Quote:

Originally Posted by RS_Jelle (Post 1111698)
That's okay, because me and CyberRanger aren't using vBPortal (it isn't free, so we can't test it), so we only create/support a vBadvanced CMPS module :)

Hi, if vbportal was free to you, would you test with it ?

RS_Jelle 10-18-2007 06:01 AM

Quote:

Originally Posted by Zellbet (Post 1352439)
1. I am trying to modify the VBadanced module to show only one category. IE I want one module to show the most popular files, and another module to show the latest files. Not sure what I am doing wrong here, but this is the image i get

http://www.ozoneplanet.net/images/pic.jpg

This is the code. I would like it to just say in the module the names of the files. And not include most popular files 2 times, and remove the lines around it.

Code:

    <if condition="$dl->statsmostpopularfiles > 0">
    <tr align="center">
      <td class="thead" width="25%"><span class="smallfont">Most Popular Files</span></td>
    </tr>
    <tr align="center">
      <td class="alt1">
      <fieldset class="fieldset" style="margin:0px 0px 0px 0px">
      <legend>Most Popular Files</legend>
      <div style="padding:0px">
      <table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
        <tr>
        <td width="100%">
          <table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
          $dpanel_popular_bits
          </table>
        </td>
        </tr>
      </table>
      </div>
      </fieldset>
      </td>
    </tr>
    </if>


That's because the same templated is used two times. For the second module, create a new template next to adv_portal_ecdownloads, for example adv_portal_ecdownloads2.
Then open /modules/downloads2.php and change adv_portal_ecdownloads in it to your other template and give the module another name (for example downloads3.php), so you have two modules :)

Quote:

Originally Posted by scotsmist (Post 1355385)
Hi, if vbportal was free to you, would you test with it ?

That's an interesting offer :D
Then I would certainly experiment with it and try to port the module.


All times are GMT. The time now is 05:50 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.01255 seconds
  • Memory Usage 1,759KB
  • 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
  • (2)bbcode_php_printable
  • (6)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