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)

AndrewD 10-29-2006 09:02 AM

Quote:

Originally Posted by rasun
OK thank you for you answer, looking forward to the "gold" version :)


An other question:

I want that external links use a dereferrer (anonym.to) to hide my site as referrer...the final link should looks like this: http://anonym.to?http://www.posted_site.com
Where should I add this to parse the external links automatically like this?
If it?s possible, local links shouldn?t use the dereferrer.

Can you help me with this?


This is the first occasion for months when I have used the LDM slimmed down mod_rewrite feature....

Create and upload a file (e.g.) 'anon.txt' containing the following:

RewriteRule http: http://anonym.to?http:

and go to LDM/admin/settings/mod_rewrite and point the setting at this file.

rasun 10-29-2006 09:32 AM

Yes this works, thank you! :)

Is it possible to use the dereferrer only for external links and local files do not use it...?
Now all links use it.

AndrewD 10-29-2006 09:36 AM

Quote:

Originally Posted by rasun
Yes this works, thank you! :)

Is it possible to use the dereferrer only for external links and local files do not use it...?
Now all links use it.

Are you setting up your local files with a full url? e.g. http://yoursite/yourdir/file.type? This format will trigger the rule

You can just use /yourdir/file.type for local files, which should not trigger it.

rasun 10-29-2006 10:18 AM

Ah ok I see.

Yes I used the full url also for local links...
OK will use the short url´s insted of it.

Any other solutions to recognize local links in full url isn´t possible?

AndrewD 10-29-2006 10:28 AM

Quote:

Originally Posted by rasun
Ah ok I see.

Yes I used the full url also for local links...
OK will use the short url?s insted of it.

Any other solutions to recognize local links in full url isn?t possible?

Sandwich the rule between rules that temporarily patch your own site, e,g,

RewriteRule http://yoursite gttp://yoursite
RewriteRule http: http://anonym.to?http:
RewriteRule gttp://yoursite http://yoursite

(I haven't yet implemented Apache's mod_rewrite option of breaking out of the rewrite tests at first match, which would make this simpler.)

rasun 10-29-2006 11:35 AM

Thanky you, this seems to work. :)

PitchouneN64ngc 10-29-2006 12:27 PM

AndrewD, can you add a little thing for local_links_admin.php?set=statistics (version 2.2.6)?

When there is nothing to be downloaded in the last 24 hours, for the "Access during last 24 hours" line, you have this:
Code:

    0 Hits
    bytes

The query is ok, but the bytes field from the query is empty (only when you have nothing to be downloaded since 24 hours).

After this:
PHP Code:

$linkstats['downloads'] = $count['downloads']; 

Can you add this?
PHP Code:

        if (empty($count['bytes']))
        {
            
$count['bytes'] = 0;
        } 

The result of this code change will display this:
Code:

    0 Hits
    0bytes

Thanks ;)

PS: The french file for 2.2.6 is ready ;)

phovanxua 10-29-2006 12:44 PM

Quote:

Originally Posted by AndrewD
Difficult for me to imagine what is going on. Can you send me a PM with your site's url, so that I can take a look? Thanks

Hi AndrewD ,

Check PM .

AndrewD 10-29-2006 01:10 PM

Quote:

Originally Posted by PitchouneN64ngc
AndrewD, can you add a little thing for local_links_admin.php?set=statistics (version 2.2.6)?

When there is nothing to be downloaded in the last 24 hours, for the "Access during last 24 hours" line, you have this:
Code:

    0 Hits
    bytes

The query is ok, but the bytes field from the query is empty (only when you have nothing to be downloaded since 24 hours).

After this:
PHP Code:

$linkstats['downloads'] = $count['downloads']; 

Can you add this?
PHP Code:

        if (empty($count['bytes']))
        {
            
$count['bytes'] = 0;
        } 

The result of this code change will display this:
Code:

    0 Hits
    0bytes

Thanks ;)

PS: The french file for 2.2.6 is ready ;)

Thanks - noted - will be fixed in the final upload of 2.2.6.

kompakt 10-29-2006 03:30 PM

I like how LDM has grown to be AndrewD. Thanks for the great work.

I noticed that if I edit a category and try go to the control settings or permisisons page, then right before the page finishes loading it redirects to the forum home page. Has anyone else experienced this? [EDIT- This isnt working for me: #176]

The directory sync seems to be working great, though it does not pick up the id3 tags of the files like it does when scanning the folders. How can I modify it to do so?

Also, how can I create a newest categories module, similar to the newest links module for vba cmps? also keep the autocreated threads limited to categories instead of links?

Thanks again :)


All times are GMT. The time now is 02:03 PM.

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.03010 seconds
  • Memory Usage 1,755KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_php_printable
  • (5)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