Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ecDownloads 3.2 Legacy Details »»
ecDownloads 3.2 Legacy
Version: 3.2 Legacy, by Ron1n Ron1n is offline
Developer Last Online: Jun 2008 Show Printable Version Email this Page

Version: 3.0.8 Rating:
Released: 01-26-2005 Last Update: 08-09-2005 Installs: 195
DB Changes Template Edits
Code Changes Additional Files  
No support by the author.

ecDownloads 3.2 Legacy (vBDownloads) is available for vBulletin 3.0.x

Talk about 3.2 here: https://vborg.vbsupport.ru/showthread.php?p=751766

What is ecDownloads?

It is a download database that integrates into vBulletin. It allows you to upload files, create folders, link to external files - and more. It is very flexible and has many options. Sorry, no screenshots. Maybe if someone is nice they will provide a link to the latest version of ecDownloads for everyone to view it.

Changes in 3.2

- Too many to list... its a whole new world

Known Bugs:

- Missing phrase in add file (on nav bar)
- No file protection, add it here if you want: https://vborg.vbsupport.ru/showpost....&postcount=174
- Missing phrases (ecdownloads_can_edit_all and ecdownloads_can_view_disabled) in admincp

Install

Make the file edits in ecDownloads.txt
Upload the contents of 'upload' to your forum directory
Run the downloadinstaller.php file in the admincp (install/rebuild styles and phrases)
Create a directory called 'downloads' (or whatever you put in your settings) and make it writeable and executable

Time: 5-6 Min

Addons

vBAdvanced Module: https://vborg.vbsupport.ru/showthread.php?t=93771

Want another addon? Request it.

Giving Back

Have you installed this mod? Click install.
Do you like this mod? Rate me 5/5.
Do you want to donate? Go to www.unicef.org and be generous!

To the community

Thanks for all your support, I hope you enjoy this. It will have 1-2 minor bugs, but nothing major. Have fun, and make suggestions.

IMPORTANT NOTICES

- Upgraders should remove the CRON that they originally set up
- Look at the fix list to the right -> see if it has been updated since you downloaded

Show Your Support

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

Comments
  #392  
Old 03-28-2005, 06:01 AM
memobug memobug is offline
 
Join Date: Jun 2002
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rids
The stats page is just showing one member (same one for every day) and the same date (03-25-05) day after day and no other figures. I checked the cron job setup and its the same as in the screenshot so I currently have no idea why its not working.
I have exactly this same problem but I did not want to mention it for fear that Ron1n might think I was trying to rip the hack, which I think is a great hack.

But I can confirm the problem.

Also, I became aware of this hack from another site which has the same thing displayed. I don't have any users downloading anything or any files to download, but I see the same user 3 times as downloading yesterday.

Regards,

Matt
Reply With Quote
  #393  
Old 03-28-2005, 01:48 PM
Ron1n Ron1n is offline
 
Join Date: Jun 2004
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I miscoppied the statsbit into the installer script.

downloads_util_stats_bit:

Code:
<tr><td class="alt1">{$stat['date']}</td><td class="alt1">{$stat['downloads']}</td></tr>
Quote:
The stats thing has a little bug where it will report top [uploaders] as people who have never [uploaded] anything, so the query should probably be adjusted to not report people who haven't [uploaded] anything.

Similarly it will report [the most popular files as files that] don't have any downloads.
This is not a bug, and I do not think it needs to be fixed. When I was making this I also considered making no numbers (0's) show up if the board had fewer than 4 members, but doing things like that is just a complete waste of time. The stats work perfectly if the following are true: the board has more than 4 users, more than 4 files, more than 4 users with uploads, more than 4 files with downloads. Since no boards except for test boards are in this situation, its pointless.

About the 'headers already sent' errors, 99% of users on the web aren't effected by it. You should use FireFox (the best browser) www.getfirefox.com.

The following is an example of one of the smaller pages on a website I made, and as you can see, I print as follows: HTML - php generated content - HTML and it works fine for every user who has viewed it so far. If it hadn't I would have been contacted as I know everyone who has gone to this website.
Code:
<?
switch($_GET['do']) {
	case 'hw':
		$content = '<strong>Harbor Walk Association Resources</strong>
				  <br>
				  <br>
				<a href="files/HWA of Incorporation.pdf">HWA Articles of Incorporation (pdf doc)</a>
				  <br>
				<a href="files/HWA By Laws.pdf">HWA By Laws (pdf doc)</a>
				  <br>
				<a href="files/HWA Joint Venture Declaration.pdf">HWA Joint Venture Declaration (pdf doc)</a>
				  <br>';
		break;
	default:
		$content = '<strong>Community Association Resources</strong>
				  <br>
				  <br>
				<a href="files/OCA By Laws.doc">OCA By Laws(word doc)</a>
				  <br>
				<a href="files/OCA Covenants.doc">OCA Covenants (word doc)</a>
				  <br>';
		break;
}
?>
		
<HTML><!-- InstanceBegin template="/Templates/single.dwt" codeOutsideHTMLIsLocked="false" -->
<HEAD>
<!-- InstanceBeginEditable name="Title" --><TITLE>Resources</TITLE><!-- InstanceEndEditable -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">
<style type="text/css">
<!--
td {
	text-align: left;
	vertical-align: top;
	font-family:Tahoma;
	font-size:10px;
	color:#7E7E7E;
}
form
{
	margin:0px;
}
a {
	text-decoration: underline;
		color:#7E7E7E;
}
a.1 {
	text-decoration: none;
	color:#7E7E7E;
}
a.2 {
	text-decoration: none;
	color:#4F6B75;
}

a.m1 {
	text-decoration: none;
	color:#ffffff;
}
.t11 {
	font-family: Tahoma;
	font-size: 11px;
	font-style: normal;
}

-->
</style>

<script language="JavaScript" type="text/JavaScript">
<!--

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<A.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].SRC=a[i];}}
}
//-->
</script>





</HEAD>
<BODY BGCOLOR=#F0F0F0 LEFTMARGIN=0 TOPMARGIN=0 RIGHTMARGIN="0" BOTTOMMARGIN="0" MARGINWIDTH=0 MARGINHEIGHT=0>
<CENTER>
<TABLE WIDTH=766 BORDER=0 CELLPADDING=0 CELLSPACING=0>
  <TR>
	<TD><IMG SRC="images/structure/1.jpg" WIDTH=766 HEIGHT=18 ALT=""></TD>
  </TR>
  <TR>
	<TD>
	  <TABLE WIDTH=766 BORDER=0 CELLPADDING=0 CELLSPACING=0>
        <TR>
          <TD> <IMG SRC="images/structure/6.jpg" WIDTH=18 HEIGHT=249 ALT=""></TD>
          <TD VALIGN="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" WIDTH="249" height="249">
            <param name="movie" value="flash/menu.swf">
            <param name="quality" value="high">
            <embed SRC="flash/menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" WIDTH="249" height="249"></embed>
            </object></TD>
          <TD> <IMG SRC="images/structure/7.jpg" WIDTH=17 HEIGHT=249 ALT=""></TD>
          <TD>
			<TABLE WIDTH=463 BORDER=0 CELLPADDING=0 CELLSPACING=0>
              <TR>
                <TD><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" WIDTH="463" height="116">
                  <param name="movie" value="flash/big.swf">
                  <param name="quality" value="high">
                  <embed SRC="flash/big.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" WIDTH="463" height="116"></embed>
                  </object></TD>
              </TR>
              <TR>
                <TD> <IMG SRC="images/structure/10.jpg" WIDTH=463 HEIGHT=17 ALT=""></TD>
              </TR>
              <TR>
                <TD BACKGROUND="images/structure/2t1.jpg" WIDTH=463 HEIGHT=35 ALT="">
				  <TABLE WIDTH="463"  BORDER="0" CELLSPACING="0" CELLPADDING="0">
  					<TR>
					  <TD WIDTH="240"><DIV STYLE="padding-top:15px;padding-left:16px "><IMG SRC="images/structure/2text1.jpg"></DIV></TD>
    				  <TD WIDTH="223"></TD>
  				    </TR>
				  </TABLE>
				</TD>
              </TR>
              <TR>
               	<TD>
				  <TABLE WIDTH=463 BORDER=0 CELLPADDING=0 CELLSPACING=0>
                  	<TR>
                      <TD BACKGROUND="images/structure/bak2.jpg" WIDTH=4 HEIGHT=77 ALT=""></TD>
                      <TD bgcolor="#F5F5F5" width=453 height=77 alt=""><DIV STYLE="padding-left:0px;padding-top:2px; padding-right:2px; padding-bottom:2px ">
                        <iframe frameBORDER="0" SRC="inews.php"  WIDTH="453px" height="72px"></iframe></DIV></TD>
                      <TD BACKGROUND="images/structure/bak4.jpg" WIDTH=4 HEIGHT=77 ALT=""></TD>
                    </TR>
                  </TABLE>
				</TD>
              </TR>
              <TR>
                <TD> <IMG SRC="images/structure/2t2.jpg" WIDTH=463 HEIGHT=4 ALT=""></TD>
              </TR>
            </TABLE>
	      </TD>
          <TD> <IMG SRC="images/structure/8.jpg" WIDTH=19 HEIGHT=249 ALT=""></TD>
        </TR>
      </TABLE>
	</TD>
  </TR>
  <TR>
	<TD> <IMG SRC="images/structure/2.jpg" WIDTH=766 HEIGHT=17 ALT=""></TD>
  </TR>
     
    
	  <TR>
		<TD BACKGROUND="images/structure/1t1.jpg" WIDTH=766 HEIGHT=35 ALT="">
		  <TABLE WIDTH="766"  BORDER="0" CELLSPACING="0" CELLPADDING="0">
			<TR>
			  <td WIDTH="481"><DIV STYLE="padding-top:16px;padding-left:16px "><IMG SRC="images/structure/1text4.jpg"></DIV></TD>
			  <td WIDTH="285"><DIV STYLE="padding-top:16px;padding-left:33px "><IMG SRC="images/structure/1text3.jpg"></DIV></TD>
			</TR>
		  </TABLE>
		</TD>
	  </TR>
	  <TR>
		<TD BACKGROUND="images/structure/1bak1.jpg" WIDTH=766 HEIGHT=210 ALT="">
		  <TABLE WIDTH="766" height="100%"  BORDER="0" CELLSPACING="0" CELLPADDING="0">
			<TR>
			  <td WIDTH="18">&nbsp;</TD>
			  <td WIDTH="249"><DIV STYLE="padding-top:15px;padding-left:17px ; padding-right:12px"> 
			  <!-- InstanceBeginEditable name="Navigation_SS" -->
                  <img src="images/structure/spacer.gif" height="10px"><br>
                  <strong><img src="images/structure/arr2.jpg" align="absmiddle">&nbsp; 
                  <a href="resources.php" class="2">OCA</a></strong><br>
                  <img src="images/structure/spacer.gif" height="10px"><br>
                  <strong><img src="images/structure/arr2.jpg" align="absmiddle">&nbsp; 
                  <a href="resources.php?do=hw" class="2">Harbor Walk</a></strong><br>
			  <!-- InstanceEndEditable -->
			  	<br><br>
			  	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="229" height="185">
                    <param name="movie" value="flash/picture.swf">
                    <param name="quality" value="high"> 
                    <embed src="flash/picture.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="229" height="185"></embed></object>
				<br><br>
				</DIV></TD>
			  <td WIDTH="17">&nbsp;</TD>
			  <td WIDTH="482" CELLPADDING="2"><DIV STYLE="padding-top:15px;padding-left:15px; padding-right:30px ">
			  <!-- InstanceBeginEditable name="Content_SS" -->
			  <? echo $content ?>
			  <!-- InstanceEndEditable -->
				</DIV></TD>
			</TR>
		  </TABLE>
		</TD>
	  </TR>
	  <TR>
		<TD  WIDTH=766 HEIGHT=4 ALT=""><IMG SRC="images/structure/1t3.jpg"></TD>
	  </TR>
	  <TR>
		<TD> <IMG SRC="images/structure/1t2.jpg" WIDTH=766 HEIGHT=17 ALT=""></TD>
      </TR>
     
     
  <TR>
	<TD BACKGROUND="images/structure/5.jpg" WIDTH=766 HEIGHT=34 ALT=""><DIV STYLE="padding-top:9px; padding-left:300px; color: #FFFFFF;"><strong><A HREF="index.html" CLASS="m1">home</A>&nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;<A HREF="about.php" CLASS="m1">about 
      us </A> &nbsp; &nbsp;:&nbsp;&nbsp;&nbsp;<A HREF="associations.php" CLASS="m1">associations</A>&nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;<A HREF="neighbors.php" CLASS="m1">neighbors</A> 
      &nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp; <A HREF="resources.php" CLASS="m1">resources</A>&nbsp;&nbsp;&nbsp;: 
      &nbsp;&nbsp;<A HREF="information.php" CLASS="m1">information</A></strong></DIV></TD>
  </TR>
  <TR>
	<TD BACKGROUND="images/structure/bak1.jpg" WIDTH=766 HEIGHT=51 ALT=""><DIV STYLE="padding-top:10px; padding-left:300px " ><A HREF="#" CLASS="2">-.com</A> 
      &copy; 2004 &bull; <A HREF="mailto:-" CLASS="2">Contact</A> &bull; 
  	  <A HREF="sitemap.html" CLASS="2">Site Map</A></DIV></TD> 
  </TR>
</TABLE>
</CENTER>
</BODY>
<!-- InstanceEnd --></HTML>
Reply With Quote
  #394  
Old 03-28-2005, 03:24 PM
Rids's Avatar
Rids Rids is offline
 
Join Date: Aug 2002
Location: Wales
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats odd, my board has over 1000 users, there are well over a hundred files in the download section, there have been over 7000 downloads and at least 20 people have uploaded files. I'm wondering if its because the upload count got zeroed when I reinstalled and imported the tables?
Reply With Quote
  #395  
Old 03-28-2005, 05:45 PM
Ron1n Ron1n is offline
 
Join Date: Jun 2004
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rids
thats odd, my board has over 1000 users, there are well over a hundred files in the download section, there have been over 7000 downloads and at least 20 people have uploaded files. I'm wondering if its because the upload count got zeroed when I reinstalled and imported the tables?
just change the downloads_util_stats_bit template
Reply With Quote
  #396  
Old 03-28-2005, 10:46 PM
Rids's Avatar
Rids Rids is offline
 
Join Date: Aug 2002
Location: Wales
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

alrighty, that sorted the layout nicely but the figure for the daily downloads is always zero and it should be at least a couple of hundred per day.
Reply With Quote
  #397  
Old 03-29-2005, 08:05 AM
Blam Forumz Blam Forumz is offline
 
Join Date: Jun 2004
Posts: 554
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could it be possible to upload an image for each download

and one thing ineed desperately, i have alot of subcategories, and it says "0 Files" for each of my main categories, but I have subcats, and i want all the downloads within those to appear
Reply With Quote
  #398  
Old 03-29-2005, 12:10 PM
intrigue intrigue is offline
 
Join Date: Nov 2002
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks works a treat
.matt
Reply With Quote
  #399  
Old 03-29-2005, 02:23 PM
ShawnV's Avatar
ShawnV ShawnV is offline
 
Join Date: Mar 2005
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I’m sure this has been asked before, and I didn’t have time to dig though 27 pages today while at work 

How do you have it recalculate the download file if you delete old ones, we have no downloads at the moment yet it says:

We have a total of 3 files in 10 categories.

Thanks in advance for any help.
Reply With Quote
  #400  
Old 03-29-2005, 03:45 PM
Ron1n Ron1n is offline
 
Join Date: Jun 2004
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rids
alrighty, that sorted the layout nicely but the figure for the daily downloads is always zero and it should be at least a couple of hundred per day.
the downloads per day takes a full runthrough to actually get correct data. if it has been more than 1 day and you still have a zero then type the location of your dl script and I will check it out.

Quote:
Originally Posted by Blam Forumz
Could it be possible to upload an image for each download

and one thing ineed desperately, i have alot of subcategories, and it says "0 Files" for each of my main categories, but I have subcats, and i want all the downloads within those to appear
i thought it did... ill check it out (it does on my own personal one, but im not sure about the released version) www.elitecoders.org

about the images: read the main post

Quote:
Originally Posted by ShawnV
I?m sure this has been asked before, and I didn?t have time to dig though 27 pages today while at work 

How do you have it recalculate the download file if you delete old ones, we have no downloads at the moment yet it says:

We have a total of 3 files in 10 categories.


Thanks in advance for any help.
Does it recount the # of files in the category view (i.e. tells you that the category has the correct number of files). I might have forgotten to reset total files, but I think they are recounted after files are uploaded.

Thanks for bringing this to my attention.
Reply With Quote
  #401  
Old 03-29-2005, 03:52 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the stats bar on the downloaders nav menu is this for an updated version as at moment all my stats are empty even though i have some downloads

Date Downloads
Today
Today

thats all i see - nothing else - also the boxes aint aligned up proper
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:09 PM.


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.05333 seconds
  • Memory Usage 2,340KB
  • 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
  • (2)bbcode_code
  • (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
  • (2)pagenav_pagelinkrel
  • (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