4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Topic started by: Chris on March 13, 2003, 01:03:06 AM
-
Updated 03-15-2006 for 4images v1.7.2
Keep Track Of What Each User Has Downloaded
For each registered user, this mod maintains a list of the images they download and the date/time of the their last download.
Summary Description NOTE: This is NOT a download stats or counter mod
It has been said that necessity is the mother of invention. On my web site, I only allow downloads for registered users and I wanted to keep track of who was downloading what.
This mod lets you track what images have been downloaded by each registered user. It also enhances the "Edit Users" function in the admin control panel to let you query all users who downloaded anything before, after, or within a date range you enter by entering dates in both the before and after fields. You can also sort the returned list of users by the last download date in either ascending or descending order.
Once that query list is generated, clicking the "Edit" link next to a specific user will display the following in the "Edit User" HTML form:
1. A text area that holds the id numbers of the images they downloaded.
2. A search link to display those images in a new window.
3. The date and time of the user's last download.
The search link is also displayed in the member_profile.html template if you are logged in as a 4images administrator.
The database table 4images_users is modified to store the image id numbers for all downloads made by each user. It is also modified to store the date and time of the last download. This code was heavily copied from the lightbox logic so it only took me 4 or 5 hours to research, code, test, document the installation procedure and write an installer to modify the database. Your time to install this mod is approximately 15 minutes, you lucky bastard! :wink:
Summary of files affected
[change] admin/users.php
[change] includes/functions.php
[change] includes/sessions.php
[change] includes/db_field_definitions.php
[change] lang/english/main.php
[change] lang/english/admin.php
[change] download.php
[change] member.php
[change] search.php
[change] templates/default/member_profile.html
[new] 4i_install_tud.php
admin/users.php:
Locate:
4images v1.7 - 1.7.1
show_input_row($lang['field_lastaction'].$lang['date_desc'], "user_lastaction", $user_row['user_lastaction'], $textinput_size);
4images v1.7.2
show_date_input_row($lang['field_lastaction'].$lang['date_desc'], "user_lastaction", $user_row['user_lastaction'], $textinput_size);
Insert after:
$user_row['download_lastaction'] = date("Y-m-d H:i", $user_row['download_lastaction']); // Mod: Track User Downloads
$additional_user_fields['downloaded_image_ids'] = array("<a href=\"".ROOT_PATH."search.php?user_downloads=".$user_row['user_id']."\" target=\"_blank\">".$lang['downloaded_image_ids']."</a>", "textarea", 0); // Mod: Track User Downloads
Locate:
4images v1.7 - 1.7.1
show_input_row($lang['field_lastaction_before'].$lang['date_format'], "lastactionbefore", "", $textinput_size);
4images v1.7.2
show_date_input_row($lang['field_lastaction_before'].$lang['date_format'], "lastactionbefore", "", $textinput_size);
Insert after:
$user_row['download_lastaction'] = date("Y-m-d H:i", $user_row['download_lastaction']); // Mod: Track User Downloads
show_input_row($lang['field_download_lastaction_after'].$lang['date_format'], "download_lastaction_after", "", $textinput_size); // Mod: Track User Downloads
show_input_row($lang['field_download_lastaction_before'].$lang['date_format'], "download_lastaction_before", "", $textinput_size); // Mod: Track User Downloads
Locate:
<option value="<?php echo get_user_table_field("", "user_lastaction"); ?>"><?php echo $lang['field_lastaction']; ?></option>
Insert after:
<option value="<?php echo get_user_table_field("", "download_lastaction"); ?>"><?php echo $lang['field_download_lastaction']; ?></option>
Locate:
$lastactionbefore = trim($HTTP_POST_VARS['lastactionbefore']);
if ($lastactionbefore != "") {
$condition .= " AND ".get_user_table_field("", "user_lastaction")." < UNIX_TIMESTAMP('$lastactionbefore')";
}
Insert after:
$download_lastaction_after = trim($HTTP_POST_VARS['download_lastaction_after']); // Mod: Track User Downloads
if ($download_lastaction_after != "") { // Mod: Track User Downloads
$condition .= " AND ".get_user_table_field("", "download_lastaction")." > UNIX_TIMESTAMP('$download_lastaction_after')"; // Mod: Track User Downloads
} // Mod: Track User Downloads
$download_lastaction_before = trim($HTTP_POST_VARS['download_lastaction_before']); // Mod: Track User Downloads
if ($download_lastaction_before != "") { // Mod: Track User Downloads
$condition .= " AND ".get_user_table_field("", "download_lastaction")." < UNIX_TIMESTAMP('$download_lastaction_before')"; // Mod: Track User Downloads
$condition .= " AND ".get_user_table_field("", "download_lastaction")." > 0"; // Mod: Track User Downloads
} // Mod: Track User Downloads
Locate:
show_hidden_input("lastactionafter", $lastactionafter);
show_hidden_input("lastactionbefore", $lastactionbefore);
Insert after:
show_hidden_input("download_lastaction_after", $download_lastaction_after); // Mod: Track User Downloads
show_hidden_input("download_lastaction_before", $download_lastaction_before); // Mod: Track User Downloads
Open includes/functions.php, at the very bottom and just before the closing:
?>
Insert before:
// Mod: Track User Downloads BLOCK INSERT BEGIN
function add_to_downloaded_image_ids($id) {
global $user_info, $site_db;
$id = intval($id);
if (!$id) {
return false;
}
$downloaded_ids = $user_info['downloaded_image_ids'];
$downloaded_array = explode(" ", $downloaded_ids);
if (!in_array($id, $downloaded_array)) {
$downloaded_ids .= " ".$id;
}
$user_info['downloaded_image_ids'] = trim($downloaded_ids);
$user_info['download_lastaction'] = time();
$sql = "UPDATE ".USERS_TABLE."
SET download_lastaction = ".$user_info['download_lastaction'].", downloaded_image_ids = '".$user_info['downloaded_image_ids']."'
WHERE user_id = ".$user_info['user_id'];
return ($site_db->query($sql)) ? 1 : 0;
}
// Mod: Track User Downloads BLOCK INSERT END
Open includes/sessions.php, locate at the top:
$user_table_fields = array(
"user_id" => "user_id",
"user_level" => "user_level",
"user_name" => "user_name",
"user_password" => "user_password",
"user_email" => "user_email",
"user_showemail" => "user_showemail",
"user_allowemails" => "user_allowemails",
"user_invisible" => "user_invisible",
"user_joindate" => "user_joindate",
"user_activationkey" => "user_activationkey",
"user_lastaction" => "user_lastaction",
"user_location" => "user_location",
"user_lastvisit" => "user_lastvisit",
"user_comments" => "user_comments",
"user_homepage" => "user_homepage",
"user_icq" => "user_icq"
);
Add a comma at the end of the user_icq line and add a new line after:
$user_table_fields = array(
"user_id" => "user_id",
"user_level" => "user_level",
"user_name" => "user_name",
"user_password" => "user_password",
"user_email" => "user_email",
"user_showemail" => "user_showemail",
"user_allowemails" => "user_allowemails",
"user_invisible" => "user_invisible",
"user_joindate" => "user_joindate",
"user_activationkey" => "user_activationkey",
"user_lastaction" => "user_lastaction",
"user_location" => "user_location",
"user_lastvisit" => "user_lastvisit",
"user_comments" => "user_comments",
"user_homepage" => "user_homepage",
"user_icq" => "user_icq", // Mod: Track User Downloads (comma was added at end of line!)
"download_lastaction" => "download_lastaction" // Mod: Track User Downloads
);
Open includes/db_field_definitions.php, locate:
// Example for additional user fields
//$additional_user_fields['user_adress'] = array($lang['user_adress'], "text", 1);
Insert after:
$additional_user_fields['downloaded_image_ids'] = array($lang['downloaded_image_ids'], "textarea", 0); // Mod: Track User Downloads
$additional_user_fields['download_lastaction'] = array($lang['download_lastaction'], "text", 0); // Mod: Track User Downloads
Open lang/english/main.php, at the very bottom and just before the closing:
?>
Insert before:
$lang['downloaded_image_ids'] = "Downloaded Image IDs"; // Mod: Track User Downloads
$lang['download_lastaction'] = "Date Of Last Download"; // Mod: Track User Downloads
$lang['downloaded_images'] = "Downloaded Images"; // Mod: Track User Downloads
Open lang/english/admin.php
Locate:
$lang['field_lastaction'] = "Last activity";
Insert after:
$lang['field_download_lastaction'] = "Last Download"; // Mod: Track User Downloads
Locate:
$lang['field_lastaction_before'] = "Last activity before";
$lang['field_lastaction_after'] = "Last activity after";
Insert after:
$lang['field_download_lastaction_before'] = "Last download before"; // Mod: Track User Downloads
$lang['field_download_lastaction_after'] = "Last download after"; // Mod: Track User Downloads
Open download.php, locate:
if ($user_info['user_level'] != ADMIN) {
$sql = "UPDATE ".IMAGES_TABLE."
SET image_downloads = image_downloads + 1
WHERE image_id = $image_id";
$site_db->query($sql);
}
Insert after:
if ($user_info['user_level'] == USER) // Mod: Track User Downloads
add_to_downloaded_image_ids($image_id); // Mod: Track User Downloads
OPTIONAL: If you want to track downloads from users AND administrators, change
if ($user_info['user_level'] == USER) // Mod: Track User Downloads
To
if ($user_info['user_level'] >= USER) // Mod: Track User (and administrator) Downloads
Open member.php:
Locate:
"lang_email" => $lang['email'],
"lang_homepage" => $lang['homepage'],
"lang_icq" => $lang['icq']
));
REPLACE with:
"lang_email" => $lang['email'],
"lang_homepage" => $lang['homepage'],
"lang_icq" => $lang['icq'],
"lang_download_lastaction" => $lang['download_lastaction'], // Mod: Track User Downloads
"lang_user_downloads" => $lang['downloaded_images'], // Mod: Track User Downloads
"url_user_downloads" => ($user_info['user_level'] == ADMIN) ? $site_sess->url(ROOT_PATH."search.php?user_downloads=".$user_row['user_id']) : "" // Mod: Track User Downloads
));
Open search.php:
Locate:
$search_id = array();
Insert after:
// Mod: Track User Downloads BLOCK INSERT BEGIN
if (isset($HTTP_POST_VARS['user_downloads']) || isset($HTTP_GET_VARS['user_downloads'])) {
$user_downloads = (isset($HTTP_POST_VARS['user_downloads'])) ? intval($HTTP_POST_VARS['user_downloads']) : intval($HTTP_GET_VARS['user_downloads']);
if ($user_downloads != "" && $user_info['user_level'] == ADMIN) {
$show_result = 1;
$sql = "SELECT downloaded_image_ids
FROM ".USERS_TABLE."
WHERE ".get_user_table_field("", "user_id")." = $user_downloads";
$user_downloads_info = $site_db->query_firstrow($sql);
$user_downloads_ids = str_replace(" ", ",", trim($user_downloads_info['downloaded_image_ids']));
$search_id['image_ids'] = $user_downloads_ids;
}
}
// Mod: Track User Downloads BLOCK INSERT END
Open templates/default/member_profile.html:
Locate:
<tr>
<td class="row2"><b>{lang_icq}</b></td>
<td class="row2">{if user_icq}<a href="http://wwp.icq.com/scripts/search.dll?to={user_icq}">{user_icq}</a> (<b>{user_icq_status}</b>){endif user_icq}</td>
</tr>
Insert after:
{if url_user_downloads}
<tr>
<td class="row1"><b>{lang_user_downloads}</b></td>
<td class="row1"><a href="{url_user_downloads}">{lang_user_downloads}</a></td>
</tr>
{endif url_user_downloads}
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
Revisions:
* Enhanced with V@no's add-on that provides a search link in both the admin Control Panel "Edit Users" and the member_profile.html template. Separately we both thought of adding the same feature but V@no beat me to it. Thank you. :)
* Added "Last Download" to the "Order By" options list for admin CP "Edit Users".
* Attached the installer file to this post, just download it !
-
Exelent! Good job!
if I may, I'd like add little addon:
it will display a link for search downloaded images (only for admin) in user profile and in "edit user".
[EDITED]
Since this addon was included in original installation, no needed doublepost it. :D
[/EDITED]
The format to search is:
search.php?user_downloads=X
Where X is user ID
-
Most excellent. Great minds think alike huh?
I was thinking about adding this very feature to the mod not more than 20 minutes after posting it! Looks like you've saved me the trouble - thanks.
I'll definitely try it out tomorrow.
-
V@no's add-on has been included in the original instructions.
Also introduced is the ability to sort the user list by the "Last Download" date. This works regardless of whether or not you are editing users based on download date. Users who have not downloaded anything are treated as having a ZERO download date and will show up at the end of the list if the "Order By" option is set to Descending.
-
how can you make this work with 4images & pbpbb integrated site?
-
I have no idea since I do not use the "user integration" feature of 4images. :wink: If I understand correctly, with user integration, 4images uses the phpBB user table so this mod would need to be adjusted to use that table.
I really don't know what would be needed to make that work but that's were you should begin looking to identify code you need to change.
-
Can some one edit this mod so that it will work with the vbulletin integration?
-
:idea: hey chris -
nice tracking module - one problem though ... it doesn't track lightbox selections (i.e. batch zips) - only single downloads ...
any thoughts?
thanx
bruce
-
it doesn't track lightbox selections (i.e. batch zips) - only single downloads ...
in /download.php find:$sql = "SELECT cat_id, image_media_file, image_download_url
replace with:$sql = "SELECT cat_id, image_media_file, image_download_url, image_id
find next:$file_added = 1;
add after:if ($user_info['user_level'] == USER) // Mod: Track User Downloads
add_to_downloaded_image_ids($image_row['image_id']); // Mod: Track User Downloads
-
v@no -
i replaced/added the code ... but it still didn't record my litebox download so ???
i modified the ---- == user to >= user -- is that the prob?
thanx
bruce
-
ops, sorry...I had typo...
replace
add_to_downloaded_image_ids($image_ros['image_id']);
with
add_to_downloaded_image_ids($image_row['image_id']);
-
v@no -
which php module? .. and .. what should i do with the old code i did replace? - delete or ??
better yet .... can you repost the correct file changes procedures <grin> ?
bruce
-
v@no -
which php module? .. and .. what should i do with the old code i did replace? - delete or ??
I thought I posted just for one file changes...:roll:
better yet .... can you repost the correct file changes procedures <grin> ?
bruce
I did already...:?
-
v@no -
sorry - tired eyes .. and small type !!!!
i see what you modified now ... 3rd pass thru it ...
will get it corrected
thanx
bruce
-
I've followed all of these instructions and am getting the following:
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
At first I thought it was a trailing empty line at the end of the functions.php file but I've deleted it.
-
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)
-
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!
-
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
-
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. :cry:
-
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
-
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. ;)
-
when i open the 4i_install_tud.php
i get these errors
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
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
-
Restore your backups and try installing again. Somewhere along the way you've missed a closing " ) or ;
Recheck your work carefully. Good luck.
-
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 :?:
Thank you in advance... :)
-
I think there is an error with this code, it looks as though it was rewritten by dreamweaver or something:
<option value="<?php echo get_user_table_field("", "download_lastaction"); ?>"><?php echo $lang['field_download_lastaction']; ?></option>
should actually say this<option value="<?php echo get_user_table_field("", "download_lastaction"); ?>"><?php echo $lang['field_download_lastaction']; ?></option>
:D
Now back to implementing this mod to see how it works :)
Robert
-
It looks as though the php install file also has to be corrected 8O
-
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. :roll:
-
Not sure when I'll have time to post this. :roll:
We hope soon ;)
Could you help me with the "downloads-sum (http://www.4homepages.de/forum/index.php?topic=4606.msg30268#msg30268)"?
I guess that it is not really hard to code, but I don't know how to write MySQL queries. :cry:
-
NOTE: This is NOT a download stats or counter mod
-
:) I am able to read and I did also understand what you wrote, Chris ;)
Is it really so hard to get this one "number"? Just the sum of entries... :|
I translate your answer to my "could you help me?" question as "no" :wink:
-
I dont know if this will be enough for u, but try this:
For ACP:
replace in admin/users.php $additional_user_fields['downloaded_image_ids'] = array("<a href=\"".ROOT_PATH."search.php?user_downloads=".$user_row['user_id']."\" target=\"_blank\">".$lang['downloaded_image_ids']."</a>", "textarea", 0); // Mod: Track User Downloads
With this: $additional_user_fields['downloaded_image_ids'] = array("<a href=\"".ROOT_PATH."search.php?user_downloads=".$user_row['user_id']."\" target=\"_blank\">".$lang['downloaded_image_ids']."</a> (".(empty($user_row['downloaded_image_ids']) ? 0 : count(explode(" ", trim($user_row['downloaded_image_ids'])))).")", "textarea", 0); // Mod: Track User Downloads
For member profile:
In member.php find: "url_user_downloads" => ($user_info['user_level'] == ADMIN) ? $site_sess->url(ROOT_PATH."search.php?user_downloads=".$user_row['user_id']) : "" // Mod: Track User Downloads
Insert above: "count_user_downloads" => ($user_info['user_level'] == ADMIN) ? "(".(empty($user_row['downloaded_image_ids']) ? 0 : count(explode(" ", $user_row['downloaded_image_ids']))).")" : "", // Mod: Track User Downloads
In member_profile.html add {count_user_downloads}
-
I translate your answer to my "could you help me?" question as "no" :wink:
It's actually more accurate to translate it as "I have no time right now" :roll:
-
It's actually more accurate to translate it as "I have no time right now" :roll:
Your answer was so... "effective" that I could not leave it. :D Sorry if you feel offended.
I was just kidding and did not mean it as an insult (http://photo.overlord.cz/templates/blue_wonder/smiles/angel.gif)
@V@no: I will try that! And I'm somehow sure this is all I wanted to have :D
I guess I may once again write the words "thank" and "you" addressed to you ;)
-
Sorry if you feel offended.
I was just kidding and did not mean it as an insult
None taken
-
@ V@no - this is exactly, what I wanted! :)
Thank you again for your help!
-
I'm not able to download the attachment, why?
-
same here...
An Error Has Occurred!
It seems that you are not allowed to download or view attachments on this board.
:?:
-
Can anyone upload this file again? Please!
-
Thanks now the script works!!!
But i have a question.
I have a picture with an ID.
How can i look who downloaded this picture?
I only found this function, where i can see what pictures a user has downloaded.
-
sorry with the method this mod stores the downloaded images, it would be difficult and require alot of server resources.
-
The MOD does the job great, but if you click "log out" from details.php it hangs (if you click another link right after it will continue to log out) Do you know why? How can I fix this?
:?:
-
hangs? I dont think this mod has anything to do with logout function..
-
Thanks for the response! When I say "hangs" i mean is does not proceed to the homepage. It stalls until another link is clicked?
-
You must have done a mistake somewhere else - when adding this MOD you don't edit logout.php - so it can't affect the logout process... :|
Or am I wrong?
-
Thanks!
-
does it work now?
-
no, but I don't know what else it could be? This started happening right after I installed this much needed MOD. When on the details page (this only happens here) I click Logout, the page looks like it's starting to logout and redirect you to the homepage but it never does. However if I click another link right after I logout it brings me to the new page but my session is over. Is this clear? Any ideas?
Thanks again!
-
ok, uninstall this mod and see if it still happens. (basic troubleshootings)
also a link to your site with a test user login info could help too ;)
-
Thank you! Here is the url...
www.mycttbriefcase.com (http://www.mycttbriefcase.com)
Username: demo
Password: password
Thanks in advance!
-
This issue has nothing to do with this mod (I'm 90% sure)
This seems to happend only if u access details page with sessionid attached to the url. So, when u logout, its trying to redirect u to the same details page with sessionid in the url and for some reason its then redirects u to the same page in the dead end loop...
Please start a new topic in troubleshooting forum.
P.S. and just to be sure, please uninstall this mod.
-
when i want to do the install tud, i only get crazy characteres like this:
PKl.T0˜L4i_install_tud.phpXmo6œ eM4@…*m9aap%Bq簝}GŠ_:Fˆ‰xw|x{*€…qP6”;=ȏ‘Sq>urv}x#?PvN| ˜YBSW `JVd—.…[+GЯ•I)” #(+€;;5ce^!P…cAY=Š}x•><(ŽUS&t™7Fe›œjY5N\H7RŸsC… q21.ZfceRf>wf1#ߣ2‹5+eŸ˜79H"<†Š2Qz20 Ÿ€cY~|€u+>vGL‚ H7dŠJ'‹ z‘ dC=vGerY$EK'Hb•™A‡<_?&b3/>m^d>yfBrJ^(š &p>I ˜X*Mr){žno *|`t—Sž™Œ*›‚~„ /V]L-..™‚^“}^O' jA=:F c—&gYB.œ/Ÿo&kͫF“Ÿ\5*†>›MƷk +r˜zOl—m„K]{:b $$vRinzn“>’‹7Ž-x;/#„VUŸ„XpY,^BŠ+_-k:1f _(9 ‡2]\Ÿbˆ\ Žd_Nžr9riLzB@”Y3Št hŸBL„)Qv=w‚]'™ߥwɺvx<žs‡•‘C^;ƒ<8W|Šc C0ˆŸDBFHrž8dgcF=]Ÿ?bTž;•B‚*^ȹ7Œu–[‚F=8=mP{N€wLn^–r˜ƒj'1X*"C)obz3R)BDƒƒdŒI[Šž:Šz6 89)1^C1-lk H,IŠT,"Ÿf\cki‚촻z@LLI3gŠ$˜cx›Z‡+ ’C5˜JHPx~E‡€c4 ”F9-.ŒœŽ(–A6!(HF Ki?kLžloxOq726iX1ŽN—m{ :x“_>*@288 +P‰9€, cNp}|x(Xˆ5|j’‘dGL2(DkoeӽA%Q|3K‰07)-,sŵGPKl.T0˜L 4i_install_tud.phpPK@)
when i then try to look who has what downloaded, i get this message on top:
DB Error: Bad SQL Query: SELECT downloaded_image_ids FROM 4images_users WHERE user_id = 5
thank you
Unknown column 'downloaded_image_ids' in 'field list'
-
I'd suggest you recheck the installation steps, one thing I know for sure, you didnt do the last step (updating database), perhaps you missed something else as well.
-
you mean with updating, installing the 4i_install_tud.php in the browser. thats what i did, but then come only this strange signs.
n
-
when i want to do the install tud, i only get crazy characteres like this:
It looks like you may have uploaded that PHP file in binary mode rather than ASCII mode from your FTP / CPanel. By uploading it in ASCII mode, see if this problem this persists. ;)
-
hello!
i've got a problem! i installed this mod, like it should be (i think) and everything is (working), no errors or something... but it just dosent show me the files that users downloaded... in the edit-mode of each user, the field with"downloaded image ID's" is emtpy. and when i click on it, no pictures are shown on! just a "die suche ergab keine treffer".... what could it be?
thanks very much!!!!
funix
-
die suche ergab keine treffe
This means : No search results has been found for hits.
-
yes, i know.... but there should be a result! because i downloaded some picture with this user....but there is no result...i've got no idea what i did wrong!!
-
Perhaps you forgot two steps in the instructions on the first page on this topic :
- 2nd table code.
- 16th table code.
;)
Secondly, what I do find weird though is that the $additional_user_fields['downloaded_image_ids'] has been added twice in these instructions (on those two tables). I thought that db_fields_definitions.php file could already handle both sides of fields we add.
-
hope u are not talking about downloaded images before you installed this mod ;)
-
no worries, i'm talking about downloading after i installed the mod ;-)
what do you mean with 2nd table code and 16th table code?
thanks!
-
using any mysql managers (phpmyadmin or such) find the user account u are testing with (in 4images_users table) and look if the account has anything in 'downloaded_image_ids' field (wait, u should be able see that from ACP -> Edit users ;))
If you see some numbers, then there is something wrong with your search.php, if the field is empty, then there is something wrong with download.php. Perhaps u were trying to test with administrator's account, and didnt change the needed line in download.php as suggested in the tutorial (by default downloads being saved only for regular members, not admins)
-
i love you, now it's working!! i'm using the mod which is for the admins as well.... but befor i didnt use the admin, but it was not working...crazy....but now everything is sweet, thanks!!! :-)
is it possible to see how many times a user downloaded the same file?
cheers,
funix
-
Hello,
the mod works fine, thx for this !!!!!!!
If i get it right you can see it in the member profile box, and in the acp how much each user has downloaded.
But for this you have to click on the users name, 1 by one.
Is there a way to get a summary ?
Like in the memberlist. Now you can see in the memberlist how much each user has uploaded, could you see there how much they have downloaded ?
-
Hi Chris, hi V@no,
installation went quite well with no errors at all, but in my database downloaded_image_ids remains NULL and downloaded_lastaction 0 as well. I tried downloads with various testusers, but nothing happens.
No reaction as well after I changed the Mod to admin-mode.
Any suggestion?
Regards,
Reiner
-
perphaps made a misstake in download.php
-
perphaps made a misstake in download.php
So did I :(
Just inserted your code there where it should not be :)
Works fine now!
Regards,
Reiner
-
Hello,
the mod works fine, thx for this !!!!!!!
If i get it right you can see it in the member profile box, and in the acp how much each user has downloaded.
But for this you have to click on the users name, 1 by one.
Is there a way to get a summary ?
Like in the memberlist. Now you can see in the memberlist how much each user has uploaded, could you see there how much they have downloaded ?
That would be excellent!
Regards,
Reiner
-
Is it possible to show the last 10 downloaded files with this mod?
-
This mod does not store the time the file was downloaded, therefore no way to know which file was downloaded when.
-
Okay
anyway a great MOD :D
-
I dont know if this will be enough for u, but try this:
For ACP:
replace in admin/users.php $additional_user_fields['downloaded_image_ids'] = array("<a href=\"".ROOT_PATH."search.php?user_downloads=".$user_row['user_id']."\" target=\"_blank\">".$lang['downloaded_image_ids']."</a>", "textarea", 0); // Mod: Track User Downloads
With this: $additional_user_fields['downloaded_image_ids'] = array("<a href=\"".ROOT_PATH."search.php?user_downloads=".$user_row['user_id']."\" target=\"_blank\">".$lang['downloaded_image_ids']."</a> (".(empty($user_row['downloaded_image_ids']) ? 0 : count(explode(" ", trim($user_row['downloaded_image_ids'])))).")", "textarea", 0); // Mod: Track User Downloads
For member profile:
In member.php find: "url_user_downloads" => ($user_info['user_level'] == ADMIN) ? $site_sess->url(ROOT_PATH."search.php?user_downloads=".$user_row['user_id']) : "" // Mod: Track User Downloads
Insert below: "count_user_downloads" => ($user_info['user_level'] == ADMIN) ? "(".(empty($user_row['downloaded_image_ids']) ? 0 : count(explode(" ", $user_row['downloaded_image_ids']))).")" : "" // Mod: Track User Downloads
In member_profile.html add {count_user_downloads}
HI there, when i do the changes in member.php i have a blank page. Can anyone say me why???
No other question ;)
-
I've updated the code you are referring to, remove the changes and try again with the updated instructions. (now you'll need insert it above, not below and the new line has a comma at the end.)
-
Thank you guys!
The MOD works excellent.
-
It seems I have a problem with this MOD :?
It shows me files which I never have downloaded! I cleared this listof image IDs in ACP, but it logs again files which I dont have downloaded :|
-
1) Are you testing it as regular member or as admin?
2) have you tryed different member?
-
The download seems to be down
-
Lol, nvm
-
Hai,
I have installed the MOD, there are no erors and there are no results as well.While installing the 4i_install_tud.php, the database password is written wrong and I cant change it as well. Where would I have gone wrong. I have reinstalled this 3 times. Kindly someone help.
Thanks
Binu
-
The database password is being taken from config.php if its wrong there, then I dont know how your gallery is working at all...
-
Hai,
To start from scratch, how do I UNINSTALL 4i_install_tud.php . Also since I am changing the orginal files, can someone post the changed files ( ver.1.71). This would be immensely helpful as there would be absolutely no chance of error. I hope all MODS provide a .zip download of all changed files.
Thanks
Binu
-
does this work with ver. 1.7.2 ?
-
does this work with ver. 1.7.2 ?
In admin/users.php (1.7.2) i could not find "show_input_row($lang['field_lastaction'].$lang['date_desc'], "user_lastaction", $user_row['user_lastaction'], $textinput_size);"
In that case i think, there must be different changes to work with 1.7.2.
Who can help?
-
instead of show_input_row search for show_date_input_row (plus the rest of the line)
If that is the only issue, I'll update the orignal topic with v1.7.2 update.
-
Thank you V@no.
It works with 1.7.2 ! GREAT MOD!!!
A Question:
If i will erase the saved "Image_ID"s for a special User, should i edit the users.php and add something like "if ($action == "clear_image_ids")" with a following select-funcion for deleting the table?
-
just do it by editing the user.
then you find in admincp an text field, with the image ids,
which you can just delete.
-
If i will editing an user, i got a DB Error
Bad SQL Query: UPDATE 4images_users SET user_level = 2, user_name = 'bbb', user_email = 'bbb@test.com', user_showemail = 1, user_allowemails = 1, user_invisible = 0, user_joindate = UNIX_TIMESTAMP('2006-03-15 19:53'), user_lastaction = UNIX_TIMESTAMP('2006-03-15 21:46'), user_homepage = '', user_icq = '', downloaded_image_ids = '34 31 32 2', download_lastaction = '2006-03-15 01:20' WHERE user_id = 6
If the download_transaction field is "1" or above (only a number), the user will be edited correctly.
I'm not a php specialist... i was searching in the users.php and found the $sql = "UPDATE ".USERS_TABLE." with ...".$additional_sql." at the end of the SET Command. Could it be, that in the "$additional_sql" the UNIX_TIMESTAMP ist missing???
-
what 4images version?
-
should the value for download_lastaction you have is an date format,
but shouldn't be this not an unix timestamp?
-
what 4images version?
I've modified the 1.7.2 Version.
Everything is ok. The downloaded image ID's will be displayed, the last date of downloaded image etc.
Remeber: the problem occurs only by pressing the button to update the user. If the field "download_lastaction" is filled with a number, there is no error.
-
I guess, you've missed some steps, the UNIX_TIMESTEMP is present in the tutorial, and missing in your error message
Btw, the error message you've showed does not looks like full, you've cut out the last, most important part of it. next time please post the exact message.
-
you mean this error occurs only when you update an user over contol panel?
did you try to log in also as "normal user" without any admin privileges,
and try to download?
(cause the download counter only works for users, not for admins,
so it's possible that the error also occurs when downloading as user)
-
I checked all code once again. Everything seems alright... Code was changed by copy and paste. Located the correct lines and insert at the right place.
Downloaded Image IDs and the last time of the download is working very well. No Problem!
Only when i am going to update an user in the admin console the following error appears:
DB Error: Bad SQL Query: UPDATE 4images_users SET user_level = 2, user_name = 'test', user_email = 'test-user@sindat.de', user_showemail = 1, user_allowemails = 1, user_invisible = 0, user_joindate = UNIX_TIMESTAMP('2006-03-18 15:04'), user_lastaction = UNIX_TIMESTAMP('2006-03-20 22:20'), user_homepage = '', user_icq = '', downloaded_image_ids = '', download_lastaction = '1970-01-01 01:00' WHERE user_id = 2
Data truncated for column 'download_lastaction' at row 1
Fehler beim Bearbeiten des Users
Is this right, that the admin/users.php have to contains the wrong code??? I would correct the code - but i can't find the line to edit.
Maybe really compatible with 1.7.2? If not - i have to put "0" in the Field of last download - then the update button works correct.
-
Ok, lets try this:
in admin/users.php find: if (isset($HTTP_POST_VARS[$key]) && isset($table_fields[$key])) {
Insert below: if ($key == "download_lastaction")
{
$additional_sql .= ", $key = UNIX_TIMESTAMP('".$HTTP_POST_VARS[$key]."')";
continue;
}
-
Thank you v@no!!
That was it - the mod works perfect. :D
-
Does anybody know how to activate the calendar script on the edit users page in the ACP to have it place the date into the field in the proper format like ti does on the 4 rows above the download after and before fields?
Thanks in advance
-
kann man das auch irgendwie umndern, so das bei der detail-ansicht der user-name steht, wer dieses bild alles downloaded hat?
-
Does anybody know how to activate the calendar script on the edit users page in the ACP to have it place the date into the field in the proper format like ti does on the 4 rows above the download after and before fields?
Thanks in advance
Anyone?
-
hi .I've installed the mod .But it wont work
When a user downloads a picture the picture id is not been written here:http://87.119.81.68/123.jpg pls help
version 1.72
P.S. Sorry for my bad english
-
V@no on page 3 of this string you posted Re: [Mod] Keep Track Of What Each User Has Downloaded
That really help. After I made the changes according to your mod instructions, there was the following difference/problem.
Now when I'm logged in as the Admin and I go to the Users Control Panel and click the Download Images link, it will redirect to home page.
However, if I click the link in the ACP it will show the images that the user downloaded.
I don't want to put you out, but was wondering if you had the fix for the Users Panel when using the Download Image Link
Thanks
Steve
-
compare the URL in the links at profile page and ACP and see if they are different
-
V@no
Here is the link for the members profile page.
http://filipinaeyes.com/online-dating-gallery/member.php?action=showprofile&user_id=3
On this page, there is a link that says "Downnloaded Images"
When I click that, it goes back to the home page which is:
http://filipinaeyes.com/online-dating-gallery
Here is the link in the ACP:
http://filipinaeyes.com/online-dating-gallery/admin/index.php
On that page there is a link that says: Downloaded Image IDs (5)
If I click this link, it displays the pictures that the member has downloaded.
Thanks
Steve
-
The only explanation I have is you either did wrong changes in member.php (aka added it in the wrong place), or you have another instance of url_user_downloads in member.php or other files. The first is most probably.
-
As usual V@NO you are right....I had it in the wrong place.
Thanks a million.
Steve
-
hi im jezael and i have a lot of problems whit this mod please help me, and forgive my english please
when i try to install the mod i look this message:
Warning: Illegal offset type in /home/mgfpict/public_html/members/includes/sessions.php on line 340
Warning: Cannot modify header information - headers already sent by (output started at /home/mgfpict/public_html/members/includes/sessions.php:340) in /home/mgfpict/public_html/members/includes/sessions.php on line 111
Warning: Cannot modify header information - headers already sent by (output started at /home/mgfpict/public_html/members/includes/sessions.php:340) in /home/mgfpict/public_html/members/includes/sessions.php on line 111
then when the mod are install this other message:
Warning: Illegal offset type in /home/mgfpict/public_html/members/includes/sessions.php on line 340
and when i try to get in the admin panel this other messages:
Warning: Illegal offset type in /home/mgfpict/public_html/members/includes/sessions.php on line 340
Warning: Cannot modify header information - headers already sent by (output started at /home/mgfpict/public_html/members/includes/sessions.php:340) in /home/mgfpict/public_html/members/includes/sessions.php on line 111
Warning: Cannot modify header information - headers already sent by (output started at /home/mgfpict/public_html/members/includes/sessions.php:340) in /home/mgfpict/public_html/members/includes/sessions.php on line 111
Warning: Cannot modify header information - headers already sent by (output started at /home/mgfpict/public_html/members/includes/sessions.php:340) in /home/mgfpict/public_html/members/admin/admin_functions.php on line 168
Warning: Cannot modify header information - headers already sent by (output started at /home/mgfpict/public_html/members/includes/sessions.php:340) in /home/mgfpict/public_html/members/admin/admin_functions.php on line 169
Warning: Cannot modify header information - headers already sent by (output started at /home/mgfpict/public_html/members/includes/sessions.php:340) in /home/mgfpict/public_html/members/admin/admin_functions.php on line 170
Warning: Cannot modify header information - headers already sent by (output started at /home/mgfpict/public_html/members/includes/sessions.php:340) in /home/mgfpict/public_html/members/admin/admin_functions.php on line 171
Warning: Cannot modify header information - headers already sent by (output started at /home/mgfpict/public_html/members/includes/sessions.php:340) in /home/mgfpict/public_html/members/admin/admin_functions.php on line 172
-
Nice mod. Could thumbnails replace the id number? If so, I'm going to install it.
-
Where can i change to url of the place were the image is downloaded, i want to host the big pictures athome and the thumbnails somewhere else
-
Hello V@no,
I made all the changes in this mod, but when i run the installer .. it shows me wrong details of username and password,
and hence not proceeding ... my username is shown as the name of my database.... i am worried why is this happening? is my site secure?
-
yes, its asks you to confirm username/pass for database and not for your gallery site ;)
-
Can this mod show the thumbnails of the images users have downloaded?
-
hi V@no,
i Made necessary changes to files of ver. 1.7.3 for this mod but as soon i run installer shows me following errors and then the installer screen below
Also the installer has all the fields already filled in from config.php file....but they actually don't match my real details of server login
Notice: Constant CATEGORIES_TABLE already defined in /home/vsajwal/public_html/includes/constants.php on line 32
Notice: Constant COMMENTS_TABLE already defined in /home/vsajwal/public_html/includes/constants.php on line 33
Notice: Constant GROUP_ACCESS_TABLE already defined in /home/vsajwal/public_html/includes/constants.php on line 34
Notice: Constant GROUP_MATCH_TABLE already defined in /home/vsajwal/public_html/includes/constants.php on line 35
Notice: Constant GROUPS_TABLE already defined in /home/vsajwal/public_html/includes/constants.php on line 36
Notice: Constant IMAGES_TABLE already defined in /home/vsajwal/public_html/includes/constants.php on line 37
Notice: Constant IMAGES_TEMP_TABLE already defined in /home/vsajwal/public_html/includes/constants.php on line 38
Notice: Constant LIGHTBOXES_TABLE already defined in /home/vsajwal/public_html/includes/constants.php on line 39
Notice: Constant POSTCARDS_TABLE already defined in /home/vsajwal/public_html/includes/constants.php on line 40
Notice: Constant SESSIONS_TABLE already defined in /home/vsajwal/public_html/includes/constants.php on line 41
Notice: Constant SESSIONVARS_TABLE already defined in /home/vsajwal/public_html/includes/constants.php on line 42
Notice: Constant SETTINGS_TABLE already defined in /home/vsajwal/public_html/includes/constants.php on line 43
Notice: Constant USERS_TABLE already defined in /home/vsajwal/public_html/includes/constants.php on line 44
Notice: Constant WORDLIST_TABLE already defined in /home/vsajwal/public_html/includes/constants.php on line 45
Notice: Constant WORDMATCH_TABLE already defined in /home/vsajwal/public_html/includes/constants.php on line 46
Notice: Constant URL_IMAGE_ID already defined in /home/vsajwal/public_html/includes/constants.php on line 50
Notice: Constant URL_CAT_ID already defined in /home/vsajwal/public_html/includes/constants.php on line 51
Notice: Constant URL_USER_ID already defined in /home/vsajwal/public_html/includes/constants.php on line 52
Notice: Constant URL_POSTCARD_ID already defined in /home/vsajwal/public_html/includes/constants.php on line 53
Notice: Constant URL_COMMENT_ID already defined in /home/vsajwal/public_html/includes/constants.php on line 54
Notice: Constant URL_PAGE already defined in /home/vsajwal/public_html/includes/constants.php on line 55
Notice: Constant URL_ID already defined in /home/vsajwal/public_html/includes/constants.php on line 56
Notice: Constant GUEST already defined in /home/vsajwal/public_html/includes/constants.php on line 60
Notice: Constant USER_AWAITING already defined in /home/vsajwal/public_html/includes/constants.php on line 61
Notice: Constant USER already defined in /home/vsajwal/public_html/includes/constants.php on line 62
Notice: Constant ADMIN already defined in /home/vsajwal/public_html/includes/constants.php on line 63
Notice: Constant AUTH_ALL already defined in /home/vsajwal/public_html/includes/constants.php on line 67
Notice: Constant AUTH_USER already defined in /home/vsajwal/public_html/includes/constants.php on line 68
Notice: Constant AUTH_ACL already defined in /home/vsajwal/public_html/includes/constants.php on line 69
Notice: Constant AUTH_ADMIN already defined in /home/vsajwal/public_html/includes/constants.php on line 70
Notice: Constant GROUPTYPE_GROUP already defined in /home/vsajwal/public_html/includes/constants.php on line 74
Notice: Constant GROUPTYPE_SINGLE already defined in /home/vsajwal/public_html/includes/constants.php on line 75
Notice: Constant CHMOD_FILES already defined in /home/vsajwal/public_html/includes/constants.php on line 79
Notice: Constant CHMOD_DIRS already defined in /home/vsajwal/public_html/includes/constants.php on line 80
Notice: Constant REPLACE_EMPTY already defined in /home/vsajwal/public_html/includes/constants.php on line 85
Notice: Constant MAX_RATING already defined in /home/vsajwal/public_html/includes/constants.php on line 89
Notice: Constant POSTCARD_EXPIRY already defined in /home/vsajwal/public_html/includes/constants.php on line 93
Notice: Constant TIME_OFFSET already defined in /home/vsajwal/public_html/includes/constants.php on line 98
Notice: Constant MIN_SEARCH_KEYWORD_LENGTH already defined in /home/vsajwal/public_html/includes/constants.php on line 103
Notice: Constant MAX_SEARCH_KEYWORD_LENGTH already defined in /home/vsajwal/public_html/includes/constants.php on line 104
Notice: Constant ADMIN_SAFE_LOGIN already defined in /home/vsajwal/public_html/includes/constants.php on line 108
Notice: Constant SHOW_RANDOM_IMAGE already defined in /home/vsajwal/public_html/includes/constants.php on line 119
Notice: Constant SHOW_RANDOM_CAT_IMAGE already defined in /home/vsajwal/public_html/includes/constants.php on line 120
Notice: Constant CHECK_REMOTE_FILES already defined in /home/vsajwal/public_html/includes/constants.php on line 125
Notice: Constant EXEC_PHP_CODE already defined in /home/vsajwal/public_html/includes/constants.php on line 129
Notice: Constant MEDIA_DIR already defined in /home/vsajwal/public_html/includes/constants.php on line 132
Notice: Constant THUMB_DIR already defined in /home/vsajwal/public_html/includes/constants.php on line 133
Notice: Constant MEDIA_TEMP_DIR already defined in /home/vsajwal/public_html/includes/constants.php on line 134
Notice: Constant THUMB_TEMP_DIR already defined in /home/vsajwal/public_html/includes/constants.php on line 135
Notice: Constant DATABASE_DIR already defined in /home/vsajwal/public_html/includes/constants.php on line 136
Notice: Constant TEMPLATE_DIR already defined in /home/vsajwal/public_html/includes/constants.php on line 137
Notice: Constant SCRIPT_VERSION already defined in /home/vsajwal/public_html/includes/constants.php on line 141
plus the installer screen below
Please help
-
These notices are not really a problem, as long as it updates the database correctly. Though, I've attached a fixed version, se if the notices are gone now.
Also the installer has all the fields already filled in from config.php file....but they actually don't match my real details of server login
Correct, the fields are showed login info taken from config.php, and unless you are using some sort of integration, it should show you the correct info...
-
Thanx a lot , V@no
-
i am re-writing this topic :
Hello Friends,
I have crossed checked thrice before posting this thread now, still if i am wrong, i am sorry in advance
The problem is I upgraded to 1.7.3 and i installed two mods
1. Download Limit Mod : A small problem with this mod was You have downloaded 0 of 50 files, allowed per hours this message did not showed me the 24 written , but i managed to write myself by exluding the date limit tag by simply putting 24 in
lang/main.php
2.Track User Download : The worst problem lies here, when i install this mod after the previous one,
a. it never show me the Image IDs downloaded,
b. It never show me the correct time of last download but shows only 1970/01/01, even if i change this time from admin panel, it comes back to 1970/01/01 again.
c. If the administrator is logged in the control panel, and clicks to the main gallery link, the default main page with admin logged in comes, but when i try to log out...sometimes it takes a lot of bandwith (or whatever) and gives me a network error, where as it never happens if a new explorer page is opened individually.
I posted this because i tried to overcome the problem several times but in vain! (do we call it a bug?)
-
I would really like to use this MOD but stumblied at the first line of code. I have version 1.7.2
Is there any chance anyone could help with this? I'd be really greatful and might even be willing to pay?
Many thanks... enquiry@charlessturge.com
-
Would really appreciate a fix for this mod for version 1.7.3 :)
-
is it posible to sort the downloaded pictures of a person different then the gallery sorts the images?
my gallery is sorting images with the IPTC dates... but i wanna see the last downloaded images of a person first!
of course i can see it in the profil with the images_ID's, but when im clicking on the "Downloaded Images" i wana have them sorted!!
cheery,
funix
-
Hi,
soweit sieht alles gut aus in meiner Seite aber die Downloads werden nicht in die DB eingetragen und somit kann ich die auch nicht sehen :(
Anything loks fine in my Page but now Download is stored in the Database :(
Benutze 4images 1.7.4
-
Will this work in 1.7.4 version?
Thanks
-
Hey there, is it possible, to see the users who downloaded a image directly under the image in the info-box?
-
Yes it is possible
I use this to see who downloaded in the detail page
Backup al files
(I have not tested this instructions on a new 4image install so better save than sorry)
change file
details.php
lang/<your language>/main.php
templates/<your template>/details.html
In details.php look for
show_image($image_row, $mode, 0, 1);
add before ( look 2X for // change ADMIN USER GUEST in code snipped to set user permission)
// START list users who download this image
$dl_users = "";
// change ADMIN USER GUEST to set user Permission
if ($user_info['user_level'] >= USER) {
$img_id = $image_row['image_id'];
$sql = "SELECT `user_id` , `username`
FROM ".USERS_TABLE."
WHERE `downloaded_image_ids` LIKE '$img_id'
OR `downloaded_image_ids` LIKE '$img_id %'
OR `downloaded_image_ids` LIKE '% $img_id'
OR `downloaded_image_ids` LIKE '% $img_id %'";
$result = $site_db->query($sql);
if ($result) {
while ($row = $site_db->fetch_array($result)) {
// change ADMIN USER GUEST to set Permission link to other download same user - - > link to user profile
if ($user_info['user_level'] >= ADMIN) {
$dl_users .= "\n<a href=\"".$site_sess->url("search.php?user_downloads=".$row['user_id'])."\">".$row['username']."</a> ";
} else {
$dl_users .= "\n<a href=\"".$site_sess->url("member.php?action=showprofile&user_id=".$row['user_id'])."\">".$row['username']."</a> ";
}
}
}
}
// STOP list users who download this image
look for
//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------
$site_template->register_vars(array(
"msg" => $msg,
"clickstream" => $clickstream,
add after
"dl_users" => $dl_users,
"lang_users_downloads" => $lang['users_downloads'],
you can use
{lang_users_downloads}
{dl_users}
in your details.html
personal I added this just after the table row that contains the {image_downloads}
{if dl_users}
<tr>
<td valign="top" class="row1"><b>{lang_users_downloads}</b></td>
<td valign="top" class="row1">{dl_users}</td>
</tr>
{endif dl_users}
in your language file main.php
look for
$lang['downloads'] = "Downloads:";
add after
$lang['users_downloads'] = "Download by:";
I only allow admin to see and then it look like this
http://buggyteambelgie.dnsalias.com/img/10.jpg (http://buggyteambelgie.dnsalias.com/img/10.jpg)
-
Thanks for your help, but now i get this error:
DB Error: Bad SQL Query: SELECT `user_id` , `username` FROM 4images_users WHERE `downloaded_image_ids` LIKE '6575' OR `downloaded_image_ids` LIKE '6575 %' OR `downloaded_image_ids` LIKE '% 6575' OR `downloaded_image_ids` LIKE '% 6575 %'
Unknown column 'username' in 'field list'
-
Dorn I have integrated my phpBB in to 4 images
Change username to user_name in
$sql = "SELECT `user_id` , `username`
EDIT
you will need to change more than that
I hoop I got evriting
// START list users who download this image
$dl_users = "";
// change ADMIN USER GUEST to set user Permission
if ($user_info['user_level'] >= USER) {
$img_id = $image_row['image_id'];
$sql = "SELECT `user_id` , `user_name`
FROM ".USERS_TABLE."
WHERE `downloaded_image_ids` LIKE '$img_id'
OR `downloaded_image_ids` LIKE '$img_id %'
OR `downloaded_image_ids` LIKE '% $img_id'
OR `downloaded_image_ids` LIKE '% $img_id %'";
$result = $site_db->query($sql);
if ($result) {
while ($row = $site_db->fetch_array($result)) {
// change ADMIN USER GUEST to set Permission link to other download same user - - > link to user profile
if ($user_info['user_level'] >= ADMIN) {
$dl_users .= "\n<a href=\"".$site_sess->url("search.php?user_downloads=".$row['user_id'])."\">".$row['user_name']."</a> ";
} else {
$dl_users .= "\n<a href=\"".$site_sess->url("member.php?action=showprofile&user_id=".$row['user_id'])."\">".$row['user_name']."</a> ";
}
}
}
}
// STOP list users who download this image
-
Okay error fixed, thank you!
But the mod doesn't work at all :cry:
I installed Chris' mod without any errors, but I can't see any downloaded images-ids for a user :|
I'm sure, that I haven't made a mistake in download.php :?
-
I am not sure I understand
Is it a problem at the mod it self or just by the ad on I created?
-
The mod itself doesn't work :|
I hoped it would work with your little addition, but I was wrong :D
-
Are you sure someone download an image after the install? The mod cant backtrack downloads that hap pent in the past
Admin en guests downloads dont get listed.
I cant remember if I needed to change something when I install it on 4images 1.7.4
-
Yep i tried this AFTER the installation.
But it seems that my gallery is slow...now all users who downloaded the picture are display... :mrgreen:
Thanks for your help & patience! :thumbup:
-
No problem we al have to learn
I am happy to help
-
Hi,
soweit sieht alles gut aus in meiner Seite aber die Downloads werden nicht in die DB eingetragen und somit kann ich die auch nicht sehen :(
Anything loks fine in my Page but now Download is stored in the Database :(
Benutze 4images 1.7.4
Habe das selbe Problem, alles sieht gut aus, keine Fehlermeldung.
Nur wird nichts in die Datenbank eingetragen, Tabellen sind auch OK
benutze 4images 4images 1.7.1
kann jemand helfen ?
Harald
-
I know this question has already been asked but i couldn't see where it had been answered so sorry if i missed it... but.. does this mod work with Version 1.7.4?
-
Ich mal wieder :wink:
Habe es jetzt erfolgreich unter 1.7.6 installiert
Bilder werden auch angezeigt
trotdem gibt es auf der index (nur da) eine Fehlermeldung
http://ue-ei-portal-sammlerkatalog.de/katupdate/
DB Error: Bad SQL Query: SELECT user_id, user_name, FROM 4images_users WHERE LIKE '%-05-04' ORDER BY user_name
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM 4images_users WHERE LIKE '%-05-04' ORDER BY user_name' at line 2
Und wie kann man das erweitern,das auch die runtergeladenen Bilder per zip (Leuchtkasten) gespeichert werden.
Harald
-
Ich mal wieder :wink:
Habe es jetzt erfolgreich unter 1.7.6 installiert
Bilder werden auch angezeigt
trotdem gibt es auf der index (nur da) eine Fehlermeldung
http://ue-ei-portal-sammlerkatalog.de/katupdate/
DB Error: Bad SQL Query: SELECT user_id, user_name, FROM 4images_users WHERE LIKE '%-05-04' ORDER BY user_name
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM 4images_users WHERE LIKE '%-05-04' ORDER BY user_name' at line 2
Und wie kann man das erweitern,das auch die runtergeladenen Bilder per zip (Leuchtkasten) gespeichert werden.
Harald
Edit: der Fehler liegt an dem Eintrag in der session.php, wenn ich die alte Datei einspiele ist der Fehler weg
Auch der Geburtstags Mod wird durch diesen Eintrag deaktiviert
-
Help Please..
I'm relatively new at modifcations and am hoping someone can help..
I followed the instruction as they appear and when i went into 4 images to edit the member_profile.html i am met with the folling error:
Parse error: syntax error, unexpected ';', expecting ')' in /home/tangledi/public_html/epaints/includes/sessions.php on line 69
I have searched through the coding on the sessions.php file and i can't find the error it is referring too... i'm hoping someone else maybe able to identify it:
<?php
/**************************************************************************
* *
* 4images - A Web Based Image Gallery Management System *
* ---------------------------------------------------------------- *
* *
* File: sessions.php *
* Copyright: (C) 2002 Jan Sorgalla *
* Email: jan@4homepages.de *
* Web: http://www.4homepages.de *
* Scriptversion: 1.7.4 *
* *
* Never released without support from: Nicky (http://www.nicky.net) *
* *
**************************************************************************
* *
* Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz- *
* bedingungen (Lizenz.txt) fr weitere Informationen. *
* --------------------------------------------------------------- *
* This script is NOT freeware! Please read the Copyright Notice *
* (Licence.txt) for further information. *
* *
*************************************************************************/
if (!defined('ROOT_PATH')) {
die("Security violation");
}
//-----------------------------------------------------
//--- Start Configuration -----------------------------
//-----------------------------------------------------
define('SESSION_NAME', 'sessionid');
$user_table_fields = array(
"user_id" => "user_id",
"user_level" => "user_level",
"user_name" => "user_name",
"user_password" => "user_password",
"user_email" => "user_email",
"user_showemail" => "user_showemail",
"user_allowemails" => "user_allowemails",
"user_invisible" => "user_invisible",
"user_joindate" => "user_joindate",
"user_activationkey" => "user_activationkey",
"user_lastaction" => "user_lastaction",
"user_location" => "user_location",
"user_lastvisit" => "user_lastvisit",
"user_comments" => "user_comments",
"user_homepage" => "user_homepage",
"user_icq" => "user_icq",
$user_table_fields = array(
"user_id" => "user_id",
"user_level" => "user_level",
"user_name" => "user_name",
"user_password" => "user_password",
"user_email" => "user_email",
"user_showemail" => "user_showemail",
"user_allowemails" => "user_allowemails",
"user_invisible" => "user_invisible",
"user_joindate" => "user_joindate",
"user_activationkey" => "user_activationkey",
"user_lastaction" => "user_lastaction",
"user_location" => "user_location",
"user_lastvisit" => "user_lastvisit",
"user_comments" => "user_comments",
"user_homepage" => "user_homepage",
"user_icq" => "user_icq", // Mod: Track User Downloads (comma was added at end of line!)
"download_lastaction" => "download_lastaction" // Mod: Track User Downloads
);
//-----------------------------------------------------
//--- End Configuration -------------------------------
//-----------------------------------------------------
function get_user_table_field($add, $user_field) {
global $user_table_fields;
return (!empty($user_table_fields[$user_field])) ? $add.$user_table_fields[$user_field] : "";
}
class Session {
var $session_id;
var $session_key;
var $user_ip;
var $user_location;
var $current_time;
var $session_timeout;
var $mode = "get";
var $session_info = array();
var $user_info = array();
function Session() {
global $config;
$this->session_timeout = $config['session_timeout'] * 60;
$this->user_ip = $this->get_user_ip();
$this->user_location = $this->get_user_location();
$this->current_time = time();
if (defined('SESSION_KEY') && SESSION_KEY != '') {
$this->session_key = SESSION_KEY;
} else {
$this->session_key = md5('4images' . realpath(ROOT_PATH));
}
// Stop adding SID to URLs
@ini_set('session.use_trans_sid', 0);
//@ini_set('session.cookie_lifetime', $this->session_timeout);
session_name(urlencode(SESSION_NAME));
@session_start();
$this->demand_session();
thank you in advance...
-
The area is duplicated
$user_table_fields = array(
"user_id" => "user_id",
"user_level" => "user_level",
"user_name" => "user_name",
"user_password" => "user_password",
"user_email" => "user_email",
"user_showemail" => "user_showemail",
"user_allowemails" => "user_allowemails",
"user_invisible" => "user_invisible",
"user_joindate" => "user_joindate",
"user_activationkey" => "user_activationkey",
"user_lastaction" => "user_lastaction",
"user_location" => "user_location",
"user_lastvisit" => "user_lastvisit",
"user_comments" => "user_comments",
"user_homepage" => "user_homepage",
"user_icq" => "user_icq",
nobby
-
ahhh ok i misunderstood the instructions... thank you very much
-
Ich hab mich an folgenden Thread gehalten:
http://www.4homepages.de/forum/index.php?topic=4606.0
Es wurde zwar alles korrekt integriert aber es klappt nicht. Hat jemand Erfahrung wieso keine ID der heruntergeladenen Fotos im Benutzerprofil im CP angezeigt wird?
Gru
-
Mag sein, dass hier der Fehler liegt. hat das jemand schon mal in der neueren Version zum laufen gebracht????????????
-
Funktioniert das Ursprungsskript nun in 1.7.6???
Bei mir klappt es nicht. was muss man beachten???
____________________________
Does it works in 1.7.6?????
-
@Eresus
... der Hamster meiner Nachbarin ist gestorben, kannst du mir sagen woran ... ?
( Was wrdest du sagen, wenn ich diese Frage hier ernsthaft stellen wrde ? 1. Die Frage gehrt nicht hierher ! 2. Und wenn ich helfen wollte, so geht das nicht mit dieser "negativen Informationsflut" zu dem Problem ! )
btw. ... der Track-MOD luft bestens ...
-
Mag sein, dass ich mich zur Personenidentifizierung etwas knapp ausgedrckt hat. Aber da ich keine Ahnung von dem Kram hier habe, kann ich es auch nicht besser. Ich habe von dem MOD die erste Seite in meine Skripts integriert. Es kommt zwar keine Skriptfehlermeldung aber im CP wird auch keine IDs von den heruntergeladenen Fotos angezeigt. Mehr wei ich leider nicht. Ich benutze Version 1.7.6.
Ich dachte vielleicht wei jemand spontan was an dem Skript falsch war. Ich wei ja nicht ob die nderungen auf den nchsten Seiten des Thread fr mich ntig sind.
Vielleicht knnen die Spezialisten unter euch bestimmte Fragen stellen um das Problem einzukreisen?
-
.merged.
hi Eresus,
ist nicht ntig ein neues thread zu ffnen, bitte im MOD thread fragen zu dem MOD stellen. THX!
ich hab dieses mod vor ca. 1-2 monaten auf der 1.7.6 ausprobiert. und dieser hat auch funktioniert..
also, machst du was falsch wie es aussieht.
-
Gut zu hren, dass das Skript funktioniert mit 1.7.6. Mag ja sein, dass ich was falsch mache. Nur leider wei ich nicht was. Ich habe den Posts von Chris integriert und berprft. Aber irgendwie klappt es nicht.
-
Hallo,
ich habe immer noch das Problem, dass die heruntergeladenen Bilder nicht im CP angezeigt werden.
Nun habe ich in meiner Datenbank gesehen, dass die heruntergeladenen Bilder-IDs erst gar nicht dort eingetragen werden. Die Spalte ist leer. Welches Skript ist denn berhaupt dafr zustndig, dass die IDs in die Datenbank eingetragen wird. Vielleicht kann ich den Fehler so schneller finden.
Danke schon mal fr eure Hilfe!
Carsten
-
Du hast aber die 4i_install_tud.php hochgeladen, und ausgefhrt ??
dann das kontrolieren
Open includes/db_field_definitions.php, locate:
-
Danke fr deine Antwort.
Ja ich habe die 4i_install_tud.php hochgeladen. Das kann man ja daran sehen, dass in der Datenbank unter User die Spalten downloaded_image_IDs und downloaded_lastaction zu finden ist.
In der Datenbank steht bei den Registrierten User unter downloaded_image_IDs nichts und unter downloaded_lastaction steht 1970. Beim Administrator steht dort Null im Feld downloaded_image_IDs und nichts im Feld downloaded_lastaction. Habe mit beiden Accounts einzelne Fotos heruntergeladen. Aber in der Datenbank ist nichts zu finden.
Ja, den Einschub in includes/db_field_definitions.php habe ich kontrolliert. Da gibts ja nicht viel falsch zu machen.
Hast du noch ne Idee woran es liegen kann?
Gru
-
eigentlich nur den, alles noch mal zu checken, denn ich hatte da auch mal erfolgreich eingebaut, hatte aber dafr andere Fehler (Session)
-
mmmhhh, ich hab es schon mehrere male kontrolliert. Finde einfach den Fehler nicht.
Trotzdem danke fr deine Hilfe.
-
Was steht bei euch in der Datenbank unter Users in dem Feld downloaded_image_IDs. Steht dort einfach nur die ID? Also nur eine Zahl wie 5?
Ich habe in der Datenbank unter downloaded_image_IDs mal 5 eingegeben. Dann sollte doch im CP unter dem entsprechenden User der Link downloaded_image_IDs direkt links neben dem Feld in dem die heruntergeladenen IDs stehen (dort steht bei mir nun auch eine 5), das entsprechende Foto mit der ID 5 angezeigt werden. Oder? Leider ist das bei mir nicht der Fall.
Gruß
-
bitte keine doppelpostings, man kann ein Posting editieren.
Was steht bei euch in der Datenbank unter Users in dem Feld downloaded_image_IDs. Steht dort einfach nur die ID? Also nur eine Zahl wie 5?
hab es gelscht
-
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. :roll:
hello everyone,
i know this has been posted over 3 years ago :oops: but has Chris made public the code for this addon? :) normal mode works fine but i can't track lightbox zip download.
what he said at that time sounds really god.
thank you
-
no answer? no one? :( Chris? :roll:
-
Hi Chris,
I did all you told to modify the database (incl. the mods of V@no). But when I want to download, Il get a blank screen at
.../4images/download.php?action=lightbox
I use the newest release (1.7.6). Did I forgot something or is there another mod?
Thanks for your reply
-
in global.php find:
error_reporting(E_ERROR | E_WARNING | E_PARSE);
Insert below:error_reporting(E_ALL);
@ini_set("display_errors", 1);
See if any error shows when you download lightbox.
-
Ok, this are the messages:
Warning: Cannot modify header information - headers already sent by (output started at D:\Inetpub\vhosts\ixdreams.com\httpdocs\4images\global.php:1) in D:\Inetpub\vhosts\ixdreams.com\httpdocs\4images\includes\sessions.php on line 101
Warning: Cannot modify header information - headers already sent by (output started at D:\Inetpub\vhosts\ixdreams.com\httpdocs\4images\global.php:1) in D:\Inetpub\vhosts\ixdreams.com\httpdocs\4images\includes\sessions.php on line 101
Warning: Cannot modify header information - headers already sent by (output started at D:\Inetpub\vhosts\ixdreams.com\httpdocs\4images\global.php:1) in D:\Inetpub\vhosts\ixdreams.com\httpdocs\4images\includes\sessions.php on line 101
What did I wrong?
-
1) if you were using notepad or worldpad to edit files - don't. restore backups and do any changes you've done so far in another text editor.
2) when you save files after editing, make sure you save them not in UTF8/UNICODE encoding. or if you do save them in UTF8/UNICODE, make sure it saved without BOM
So far I can tell at least your global.php saved in UTF8/UNICODE with BOM, that's what these strange characters on top of the message are. Plus I assume same thing applied to download.php
-
Hi Chris,
in March 2005 you said, that you have got additional code:
"Re: [Mod] Keep Track Of What Each User Has Downloaded
Reply #26 on: March 21, 2005, 02:47:04 PM
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."[/b]
Please could you post the additional code?
Thanks a lot.
-
Hi V@no,
thanks a lot. :lol:
It works now. I used the wrong editor. Now I've installed ConTEXT and all is well.
-
Hallo,
ich habe den Mod installiert. ( 1.7.6 )
Aber es gibt leider folgende Fehler: In der Datenbank: downloaded_image_ids und download_lastaction werden nach erfolgten Download keine Werte angezeigt. (Felder sind richtig angelegt.)
Wenn ich den Link im Member_profil.html benutze gibt es folgende Fehlermeldung:
DB Error: Bad SQL Query: SELECT downloaded_image_ids FROM 4images_users WHERE user_id = 1762
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' FROM 4images_users WHERE user_id = 1762' at line 2
Notice: Undefined variable: user_downloads_info in /var/www/search.php on line 64
Beim Link im ACP User kommt der Fehler:
Not Found
The requested URL /admin/Root_Pathsearch.php was not found on this server.
Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch Server at www.kosecki.de Port 80
Gru paule
-
entferne mal die Zeichen " " dann sollte es laufen
sind bei jedem User auf deiner Seite ber dem Benutzernamen zu sehen.
-
Hallo,
danke. Hab ich gemacht. Keine nderung...
paule
-
Hi paule, hast eine PN
zu deinem Problem, wenn in der Fehlermeldung immer noch die Zeichen sind, solltest Du die DB mal durchsuchen, die scheinen die Strung zu verursachen.
LG Harald
-
es luft auch unter 1.7.7 allerdinngs habe ich das problem, dass bei mir in meinem AdminProfil nichts steht was ich geladen habe ....
und habe dieses Jahr 1970 Problem.... obwohl ich auch diesen Code hier ergnzt habe aus einem Postiing vorher
if ($key == "download_lastaction")
{
$additional_sql .= ", $key = UNIX_TIMESTAMP('".$HTTP_POST_VARS[$key]."')";
continue;
}
Gre
Tobias
-
Hallo Zusammen,
ich hab auch die 1.7.7. Die MOD habe ich genau nach Anleitung installiert. Es werden keine Fehler angezeigt. Nur wird beim Download in die USER Tabelle nichts eingetragen. Unter downloaded_images_ids steht überall (NULL) und unter download_last_actions steht überall eine 0.
Somit kann bei der Auswertung auch nichts angezeigt werden.
Der Fehler liegt also in der download.php? Das Datumsproblem in der Auswertung habe ich auch. Unter den USER Details steht 1970-01-01 01:00.
Hat jemand einen Tip, bitte?
Holger
Nachtrag:
Trage ich unter downloaded_images_ids in die Datenbank ein oder mehrere ID ein, dann kann ich die Auswertung machen und alles funktioniert klasse. Das Datum ändert sich zwar, bleibt aber völlig falsch. Das Datumsproblem ist für mich aber zweitrangig. Wichtig wäre wie ich die Bild ID in die Datenbank bekomme.
Danke Holger
Nachtrag: Ich habs gefunden - rennt prima. Danke für den tollen MOD
-
es luft auch unter 1.7.7 allerdinngs habe ich das problem, dass bei mir in meinem AdminProfil nichts steht was ich geladen habe ....
und habe dieses Jahr 1970 Problem.... obwohl ich auch diesen Code hier ergnzt habe aus einem Postiing vorher
if ($key == "download_lastaction")
{
$additional_sql .= ", $key = UNIX_TIMESTAMP('".$HTTP_POST_VARS[$key]."')";
continue;
}
Gre
Tobias
which file need insert this code?
-
Hallo Chris,
ich benutze deine MOD und bin voll zufrieden. Gute Arbeit!
Fr mich wre es von groem Nutzen, wenn ich sowas wie mit den Downloads auch fr den Leuchtkasten htte.
Ich gehe auf auf USER bearbeiten und sehe in der List neben den Downloads auch den Inhalt des Leuchtkastens.
Geht das? Oder geht das vielleicht auch als PlugIn ?
Danke fr einen Antwort.
Holger
-
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 :)
-
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?
-
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
-
Funktioniert in der 1.7.10 perfekt...
-
Habe den mod in 1.7.11 mit Ausfhrung 4i_install_tud_fixed.zip, bekomme weien Bildschirm. Nach Ausbau lief es wieder ohne Schwierigkeiten. Hat jemand eine Ahnung, was ich falsch gemacht haben knnte?
-
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
-
At the bottom of the very first post are two attachments. Did you get those?
-
Hey there - is it possible to reup the attached files? It doesnt work it i unzip it...
-
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
-
8O does this mod work with 1.8 V ?