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)

ragtek 04-05-2007 05:28 PM

just one question
where is the part with the menu?
i'd like to change the order

RS_Jelle 04-05-2007 07:32 PM

Quote:

Originally Posted by ragtek (Post 1220513)
just one question
where is the part with the menu?
i'd like to change the order

That's currently hardcoded HTML code in downloads.php, there you can change it ;)
For v6 this is moving to the templates :)

tehPARADOX 04-05-2007 07:37 PM

Quote:

Originally Posted by RS_Jelle (Post 1220581)
That's currently hardcoded HTML code in downloads.php, there you can change it ;)
For v6 this is moving to the templates :)

IF and when you do release a v6, will that be easy to upgrade from v5?

ragtek 04-05-2007 07:47 PM

Quote:

Originally Posted by RS_Jelle (Post 1220581)
That's currently hardcoded HTML code in downloads.php, there you can change it ;)
For v6 this is moving to the templates :)

now i see it:D
$dlinks
thx

Normal 04-06-2007 04:40 AM

Thank you

RS_Jelle 04-06-2007 07:25 AM

Quote:

Originally Posted by tehPARADOX (Post 1220586)
IF and when you do release a v6, will that be easy to upgrade from v5?

You can find more information about the release of v6 here ;)
It will be easy to upgrade, the only 'bad' thing will be that it will remove all your download ratings (because of the new, better system with stars).

andrewtr89 04-06-2007 01:10 PM

This mod is awesome. Great work.

*installs*

ragtek 04-06-2007 02:04 PM

what would be very nice:
a flash madia player*g*

littleone 04-06-2007 02:08 PM

I have a site that allows video downloads . Videos are hosted in another server. Can I point the downloads to download from another server- not through PHP, becuase of memory issues with php, but a plain hyperlink.

Thanks

HappyPike 04-08-2007 12:09 AM

How to prevent users from rating their own files

Hi everyone,

I tweaked the template a bit so it prevents uploaders from rating their own files. I don't know about you, but on my forum people often immediately give their files "A+" after uploading. This will prevent that.

To add this feature:

1) Go to your AdminCP and edit the template named "downloads_file"

2) Find $userscore in that template.

3) Replace it with these lines:
Code:

<!-- Uploader Check -->
<if condition="$bbuserinfo[username] == $file['uploader']">
You cannot rate your own file.
<else />
$userscore
</if>
<!-- End Uploader Check -->

Hope you find this useful. :)

PS: Jelle, feel free to incorporate this into the product if you like it. :)


All times are GMT. The time now is 01:37 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.02871 seconds
  • Memory Usage 1,740KB
  • 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
  • (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