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-21-2007 07:39 AM

Quote:

Originally Posted by efil (Post 1364853)
Hi,
I have 3 questions:
1.for some reason I can't see the similes, in Rate/Comment.

This should depend on the LDM setting *allow_smilies*. If you've got that enabled, the smilies should display in the rate entry and the add/edit entry dialogues.

Quote:

Originally Posted by efil (Post 1364853)
2. Can I change the < - > in "filmstrip" to an arrow gif or something like that?

You need to patch the links_filmstrip_bit template. I'll also make this change with the next upload (which will be a bugfix release for 2.2.8).

Quote:

Originally Posted by efil (Post 1364853)
3.How can i limit the "My Recent LDM Entries" in vb profile just to the last five?

Edit the LDM plugin which is tied to the member_customfields hook, and find/edit the line $entries_to_show = 50; You're right - this should be configurable.

efil 10-21-2007 12:38 PM

Thanks!

Nam 10-22-2007 05:50 AM

Quote:

Originally Posted by AndrewD (Post 1364801)
However, you can achieve the same (similar) result by creating an entry which are actually pointers to your categories (i.e. make the url /local_links.php?catid=NN), and put this entry in multiple categories. If you give it a display order of 0, you can also ensure it appears at the top of the list with a separator.

I tried to add an entry, in URL field I type: /local_links.php?catid=4, then select 3 categories. It say error because the link is not valid, I click accept it and I see the letter B with "See also..." but the B link is invalid.

Was that what you try to tell me, or I did it wrong?

directprint 10-22-2007 06:00 AM

I have just installed this and have a blank page, read a few things about it, but nothing seems to work.

Used this mod 2 years ago, and looking forward to adding it again.

I get this error

=======================================
Unexpected critical failure
Critical Error: Document Root not set, Edit local_links_init.php
=======================================

I have edited the init file with the document root with no luck.

Nam 10-22-2007 03:20 PM

I got about 3000 emails like this one. At first I used PHPmyadmin and see the field local_linksdownload is marked as "in use". Then I click the field and select repair. It worked fine. But after an hour later, I got another few hundred emails again, this time the table was fine

It seems like something seriously wrong with my database, you have any idea?

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:

DELETE FROM local_linksdownloads
WHERE usertime<'1192806439';

MySQL Error : Table 'local_linksdownloads' is marked as crashed and should be repaired
Error Number : 1194
Date : Monday, October 22nd 2007 @ 11:06:56 AM
Script : http://www.domain.com/forums/local_s...d=317&catid=48
Referrer : http://www.domain.com/forums/local_l...atid=48&page=1
IP Address : 58.187.xx.xxx
Username : Unregistered
Classname : vb_database

AndrewD 10-22-2007 06:08 PM

Quote:

Originally Posted by directprint (Post 1365677)
I have just installed this and have a blank page, read a few things about it, but nothing seems to work.

Used this mod 2 years ago, and looking forward to adding it again.

I get this error

=======================================
Unexpected critical failure
Critical Error: Document Root not set, Edit local_links_init.php
=======================================

I have edited the init file with the document root with no luck.

Fixed, I think, see PM.

AndrewD 10-22-2007 06:13 PM

Quote:

Originally Posted by Nam (Post 1365984)
I got about 3000 emails like this one. At first I used PHPmyadmin and see the field local_linksdownload is marked as "in use". Then I click the field and select repair. It worked fine. But after an hour later, I got another few hundred emails again, this time the table was fine

It seems like something seriously wrong with my database, you have any idea?

You should go to vb/admin/maintenance/repair and optimise tables, and run a couple of repairs, then an optimise. that should tidy things up. If that doesn't solve the problem, use a tool like phpmyadmin, delete the local_linksdownload table and then reinstall LDM to recreate a clean table.

AndrewD 10-22-2007 06:19 PM

Quote:

Originally Posted by Nam (Post 1365670)
I tried to add an entry, in URL field I type: /local_links.php?catid=4, then select 3 categories. It say error because the link is not valid, I click accept it and I see the letter B with "See also..." but the B link is invalid.

Was that what you try to tell me, or I did it wrong?

What is the full url to your forum? You should use that, less the sitename.

For example, if your forums are in http: // yoursite / forum, then you should set up the entry as /forum/local_links.php?catid=M

sduckie2k5 10-23-2007 01:12 AM

Want to thank you first of all, have been running this for quite sometime and have enjoyed your work.

Secondly, I noticed today when upgrading to 2.2.8 besides the obvious reported bug that if I goto the directory where the downloads reside, I can access it and the index of the downloads publicly, is there anyway I can shut this down, in the event that someone finds out its location, i.e should I chmod it? If so, to what or what might I do that only registered users can gain access, thru the proper channels?

Thanks D*

Nam 10-23-2007 02:11 AM

Andrew, thanks so much for all the help so far, but I have another issue. I keep getting error email about max_user_connections:

Quote:

Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: User vncom_chuot has already more than 'max_user_connections' active connections
/home/vncom/public_html/forums/includes/class_core.php on line 274

MySQL Error :
Error Number :
Date : Monday, October 22nd 2007 @ 11:04:42 PM
Script : http://www.domain.com/forums/local_s...1123&catid=112
Referrer : http://www.domain.com/forums/local_l...tid=112&page=1
IP Address : 211.28.59.246
Username :
Classname : vb_database
So I login my server root and change the my.cnf user_max_connection from 50 to 200. Still, the email error keep coming. You have any idea of what's wrong? I did optimize and everything as you instructed.

Here is my.cnf, just in case you need it:

Quote:

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
skip-locking
skip-innodb
query_cache_limit=1M
query_cache_size=32M
query_cache_type=1
max_user_connections=200
max_connections=500
interactive_timeout=10
wait_timeout=10
connect_timeout=10
thread_cache_size=128
key_buffer=16M
join_buffer=1M
max_allowed_packet=16M
table_cache=1024
record_buffer=1M
sort_buffer_size=2M
read_buffer_size=2M
max_connect_errors=10
thread_concurrency=8
myisam_sort_buffer_size=64M
server-id=1

#[mysql.server]
#user=mysql
#basedir=/var/lib

[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/lib/mysql/mysql.pid
open_files_limit=8192

#[mysqldump]
#quick
#max_allowed_packet=16M

[mysql]
no-auto-rehash

[isamchk]
key_buffer=64M
sort_buffer=64M
read_buffer=16M
write_buffer=16M

[myisamchk]
key_buffer=64M
sort_buffer=64M
read_buffer=16M
write_buffer=16M

[mysqlhotcopy]
interactive-timeout


All times are GMT. The time now is 06:32 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.03771 seconds
  • Memory Usage 1,758KB
  • 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
  • (10)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