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

Reply
 
Thread Tools
ecDownloads vBAdvanced addon Details »»
ecDownloads vBAdvanced addon
Version: 3.x, by Ron1n Ron1n is offline
Developer Last Online: Jun 2008 Show Printable Version Email this Page

Version: 3.5.0 RC2 Rating:
Released: 08-06-2005 Last Update: 08-06-2005 Installs: 34
Uses Plugins Template Edits
Additional Files  
No support by the author.

This is to install an addon to vBAdvanced AND ecDownloads (both are required). It creates a stat panel similar to the sidepanel of the normal download system.


Add template adv_portal_ecdownloads with this content:


Code:
    <tr align="center">
     <td class="$bgclass"><span class="smallfont"><strong>$vba_options[portal_blockbullet] ecDownloads Statistics</strong></span></td>
    </tr>
    <tr align="center">
     <td class="alt1">
      <fieldset class="fieldset" style="margin:0px 0px 0px 0px">
      <legend>Latest 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_latest_bits
	  </table>
         </td>
        </tr>
       </table>
       </div>
       </fieldset>
      </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> 
     <tr align="center">
      <td class="alt1">
      <fieldset class="fieldset" style="margin:0px 0px 0px 0px">
      <legend>Top Contributors</legend>
      <div style="padding:0px">
       <table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
       $dpanel_contrib_bits
       </table>
      </div>
      </fieldset>
     </td>
    </tr>

Upload ecdownloads.php to the module directory of vbadvanced


Create the new module using the drop down menu to select ecdownloads.php, and in the "templates used" field enter adv_portal_ecdownloads, downloads_panel_bit


Update your index pages to show the new module

Show Your Support

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

Comments
  #32  
Old 12-24-2005, 08:58 AM
Mudvayne's Avatar
Mudvayne Mudvayne is offline
 
Join Date: Dec 2005
Location: /dev/null/
Posts: 393
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okiz.. I'm having same problem.. All links show www.domainname.com/downloads.php.. which supposed to b www.domainname.com/forum/downloads.php.. So i edited the php file.. Anywayz I uploaded it.. replace ur older php with tht n it 'll work fine At least mine works :P
Reply With Quote
  #33  
Old 12-27-2005, 02:17 PM
Robbed Robbed is offline
 
Join Date: Oct 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using vbadvanced and it says these templates are not cached?

Uncached templates: adv_portal_ecdownloads (1)
Uncached templates: downloads_panel_bit (12)

How would you get them to cache...Thanks.

Also for the latest files it's not showing the number of downloads...it's just showing 7 for all of them.
Reply With Quote
  #34  
Old 12-27-2005, 02:18 PM
divided_by_fear's Avatar
divided_by_fear divided_by_fear is offline
 
Join Date: Oct 2005
Posts: 451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in the "templates used" field enter adv_portal_ecdownloads, downloads_panel_bit
Reply With Quote
  #35  
Old 12-27-2005, 02:25 PM
Robbed Robbed is offline
 
Join Date: Oct 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ahh that was simple I had ' ' around the template names.

What about the latest files problem: it's not showing the number of downloads...it's just showing 7 for all of them.
Reply With Quote
  #36  
Old 12-27-2005, 02:27 PM
divided_by_fear's Avatar
divided_by_fear divided_by_fear is offline
 
Join Date: Oct 2005
Posts: 451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i had the same problem i dont think there is a fix for that i have tried all the fixes cleaned out everything started over and no matter what it still does it i just removed the number for now
Reply With Quote
  #37  
Old 12-27-2005, 02:36 PM
Robbed Robbed is offline
 
Join Date: Oct 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wonder if it's because we changed the coding so we can have more popular files listed.
Reply With Quote
  #38  
Old 12-27-2005, 02:50 PM
divided_by_fear's Avatar
divided_by_fear divided_by_fear is offline
 
Join Date: Oct 2005
Posts: 451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nah i didnt change no coding even stock it does that after so long
Reply With Quote
  #39  
Old 12-27-2005, 11:35 PM
Robbed Robbed is offline
 
Join Date: Oct 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What code did you remove, to get rid of the numbers and what about that weird background color.

Reply With Quote
  #40  
Old 12-28-2005, 01:20 AM
divided_by_fear's Avatar
divided_by_fear divided_by_fear is offline
 
Join Date: Oct 2005
Posts: 451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nah my background was fine but all i did for now was remove the number look in the php file that comes with this open it up only like 9-10 lines down look at //$value = remove the //
Reply With Quote
  #41  
Old 12-28-2005, 03:07 AM
divided_by_fear's Avatar
divided_by_fear divided_by_fear is offline
 
Join Date: Oct 2005
Posts: 451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i was just looking i dont even think itssuppose to show numbers on the latest files... cause look on your main downloads page it done show it there so i have no clue why it would try on the module im going to look at the code a bit more but it has to be how he has it set up on the the main downloads that it gives numbers there cause all its using is the same calls as used in the top block on the downloads main page
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 05:05 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.04634 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (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
  • (3)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