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)

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?


All times are GMT. The time now is 04:26 AM.

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.02134 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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