View Single Post
  #44  
Old 07-06-2004, 10:43 AM
CarCdr CarCdr is offline
 
Join Date: Apr 2004
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is a preview of the changes being tested for version 2 of attachment_browser. Comments are welcomed.
  1. Bug: We handle forum permissions, except for forum passwords. To have an entry listed, the user needs 'CANVIEW' and 'CANGETATTACHMENT' on a forum. Also, the forum must be '$_FORUMOPTIONS[cancontainthreads]'. This introduces another query to get the list of forums.

  2. Feature: List forum name with each entry.

  3. Feature: Now supports sorting by forum name; just like any other sort, for first- or second-level sort.

  4. Feature: Allow one or more forumid's to be specified as a filter on the form. The "Forum ID" form field may be one or more ID's separated by spaces or commas.

  5. Feature: Allow one or more userid's to be specified as a filter on the form. The "User ID" form field may be one or more ID's separated by spaces or commas.

  6. Feature: Quick filtering for a single forum, by clicking the '[Filter]' link next to a forum name to search only that forum, similar to clicking the link next to the user name in our previous version.

  7. Bug: Checks deletion log so that deleted posts are not included.

  8. Feature: Filter 'sel_userid=NNN' no longer disallows other filter criteria. It's treated like any other filter -- it is simply combined with other selection criteria. This also applies to 'sel_forumid=XXX'. For user filtering, only one of 'sel_userid=NNN' or 'sel_username=XXX' can be specified. Userid takes precedence.

  9. Change: Renamed '[Downloads]' link next to user name to '[Filter]'.

  10. Change: Renamed 'Downloads' in listing header to '$vbphrase[views]'.

  11. Change: Renamed URL parameter 'userid=NNN' to 'sel_userid=NNN'.

  12. Change: Since we now need forum information for every page, we always query
    using all the JOINS -- user, post, thread, forum, deletionlog.

  13. Change: Exclude attachements whose 'postid' is zero. Thanks to Pitman for this one, who suggested: "About the private attachments: Since they don't have a postid, wouldn't "AND postid !=0" work in the query or whatever? If so, that should also fix the problem that some may have with attachment names and all showing but no attachment really there yet (like when somebody is posting a new attachment and have not yet clicked Submit New Thread or Submit Reply)?"
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01143 seconds
  • Memory Usage 1,770KB
  • 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
  • (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