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 11-20-2006 04:13 AM

Quote:

Originally Posted by |oR|Greg (Post 1120986)
Ok, I moved where I placed the lines, and it's working, kinda... it's not going offsite anymore, but it's not using my settings, it's trying to play thru quicktime for some reason??? And this is at the top of the page.

PHP Code:

Parse errorsyntax errorunexpected $end in /home/amacnyco/public_html/vb/local_links.php(1827) : eval()'d code on line 24 


The syntax error is in a plugin - you've built a modiied version of the wimpy plugin, I think - there must be a coding bug in there somewhere, something like an missing closing bracket on an 'if' clause, perhaps.

As a result, the plugin will be ignored completely, so you need to fix this first.

freevisio 11-20-2006 07:55 AM

Hello AndrewD

happiness, very good work.

Is it possible to limit adding bonds to registered users with a minimum of post? I would like to add this option to control the spam and that alone users can write with but of 100 post.

Thank you

AndrewD 11-20-2006 08:09 AM

Quote:

Originally Posted by freevisio (Post 1121373)
Hello AndrewD

happiness, very good work.

Is it possible to limit adding bonds to registered users with a minimum of post? I would like to add this option to control the spam and that alone users can write with but of 100 post.

Thank you


Take a look in the release/extras/limit-useraccess directory in the zip file. There is a sample plugin, limitaccess-byposts-plugin.xml, which does what you want. You will have to configure it by editing the code - should be straightforward - let me know if you have problems.

freevisio 11-20-2006 08:50 AM

Oh, is perfect, thankyou.

to 10 users this very well, is the only thing that I need. Can the rest disable it? As I make it?

Alfa1 11-20-2006 10:54 AM

Any chance on a vBSEO sitemap plug in?

AndrewD 11-20-2006 11:44 AM

Quote:

Originally Posted by freevisio (Post 1121380)
Oh, is perfect, thankyou.

to 10 users this very well, is the only thing that I need. Can the rest disable it? As I make it?

Assuming that the plugin is working correctly(!!), if you installed it as supplied, then:

- it ignores all members of the administrator group
- it ignores all users with 10 or more posts

Anone else is limited to one download and one megabyte per day.

Users that are ignored by the plugin are still restricted by any limits that you impose on LDM/admin/bandwidth.

Only people who have access to your VB admincp can disable the plugin.

berayiwu5 11-20-2006 02:42 PM

Hi, AndrewD,

I understand that LDM stores uploaded files in a location different from that of attachment files uploaded into the vBulletin platform itself. One problem I am having is that I'm getting warning messages about MySQL quota limits: I would need ever-increasing amount of MySQL database quota to allow for the growing number of files uploaded via LDM. And this is something my host provider is not quite willing to do. It looks as if LDM is storing the files in the database itself, but different from where vBulletin stores its own attachments.

Now vBulletin has the ability to move the attachments from the database to the file system--which would avoid this MySQL database quota problem. Is there any way for LDM to do the same?

Thanks for your help.

Kai

AndrewD 11-20-2006 02:51 PM

Quote:

Originally Posted by berayiwu5 (Post 1121583)
Hi, AndrewD,

I understand that LDM stores uploaded files in a location different from that of attachment files uploaded into the vBulletin platform itself. One problem I am having is that I'm getting warning messages about MySQL quota limits: I would need ever-increasing amount of MySQL database quota to allow for the growing number of files uploaded via LDM. And this is something my host provider is not quite willing to do. It looks as if LDM is storing the files in the database itself, but different from where vBulletin stores its own attachments.

Now vBulletin has the ability to move the attachments from the database to the file system--which would avoid this MySQL database quota problem. Is there any way for LDM to do the same?

Thanks for your help.

Kai


LDM does not store files in the database. It stores them in the file system.

What is held in the database are all the records of these files, and also a full record of all downloads. Usually, the LDM table that grows big is the 'downloads' table. You can prune this via LDM/admin/statistics

|oR|Greg 11-20-2006 08:52 PM

Ok, well I got YouTube working nicely, but I can't seem to get Google videos working at all.

The only other thing I've tried to do Andrew for YouTube, is set an icon for the file but it's not working. I altered the php code like so:
PHP Code:

            if(stristr($linkurl'youtube.com/watch?v=')) {
            
$linktypebit '<img border="0" src="http://www.amacny.com/vb/images/editor/youtube.gif" alt="YouTube Video" />';
            
$is_musicbox 1;
            } 


berayiwu5 11-21-2006 02:16 AM

Quote:

Originally Posted by AndrewD (Post 1121591)
Usually, the LDM table that grows big is the 'downloads' table. You can prune this via LDM/admin/statistics

I've gone to LDM/admin/statistics, as suggested. But I can't find the 'downloads' table. And how do I prune it?

Thanks.


All times are GMT. The time now is 07:12 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.03763 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
  • (2)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