Version: 2.2.8, by AndrewD
Developer Last Online: Apr 2010
Category: Major Additions -
Version: 3.6.x
Rating:
Released: 06-18-2006
Last Update: 02-03-2008
Installs: 661
DB Changes Uses Plugins
Additional Files Translations
No support by the author.
Version 2.3.0 of LDM is now the official release. This works with both VB3.7 and VB3.8. You can obtain it here
Version 2.2.8 remains available here, with limited support.
04.02.08: patch-cat.xml 'extra' uploaded - see first post for information
27.10.07: Version 2.2.8-post1 uploaded
French translation of product installer uploaded (other language translations are in the main release zip)
Remember to back up your current database tables before upgrading.
What this is and does
LDM is a general-purpose link and file manager, which handles user uploads and downloads in a flexible way. A range of media players is integrated into LDM and others are included as plugin extras. LDM is described below in the first post of this thread, which also contains a brief list of the currently-known bugs.
This release of LDM works correctly with all VB versions 3.6.x and recent versions of vbadvanced.
You're in luck - that part of the code has not changed very much in two years Take a copy of the file include/local_links_include.php. Edit, and go to line 1078, which reads:
Code:
function record_hit($id, $url, $status, $size=0) {
global $vbulletin, $links_permissions, $links_defaults;
if ($links_permissions["can_bypass_hit_recording"]) {
Change to:
Code:
function record_hit($id, $url, $status, $size=0) {
global $vbulletin, $links_permissions, $links_defaults;
$when = TIMENOW-24*60*60*XXX;
$vbulletin->db->query_write("
DELETE FROM ".THIS_TABLE."linksdownloads
WHERE usertime<'".$when."'
");
if ($links_permissions["can_bypass_hit_recording"]) {
where XXX is the number of days you want to retain in the table, e.g. 30.
Worked like a charm!!!
Where/how can I send you a donation. This is wonderful support!
This is weird. Are you by any chance using the internal LDM mod_rewrite facility? Looking at the code, I can only assume that the url is getting patched to something else.
You go to ldm/admin/hits. Then you use the pull down menus to select the dates of interest and 'username'. That produces aggregated information sorted by username. You then click on one of the usernames and you get a full tabulation of that user's activity.
The 2.2.8 have an option to search by username, but is not working properly I get an error. (I'm sure that will be fix with the final release, I don't care for now)
the 2.2.7 does not have the option to search by username.
I have two sites, one with 2.2.7 and one with 2.2.8 and I was looking at the one with 2.2.7 when I post the question, without realizing the you add that feature with the 2.2.8. I'll just wait until the final release is ready to start using it.
Warning open_basedir is set to /srv/www/htdocs/web25/html/:/srv/www/htdocs/web25/phptmp/:/srv/www/htdocs/web25/files/:/srv/www/htdocs/web25/atd/ in your PHP installation
Please refer to the hack instructions for information on this setting
I think i have to contact my Admin-C to make some changes in the php.ini file - but what?
Cant get the problem here - whats this message saying to me?
I think i have to contact my Admin-C to make some changes in the php.ini file - but what?
Cant get the problem here - whats this message saying to me?
This is only a warning, not necessarily an error. The "open_basedir" setting in your web site's php.ini file restricts the parts of your web site where it is possible for php scripts to read/write. It is a security setting. Your current setting is probably ok, especially if vBulletin is working fine. You will see if there are any difficulties if (e.g.) uploads fail or if you wanted to store files completely outside the web site's directories.
Ah ok - thanks for the help.
So everything should be fine. But:
If i head to the local_links_admin the side has a weird look. I cant see everything.
The "ok" button e.g. is empty - just a grey box.
Ah ok - thanks for the help.
So everything should be fine. But:
If i head to the local_links_admin the side has a weird look. I cant see everything.
The "ok" button e.g. is empty - just a grey box.
Here is a screenshot of what I mean:
Definitely not right! Do you want me to take a look? - if so send me a PM with site details and an admin username and password