vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   ecDownloads 3.2 Legacy (https://vborg.vbsupport.ru/showthread.php?t=75198)

Maximum Fu 03-25-2005 08:01 PM

I am trying to modify the panels across the top with the user info, the latest file info, and the most popular files info.

The template downloads_panel_top seems to create each of the fieldsets that contains all the info.

But, within each of the fieldsets, they reference what sounds like it is in another template.

Does anyone know where the templates are for the following:

$panel_user_bit
$panel_latest_bits
$panel_popular_bits

Maximum Fu 03-25-2005 08:18 PM

On a similar topic, where can I access the nav links?

mikaelweb 03-25-2005 08:25 PM

in includes/dl_panel.php $panel_user_bit
PHP Code:

    $panel_user_bit "    <div>Your logged in as $bbuserinfo[username]</div>
                    <div>Files downloaded: 
$bbuserinfo[downloads] files</div>
                    <div>Files submitted: 
$bbuserinfo[uploads] files</div>
                    <div>Last File: 
$last</div>
                    <div>Downloaded On: 
$date</div>";
} else {
    
$panel_user_bit "    <div>You are <b>not</b> currently logged in.</div>
                    <div>You <b>cannot</b> download files</div>
                    <div>You <b>cannot</b> upload files</div>
                    <div>You <b>cannot</b> post comments</div>"
;


in includes/dl_panel.php $panel_latest_bits
PHP Code:

// --------------------------------------------------------------------
//    Construct the Latest File Bits
// --------------------------------------------------------------------

for($i 1$i <= 4$i++) {
    
$name $main['latest['.$i.']'];
    
$id $main['latestid['.$i.']'];
    
//$value = vbdate($vboptions['dateformat'],$main['latestval['.$i.']'],true);
    
eval('$panel_latest_bits .= "' fetch_template('downloads_panel_bit') . '";'); 

in includes/dl_panel.php $panel_popular_bits
PHP Code:

// --------------------------------------------------------------------
//    Construct the Popular File Bits
// --------------------------------------------------------------------

for($i 1$i <= 4$i++) {
    
$name $main['popular['.$i.']'];
    
$id $main['popularid['.$i.']'];
    
$value $main['popularval['.$i.']'];
    eval(
'$panel_popular_bits .= "' fetch_template('downloads_panel_bit') . '";');


in includes/dl_panel.php nav links
PHP Code:

// --------------------------------------------------------------------
//    Construct the Navigation Bit
// --------------------------------------------------------------------
$panel_links 'Welcome';

if (
$permissions['downloadpermissions'] & CANDOWNLOADFILES) {
    
$panel_links '<a href="downloads.php?">Main</a>';
}
if (
$permissions['downloadpermissions'] & CANUPLOADFILES) {
    
$panel_links .=  ' | <a href="downloads.php?do=add">Add</a> | <a href="downloads.php?do=util&act=my">My Files</a>';
}
if (
$permissions['downloadpermissions'] & CANMANAGEFILES) {
    
$panel_links .= ' | <a href="downloads.php?do=man&act=viewfile">Manage Files</a>';


l

Maximum Fu 03-25-2005 08:26 PM

I thank you kindly. I will give this a whirl!

BamaStangGuy 03-25-2005 11:13 PM

Quote:

Originally Posted by Maximum Fu
I thank you kindly. I will give this a whirl!

If you get this can you tell me what you did to the templates?

banuchi2 03-26-2005 01:44 AM

Will this work on vb 3.6

memobug 03-26-2005 10:24 AM

I have probably done something wrong. However, I can't figure it out. I can see the top level of the download categories but when I browse into any of the categories I get a blank page.

1. I ran downloadinstall.php
2. I uploaded the files
3. I have made the required changes to the files and checked them.
4. I put the download directory under /forum like /forum/downloads
5. I have made the permissions changes
6. I created the cron job.
5. I can see and create categories and they show up when I browse the top level. I can see also phrases and templates
BUT:
6. If I click any category nothing shows up, just a blank page.

I think it might have to do with the paths?

I tried leaving them as-is
./downloads/
./downloads/

and I tried putting in the correct absolute server path and http:// address to same. But the results weren't any different.

I think the instructions are a little vague on this point as they seem to use the terms "path" and "URL" interchangeably; asking for a "full path" and then specifying a relative path "./downloads/"; asking for a "web path" or URL and then specifying a relative path "./downloads/"

Regards,

Matt

Ron1n 03-26-2005 01:55 PM

Quote:

Originally Posted by banuchi2
Will this work on vb 3.6

Read the features list :)

Quote:

Originally Posted by memobug
I have probably done something wrong. However, I can't figure it out. I can see the top level of the download categories but when I browse into any of the categories I get a blank page.

The only thing I can think of is that your side panel template isnt working/showing up. The main page is run off of a vertical alignment, but the rest are run off of a standard header-sidebar-content alignment. This is all I can think of for the moment. If you know a little about php or even html try some testing and see if the side panel template is called. If you dont, try reinstalling the templates (dont need to wory about the others) but remember to uninstall first. I know i built it in to overwrite, but sometimes it doesnt work. If you still have problems, I will try to help you again so that you dont have to do a complete reinstall. I could just have you insert a couple echo statements in the category view.

Quote:

Originally Posted by BrentWilson
No matter what I try it will not order my categories via what I put into the admincp Categories section... It is inseting it into the database but it is not sorting by what is in the database. Can anyone else confirm this?

I tried sorting by different things and didnt have that problem. If you want I will look at your setup and try it on your board... that might help me figure out whats wrong. On my demo board it works fine though.

Quote:

Originally Posted by Juanito
I tried this but I still can't link urls, only works when I put in local "/directory/filename"...

But! I can upload files when they have no characters like "-" or "." in the filename... At least it starts to be funcionnal to me!

Thanks

I dont think that a . in the filename would cause any problems, but a - might. I will go see what I do to linked files in a few minutes and try to fix it later today if I find any problems like that. Check back around 5-6pm.

Quote:

Originally Posted by phreak420
what happens is that i click upload...everything works fine from what it looks like....it says file was uploaded...but then when u go to click on download file there is no file there...brings u to the error page...so then i go in...manually upload it through ftp...rename it to the name it gave me and then it works...but i would like it so that everybody can upload files not just me because i have ftp

I know your file uploads are supposedly going to the correct directory, but the only thing that could cause this problem that I have thought of is if you are uploading to a different directory. Double check that your settings are correct.

Quote:

Originally Posted by rjordan
Minor modification request:

When clicking on the download button, can you make it so it opens the link in a new window?

Yes, i can do that. (or at least make it an option in settings)

bluetrain 03-26-2005 02:20 PM

This is either a stupid question or I did something wrong with the installation. I've triple check the installation instruction, cmod folder, but I can't see any thing such as Manage, Add Files and such. Please help me, I have spent half an hour before posting this question.

SupraT 03-26-2005 02:24 PM

Quote:

Originally Posted by bluetrain
This is either a stupid question or I did something wrong with the installation. I've triple check the installation instruction, cmod folder, but I can't see any thing such as Manage, Add Files and such. Please help me, I have spent half an hour before posting this question.

You need to go to the permissions for each user group and the ability to add and change etc. You can control which group gets access to view, download, add and manage.

You should find this in the cp ---> usergroups

bluetrain 03-26-2005 02:29 PM

Thanks SupraT, that was a stupid question, indeed, but I did read the instruction and no mention of Usergroup changing. Peharps the authors should put that line for noobs like me.

thanks very much again.

Bhuwan 03-26-2005 02:44 PM

Uninstall doesnt workl the page is blank :(
try to go to /admincp/downloadmin.php and it is blank :(

AlexUK 03-26-2005 04:40 PM

Question:

How to only allow users that have 5-10 posts before they can download?
Is this possible?

Thanks

SupraT 03-26-2005 05:16 PM

Quote:

Originally Posted by AlexUK
Question:

How to only allow users that have 5-10 posts before they can download?
Is this possible?

Thanks

That would be pretty simple. Create a usergroup called, register 10+, that group would have users with 10 or more posts. Use the promotion system to automatically move your members as they post more. example:

non-registered
registered 10+
registered 20+
so on, you can name them anything you like, these are just examples.

Also, you could allow only uploads to your most active users, using the same system.

Hope that helps.

memobug 03-26-2005 06:50 PM

I uninstalled and reinstalled everything (phrases, templates, db changes) with the identical result. I still get a blank page when I try to browse into a category. I don't know how to verify what might be happening with that sidebar template, so if you can give me some PHP echo statements to insert I would be happy to try. I put a print statement in there and I could see it makes it down to where the header comes out and somewhere in the call to render DOWNLOADS is the problem.

Thanks for your support!

Regards,

Matt
Quote:

Originally Posted by Ron1n
The only thing I can think of is that your side panel template isnt working/showing up. The main page is run off of a vertical alignment, but the rest are run off of a standard header-sidebar-content alignment. This is all I can think of for the moment. If you know a little about php or even html try some testing and see if the side panel template is called. If you dont, try reinstalling the templates (dont need to wory about the others) but remember to uninstall first. I know i built it in to overwrite, but sometimes it doesnt work. If you still have problems, I will try to help you again so that you dont have to do a complete reinstall. I could just have you insert a couple echo statements in the category view.

I tried sorting by different things and didnt have that problem. If you want I will look at your setup and try it on your board... that might help me figure out whats wrong. On my demo board it works fine though.
Quote:

Originally Posted by memobug
I have probably done something wrong. However, I can't figure it out. I can see the top level of the download categories but when I browse into any of the categories I get a blank page.



ShawnV 03-26-2005 06:53 PM

I dont see a downloads link in the navbar after install of this mod, how do I add one?

Thanks in advance.

memobug 03-26-2005 07:09 PM

Quote:

Originally Posted by ShawnV
I dont see a downloads link in the navbar after install of this mod, how do I add one?

Thanks in advance.

I can help with this one I think. You need to manually put the link in the navbar by going into your template manager under Styles & Templates->Style Manager->Edit Templates-> Expand Navigation / Breadcrumb templates->Edit Navbar template, and copy one of the existing links like the one for FAQ and the surrounding <td class="vbmenu_control">link</td> stuff. Change the text anchor to "Downloads" and the link path to wherever you put Downloads.php and you should be fine.

Regards,

Matt

ShawnV 03-26-2005 08:26 PM

Thanks, I also had to add in a phrase to make it work.

Ron1n 03-26-2005 09:09 PM

Quote:

Originally Posted by ShawnV
Thanks, I also had to add in a phrase to make it work.

What phrase did you have to add to make the dl section work?

Ron1n 03-26-2005 09:21 PM

UPDATES:

BrentWilson: ordering works fine for me when I set it to `order` in the settings... im not sure exactly whats causing the problem. If anyone else has this problem please tell me.

Juanito: worked fine for me, can you give me the exact url you tried to add?

phreak420: still waiting for your reply to the previous post

memobug: Add some subcats and files under one category, and then add the following edits.

Code:

FIND:
$result['subs'] = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "file_cats WHERE parent = '".$_GET['id']."' ORDER BY ".$INFO['order']."");

BELOW:
echo "CONSTRUCTING SUB BITS<br>";

FIND:
eval('$subbits .= "' . fetch_template('downloads_cat_subbit') . '";');

BELOW:
echo "-- ADDING TO SUB BITS<br>";

FIND:
eval('$subcats .= "' . fetch_template('downloads_cat_subs') . '";');

BELOW:
echo "FINISHED SUB BITS<br>";

FIND:
$result['files'] = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "file_files WHERE approved = '1' AND catid = '".$_GET['id']."' ORDER BY pin DESC, ".$sortbystr." DESC LIMIT ".$limit.",".$perpage);

BELOW:
echo "CONSTRUCTING FILE BITS<br>";

FIND:
eval('$filebits .= "' . fetch_template('downloads_cat_filebit') . '";');       

BELOW:
echo "-- ADDING TO FILE BITS<br>";

FIND:
$DB_site->free_result($result['files']);

ABOVE:
ECHO "FINISHED FILE BITS<br>";

If you see a bunch of stuff (started, adding, finished) then do the following edits:

Code:

FIND:

eval('$dmain_jr = "' . fetch_template('downloads_cat') . '";');
eval('$dpanel = "' . fetch_template('downloads_panel_side') . '";');
eval('$dmain = "' . fetch_template('downloads_wrapper_side') . '";');

CHANGE TO:

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

Do you see anything?

memobug 03-26-2005 10:42 PM

<i>Deleted some long debug sequence that ultimately led to the discovery of a space after the final ?> in dl_category.php that had been causing blank page problems.</i>

Ron1n 03-27-2005 12:42 AM

Quote:

Originally Posted by memobug
ALL the referenced templates are there and look good. The only odd thing I saw was the main heading is "Downloads Templates Templates"

Regards,

Matt

1) what do you mean by Download Templates Templates
2) do you have msn or AIM? i could talk with you and sort this out much faster fi we spoke on a message service
3) I still have no clue what the cause could be, but i will continue to think about it.

rjordan 03-27-2005 01:15 AM

Although purely cosmetic, I noticed that when you add a new link (and/or file) and you get the redirect page, at the top you see EXT: followed by the extension uploaded. It seems that it might have beem used as a troubleshooting line. If anyone wants to get rid of that, I believe the line to comment out or remove is in dl_add.php at about line 50. The line to remove is:

Code:

        echo "EXT: ".$ext;

memobug 03-27-2005 03:33 AM

Quote:

Originally Posted by Ron1n
1) what do you mean by Download Templates Templates
2) do you have msn or AIM? i could talk with you and sort this out much faster fi we spoke on a message service
3) I still have no clue what the cause could be, but i will continue to think about it.

1. The name of the template group in the Template manager is "Downloads Templates Templates"
2. Sorry no, I got rid of AIM when they started spybotting with that Wild Tangent junk.
3. Thanks I would like to get this to work!

Regards,

Matt

memobug 03-27-2005 04:23 AM

Quote:

Originally Posted by Ron1n
3) I still have no clue what the cause could be, but i will continue to think about it.

I found it!!! There is a single space after the closing ?>
in dl_category.php!!

:banana:

memobug 03-27-2005 05:54 AM

Quote:

Originally Posted by rjordan
Although purely cosmetic, I noticed that when you add a new link (and/or file) and you get the redirect page, at the top you see EXT: followed by the extension uploaded. It seems that it might have beem used as a troubleshooting line. If anyone wants to get rid of that, I believe the line to comment out or remove is in dl_add.php at about line 50. The line to remove is:

Code:

        echo "EXT: ".$ext;

It's not purely cosmetic on my server/browser combo. With this "echo" line in place I will get blank pages if the upload file or link extension are unsupported types. I believe this happens because once something is printed to an output device it can mess up the headers that are sent subsequently.

So it should come out of the download.

It is line 50.

Regards,

Matt

memobug 03-27-2005 06:47 AM

Did someone already point out a problem with the date formatting? on the Stats page I get Date showing up as

987654321

Regards,

Matt

Ron1n 03-27-2005 05:50 PM

Quote:

Originally Posted by rjordan
Although purely cosmetic, I noticed that when you add a new link (and/or file) and you get the redirect page, at the top you see EXT: followed by the extension uploaded. It seems that it might have beem used as a troubleshooting line. If anyone wants to get rid of that, I believe the line to comment out or remove is in dl_add.php at about line 50. The line to remove is:

Code:

        echo "EXT: ".$ext;

Yes, that is for debugging.

Quote:

Originally Posted by memobug
Did someone already point out a problem with the date formatting? on the Stats page I get Date showing up as

987654321

Regards,

Matt

I dont get that... i just send it to the vB date formatter, so I dont see why you get a timestamp instead of a date. Point me to your download section.


Quote:

Originally Posted by memobug
I found it!!! There is a single space after the closing ?>
in dl_category.php!!

:banana:

Glad you fixed it, but that 1 space is not a problem. If it were, that would mean your webserver doesnt support integrating php into regular html pages, which is probably not the case. If it is, it means that something on your server is VERY strange.

Quote:

Originally Posted by memobug
It's not purely cosmetic on my server/browser combo. With this "echo" line in place I will get blank pages if the upload file or link extension are unsupported types. I believe this happens because once something is printed to an output device it can mess up the headers that are sent subsequently.

Your server is messed up... wow.

Rids 03-28-2005 02:49 AM

Quote:

Originally Posted by Rids
For some reason when I updated from 1.0e to 2.0c not all of the templates were updated and not all of the mysql fields were set either. I eventually put the templates and mysql right (I think) manually from the installer file but what I have now is a mess: ... I'm now completely stumped with nothing working
Quote:

Originally Posted by Ron1n
I really don't know what to say. I haven't ever recieved those errors with this script or any other webprogram I have written or used. I know you had some data in your tables, but I would suggest a complete reinstall. If you want to save your old data, export it to a .sql file, and do a complete reinstall of EVERYTHING. If it works, I will help you manually add back the mysql data.

Good luck, and keep me posted.
I backed up the database tables and then uninstalled and deleted everything, even removed all the file edits. I then reinstalled the mod using the latest version and then imported the data back into the database. Everything seems to be working properly now except the stats page. 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.

memobug 03-28-2005 05:54 AM

Quote:

Originally Posted by Ron1n
Yes, that is for debugging.
I dont get that... i just send it to the vB date formatter, so I dont see why you get a timestamp instead of a date. Point me to your download section.

Sorry it was a misunderstanding What I was seeing as an unformatted date 986574321 was actually a username somebody used! So the date formatting is fine. It was just the way the table lined up.

A. HTML issues: However, there seems to be a problem in the table layout of the stats panel. There are several issues where the column counts don't line up. If you turn border="1" on in the template called downloads_util_stats, you'll see it quite obviously. That is why I thought this username was a date problem.. There are also some headings missing.

in the template called downloads_util_stats

1. The table heading "Stats" doesn't cover all the columns beneath it.
It covers 3 columns in a span with the word Stats
<td class="thead" width="100%" colspan="3">Stats</td></tr>

2. Then it has headings for "Date" and "Downloads" at one column each
<tr><td class="alt2" align="center">Date</td><td class="alt2" align="center">Downloads</td> So there is a mismatch there

However next it sends out the template downloads_utils_statsbit, which has 6 columns!
<tr>
<td class="alt2">$name</td>
<td class="alt2">$date</td>
<td class="alt2">$author</td>
<td class="alt2">$downloads</td>
<td class="alt2">$grade</td>
<td class="alt2">$status</td>
</tr>

So

1 needs a span of 6
2 needs to have the missing headings put in or have the spans adjusted.

I was able to sort this all out if you want me to send you the templates let me know, but my hack is probably not as good as what you could do. I think the gist of the problem is that this downloads_utils_statsbit template is used for tables of different column counts; ($_GET['act'] == 'my') where the column count is six, ($_GET['act'] == 'stats') where it appears it should have two columns, and ($_GET['act'] == 'my') where the column count look like it will be three. That means that either separate templates, blank columns or a dynamic downloads_utils_statsbit template are needed.

Just a couple more things I noticed:

C.The stats thing has a little bug where it will report top downloaders as people who have never downloaded anything, so the query should probably be adjusted to not report people who haven't downloaded anything.

D. Similarly it will report top downloaders as people who don't have any downloads.

E. It will report some blank lines in Most Popular. Maybe for the same reason.

Quote:

Glad you fixed it, but that 1 space is not a problem. If it were, that would mean your webserver doesnt support integrating php into regular html pages, which is probably not the case. If it is, it means that something on your server is VERY strange.

Your server is messed up... wow.
No not really. In PHP, anything that is included after the final ?> is output to the browser. Once you've begun sending output, in this case, a space, or in the other example of a diagnostic "echo" output to the browser, it can be a big problem if you follow up with trying to send http headers or cookies. Some browsers can get confused and not know how to process them.

Anyway examples like this are all over the web:
http://www.xoops.org/modules/newbb/v...&post_id=51514

Therefore, there are numerous bits of instructions in PHP coding and installation instructions exhorting people to be sure not to include extraneous lines or spaces following the closing tag.

Many thanks for this excellent hack,

Matt

memobug 03-28-2005 06:01 AM

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

Ron1n 03-28-2005 01:48 PM

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>


Rids 03-28-2005 03:24 PM

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?

Ron1n 03-28-2005 05:45 PM

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

Rids 03-28-2005 10:46 PM

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.

Blam Forumz 03-29-2005 08:05 AM

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

intrigue 03-29-2005 12:10 PM

thanks works a treat
.matt

ShawnV 03-29-2005 02:23 PM

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.

Ron1n 03-29-2005 03:45 PM

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.

lasto 03-29-2005 03:52 PM

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


All times are GMT. The time now is 08:34 PM.

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.02163 seconds
  • Memory Usage 1,987KB
  • 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
  • (7)bbcode_code_printable
  • (4)bbcode_php_printable
  • (31)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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