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)

Dr.Vince 06-05-2007 08:19 AM

hello,

first, great job !!

I have a question, we can allow member to access or not the downloads section (error message display if not the rights)
but I want to show/hide a link to download section in the navbar depending on the rights giving in the option of this hack

how can I do this ??

Thanks

RS_Jelle 06-06-2007 04:34 AM

You can wrap this conditional code around the link in the templates:

HTML Code:

<if condition="$permissions[ecdownloadpermissions] & $vbulletin->bf_ugp[ecdownloadpermissions][canviewfiles]">
Insert link code here
</if>


Dr.Vince 06-06-2007 07:10 AM

ok thanks, I will test

aj8690 06-06-2007 10:40 PM

Very nice.

Just one problem, which I hope can be fixed.

When the downloads directory is outside of the public html directory, like mine (for added security), and a member uploads an image to associate to a file, it doesn't do it right. When you try to go to the image, it will make the url like this: www.domain.com/home/user/downloads, which won't work because it's not within the public html directory. Is there a way to fix this without putting the downloads folder inside the public html directory?

Thanks.

logofreax 06-07-2007 06:16 AM

Hi, I?ve got 2 little questions...

1.) How can I change Ratingsystem from A+ to Stars or metric? I found already this but it doesn?t work:

https://vborg.vbsupport.ru/showthrea...ng#post1040856

2.) What happen, if I reinstall this Hack completly? Remove than install from new? I hope you know what i mean ;)

Will be all Files lost oder Categories? I ask before, cause we got nearly 1200 Uploads in it.

Thanx for reply.

cu
logofreax

Mrdby 06-07-2007 03:59 PM

CAN make this for subscribed users? I will be charging for download.

CyberRanger 06-07-2007 05:59 PM

Quote:

Originally Posted by logofreax (Post 1262984)
2.) What happen, if I reinstall this Hack completly? Remove than install from new? I hope you know what i mean ;)

Will be all Files lost oder Categories? I ask before, cause we got nearly 1200 Uploads in it.

If you un-install the mod, it WILL delete (as it should) the database tables that contain your upload information. If you simply re-upload the php files and re-import the product file, that will give you a clean version of all files and templates.

CyberRanger 06-07-2007 06:00 PM

Quote:

Originally Posted by Mrdby (Post 1263348)
CAN make this for subscribed users? I will be charging for download.

Yes, you can control who can view/download/upload files via usergroup settings.

Mrdby 06-07-2007 11:41 PM

great!!!

Mrdby 06-08-2007 12:51 AM

this should have a menu options just in case u want to change the order of the catergories..cause i notice i made 4 already and want the last one i created to show at the top instead the bottom..and i have to delete the others and start over.


All times are GMT. The time now is 09:24 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.04165 seconds
  • Memory Usage 1,738KB
  • 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_html_printable
  • (2)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