vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=119041)

hydn 08-09-2007 10:09 PM

Quote:

Originally Posted by AndrewD (Post 1312946)
Goodness, version 2.1.0.

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!

apokphp 08-09-2007 10:51 PM

Quote:

Originally Posted by AndrewD (Post 1313859)
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.

No, that field is blank.

Ipuck 08-10-2007 03:11 AM

Quote:

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.

Thanks for your time :up:

AndrewD 08-10-2007 04:48 AM

Quote:

Originally Posted by minimalize (Post 1313961)
could you please have a look at this? its very important for me to get this working. half off the links in my ldm are rapidshare links!

I will try to get this sorted out at the weeked.

AndrewD 08-10-2007 04:48 AM

Quote:

Originally Posted by apokphp (Post 1314041)
No, that field is blank.

Do you mind if I take a detailed look at your site? I'll need admin privs to VB and LDM.

Daisy EE8 08-10-2007 07:29 AM

I have a problem and no clue whats going on. :(

After installing the product ist says that:
Quote:

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?

AndrewD 08-10-2007 08:05 AM

Quote:

Originally Posted by Daisy EE8 (Post 1314238)
I have a problem and no clue whats going on. :(

After installing the product ist says that:


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.

Daisy EE8 08-10-2007 02:19 PM

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:

AndrewD 08-10-2007 03:08 PM

Quote:

Originally Posted by Daisy EE8 (Post 1314462)
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

minimalize 08-10-2007 06:11 PM

Quote:

Originally Posted by AndrewD (Post 1314172)
I will try to get this sorted out at the weeked.

ok thanks to you andrew


All times are GMT. The time now is 09:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02712 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete