• [Mod] Keep Track Of What Each User Has Downloaded 4 0 5 1
Currently:  

Author Topic: [Mod] Keep Track Of What Each User Has Downloaded  (Read 224419 times)

0 Members and 1 Guest are viewing this topic.

Offline Warrior

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • Lawrence Family History
Re: [Mod] Keep Track Of What Each User Has Downloaded
« Reply #165 on: April 20, 2011, 02:42:18 AM »
EDIT: (original post I made) Never mind.

(new content in this post) Got it working with the original coding. Good to see it works in hte latest 4Images :)
« Last Edit: April 20, 2011, 06:51:55 AM by Warrior »

Offline wdomi

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: [Mod] Keep Track Of What Each User Has Downloaded
« Reply #166 on: May 30, 2011, 08:51:07 PM »
Hi Chris,
I have started an new test for my database using your mod. I have installed vers. 1.7.10. and modified everything as supposed. The installation works without errors but if I using the profile for the user applied I dont get a result of downloaded images. Instead of a message "Die Suche ergab keine Treffer" mening "no hits".  What did I wrong?

Offline kooogel

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [Mod] Keep Track Of What Each User Has Downloaded
« Reply #167 on: October 13, 2011, 03:05:04 AM »
Hi!

Thanks for this Mod. I've installed everything right the way you wrote. But I had an error with adding the ID's of downloaded images to the database. The problem I found was the following:


if ($user_info['user_level'] == USER// Mod: Track User Downloads
    
add_to_downloaded_image_ids($image_id); // Mod: Track User Downloads


When adding this line of code to the download.php file you have to add { and } to that if-request. So the right way would be


if ($user_info['user_level'] == USER) { // Mod: Track User Downloads
    
add_to_downloaded_image_ids($image_id); // Mod: Track User Downloads
// Mod: Track User Downloads


Anyway, there's also a problem with zip-downloads out of the lightbox. The id's of the downloaded images don't get written into the database. Has anyone a solution for this??

EDIT:
I also found the second problem. :-) Just added the code V@no posted in http://www.4homepages.de/forum/index.php?topic=4606.0;msg=25435
And again: Thank you for this Mod! Now it works perfectly!!!

Greatz
Christoph
« Last Edit: October 13, 2011, 03:30:06 AM by kooogel »

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: [Mod] Keep Track Of What Each User Has Downloaded
« Reply #168 on: March 18, 2012, 01:24:19 AM »
Funktioniert in der 1.7.10 perfekt...
Danke Harald




Offline oliver2610

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [Mod] Keep Track Of What Each User Has Downloaded
« Reply #169 on: September 23, 2012, 08:16:27 AM »
Habe den mod in 1.7.11 mit Ausführung 4i_install_tud_fixed.zip, bekomme weißen Bildschirm. Nach Ausbau lief es wieder ohne Schwierigkeiten. Hat jemand eine Ahnung, was ich falsch gemacht haben könnte?

Offline deb0727

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [Mod] Keep Track Of What Each User Has Downloaded
« Reply #170 on: August 31, 2013, 12:53:22 AM »
This link isn't working...can someone help...I have done everything I was supposed to but doing this

4i_install_tud.php
Because the database must be modified, and it can be difficult to do correctly, I have written and tested an installer. Download the 4i_install_tud.zip file attached to this post. Extract the 4i_install_tud.php file and upload it to your web site. In a web browser, go to http://www.example.com/4images/4i_install_tud.php and follow the on-screen instructions.  Once your database is successfully updated, you should delete 4i_install_tud.php

Offline Warrior

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • Lawrence Family History
Re: [Mod] Keep Track Of What Each User Has Downloaded
« Reply #171 on: August 31, 2013, 03:15:28 AM »
At the bottom of the very first post are two attachments. Did you get those?

Offline xcitepress

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [Mod] Keep Track Of What Each User Has Downloaded
« Reply #172 on: November 06, 2016, 12:09:50 PM »
Hey there - is it possible to reup the attached files? It doesnt work it i unzip it...

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: [Mod] Keep Track Of What Each User Has Downloaded
« Reply #173 on: November 06, 2016, 03:37:58 PM »
Hey there - is it possible to reup the attached files? It doesnt work it i unzip it...

It works  8O  Posting 1 by Chris

nobby

Offline winzie

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: [Mod] Keep Track Of What Each User Has Downloaded
« Reply #174 on: February 11, 2017, 11:24:48 PM »
 8O does this mod work with 1.8 V ?