The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Whodownloaded_IP with Dates Details »» | |||||||||||||||||||||||||
Welcome to Mr Blunt's "Whodownloaded_IP" Series for vBulletin 3.5.2
This is FREE CODE AND CAN BE used, abused, and released as desired!! I only ask it REMAIN FREE - unless maybe you compensate me as well?? If any code looks familiar, I'm sorry and ASSURE YOU it's coincidence!! Paypal Donations are graciously accepted if you like this script. I'm just a broke amateur who enjoys writing free stuff (for now). Donations goto my - Help Rebuild My PC Fund. But the script is free if your broke too ... So enjoy it either way!! mr_blunt@sbcglobal.net Please email me for comments, questions, or anything else on your mind. Put the exact word "Whodownloaded" in subject to get by my spam filters! My nick "Mr Blunt" is also at www.vbulletin.org & www.vbulletin.com Support thread: https://vborg.vbsupport.ru/showthread.php?t=93167 IMPORTANT KEY NOTES: This script REQUIRES vBulletin 3.5.0 or above and was tested with vb 3.5.2 Failure to upload all files to server WILL PRODUCE DATABASE ERRORS. Install "Product" file as a "PRODUCT" ... not as a "PLUGIN" or "STYLE". Features of Whodownloaded_IP:
JUST IN CASE YOU HAVE ANY OF MY OLD vb3.0.x VERSIONS: Uninstall any "NON-IP" version before installing this. vBulletin PHP FILE: attachment.php -- (307 versions edited this) 3rd Party PHP FILE: whodownloaded.php vBulletin TEMPLATE: postbit_attachment vBulletin TEMPLATE: headinclude 3rd Party TEMPLATE: whodownloads 3rd Party TEMPLATE: whodownloadsbit 3rd Party TEMPLATE: whodownloads_error 3rd Party TEMPLATE: whodownloads_error_nop vBulletin DATABASE TABLE: user 3rd Party DATABASE FIELD: user.downloads
Test it and come back to the file's vbulletin.org forum support thread and CLICK INSTALL so I can alert you when this hack gets important updates. NO, I DO NOT SPAM!!! Alerts will only be sent AFTER major changes!! Whodownloaded_IP Uninstallation Procedures:
And the order of steps is important, so please be careful. Whodownloaded_IP Files To Upload:
File Name: product_blunts_whodl_ip.xml Product ID: blunts_whodl_ip Title: Whodownloaded_IP Version: 1.2.0 3rd Party PLUGIN: Whodownloaded IP - Enable Bitfields 3rd Party PLUGIN: Whodownloaded IP - Enable Viewing 3rd Party PLUGIN: Whodownloaded IP - Enable Logging 3rd Party MASTER PHRASES: 65 Phrases with 'blunts_whodl_' prefix 3rd Party MASTER TEMPLATE: blunts_whodownloaded_ip_main 3rd Party MASTER TEMPLATE: blunts_whodownloaded_ip_namebit 3rd Party MASTER TEMPLATE: blunts_whodownloaded_ip_datebit 3rd Party DATABASE TABLE: blunts_whodownloaded_ip 3rd Party DATABASE FIELD: blunts_whodownloaded_ip.whodownloaded_ipid 3rd Party DATABASE FIELD: blunts_whodownloaded_ip.userid 3rd Party DATABASE FIELD: blunts_whodownloaded_ip.username 3rd Party DATABASE FIELD: blunts_whodownloaded_ip.filename 3rd Party DATABASE FIELD: blunts_whodownloaded_ip.fileid 3rd Party DATABASE FIELD: blunts_whodownloaded_ip.ipaddress 3rd Party DATABASE FIELD: blunts_whodownloaded_ip.alt_ip 3rd Party DATABASE FIELD: blunts_whodownloaded_ip.dateline 3rd Party DATABASE FIELD: usergroup.bluntswhodlpermissions 3rd Party DATABASE FIELD: settinggroup.blunts_whodl 3rd Party DATABASE FIELD: settings.blunts_whodl_popisactive 3rd Party DATABASE FIELD: settings.blunts_whodl_poplarge 3rd Party DATABASE FIELD: settings.blunts_whodl_popsmall 3rd Party DATABASE FIELD: settings.blunts_whodl_logwhat Whodownloaded_IP Style File Contents: File Name: style_blunts_whodl_ip.xml OVERWRITES these 4 standard vBulletin templates: vBulletin Template: modifyattachmentsbit (November 1st, 2005) vBulletin Template: postbit_attachment (Aug 20th, 2005) vBulletin Template: postbit_attachmentmoderated (Aug 20th, 2005) vBulletin Template: postbit_attachmentthumbnail (Aug 20th, 2005) Use these manual template edit instructions if you use other hacks!! Template: modifyattachmentsbit FIND THIS: Code:
<div class="smallfont">$post[postdate] <if condition="!$show['detailedtime']"><span class="time">$post[posttime]</span></if></div> Code:
<if condition="$show['blunts_whodl_width']"><div class="smallfont"><input type="button" class="button" value="$vbphrase[blunts_whodl_who_downloaded]" tabindex="1" onclick="window.open('blunts_whodownloaded_ip.php?$session[sessionurl]fid=$post[attachmentid]','blunts_whodownloaded_ip','toolbar=no, scrollbars=yes, resizable=yes, width=$show[blunts_whodl_width], height=450, top=50, left=50'); return false;" title="$vbphrase[blunts_whodl_who_downloaded]: $post[attachmentid]" /></div></if> Template: postbit_attachmentmoderated FIND THE LAST: Code:
</tr> Code:
<td><if condition="$show['blunts_whodl_width']"><input type="button" class="button" value="$vbphrase[blunts_whodl_who_downloaded]" tabindex="1" onclick="window.open('blunts_whodownloaded_ip.php?$session[sessionurl]fid=$attachment[attachmentid]','blunts_whodownloaded_ip','toolbar=no, scrollbars=yes, resizable=yes, width=$show[blunts_whodl_width], height=450, top=50, left=50'); return false;" title="$vbphrase[blunts_whodl_who_downloaded]: $attachment[attachmentid]" /></if></td> FIND THE LAST: Code:
<if condition="$show['br']"><br /><br /></if> Code:
<if condition="$show['blunts_whodl_width']"> <if condition="is_browser('ie', '5.5')"> <input type="button" class="button" value="$vbphrase[blunts_whodl_who_downloaded]" tabindex="1" onclick="window.open('blunts_whodownloaded_ip.php?$session[sessionurl]fid=$attachment[attachmentid]','blunts_whodownloaded_ip','toolbar=no, scrollbars=yes, resizable=yes, width=$show[blunts_whodl_width], height=450, top=50, left=50'); return false;" title="$vbphrase[blunts_whodl_who_downloaded]: $attachment[attachmentid]" style="writing-mode:tb-rl" /> <else /> <a href="blunts_whodownloaded_ip.php?$session[sessionurl]fid=$attachment[attachmentid]"<if condition="$show['newwindow']"> target="_blank"</if>><img class="button" src="$stylevar[imgdir_attach]/blunts_whodl_vertical.bmp" alt="$vbphrase[blunts_whodl_who_downloaded]" border="1" title="$vbphrase[blunts_whodl_who_downloaded]: $attachment[attachmentid]" /></a> </if> </if> v-1.0.0 - July 29th, 2005:
mr_blunt@sbcglobal.net Supporters / CoAuthors Show Your Support
|
Comments |
#42
|
|||
|
|||
Quote:
That was not intended. I meant to hide it. Let's see if any other bugs in the next couple days (instead of rapid consecutive releases). In the meantime.... I'll give you the fix.... Edit the "Enable Viewing" plugin and replace the whole thing with this: PHP Code:
If viewing usernames is disabled for a usergroup, they won't see the button. |
#43
|
|||
|
|||
Quote:
"WhoDownloaded with IP" is my personal Hack-Of-The-Year. |
#44
|
||||
|
||||
I'm getting an error
Code:
Database error in vBulletin 3.5.0 Release Candidate 2: Invalid SQL: UPDATE vb3_usergroup SET ### UPDATE QUERY GENERATED BY fetch_query_sql() ### `title` = 'Moderators', `description` = '', `usertitle` = 'Moderator', `opentag` = '<font color=\"#CC0000\"><b>', `closetag` = '</font></b>', `passwordexpires` = '0', `passwordhistory` = '0', `forumpermissions` = '1048575', `attachlimit` = '0', `pmquota` = '500', `pmpermissions` = '3', `pmsendmax` = '20', `calendarpermissions` = '63', `wolpermissions` = '29', `adminpermissions` = '0', `genericpermissions` = '205256703', `genericoptions` = '31', `profilepicmaxwidth` = '100', `profilepicmaxheight` = '100', `profilepicmaxsize` = '65535', `avatarmaxwidth` = '100', `avatarmaxheight` = '100', `avatarmaxsize` = '20000', `ecdownloadpermissions` = '1', `supportpermissions` = '0', `bluntswhodlpermissions` = '7' WHERE usergroupid=7; MySQL Error : Unknown column 'supportpermissions' in 'field list' Error Number : 1054 Date : Sunday, August 21st 2005 @ 01:14:57 PM Script : http://XXXXXXXXXXXXXX Referrer : http://XXXXXXXXXXXXXXXXXXXXXXXXx IP Address : XXXXXXXXXXX Username : XX Classname : vb_database |
#45
|
||||
|
||||
Sorry, I meant to say I get that error when trying to save usergroup settings.
|
#46
|
|||
|
|||
upload the bitfields file to your server's /includes/xml/
|
#47
|
||||
|
||||
That was already done. Any other ideas? Thanks.
|
#48
|
|||
|
|||
I'm sorry Roxie,
I should have looked at your error closer the first time. Take a look at the bottom of it ... I'll requote the relevant part of the error. Quote:
My hack pertains to the 'bluntswhodlpermissions' database column, not the other one above it which is the root of your trouble named supportpermissions. I pulled a search and found a hack that uses that column. https://vborg.vbsupport.ru/showthread.php?t=94023 I'll take a guess that you either need to upload HIS bitfield file to the server's XML folder or you need to reinstall HIS software from scratch if that database column doesn't exist. His installation script code DOES (at least attempt to) add that column the "first time" you install his 0.4 version. If uploading their bitfield file isn't the trouble, try asking that hack's thread. If they can't fix you up, then definately come back and I will. |
#49
|
||||
|
||||
Thanks so much! All is well now.
|
#50
|
|||
|
|||
[QUOTE=Mr Blunt]Made some real huge breakthroughs in my knowledge base.
:banana: v-1.0.7 - August 20th, 2005:
Mr Blunt, does this option include the transfer of data from Commish's old hack? or is this option not yet available? |
#51
|
|||
|
|||
That feature "IS" the transfer of data from Commish's old hack.
And it's not an option because .... I just do it ... automatically. Don't expect any stops during the install. I seek the data, and if found, I transfer it. ...No matter how much data that may be. Let me know how long it takes to tranfer your data please, laycomp. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|