vb.org Archive

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

AndrewD 10-19-2009 12:33 PM

Quote:

Originally Posted by jhale1966 (Post 1902028)
Is there a way to remove all the 'wrap-around' stuff when using the Jukebox either in a new window or using the existing one? I'd like to JUST have the Jukebox 'box' appear when a user clicks 'Play Me'.

Thanks! :)

You will have to edit the links_playbit template. You must keep at least the following:
Code:

<table width="100%">
<tr>
        <td align="center" valign="middle">
<!--$linkid::playerbit-->
        </td>
</tr>
</table>


SiLver Gsm 10-19-2009 11:28 PM

@ AndrewD

Realy Thanks For your Good Support All Now Fine after Close Seo Option

Again Thank You :)

WBR,
SiLverGSM

jhale1966 10-20-2009 12:51 AM

Quote:

Originally Posted by AndrewD (Post 1902053)
You will have to edit the links_playbit template. You must keep at least the following:
Code:

<table width="100%">
<tr>
        <td align="center" valign="middle">
<!--$linkid::playerbit-->
        </td>
</tr>
</table>


It's still showing my 'site within a site' - I want to remove everything below the Jukebox.

Check here:
http://www.halerecordings.com/forums...kid=185&page=1

Thanks! :)

Gwendolin 10-25-2009 09:40 PM

Hi,

I have a little problem with the view of the downloads logjumps (local_links_admin.php?set=logjumps).
Downloaded files are all show up with 0Bytes.

Is there a setting where I have to enable it and when where is this setting?


Regards,
Gwen

AndrewD 10-26-2009 05:06 AM

Quote:

Originally Posted by Gwendolin (Post 1906127)
Hi,

I have a little problem with the view of the downloads logjumps (local_links_admin.php?set=logjumps).
Downloaded files are all show up with 0Bytes.

Is there a setting where I have to enable it and when where is this setting?


Regards,
Gwen

Question: a) do you have the setting *force_redirect* set to 1 or 2; and b) are the files held on another server or on your own server. With *force_redirect* set to 1 or 2, when LDM serves a remote file, it does not (cannot) keep track of the bytes transferred, so records the download as 0 bytes. In other circumstances, it should record the file size, so let me know if there is a problem.

ezak 10-26-2009 06:39 PM

I'm really like your hack very much and I use it for 2 years >> till now
but
for some security reason
I want to disable this two functions (ini_restore,realpath)
and I found that your modification use this 2 function
and thats is the files and lines number

PHP Code:

includes/local_links_images.php:141:        @ini_restore('memory_limit');
includes/local_links_images.php:146:        @ini_restore('memory_limit');
includes/local_links_images.php:158:                @ini_restore('memory_limit');
includes/local_links_images.php:166:                @ini_restore('memory_limit');
includes/local_links_images.php:172:                @ini_restore('memory_limit');
includes/local_links_images.php:178:                @ini_restore('memory_limit');
includes/local_links_images.php:202:            @ini_restore('memory_limit');
includes/local_links_images.php:211:            @ini_restore('memory_limit');
includes/local_links_images.php:250:            @ini_restore('memory_limit');
includes/local_links_images.php:259:            @ini_restore('memory_limit');
includes/local_links_images.php:274:            @ini_restore('memory_limit');
includes/local_links_images.php:279:    @ini_restore('memory_limit');

includes/local_links_include.php:1802:          $ldir realpath($ldir);
includes/local_links_include.php:1835:                  $return_path realpath($lpath); 

I want to disable this functions because some shell files use this for hacking
Is that necessary to use this functions or can you use another functions can be safe

AndrewD 10-27-2009 05:16 AM

Quote:

Originally Posted by ezak (Post 1906546)
I'm really like your hack very much and I use it for 2 years >> till now
but
for some security reason
I want to disable this two functions (ini_restore,realpath)
and I found that your modification use this 2 function
and thats is the files and lines number

PHP Code:

includes/local_links_images.php:141:        @ini_restore('memory_limit');
includes/local_links_images.php:146:        @ini_restore('memory_limit');
includes/local_links_images.php:158:                @ini_restore('memory_limit');
includes/local_links_images.php:166:                @ini_restore('memory_limit');
includes/local_links_images.php:172:                @ini_restore('memory_limit');
includes/local_links_images.php:178:                @ini_restore('memory_limit');
includes/local_links_images.php:202:            @ini_restore('memory_limit');
includes/local_links_images.php:211:            @ini_restore('memory_limit');
includes/local_links_images.php:250:            @ini_restore('memory_limit');
includes/local_links_images.php:259:            @ini_restore('memory_limit');
includes/local_links_images.php:274:            @ini_restore('memory_limit');
includes/local_links_images.php:279:    @ini_restore('memory_limit');

includes/local_links_include.php:1802:          $ldir realpath($ldir);
includes/local_links_include.php:1835:                  $return_path realpath($lpath); 

I want to disable this functions because some shell files use this for hacking
Is that necessary to use this functions or can you use another functions can be safe

The calls to ini_restore() can be commented out without difficulty. LDM tries to claim extra memory when producing image thumbnails because this can be a very memory intensive task wih high resolution pictures. The function call is used to return that memory, but it will get returned in any case when the script completes.

The call to realpath() is more difficult, and I will have to investigate if there is a realistic alternative.

mitch84 10-27-2009 04:16 PM

Hi, how to make a automatic preview in the parent forum when I upload a new link? thx

yomandenver 10-28-2009 01:16 AM

Very cool, works as described. :up::up:

AndrewD 11-02-2009 03:52 AM

Quote:

Originally Posted by ezak (Post 1906546)
I'm really like your hack very much and I use it for 2 years >> till now
but
for some security reason
I want to disable this two functions (ini_restore,realpath)
and I found that your modification use this 2 function
and thats is the files and lines number

PHP Code:

includes/local_links_images.php:141:        @ini_restore('memory_limit');
includes/local_links_images.php:146:        @ini_restore('memory_limit');
includes/local_links_images.php:158:                @ini_restore('memory_limit');
includes/local_links_images.php:166:                @ini_restore('memory_limit');
includes/local_links_images.php:172:                @ini_restore('memory_limit');
includes/local_links_images.php:178:                @ini_restore('memory_limit');
includes/local_links_images.php:202:            @ini_restore('memory_limit');
includes/local_links_images.php:211:            @ini_restore('memory_limit');
includes/local_links_images.php:250:            @ini_restore('memory_limit');
includes/local_links_images.php:259:            @ini_restore('memory_limit');
includes/local_links_images.php:274:            @ini_restore('memory_limit');
includes/local_links_images.php:279:    @ini_restore('memory_limit');

includes/local_links_include.php:1802:          $ldir realpath($ldir);
includes/local_links_include.php:1835:                  $return_path realpath($lpath); 

I want to disable this functions because some shell files use this for hacking
Is that necessary to use this functions or can you use another functions can be safe

I've thought a bit more about this problem. It is not straightforward in the current version of the code to disable realpath() - a number of features will break. In order to modify the code in order to lock down the features that depend on this function, I would need to rewrite a substantial part of the addon. I am willing to include this in the list of things to look into when vbulletin version 4 is released, but I cannot justfy doing this for vb 3.x.


All times are GMT. The time now is 02:08 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.01398 seconds
  • Memory Usage 1,814KB
  • 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
  • (3)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
  • (2)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