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)

tlwwolfseye 12-30-2008 03:46 PM

When i exclude a Category and someone goes to a file in that category, all he gets is a "Invalid ID" message, instead of a "This Download is only for registered Users. Please register to be able to download this". This would make much more sense for people coming and wondering what a "Invalid ID" is, which sounds more like the download link doesn?t work to them.

So you have to admit, setting permissions like i said is much better for people to understand. Exclusion is not really the solution here.

Categories or even single Files should be able to be set to a certain usergroups / s only. At least Categories. For files too that would be maybe too much to ask, but the categories should be never the less. It is that way in ANY other Download Script, if its an external Software or a Mod for other Forum Softwares, like i had before.

columbusgeek 12-30-2008 03:57 PM

Maybe I should clarify how I am using it.
Quote:

...When set to "No", all categories can be viewed except the ones listed below.
and then I insert the categories I do not want users to see.

Users who are not allowed to see the category never see it. Maybe you have something setup wrong? I dont have the user id error you mention.

Digital Jedi 12-30-2008 03:58 PM

Quote:

Originally Posted by tlwwolfseye (Post 1697249)
When i exclude a Category and someone goes to a file in that category, all he gets is a "Invalid ID" message, instead of a "This Download is only for registered Users. Please register to be able to download this". This would make much more sense for people coming and wondering what a "Invalid ID" is, which sounds more like the download link doesn?t work to them.

So you have to admit, setting permissions like i said is much better for people to understand. Exclusion is not really the solution here.

Categories or even single Files should be able to be set to a certain usergroups / s only. At least Categories. For files too that would be maybe too much to ask, but the categories should be never the less. It is that way in ANY other Download Script, if its an external Software or a Mod for other Forum Softwares, like i had before.

When you exclude a category, they shouldn't even be able to see the link to that cat in order to be getting that error message. The cat link is removed from the main page for them, and if that the only subcat in a top cat their allowed to see, then it will be treated as empty.

tlwwolfseye 12-30-2008 04:03 PM

Links to the files in that Category show still up in the Top 5 Files when one of these files is in this list. So they still see the link to a file that is in that category. Yes, the Category itself isn´t there anymore but links in the Top 5 etc. would be still visible and give unregistered users the "Invalid ID" text when they click on it.

That could be done more nicely with a message like i posted above. And if they don´t see the category at all, they don´t even know that with registering on the site would actually give them that other Category.

So if they dont know its in there, there is no reason for them to signup to the forum. So that doesn´t really makes it more helpful.

columbusgeek 12-30-2008 04:13 PM

As a workaround couldn't you edit the "invalid id" message in phrases to something that fits your needs?

Digital Jedi 12-30-2008 04:13 PM

Quote:

Originally Posted by tlwwolfseye (Post 1697260)
Links to the files in that Category show still up in the Top 5 Files when one of these files is in this list. So they still see the link to a file that is in that category. Yes, the Category itself isn?t there anymore but links in the Top 5 etc. would be still visible and give unregistered users the "Invalid ID" text when they click on it.

That could be done more nicely with a message like i posted above. And if they don?t see the category at all, they don?t even know that with registering on the site would actually give them that other Category.

So if they dont know its in there, there is no reason for them to signup to the forum. So that doesn?t really makes it more helpful.

Probably because you still have them set to Can View Files. If you want them to be able to see the files and get a No Permission message, don't make the whole category excluded. Keep the category visible and fine tune the yes/no permissions above that setting.

europez 12-30-2008 08:00 PM

I'm having problem with the upload. I'm getting this error:
The upload failed! Upload error.

I made the .htaccess file with the text:

php_value upload_max_filesize 30M
php_value post_max_size 30M


and uploaded it, but then I got an "Server Error", so I can not use the .htaccess file.

Anyone know what's wrong? :confused:

Thanks

columbusgeek 12-30-2008 09:50 PM

Are you on a Linux server? Does your host allow .htaccess php overrides?

You need to look over your webhosts specs to find out more information. I suggest looking over their forums.

Ross L 01-01-2009 11:17 AM

Hopefully someone can point me in the right direction with this.

When the search function is used on downloadsII, I get this database error emailed to me:
Code:

Database error in vBulletin 3.7.4:

Invalid SQL:
SELECT dl_files.*,  dl_cats.name catname FROM dl_files, dl_cats WHERE  (CT title,dateline_from,eventid FROM event WHERE dateline_from BETWEEN 1230814892 AND 1231419692 OR 1230814892 BETWEEN dateline_from AND dateline_to ORDER BY dateline_from OR dl_files.author LIKE '%test%' OR dl_files.name LIKE '%test%' OR dl_files.description LIKE '%test%')
                                                                        AND dl_files.category = dl_cats.id
                                                                        ORDER BY catname, dl_files.name;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'title,dateline_from,eventid FROM event WHERE dateline_from BETWEEN 1230814892 AN' at line 1
Error Number  : 1064
Request Date  : Thursday, January 1st 2009 @ 01:01:32 PM
Error Date    : Thursday, January 1st 2009 @ 01:01:32 PM

Any ideas on how to fix this?

Many thanks.

davida500 01-01-2009 03:44 PM

You know the big image that is supposed to be displayed that says "Download" for some reason mine is not displaying at all?

My Forum directory is
PHP Code:

www.connecting-gamers.com/forums 

And the images are in:

PHP Code:

www.connecting-gamers.com/forums/images/buttons/download 

So i dont know why it is not displaying the image..... Help me please!

Thanks.

David.

PS - Sorry i had a problem with the adding the directorys so had to put them in php code sorry :D


All times are GMT. The time now is 10:54 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.04823 seconds
  • Memory Usage 1,757KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)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