![]() |
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 |
On a similar topic, where can I access the nav links?
|
in includes/dl_panel.php $panel_user_bit
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
I thank you kindly. I will give this a whirl!
|
Quote:
|
Will this work on vb 3.6
|
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 |
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
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.
|
Quote:
You should find this in the cp ---> usergroups |
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. |
Uninstall doesnt workl the page is blank :(
try to go to /admincp/downloadmin.php and it is blank :( |
Question:
How to only allow users that have 5-10 posts before they can download? Is this possible? Thanks |
Quote:
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. |
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:
|
I dont see a downloads link in the navbar after install of this mod, how do I add one?
Thanks in advance. |
Quote:
Regards, Matt |
Thanks, I also had to add in a phrase to make it work.
|
Quote:
|
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: Code:
FIND: |
<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>
|
Quote:
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. |
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; |
Quote:
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 |
Quote:
in dl_category.php!! :banana: |
Quote:
So it should come out of the download. It is line 50. Regards, Matt |
Did someone already point out a problem with the date formatting? on the Stats page I get Date showing up as
987654321 Regards, Matt |
Quote:
Quote:
Quote:
Quote:
|
Quote:
Quote:
|
Quote:
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:
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 |
Quote:
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 |
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:
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:
<? |
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?
|
Quote:
|
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.
|
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 |
thanks works a treat
.matt |
Im sure this has been asked before, and I didnt 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. |
Quote:
Quote:
about the images: read the main post Quote:
Thanks for bringing this to my attention. |
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|