vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Links and Files Database (https://vborg.vbsupport.ru/showthread.php?t=60403)

LoOnEyToOnZ 04-02-2004 04:31 PM

Does this allow people to submit their websites to be listed in the directory ? And require admin approval beforehand

brianstevz 04-03-2004 03:23 AM

Awesome hack. It's much better than drkfusion's imho. Clicks install.

AlexanderT 04-05-2004 01:56 PM

I installed the hack ( *installed* ) and am very happy with it. I have one question though:

I added a link to an external file (from another site). When a uses clicks on the link to download the file, he cannot see the original site. Fine. But does that mean that all filedownloads are "proxied" from the original site to my site and then from my site to the user? Like this:

file -> my site -> user

If this is the case, wouldn't it generate unnecessary traffic for my site on all external filedownloads?

CERTguide 04-05-2004 05:20 PM

I installed the hack and all looked good. I am trying to add files but it keeps telling me that they are not available:

checking 1 http://www.certguide.com/forums/guid...rplusguide.asp (force next): failed
checking 2 http://www.certguide.com/forums/guid...003aplusos.doc (force next)

If I paste the links in my browser the files open right up.

What am I doing wrong?

AndrewD 04-05-2004 05:59 PM

Quote:

Originally Posted by MrD
Hi,
i become an Error.
Fatal error: Call to undefined function: print_cp_header() in /home/www/web1/html/v3/local_links_install.php on line 44

Can anywhere Help ?

Are you sure you put the file in your admincp directory?

local_links.php and local_links_templatex.xml go into your main forum, local_links_install.php goes into the admincp directory.

AndrewD 04-05-2004 06:01 PM

Quote:

Originally Posted by LoOnEyToOnZ
Does this allow people to submit their websites to be listed in the directory ? And require admin approval beforehand

There is *no* moderation facility yet. The permission to add links is defined by the site admin by usergroups. If a usergroup has the relevant permission, then a user in that group can add their website.

AndrewD 04-05-2004 06:08 PM

Quote:

Originally Posted by AlexanderT
I installed the hack ( *installed* ) and am very happy with it. I have one question though:

I added a link to an external file (from another site). When a uses clicks on the link to download the file, he cannot see the original site. Fine. But does that mean that all filedownloads are "proxied" from the original site to my site and then from my site to the user? Like this:

file -> my site -> user

If this is the case, wouldn't it generate unnecessary traffic for my site on all external filedownloads?

It depends, and it also depends what you mean by unnecessary. If the entry has a recognised mimetype (recognised = defined in the main vb admincp), then the file is successively read and transferred on to the end user. If it does not have a recognised mimetype (e.g. is just a link), then the code executes a standard redirect, and there should be no traffic through your site.

As for unnecessary, I'm open to suggestions of other ways of handling the process in a way that will work reliably.

AlexanderT 04-05-2004 06:14 PM

Quote:

Originally Posted by AndrewD
It depends, and it also depends what you mean by unnecessary...As for unnecessary, I'm open to suggestions of other ways of handling the process in a way that will work reliably.

By unnecessary I mean a link to a file download where I don't mind whether the user finds out the direct file location or not. Perhaps one solution would be to offer a switch called "anti-leech on/off" when creating new links, and if the switch is on, follow your current procedure (stream the file through the site), and if it is off, redirect it (disregarding the vB minetypes).

AndrewD 04-05-2004 06:18 PM

Quote:

Originally Posted by CERTguide
I installed the hack and all looked good. I am trying to add files but it keeps telling me that they are not available:

checking 1 http://www.certguide.com/forums/guid...rplusguide.asp (force next): failed
checking 2 http://www.certguide.com/forums/guid...003aplusos.doc (force next)

If I paste the links in my browser the files open right up.

What am I doing wrong?

I don't know ;)

I tried adding these links to my test database and they work just fine for me. The links checking process simply tries to open a connection to the specified file. Maybe you had a very busy server?

AndrewD 04-05-2004 06:20 PM

Quote:

Originally Posted by AlexanderT
By unnecessary I mean a link to a file download where I don't mind whether the user finds out the direct file location or not. Perhaps one solution would be to offer a switch called "anti-leech on/off" when creating new links, and if the switch is on, follow your current procedure (stream the file through the site), and if it is off, redirect it (disregarding the vB minetypes).

Thanks - I'll think about this idea. But is bandwidth to your site more expensive than my time as a programmer? (smiling)


All times are GMT. The time now is 06:53 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.02479 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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