
03-19-2007, 05:12 AM
|
|
|
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by itsblack
Hi Andrew, thank you very much for this great mod. I've been used it for a long time. Now I upgrade to 2.2.7, and translate it into chinese. [Simplified Chinese, use UTF-8 encode]
I have a little problem with the "Autocreate threads". The Image URL in the auto-created thread is not correct. But the images in LDM are totally correct. My vb path is www.mysite.com/forum, and I installed the LDM under the forum, but the image URL just lack of "forum". Only when I change the script, namely includes/local_links_misc.php, it goes to work. What I changed was line 1447:
PHP Code:
$imglink = '[img]'.mk_file_name($vbulletin->options['homeurl], $linkimg).'[/img]';
here homeurl replace with bburl.
But I don't know if it is a bug or it only occurs by me. btw, I use the IIS server, and in the 2.2.6 stage it has the same problem. The other related settings are:
local_file_root = no
local_file_root_prefix = forum
upload_dir = /LDM/upload
|
It's a bug on my part - this code is ignoring that you've got local_file_root_prefix set. Switching from homeurl to bburl corrects that. Thanks, and thanks for the translation.
|