View Single Post
  #689  
Old 11-13-2004, 08:19 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ranam2k
how about ...
So, you want that:

- A user can register to a category and receive e-mail when something is added/updated
- A user can register to be notified of any updates on this file

Taking these plus Cent's request suggests three levels of request
- email me whenever there's a new link I'm allowed to access (including one I create myself)
- email me on any new link in this category that I'm allowed to access
- email me whenever a link/file I've accessed is edited

A change in file size would also trigger the last case (but isn't always possible, e.g. for remote, non-mimetype files)

Cent want this to work for unregistered guest visitors, so the code will have to ask if necessary for an email address

- More detail about the links / files

link/file Name - this is currently hidden to stop leaching, but I suppose there's no harm in a pop-up giving just the local file name, stripped of any directory/web info
Author Name - Already available, just not shown in the template, so easy to add

Remote Filesize if it's a file - Already available for files with recognised mimetype *after * first download. Not possible for remote files accessed using redirects
File Type if it's a file - Already available using the file_icons_dir setting on the admin page (see documentation)

# Views - not sure what you mean

# Downloads - already visible to usergroups with can_view_hits permission, set on admin page

Date Submitted - already there!

Rating ( members can rate it ) - already there, provided you turn on can_rate_link on admin page

- Discussion can specify a link in a forum

I've thought about this for quite a while. The clean way to do this would be to use the forum parent which is used to set the link's access permissions also as the discussion forum for the link. The first time someone tried to discuss a link, a new thread would be created in that forum. The first post in the thread would be a summary of the link. Subsequently, people would simply be taken to that thread.

- Better admin summaries of who has accessed/downloaded what.

Currently, this is just a long list, ordered by date, with an optional start and end date which can be specified on hard-coded links but are not selectable within the admin template

Thoughts, anyone?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02501 seconds
  • Memory Usage 1,767KB
  • 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)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