4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 25, 2018, 01:01:47 PM

Login with username, password and session length
Search:     Advanced search
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Modifications / Modifikationen
| |-+  Mods & Plugins (Releases & Support) (Moderators: mawenzi, Rembrandt)
| | |-+  [Mod] Keep Track Of What Each User Has Downloaded
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: «« « 1 [2] 3 4 5 6 ... 12 » »» Print
Current Topic Rating: *****
Author Topic: [Mod] Keep Track Of What Each User Has Downloaded  (Read 166204 times)
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 565

mmm PHP...


View Profile WWW
« Reply #15 on: June 11, 2003, 01:07:46 AM »

Quote from: crazy4ke   [Expand]
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/casafeli/public_html/darkroom/includes/functions.php on line 128

Fatal error: Call to undefined function: get_php_version() in /home/casafeli/public_html/darkroom/global.php on line 248

No, this error has nothing to do with trailing space.
Check on lines 127-129 make sure u did not any mistakes there (extra or missing quote, bracket)
Logged

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
crazy4ke
Pre-Newbie

Offline Offline

Posts: 7

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #16 on: June 11, 2003, 01:14:57 AM »

Thanks.

That was odd.  That code I didn't modify at all.  Must have been the file editor I used from my site's control panel.  I'm up now.

Nice mod!
Logged
bgmurphy
Full Member
***
Offline Offline

Posts: 113

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #17 on: June 11, 2003, 02:59:30 PM »

v@no or chris -

any chance you can create a plug-in or modify the code so that it can show the admin how many different users have downloaded a specific image(s) ==>

image id: user 1 (date/time), user 2 (date/time) , user 3 (date/time) ..

with the abilty for the admin to print an image id report with a variable range for ==> user, date/yr .. etc

this would be very helpful to tracking/accounting purposes

thanx
bruce
Logged
Chris
4images Moderator
4images Guru
*****
Offline Offline

Posts: 4487

Thank You
-Given: 0
-Receive: 31

Did u ever stop to think and then forget to start?


View Profile
« Reply #18 on: June 11, 2003, 03:22:43 PM »

Can't speak for v@no but I won't have time to tackle anything like this until Sept/Oct.  This time of the year is the busiest for me.  Crying or Very sad
Logged

gpunto
Newbie
*
Offline Offline

Posts: 13

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #19 on: June 25, 2003, 07:37:15 PM »

Hello to all, thanks for this aid. For my it is very important that
this works but gives the following errors me, me could throw a cable?

Parse error:  parse error, unexpected T_GLOBAL in /home/tele/public_html/includes/functions.php on line 1224
 
 Parse error:  parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/tele/public_html/includes/sessions.php on line 35
Logged

V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 565

mmm PHP...


View Profile WWW
« Reply #20 on: June 25, 2003, 09:30:20 PM »

Quote from: gpunto   [Expand]
Parse error:  parse error, unexpected T_GLOBAL in /home/tele/public_html/includes/functions.php on line 1224
 
 Parse error:  parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/tele/public_html/includes/sessions.php on line 35

this means, that u did something wrong while installing this mod, restore your backups and try again. Wink
Logged

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
syella1
Newbie
*
Offline Offline

Posts: 12

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #21 on: June 28, 2003, 12:17:54 AM »

when i open the 4i_install_tud.php
i get these errors
Quote  [Expand]
Parse error: parse error in /Library/WebServer/Documents/2ddata/includes/functions.php on line 1118

Parse error: parse error, expecting `')'' in /Library/WebServer/Documents/2ddata/includes/sessions.php on line 46



when i open index.php i get these errors after trying to install this mod
Quote  [Expand]

Parse error: parse error in /Library/WebServer/Documents/2ddata/includes/functions.php on line 1118

Parse error: parse error, expecting `')'' in /Library/WebServer/Documents/2ddata/includes/sessions.php on line 46

DB Error: Bad SQL Query: SELECT a.cat_id, a.auth_viewcat, a.auth_viewimage, a.auth_download, a.auth_upload, a.auth_directupload, a.auth_vote, a.auth_sendpostcard, a.auth_readcomment, a.auth_postcomment FROM imgem_2d_groupaccess a, imgem_2d_groupmatch m WHERE m.user_id = AND a.group_id = m.group_id AND m.groupmatch_startdate <= 1056752066 AND (groupmatch_enddate > 1056752066 OR groupmatch_enddate = 0)
You have an error in your SQL syntax near 'AND a.group_id = m.group_id AND m.groupmatch_startdate <= 105675206' at line 4

Fatal error: Call to a member function on a non-object in /Library/WebServer/Documents/2ddata/includes/page_header.php on line 69
any help
Logged
Chris
4images Moderator
4images Guru
*****
Offline Offline

Posts: 4487

Thank You
-Given: 0
-Receive: 31

Did u ever stop to think and then forget to start?


View Profile
« Reply #22 on: June 28, 2003, 04:28:43 PM »

Restore your backups and try installing again.  Somewhere along the way you've missed a closing " ) or ;

Recheck your work carefully.  Good luck.
Logged

martrix
Hero Member
*****
Offline Offline

Posts: 755

Thank You
-Given: 0
-Receive: 6


View Profile WWW
« Reply #23 on: March 20, 2005, 09:07:44 PM »

I'm using this mod more for a general overview of how many times users had downloaded some pics...
How is it possible to count the number of pictures the user downloaded if I have installed this modification  Question

Thank you in advance...  Smile

Logged

MAяTRIX

AntiNSA2
Hero Member
*****
Offline Offline

Posts: 774

Thank You
-Given: 0
-Receive: 2

As long as I can finish my site before I die.


View Profile WWW
« Reply #24 on: March 21, 2005, 06:03:46 AM »

I think there is an error with this code, it looks as though it was rewritten by dreamweaver or something:
1
<option value="<?php echo get_user_table_field&#40;"", "download_lastaction"&#41;; ?>"><?php echo $lang&#91;'field_download_lastaction'&#93;; ?></option>
should actually say this
1
<option value="<?php echo get_user_table_field("""download_lastaction"); ?>"><?php echo $lang['field_download_lastaction']; ?></option>

 Very Happy

Now back to implementing this mod to see how it works Smile

Robert
« Last Edit: March 23, 2005, 12:26:50 AM by V@no » Logged

As long as I can finish my site before I die.
AntiNSA2
Hero Member
*****
Offline Offline

Posts: 774

Thank You
-Given: 0
-Receive: 2

As long as I can finish my site before I die.


View Profile WWW
« Reply #25 on: March 21, 2005, 06:58:37 AM »

It looks as though the php install file also has to be corrected Shocked
Logged

As long as I can finish my site before I die.
Chris
4images Moderator
4images Guru
*****
Offline Offline

Posts: 4487

Thank You
-Given: 0
-Receive: 31

Did u ever stop to think and then forget to start?


View Profile
« Reply #26 on: March 21, 2005, 02:47:04 PM »

Actually it looks like the forum barfed somehow.  When I clicked the modify button for the original post, the code was just fine.

It should be fixed now and I also uploaded the database installer.  No more need to copy and paste it

I also have additional code that's not posted yet which sends you an email with the details of each download.  If the user does a ZIP download, you get the details of all the files in the ZIP.  Not sure when I'll have time to post this.  Rolling Eyes
Logged

martrix
Hero Member
*****
Offline Offline

Posts: 755

Thank You
-Given: 0
-Receive: 6


View Profile WWW
« Reply #27 on: March 21, 2005, 03:32:18 PM »

Not sure when I'll have time to post this.  Rolling Eyes

We hope soon Wink

Could you help me with the "downloads-sum"?
I guess that it is not really hard to code, but I don't know how to write MySQL queries.  Crying or Very sad
Logged

MAяTRIX

Chris
4images Moderator
4images Guru
*****
Offline Offline

Posts: 4487

Thank You
-Given: 0
-Receive: 31

Did u ever stop to think and then forget to start?


View Profile
« Reply #28 on: March 22, 2005, 06:31:20 PM »

NOTE: This is NOT a download stats or counter mod
Logged

martrix
Hero Member
*****
Offline Offline

Posts: 755

Thank You
-Given: 0
-Receive: 6


View Profile WWW
« Reply #29 on: March 22, 2005, 09:37:54 PM »

 Smile I am able to read and I did also understand what you wrote, Chris Wink

Is it really so hard to get this one "number"? Just the sum of entries...   Neutral

I translate your answer to my "could you help me?" question as "no"  Wink
Logged

MAяTRIX

Pages: «« « 1 [2] 3 4 5 6 ... 12 » »» Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.062 seconds with 19 queries.
Post your comments here