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)

Mrdby 06-08-2007 01:26 AM

can i see a demo?

stwilson 06-08-2007 02:36 AM

PM sent.

AndrewD 06-08-2007 03:58 AM

Quote:

Originally Posted by stwilson (Post 1263792)
I have run into an issue that I was not able to find a fix for in this thread. I am getting this error on the bottom of the list of links. It happens when logged in as Admin or a registered user. I know it is a permissions issue but cannot, for the life of me, figure it out. Here is the error:

Sorry - there is nothing here to show you (no permission, all entries hidden, etc)

Any suggestions??

Sorry about that - I think it's a bug.

The message is only supposed to be shown when there is nothing that the user is allowed to see. However, I just realised that the message is also created in the following situation:
- when *featured_user_favs* and *featured_sites* are both set, but
- there are no featured sites visible in the current category

Assuming this is your situation, then it's my bug, not yours.

AndrewD 06-08-2007 04:23 AM

Quote:

Originally Posted by Rouzbeh1
the important thing is that i need this kind of links handling to lower the load on my servers

what i want is, to be able to add different Mirror Base Links in the Administrative Interface, and then ppl who add the entries would get 1 field for each mirror, where he must complete the remaining rest of the link

example :
Base URL for mirror 1 : http://mirror1.mysite.com/some_directory/
Base URL for mirror 2 : http://mirror2.mysite.com/a_directory/

I've given a lot of thought to this to see how to implement this cleanly, and this is my proposal.

Instead of having multiple url fields on the 'add entry' form, I've written an 'extra' that works alongside the LDM 'mod_rewrite' feature. This extra adds several new options to the LDM admin/settings page:
a) a url string to look for
b) one to five url strings to replace by
plus a couple of other switches.

When the extra is active, all LDM entries will be tested against the 'look for' string immediately before jumping/downloading. If they match, the 'look for' will be randomly replaced by one of the 'replace by' strings, in other words balancing the downloads across multiple servers.

This allows the admin to change the settings 'on the fly' withough having to edit all the entries.

This is, in effect, the same as the 'mod_rewrite' feature, except that it allows you to have a randomly-selected replacement. (If you are familiar with the Apache mod_rewrite moules, this is the effect of the ReplaceMap and rnd: options).

Please let me know if this is sufficient for your needs, so that I can finalise it.

Ren? Kunze 06-08-2007 11:47 AM

There is already new of webthumb, why that does not function.

Rouzbeh1 06-08-2007 03:58 PM

Quote:

Originally Posted by AndrewD (Post 1263882)
I've given a lot of thought to this to see how to implement this cleanly, and this is my proposal.

Instead of having multiple url fields on the 'add entry' form, I've written an 'extra' that works alongside the LDM 'mod_rewrite' feature. This extra adds several new options to the LDM admin/settings page:
a) a url string to look for
b) one to five url strings to replace by
plus a couple of other switches.

When the extra is active, all LDM entries will be tested against the 'look for' string immediately before jumping/downloading. If they match, the 'look for' will be randomly replaced by one of the 'replace by' strings, in other words balancing the downloads across multiple servers.

This allows the admin to change the settings 'on the fly' withough having to edit all the entries.

This is, in effect, the same as the 'mod_rewrite' feature, except that it allows you to have a randomly-selected replacement. (If you are familiar with the Apache mod_rewrite moules, this is the effect of the ReplaceMap and rnd: options).

Please let me know if this is sufficient for your needs, so that I can finalise it.

thank you very much
to understand it clearly, is there any option too add per entry or they will be set in admin panel and the rest work exactly as the concept of mirroring....?
the second question is: for example i have set my apache to allow ONLY 1 connection per IP at the same time (second connection gets error page 503 displayed)or in another case, the file doesn't exist on that mirror.... would there be any option (if possible) to check the error code on the server (like 404 error if file doesn't exist on that mirror.....) i know that this option could be meaning for you to spend much time, so ONLY IF you have the time, it would be perfect to have this option, to avoid users get forwarded to broken links etc.

thanks again for the awesome work here :)

Ren? Kunze 06-08-2007 06:41 PM

For Webthumbs of pictures one can take however different things without itself somewhere to registering.

Like these for example:

The only one is with those then obligation which one completely down in the Foter a left sets.

One can integrate that not somehow into the system.

Epic Mike 06-08-2007 07:46 PM

I saw a few references to this but I'm not sure that I completely understand. I am getting this warning

- upload_max_filesize 10M > post_max_size 8M in php.ini file - Large uploads may fail without warning

For the life of me I can't find where to change either one or even where to locate the php.ini file. I'm on a shared server so can I still change that.

Sorry for the noob question.

stwilson 06-09-2007 04:51 AM

Quote:

Originally Posted by AndrewD (Post 1263869)
Sorry about that - I think it's a bug.

The message is only supposed to be shown when there is nothing that the user is allowed to see. However, I just realised that the message is also created in the following situation:
- when *featured_user_favs* and *featured_sites* are both set, but
- there are no featured sites visible in the current category

Assuming this is your situation, then it's my bug, not yours.

Andrew,

That was it! Glad I could help you find a bug. :D

AndrewD 06-09-2007 06:10 AM

Quote:

Originally Posted by Epic Mike (Post 1264342)
I saw a few references to this but I'm not sure that I completely understand. I am getting this warning

- upload_max_filesize 10M > post_max_size 8M in php.ini file - Large uploads may fail without warning

For the life of me I can't find where to change either one or even where to locate the php.ini file. I'm on a shared server so can I still change that.

Sorry for the noob question.

These are two parameters which control php's handling of uploads. If you are on a shared server, you probably cannot change the settings directly, so you may want to speak to your hosting company.

At least with some versions of php, if *upload_max_filesize* has a larger value than *post_max_size*, file uploads bigger than *post_max_size* but smaller than *upload_max_filesize* fail without triggering a helpful error message for php to detect and report. (This may be fixed in recent versions of php - I'm not sure.) So the general advice is to set up php with the two values the same or make upload_max_filesize smaller.


All times are GMT. The time now is 08:35 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.02783 seconds
  • Memory Usage 1,757KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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