Thread: Major Additions - DownloadsII
View Single Post
  #711  
Old 11-02-2006, 08:42 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337
Hey just wondering if you could comment on this post https://vborg.vbsupport.ru/showpost....&postcount=691

If any of that is a paid job let me know, and ill consider it.

Thanks.
  1. Just remove their permissions to add files
  2. This isn't possible at the moment and isn't very easy to create quickly. Although it isn't very difficult also (add a new field to the user table and check for it, so that's an easy thing). I will look into this to create a plugin for it
  3. This is one of the top requests: custom file fields. I can't promise anything, but ofcourse we will try to get this in the next big release.
  4. Adding a search box to the left column isn't very difficult, just an easy template edit:
    Open the downloads_wrapper_site template
    Find:
    Code:
    <br />$dl->downloadsmessage
    Above add:
    Code:
    <div align="left">
            <form action="./downloads.php?do=search" method="post">
             <input type="text" name="query" maxlength="75" size="20" />
             <br /><input type="submit" name="submit" value="{$vbphrase['ecdownloads_search']}" />
          </form>
    </div>
  5. The same as point 5, just another code to add, your advertising code (img or something else).
  6. This requires file edits when you want a field for this in the category admin. If there aren't a lot of categories, you can use template conditionals.
    Place them below $navbar in the DOWNLOADS template.
    For example:
    Code:
    <if condition="$cleancatid == '5'">
    <img src="http://www.yoursite.com/images/banner.gif" alt="banner" />
    </if>
    Ofcourse you just change the number 5 to the correct category id.

To become default: I really want a search field placed on each page in a next big release, so that will become default normally. We are also considering the custom file fields like I said. I don't think the custom category fields for advertisements are going to make it to become a default feature, not that many people would use this.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01140 seconds
  • Memory Usage 1,772KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete