The Arcive of vBulletin Modifications Site. |
|
ecDownloads vBAdvanced addon Details »»
|
|||||||||||||||||||||||||
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
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Would you please provide a demo or screen shot? :ninja:
- Compu |
|
#3
|
|||
|
|||
|
I think someone forgot to attach ecdownloads.php
|
|
#4
|
||||
|
||||
|
Yea you might want to do that bud xD.
~Curt |
|
#5
|
|||
|
|||
|
Quote:
Quote:
|
|
#6
|
|||
|
|||
|
The template caused all the other blocks on the side I put it to be placed at the bottom of the page with vBadvance 2.0 rc2.
But that was soon fixed by removing Code:
<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="100%" align="center"> <tr> <td> <table cellpadding="6" cellspacing="1" border="0" width="100%"> Code:
</table> </td> </tr> </table> <br /> I also changed this Code:
<td class="tcat" width="25%"><span class="smallfont"><strong>$vba_options[portal_blockbullet] ecDownloads Statistics</strong></span></td> Code:
<td class="$bgclass"><span class="smallfont"><strong>$vba_options[portal_blockbullet] ecDownloads Statistics</strong></span></td> |
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
||||
|
||||
|
Quote:
|
|
#9
|
|||
|
|||
|
is there a template i can use with 3.0.7? This one seems to display at 100% width and the cell header doesnt follow suit to the theme.
thanks in advance. |
|
#10
|
||||
|
||||
|
works a treat
|
![]() |
|
|