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
  #92  
Old 07-13-2007, 06:49 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Noctavia View Post
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') . '";'); 
Reply With Quote
  #93  
Old 08-19-2007, 08:58 PM
HarryBO HarryBO is offline
 
Join Date: Jan 2003
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine, but how can I translate the stats into german? I can´t find anything in the phrases or in the templates!
Reply With Quote
  #94  
Old 08-27-2007, 05:39 PM
mlucek's Avatar
mlucek mlucek is offline
 
Join Date: Feb 2004
Location: Lost Angeles
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice !! *** INSTALLED ***

VB 3.6.7 (yeah I know, haven't updated to 3.6.8 yet)
CMPS 3.0 RC1
Reply With Quote
  #95  
Old 08-27-2007, 10:01 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HarryBO View Post
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
Reply With Quote
  #96  
Old 09-15-2007, 12:23 AM
AudioFX AudioFX is offline
 
Join Date: Mar 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Coolin, very useful, thanx!
Reply With Quote
  #97  
Old 09-27-2007, 03:21 PM
ang2el ang2el is offline
 
Join Date: Oct 2005
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #98  
Old 09-28-2007, 11:32 AM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ang2el View Post
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".
Reply With Quote
  #99  
Old 10-03-2007, 11:18 PM
Zellbet Zellbet is offline
 
Join Date: Jul 2004
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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



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>
Reply With Quote
  #100  
Old 10-08-2007, 09:41 AM
scotsmist scotsmist is offline
 
Join Date: May 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RS_Jelle View Post
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 ?
Reply With Quote
  #101  
Old 10-18-2007, 06:01 AM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zellbet View Post
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



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 View Post
Hi, if vbportal was free to you, would you test with it ?
That's an interesting offer
Then I would certainly experiment with it and try to port the module.
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 02:25 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04933 seconds
  • Memory Usage 2,329KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (2)bbcode_php
  • (6)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_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