vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=120122)

maidos 12-12-2007 07:56 PM

thanks alot the edited code works

Nomble 12-12-2007 08:07 PM

Another error now.

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/epicsi5/public_html/forum/admincp/plugin.php(1970) : eval()'d code on line 77

Database error in vBulletin 3.6.8:

Invalid SQL:
SHOW COLUMNS FROM `dl_cats` LIKE 'desc';

MySQL Error : Table 'epicsi5_vbulletin.dl_cats' doesn't exist
Error Number : 1146
Date : Wednesday, December 12th 2007 @ 02:06:44 PM
Script : http://www.epicsize.net/forum/adminc...=productimport
Referrer : http://www.epicsize.net/forum/adminc...?do=productadd
Classname : vb_database

RS_Jelle 12-12-2007 08:28 PM

Quote:

Originally Posted by Nomble (Post 1400049)
Cant import the product.

Getting this.

XML Error: not well-formed (invalid token) at Line 1149

Quote:

Originally Posted by Nomble (Post 1400068)
Another error now.

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/epicsi5/public_html/forum/admincp/plugin.php(1970) : eval()'d code on line 77

Database error in vBulletin 3.6.8:

Invalid SQL:
SHOW COLUMNS FROM `dl_cats` LIKE 'desc';

MySQL Error : Table 'epicsi5_vbulletin.dl_cats' doesn't exist
Error Number : 1146
Date : Wednesday, December 12th 2007 @ 02:06:44 PM
Script : http://www.epicsize.net/forum/adminc...=productimport
Referrer : http://www.epicsize.net/forum/adminc...?do=productadd
Classname : vb_database

You get the second error because the import failed. There's nothing wrong with the XML as it works for other people and it validates perfectly when I throw it throught the W3C Validator.
Try to reupload/reimport the product XML with the overwrite option on.

Nomble 12-12-2007 08:31 PM

I thinI got it now, but I can't seem to find the option to set usergroup permissions.

EDIT: Infact everything is screwy, after trying to upload the xml a couple it worked and the usermanager options appeared. But im still missing the admincp download options.

Pirat3 12-12-2007 09:22 PM

hi i downloaded this, can anyone please tell me how to go to the download page where the created catagories exist? And where I can view the catarogies as if a guest would without having to install the download nav button on the README? thanks

cellow 12-12-2007 09:35 PM

Quote:

Originally Posted by RS_Jelle (Post 1399946)
Have a look at the source code of that database error page. Database errors are "hidden" since the vB 3.6 branch (you can find it between <pre> HTML tags).

For number 2: For a), this is at the moment the expected behaviour, but we should change it indeed. For b), this seems to be an issue when using the "Manage files" delete option (the modify_filecount_user() is missing there).
Use the delete option on the file page to fix this at the moment or open downloads.php:

Find the first occurence of:
PHP Code:

$dl->modify_filecount($file['category'],-1); 

Above this add:
PHP Code:

$dl->modify_filecount_user($file['uploaderid']); 


Thx RS_JELLE -> IT WORKS PERFECT (hope you will fix it in new versions)
i found now the sql errors in the sourcecode of the html error page :)

Code:

<!--
Datenbankfehler in vBulletin 3.6.8:

Invalid SQL:
SELECT title, usergroup.usergroupid, username, userid
                          FROM vb3_usergroup, vb3_user
                          WHERE ecdownloadpermissions &amp; 1024 AND  usergroup.usergroupid = user.usergroupid;

MySQL-Error : Unknown column 'usergroup.usergroupid' in 'field list'
Error-Nr.  : 1054
Date        : Thursday, December 13th 2007 @ 12:30:32 AM
Skript      : http://www.domainname.de/forum/downloads.php?do=add&amp;id=
Referrer    : http://www.domainname.de/forum/downloads.php?do=add&amp;cat=
IP-Adresse  : 80.135.99.182
Username : CAM
Classname  : vB_Database

-->

I hope we can fix that asap.

Thank you for your support!
regards

cOuNtErFiET 12-12-2007 09:47 PM

i have 5.0.6 installed and im god admin on my site and im getting
Code:

You don't have permission to access /forums/downloads.php on this server
and all the settings in the mod are set right and havent changed since 5.0.4 and i was getting this error with that version is it the host that i should contact or is there a quick fix that im overlooking?

Pirat3 12-12-2007 10:13 PM

Problem fixed I assumed that admins would have access to downloads.php in usergroups, aparently they dont :)

Tom_S 12-12-2007 10:54 PM

Love it! This mod is one of the best yet. Of course it could use some improvements but I see that being done already so I am not griping. This one I would pay for. One of the biggest issues I see with this though is having files posted with file size showing in BYTES. You have noobs not even knowing how to install it much less users that are going to know how to convert MB to BYTES so there for you are going to have a File Base full of (Unknown) for file size.

I would suggest having it so you can put whatever the actual file size is or none at all. I would prefer the actual file size.

Again..great mod. a few more tweaks and upgrades and this one will be one of the best yet. It is worth paying for. ;)

Joshva 12-13-2007 02:02 AM

Quote:

Originally Posted by RS_Jelle (Post 1399946)
As far as I know we didn't ever support download managers (yet). A download manager can pause a download and there has never been any PHP code to accomplish this (again: yet). I don't know how/why it could have worked some time (in each case without allowing to pause a download), but we consider this for v6.



Set the 'Display "Tops" on all pages?' DownloadsII setting to No, but this won't help for the category view.

To remove it from that one, open downloads.php

Find:
PHP Code:

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

Replace with:
PHP Code:

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




Thanks for the response. I'd strongly suggest putting it as an option in downloads admin as anyone using your vbadvanced plugin will probably want to remove it :)

Cheers,
Josh


All times are GMT. The time now is 09:59 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.04570 seconds
  • Memory Usage 1,769KB
  • 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
  • (4)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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