Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Who Downloaded [HTL Compatible Version Also Included] Details »»
Who Downloaded [HTL Compatible Version Also Included]
Version: 1.00, by Rein Masamuri Rein Masamuri is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-19-2004 Last Update: Never Installs: 28
 
No support by the author.

Who Downloaded
Version: 1.1
vB-version: 3.0.0 Release Candidate 3
Developer: Concept by TWTCommish, Coded by nguyenvu27, Recoded and Edited b
Install-difficulty: Easy
File-edits: 1
Template-edits: 2

New files for this Hack:
whodownloaded.php
images/attach/whodownloaded.gif

Files modified for this Hack:
attachment.php

New templates for this Hack:
whodownloads
whodownloadsbit
whodownloads_error

Templates modified for this Hack:
headinclude
postbit_attachment

New DB columns for this Hack:
downloads

Re-released for vBulletin 3 with permission from TWTcommish

This hack shows you who has downloaded a particular attached file.

This hack was originally released by nguyenvu27 but was taken down because he didn't get TWTcommish's permission and it was fraught with bugs and errors.

Well I fixed it, made it an image instead of a button, included an image, made it cross browser compatible, and got TWTcommish's permission.
Enjoy ^_^

HTL Version: See Attachments

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-20-2004, 05:29 AM
Dark Shogun Dark Shogun is offline
 
Join Date: Aug 2002
Location: The Underworld
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks very much. I had this on vB2 and it was great.

Dark Shogun
Reply With Quote
  #3  
Old 01-20-2004, 05:39 AM
Rein Masamuri's Avatar
Rein Masamuri Rein Masamuri is offline
 
Join Date: Apr 2003
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

UPDATED!
Fixed some hash problems, works fine now.

dang it, can someone move this to vb3? XO
[edit]
Thanks for moving it!
Reply With Quote
  #4  
Old 01-20-2004, 11:59 AM
*arie's Avatar
*arie *arie is offline
 
Join Date: Jan 2004
Location: New Orleans {504}
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yay! thanks.
Reply With Quote
  #5  
Old 01-20-2004, 05:00 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work, will definitely come in handy.
Reply With Quote
  #6  
Old 01-20-2004, 05:18 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one, some screenshots too the first post would be nice aswell please If you want this moved to vB3 aswell, PM an admin incase they don't notice
Reply With Quote
  #7  
Old 01-21-2004, 12:04 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be made so only Admins and Mods can see it or is it like that already?
Reply With Quote
  #8  
Old 01-21-2004, 07:23 AM
Rein Masamuri's Avatar
Rein Masamuri Rein Masamuri is offline
 
Join Date: Apr 2003
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
Can this be made so only Admins and Mods can see it or is it like that already?
Ok, this took me a while to do because of the weird "yes and no" phptoHTML in the <if statements of vB3
This took alot of trick coding (ok, for me it was trick coding, not for all you regular coders out there )

If you want Mods and Admins to see it only, simply replace the postbit_attachments template with:
Code:
<tr>
	<td><img class="inlineimg" src="$stylevar[imgdir_attach]/$attachment[attachmentextension].gif" alt="<phrase 1="$attachment[attachmentextension]">$vbphrase[file_type_x]</phrase>" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]" target="_blank">$attachment[filename]</a> ($attachment[filesize], <phrase 1="$attachment[counter]">$vbphrase[x_views]</phrase>)</td>
<td><if condition="$show['modcplink']"><a href="whodownloaded.php?s=$session[sessionurl]&attachmentid=$attachment[attachmentid]" onclick="NewWindow(this.href,'name','240','300','yes');return false"><img border="0" src="$stylevar[imagesfolder]/attach/whodownloaded.gif"></a></if></td></tr>
If you want admins only, replace modcplink with admincplink
Reply With Quote
  #9  
Old 01-21-2004, 08:09 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, sir. I will install it and let you know how it goes.
Reply With Quote
  #10  
Old 01-21-2004, 05:23 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it connects guest download IP's?
Reply With Quote
  #11  
Old 01-21-2004, 09:59 PM
MGM MGM is offline
 
Join Date: Jan 2003
Location: Michigan
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one! I always wanted the one for vB2 but a certain hack I had interfered with it

[high]* MGM clicks Install
[/high]

MGM out
Reply With Quote
  #12  
Old 01-21-2004, 11:55 PM
Rein Masamuri's Avatar
Rein Masamuri Rein Masamuri is offline
 
Join Date: Apr 2003
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

gmarik, you can view someones IP address in their posts or in the admin CP. I'm not quite sure how you'd want it added to the hack :\
Reply With Quote
  #13  
Old 01-23-2004, 10:38 AM
mitomcua mitomcua is offline
 
Join Date: Jul 2003
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it work with vb3 rc3 ?
Reply With Quote
  #14  
Old 01-24-2004, 11:31 AM
Rein Masamuri's Avatar
Rein Masamuri Rein Masamuri is offline
 
Join Date: Apr 2003
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes it does
Reply With Quote
  #15  
Old 01-26-2004, 11:27 AM
Rein Masamuri's Avatar
Rein Masamuri Rein Masamuri is offline
 
Join Date: Apr 2003
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated!
Who Downloaded is now HTL compatible!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:09 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08131 seconds
  • Memory Usage 2,344KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (15)post_thanks_box
  • (15)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (15)post_thanks_postbit_info
  • (14)postbit
  • (15)postbit_onlinestatus
  • (15)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete