PDA

View Full Version : Major Additions - Links and Downloads Manager


Pages : 1 2 3 4 5 6 7 [8] 9

ShawnV
03-24-2009, 12:43 AM
Welcome back Andrew, get well soon.

All my best,

_V


Hello, guys!

As you know, I have not been well and it has not been possible to provide any help on this forum for several months. I have very much appreciated the good messages that many people have sent me - it really does help :). The news is that I am in the middle of a course of chemotherapy. It seems to be working but it has the side effect of making one feel very weak and unable to concentrate for more than a short period.

I do not know when I shall be able to resume "full time support" of LDM, but it is by no means a dead product. The big question is really *how much of a rewrite will be needed for vb 4.x* and what will the vb guys themselves provide. I have seen notes about major changes to the attachment system, which will surely impact on LDM.

Concerning the wiki, thanks to ObMob for pointing out that hackers had got at it. I had updated the mediawiki software a couple of weeks ago, and accidently left a door open for those delightful people to replace pages by links to nasty sites. I think it should be back in a fit state again.

So, please bear with me - I enjoy my hobby very much, and I do want to resume it.

pooslokka
03-24-2009, 05:19 AM
Just click Support Developer!

Cool thanks :)

pooslokka
03-24-2009, 05:26 AM
i would be great full to you if any body can help with this problem

cant upload a 3325 x 2081 jpg image with 800k. The out put is a blank page.
but i can upload a 1920 x 1200 with 900k successfully.

whats wrong??? in vb cp under attachments. the max width and height for jpg images are set to unlimneted. i even try chnaging it to 10000 x 10000. no use

pls help

obmob
03-24-2009, 06:01 PM
Don't you have any limits on your server config?

Maybe the images are too big to upload.

ccole513
03-25-2009, 12:53 AM
I want to alter the td class for entries, but I can't find the location to make this edit. Does anyone know the specific sql table or template where said class can be found?

e.g. <tr><td colspan="2" class="alt1"><table style="width:100%; height:100%;" border="0" cellpadding="0" cellspacing="0">


Edit: I found the location > local_links_include.php

SeanE
03-25-2009, 03:37 AM
Hey Andrew -

Heard you're back, and hope you're doing better - chemo sucks.

I saw that the release 2.29 'works with' vb3.8 - is that a pretty solid assessment - I mean is it 80-90% or so? I ask as I have daily users, and depend on this product everyday for document downloads, etc - and don't want to risk the jump to vb3.8 (I'm at 3.6 now) if there are issues, etc...

Anyhow - best of luck to you - and thanks for such great work! :)

SeanE

AndrewD
03-25-2009, 07:52 AM
I saw that the release 2.29 'works with' vb3.8 - is that a pretty solid assessment - I mean is it 80-90% or so? I ask as I have daily users, and depend on this product everyday for document downloads, etc - and don't want to risk the jump to vb3.8 (I'm at 3.6 now) if there are issues, etc...


I ask others to correct me if I've missed anything here.

As far as I know (based on my own experience and the reports here), pretty well everything in versions 2.2.9-post3 and 2.3.0-beta1 works perfectly with both vb 3.7 and 3.8. There are a few minor fixes needed to the code, basically to fix the integration with user profiles and to make the 'human verification' checks work.

1) User profile support. For both the 2.2.9-post3 and 2.3.0-beta1 code, you need to edit two LDM plugins, as described by Simon Lloyd in this post:

https://vborg.vbsupport.ru/showpost.php?p=1710971&postcount=1683

He says to change case "3.7": to case "3.8": in two places. You can also add the line case "3.8": immediately after the line case "3.7": Then the code will work with both vb3.7 and 3.8.

2) Human verification (only needed with the 2.2.9-post3 code):

In local_links.php, lines 1701 and 1819:

change
if (VALID_VB_VERSION=="3.7") {
to
if (VALID_VB_VERSION>="3.7") {

Ditto in local_links_search.php at lines 740 and 1014

anime4viet
03-25-2009, 11:32 AM
is there anyway i could increase the amount entries on one page from 10??

Edit: Figured out thanx :D

sava700
03-26-2009, 11:53 PM
Andrew can you help with this security token issue?

Gostemilov posted about adding something to a template but which one? I've looked through all of them and no issues. I've got everything up todate and can't figure out for the life of me this problem.

AndrewD
03-27-2009, 06:55 AM
Andrew can you help with this security token issue?

Gostemilov posted about adding something to a template but which one? I've looked through all of them and no issues. I've got everything up to date and can't figure out for the life of me this problem.

I can certainly try to help. It is easiest if you send me a PM with details of your site and a username and password which has admin privileges, and some fuller information on what you are doing to trigger this message. Otherwise, we will spend forever sending messages to each other.

AndrewD
03-27-2009, 08:34 AM
i found a bug, pls help to solve it.

i cant upload a 3325 x 2081 jpg image with 800k. The out put is a blank page.
but i can upload a 1920 x 1200 with 900k successfully.

whats wrong??? in vb cp under attachments. the max width and height for jpg images are set to unlimneted. i even try chnaging it to 10000 x 10000. no use :(

pls help


Blank pages are often a sign that there has been a 'system' error, but a standard vbulletin settings has prevented the error message from being displayed. A first thing to go to your vb/admin/options/Cookies and HTTP Header Options and turn off the option GZIP HTML Output. See if you then get an error message or still get a blank screen. If there is an error message, post it here.

Otherwise, it gets more difficult to debug what is happening. The file size (800K) should not be a problem. I don't know which version of LDM you are using - version 2.2.9-post 1 does not apply the size limits in the vb/cp/attachments table; 2.2.9-post 3 does check (but only the overall filesize, not the image dimensions). In any case, I cannot reproduce this problem myself with either 2.2.9-post1 or 2.3.0-beta.

sparklywater
03-28-2009, 06:16 PM
Hello Andrew,

I sometimes get these database errors when trying to access LDM pages. I don't know what exactly is causing these errors. Here is an example of one of these error-messages:

Database error in vBulletin 3.7.2:

Invalid SQL:

SELECT
link.linkid AS linkid, link.linkname AS linkname, link.linkdoi AS linkdoi,
link.linkuserid AS linkuserid, link.linkusername AS linkusername,
link.linkurl AS linkurl, link.linkimg AS linkimg,
link.linkimgthumb AS linkimgthumb, link.linkimgthumbsize AS linkimgthumbsize, link.linkforum AS linkforum,
link.linkdesc AS linkdesc, link.numrate AS numrate, link.totrate AS totrate,
link.linkhits AS linkhits, link.linksize AS linksize, link.linkstatus AS linkstatus,
link.linkdate AS linkdate, link.linkmoderate AS linkmoderate, link.linkmoddate AS linkmoddate,
link.linkreviewfreq AS linkreviewfreq,
ltoc.catid AS linkcatid, ltoc.displayorder AS linkdorder
, user.*, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight


, lkeys.keyword AS linkkey
FROM local_linkslink AS link
LEFT JOIN local_linksltoc AS ltoc ON link.linkid = ltoc.linkid
LEFT JOIN user AS user ON (user.userid = link.linkuserid)
LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar AS customavatar ON (customavatar.userid = user.userid)

LEFT JOIN local_linksltok AS ltok
ON link.linkid = ltok.linkid
LEFT JOIN local_linkskeys AS lkeys
ON ltok.keyid = lkeys.keyid
WHERE link.linkforum NOT IN (0) AND ltoc.catid = '2' AND link.linkmoderate = 0
ORDER BY linkdorder ASC, linkname ASC, linkcatid ASC;

MySQL Error : Got error -1 from storage engine
Error Number : 1030
Request Date : Saturday, March 28th 2009 @ 12:18:05 PM
Error Date : Saturday, March 28th 2009 @ 12:18:06 PM
Script : http://www.sparklywater.com/category/2.html
Referrer : http://www.sparklywater.com/
IP Address : 69.117.150.25
Username : Unregistered
Classname : vB_Database
MySQL Version :

AndrewD
03-29-2009, 06:34 AM
Hello Andrew,

I sometimes get these database errors when trying to access LDM pages. I don't know what exactly is causing these errors. Here is an example of one of these error-messages:

Database error in vBulletin 3.7.2:


MySQL Error : Got error -1 from storage engine
Error Number : 1030


This looks like a database problem, although I'm not certain. Try going to vb/admincp and doing a database repair.

Simon Lloyd
03-29-2009, 06:53 AM
WHERE link.linkforum NOT IN (0) AND ltoc.catid = '2' AND link.linkmoderate = 0
ORDER BY linkdorder ASC, linkname ASC, linkcatid ASC;I don't know a great deal and especially databases, however it seems the problem lies with where the data was being checked from as in the above (link.linforum NOT IN.....etc) seems to be looking at forum id 0 i might be wrong?

AndrewD
03-29-2009, 08:52 AM
I don't know a great deal and especially databases, however it seems the problem lies with where the data was being checked from as in the above (link.linforum NOT IN.....etc) seems to be looking at forum id 0 i might be wrong?

no, it's telling sql *not* to look in forum id 0. the sql statement is constructed to avoid forums that the current user does not have permission to view. Forum id 0 is added to ensure a valid sql statement - it never actually exists.

Simon Lloyd
03-29-2009, 11:39 AM
Ah, thanks....didn't i say i don't know much? :)

sparklywater
03-29-2009, 12:43 PM
I also get the following error message when trying to export my LDM database (XML file) through the LDM AdminCP. I've tried exporting the file in the zipped format but I still get the same error message.

Fatal error: Out of memory (allocated 50593792) (tried to allocate 36962281 bytes) in /home/sparklyw/public_html/includes/class_xml.php on line 571

I have spoken to my webhost about increasing the memory limit, and they've told me that the maximum memory allocated to each user on the server is 50MB. They've said that if I want to export the LDM database, I will have to reduce the amount of information in the XML file. Since I'm not able to increase my memory limit, is there any alternative to how I can backup my LDM database?

Neutral Singh
03-29-2009, 02:16 PM
It would be great if there was a kind of automated playlist of various songs which could be embedded and played directly from the home page of the forum.

abdelghani68
03-30-2009, 09:09 PM
Hi andrew,

I have frequently a data base error when I put a comment :

Database error in vBulletin 3.8.1:

Invalid SQL:

UPDATE local_linksrate
SET
lcomment = '***:

***',
linkuserid='1',
linkusername='****'
WHERE lrate = 3;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'autre. ? Et ensuite. [A-Ber' at line 3
Error Number : 1064
Request Date : Monday, March 30th 2009 @ 11:59:57 PM
Error Date : Monday, March 30th 2009 @ 11:59:57 PM
Script : http://www.*****.fr/forum/local_links_actions.php
Referrer : *******
IP Address : **********
Username : *******
Classname : vB_Database
MySQL Version : 5.0.68-log

AndrewD
03-31-2009, 04:36 AM
I also get the following error message when trying to export my LDM database (XML file) through the LDM AdminCP. I've tried exporting the file in the zipped format but I still get the same error message.



I have spoken to my webhost about increasing the memory limit, and they've told me that the maximum memory allocated to each user on the server is 50MB. They've said that if I want to export the LDM database, I will have to reduce the amount of information in the XML file. Since I'm not able to increase my memory limit, is there any alternative to how I can backup my LDM database?

A possible source of this problem is that your LDM 'downloads' table has grown very large. You can prune this manually or automatically. Visit your LDM admin page and see if there is a message of this form:

There are currently NNN records in the LDM Download 'Hits' table. You are likely to see reduced performance when using the LDM show_hit_parade setting to show overall statistics, and when analysing hits with LDM/Admin/Hits. Consider setting prune_downloads or use LDM/Admin/Hits to manually delete some of these records.

If so, follow the instructions, and you should find that the xml export works ok.

AndrewD
03-31-2009, 04:46 AM
Hi andrew,

I have frequently a data base error when I put a comment :

Database error in vBulletin 3.8.1:

Invalid SQL:

UPDATE local_linksrate
SET
lcomment = '***:

***',
linkuserid='1',
linkusername='****'
WHERE lrate = 3;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'autre. ? Et ensuite. [A-Ber' at line 3
Error Number : 1064
Request Date : Monday, March 30th 2009 @ 11:59:57 PM
Error Date : Monday, March 30th 2009 @ 11:59:57 PM
Script : http://www.*****.fr/forum/local_links_actions.php
Referrer : *******
IP Address : **********
Username : *******
Classname : vB_Database
MySQL Version : 5.0.68-log

I can't reproduce this. Please send me a PM with the exact text that you entered as the comment (from the error message, it contains "autre. Et ensuite") and let me know which version of LDM you are using.

Simon Lloyd
03-31-2009, 08:05 AM
Andrew, could you tell me which templates/phrases to edit to change the userprofile titles from "My Recent LDM Hits" etc to something that fits my forum name?

AndrewD
03-31-2009, 01:52 PM
Andrew, could you tell me which templates/phrases to edit to change the userprofile titles from "My Recent LDM Hits" etc to something that fits my forum name?

These are phrases, ldm_recent_hits and ldm_recent_entries

Simon Lloyd
03-31-2009, 02:50 PM
Andrew, thanks for the reply and info.....i have never looked at your templates/phrases etc., i knew your work was robust but i have to say WOW! what a mountain of work you went to devising this mod!

We're glad you did though ;)

Simon Lloyd
03-31-2009, 03:02 PM
Andrew, i have just upgraded vb3.8.1 to vb 3.8.2 and have now lost the profile boxes for hits and entries any idea how to reinstate them? pm'd you access details if you need them.

abdelghani68
03-31-2009, 04:17 PM
I think there is a little bug with the display of the skin when I activate inline_comment_and_rate when the entres are numbered for the display. If I have a categorie with for exemple 10 entree and I done a number of the displays for the entres and I comment an entree with inline_comment_and_rate=3 or 1,2....

There will be a bug of the display for the skin.

can you see please, thanks.

obmob
03-31-2009, 11:04 PM
Oh... so, no good idea to upgrade to 3.8.2? O__O

abdelghani68
04-01-2009, 03:24 AM
Oh... so, no good idea to upgrade to 3.8.2? O__O

there works very good for me in 3.8.1 (I didn't test with 3.8.2).

AndrewD
04-01-2009, 04:38 AM
Andrew, i have just upgraded vb3.8.1 to vb 3.8.2 and have now lost the profile boxes for hits and entries any idea how to reinstate them? pm'd you access details if you need them.

The problem was not in the upgrade to 3.8.2. When I told you the phrase names for these profile box titles, I forgot to check whether the code would correctly handle a change made *on the fly*. I have patched the two LDM plugins on your site and it seems to be working correctly now. Sorry about that.

pooslokka
04-01-2009, 05:50 AM
Blank pages are often a sign that there has been a 'system' error, but a standard vbulletin settings has prevented the error message from being displayed. A first thing to go to your vb/admin/options/Cookies and HTTP Header Options and turn off the option GZIP HTML Output. See if you then get an error message or still get a blank screen. If there is an error message, post it here.

Otherwise, it gets more difficult to debug what is happening. The file size (800K) should not be a problem. I don't know which version of LDM you are using - version 2.2.9-post 1 does not apply the size limits in the vb/cp/attachments table; 2.2.9-post 3 does check (but only the overall filesize, not the image dimensions). In any case, I cannot reproduce this problem myself with either 2.2.9-post1 or 2.3.0-beta.

Hai andrewD,

A first thing to go to your vb/admin/options/Cookies and HTTP Header Options and turn off the option GZIP HTML Output.

I did that, still same blank page :mad:

i use LDM 2.2.9

pooslokka
04-01-2009, 05:54 AM
Don't you have any limits on your server config?

Maybe the images are too big to upload.

Capacity wise the size is well ok. not sure about the Height and Width limitaions in server settings. but in vbulleting attachments options, the dimention of the image limitation has set to any.

sparklywater
04-01-2009, 12:31 PM
Andrew, I'd be grateful if you can let me know how to make the following change to my LDM setup. I know that currently the 'can_access_link' permission prevents users from accessing ALL links in a given category. However, I want to change this so that the permission affects all links EXCEPT those that are playable in a media player, ie. those that are played by the LDM Jukebox. In other words, those who have the 'can_access_link' permission set to false should still be able to access a media file which is played by LDM. I'm quite sure that this is possible using conditionals in some function, but I don't know what code-edits to make.

Simon Lloyd
04-02-2009, 08:14 PM
The problem was not in the upgrade to 3.8.2. When I told you the phrase names for these profile box titles, I forgot to check whether the code would correctly handle a change made *on the fly*. I have patched the two LDM plugins on your site and it seems to be working correctly now. Sorry about that.Andrew, as ever thanks for the great support, no sorry needed ;)

abdelghani68
04-03-2009, 12:10 PM
I have a lot of miniatures empty in my server. I think it's the images of the audio. It will be good if we can desactive the minatures for the audio.

Thanks very mush

AndrewD
04-04-2009, 03:20 PM
Andrew, I'd be grateful if you can let me know how to make the following change to my LDM setup. I know that currently the 'can_access_link' permission prevents users from accessing ALL links in a given category. However, I want to change this so that the permission affects all links EXCEPT those that are playable in a media player, ie. those that are played by the LDM Jukebox. In other words, those who have the 'can_access_link' permission set to false should still be able to access a media file which is played by LDM. I'm quite sure that this is possible using conditionals in some function, but I don't know what code-edits to make.

This is not straightforward, because there are checks on can_access_link in several places/files, precisely to stop people from bypassing the control. Not all those checks take place in situations where the code is aware of the entry's type. I am reluctant to spent the time to work out how to modify things, particularly since these changes would need to be re-thought with each subsequent release.

abdelghani68
04-06-2009, 02:14 PM
Hi

I have featur request please :

We can use highslide for the pictures

If we have a long description for an entree, we can put it in a page and these page opened when we clik in a picture.

And there is a little picture for go in the discussion of the entree.

I think the pictures that I said can will put near that :

https://vborg.vbsupport.ru/ (http://www.monsterup.com/)

In vbadvanced, for the module ldm_new.php, ldm_hot.php and ldm_random.php : when an entree change, the color of the line change. The color don't change when the line change. The module ldm_new.php works good.

Thanks very mush.

vbboarder
04-06-2009, 04:05 PM
Hi

I have featur request please :

We can use highslide for the pictures

If we have a long description for an entree, we can put it in a page and these page opened when we clik in a picture.

And there is a little picture for go in the discussion of the entree.

I think the pictures that I said can will put near that :

http://www.monsterup.com/upload/1239029200189.jpg (http://www.monsterup.com/)

In vbadvanced, for the module ldm_new.php, ldm_hot.php and ldm_random.php : when an entree change, the color of the line change. The color don't change when the line change. The module ldm_new.php works good.

Thanks very mush.
Hi abdelghani,

Andrew has already implemented 2 image viewers: lightbox and shadowbox. Lightbox is an older version, but shadowbox was recently implemented with many features (besides pics, can play audio & video files). You can also have a thumbnail in the entry; click on the title to see the full image. Is there a reason why you want highslide and not shadowbox? Andrew probably has a backlog of issues to deal with, so implementing another image viewer when shadowbox works fine is probably very low priority.

abdelghani68
04-06-2009, 04:45 PM
Hi vbboarder

I am with you in what you say. It's right.
Shadowbox is very good product and works with no problem.

(I like highslide for her speed in opening a picture).

abdelghani68
04-07-2009, 09:16 AM
Hi Andrewd

Sorry, I have forget to ask in my featur request :

For the module ldm_newcats, there is the option :

"Comma-separated list of category ids to search. Leave blank to search all categories"

Otherwise, I can not find things missing. This product is great !

thanks!

abdelghani68
04-08-2009, 07:47 AM
The "Wimpy" extras may need to be updated also to work with the new Wimpy registration codes and flash player 10 requirements. And it will be possible to use wasp inline ?

Thanks very mush.

abdelghani68
04-11-2009, 10:21 AM
In vbadvanced, for the module ldm_new.php, ldm_hot.php and ldm_random.php : when an entree change, the color of the line change. The color don't change when the line change. The module ldm_new.php works good.

Thanks very mush.

I think what is the origin of this probleme : It is when the enter has a number for the displays...

The categories haven't number (all=1) for displays and there isn't probleme with the display of theme in vbadvanced.

thanks

abdelghani68
04-13-2009, 03:40 PM
Hi AndrewD

Sometimes when I open a file PDf with firefox, I see a page (of the file pdf) empty...

thanks

AndrewD
04-14-2009, 04:20 AM
I think what is the origin of this probleme : It is when the enter has a number for the displays...

The categories haven't number (all=1) for displays and there isn't probleme with the display of theme in vbadvanced.

thanks

I've worked out how to fix this, and it will be corrected in the next release (I hope in a few days :))

AndrewD
04-14-2009, 04:24 AM
The "Wimpy" extras may need to be updated also to work with the new Wimpy registration codes and flash player 10 requirements. And it will be possible to use wasp inline ?

Thanks very mush.

This is true, but I think I have to buy a new Wimpy licence to provide support for this (at least for more than 15 days) - does anyone use Wimpy instead of the JW player??

Simon Lloyd
04-14-2009, 09:52 AM
..... next release (I hope in a few days :))Great news Andrew, i can't wait! :)

abdelghani68
04-14-2009, 12:38 PM
This is true, but I think I have to buy a new Wimpy licence to provide support for this (at least for more than 15 days) - does anyone use Wimpy instead of the JW player??

Yes I use Wimpy instead of the JW player, can I help you ?

itsblack
04-17-2009, 10:49 AM
Hi Andrew, I'm so glad you're back.

I have problem with Main category listing.

As you know, I have a big ldm database with many categories, so the outlook with the present way of main category listing is quite uncomfortable. Is there any way to let the main category listing have a good formatting? At the moment the categories were splitted by space but not table, that make it difficult to find things if you have a lot of subcategories.

And it will be better, if you can consider the display order. Such as beginn with a new line.

AndrewD
04-18-2009, 06:19 AM
Hi Andrew, I'm so glad you're back.

I have problem with Main category listing.

As you know, I have a big ldm database with many categories, so the outlook with the present way of main category listing is quite uncomfortable. Is there any way to let the main category listing have a good formatting? At the moment the categories were splitted by space but not table, that make it difficult to find things if you have a lot of subcategories.

And it will be better, if you can consider the display order. Such as beginn with a new line.

I see your problem.

I can easily offer these options:
a) line break on change in sub category display order
b) admin-selectable 'highlight' characters between subcategories, e.g. bullet marks
c) a style setting in the template to force a wider margin between lines

See example, in which all of these are enabled (10px line spacing)

Let me know if you have other thoughts/if these seem ok.

itsblack
04-18-2009, 10:22 AM
I see your problem.

I can easily offer these options:
a) line break on change in sub category display order
b) admin-selectable 'highlight' characters between subcategories, e.g. bullet marks
c) a style setting in the template to force a wider margin between lines

See example, in which all of these are enabled (10px line spacing)

Let me know if you have other thoughts/if these seem ok.
Thank you very much. It's OK.

afrodiz
04-19-2009, 01:18 AM
THANK A LOT AndrewD FOR THIS GREAT HACK!
The best way to make a VB Audio/Video Directory
I was looking for this ONE!

Working fine to vb 3.8
Merci aussi pour la traduction Francaise.

pooslokka
04-19-2009, 08:01 AM
Hai andrewD,

A first thing to go to your vb/admin/options/Cookies and HTTP Header Options and turn off the option GZIP HTML Output.

I did that, still same blank page :mad:

i use LDM 2.2.9

Hai andrew,

this is the image causing the problem
http://img25.imageshack.us/img25/2229/kangaroopissuposoa.jpg

can you pls login to our site and try to upload this image in the catogary ill pm ?
ill also pm you a moderator account.

Hope you will help to solve this issue :)

AndrewD
04-19-2009, 01:47 PM
Hai andrew,

this is the image causing the problem
http://img25.imageshack.us/img25/2229/kangaroopissuposoa.jpg

can you pls login to our site and try to upload this image in the catogary ill pm ?
ill also pm you a moderator account.

Hope you will help to solve this issue :)

I have a suspicion that the problem is caused by running out of memory when creating the thumbnail.

For some reason that I do not understand, even though your file is less that 1Mb in size, the php function that converts it to a thumbnail grabs 39Mb in order to do the job. If your php installation sets a lower value of memory_limit than this (check vb/admincp/php info, then your php.ini file), LDM fails with a blank screen. You are the first person to discover this problem in 5 years, I think:)

On my test system, everything works fine with your image (which is beautiful, by the way) when memory_limit is set to 40Mb and higher. I would recommend a value of 64Mb or more.

Let me know if this solves the problem.

sava700
04-20-2009, 04:24 PM
Andrew, this mod works great and thanks again for the help a while back.

I do have two questions.

Is there a way to set permissions to only one file and not all of them? I'd like to force you to register to get only one file but leave the others up for whoever for example.

Otherwise if not where can I edit the error message when someone goes to download something and I've got those groups set not to be able to download anything beyond 0kb? I'd like to edit that message to say that they need to join the site/forums to be able to get unlimited downloads etc...

Thanks

obmob
04-20-2009, 09:42 PM
Hmm... anyone has an idea on how to add multiple entries to LDM, i want to upload a series of images, and i'l lazy to add one by one, since it is the same data, only the file changes :p

I used to do this using CVS files, but i can't make XML work, I tried making a XML file like:

<?xml version="1.0" encoding="iso-8859-1"?>

<LDM>
<links>
<link linkid="365"...
</links>
</LDM>


When it is supposed to read the link, i get error while importing the file, and i just saw there is no category attached directly to the linkid, so it seems i'd have to add also something related to "linkcats" and "ltoc" :(

Either way, do you know an easy way to add multiple entries? :D

Still running 2.2.9
thanks!

AndrewD
04-21-2009, 03:39 AM
Andrew, this mod works great and thanks again for the help a while back.

I do have two questions.

Is there a way to set permissions to only one file and not all of them? I'd like to force you to register to get only one file but leave the others up for whoever for example.

Otherwise if not where can I edit the error message when someone goes to download something and I've got those groups set not to be able to download anything beyond 0kb? I'd like to edit that message to say that they need to join the site/forums to be able to get unlimited downloads etc...

Thanks

1) This is done using the 'associated forum' mechanism built into LDM. You need either to create/choose an existing forum which has the required user group permissions. You then edit the entry which you want to be restricted, and you set its associated forum to that forum. Then, your users have to be members of one of the usergroups which has access to the forum in order to download the file.

2) This message comes from the phrase <<ll_error_allowances>>. Go to vb/admincp/languages and phrases and find/edit that phrase

AndrewD
04-21-2009, 03:49 AM
Hmm... anyone has an idea on how to add multiple entries to LDM, i want to upload a series of images, and i'l lazy to add one by one, since it is the same data, only the file changes :p

I used to do this using CVS files, but i can't make XML work, I tried making a XML file like:

<?xml version="1.0" encoding="iso-8859-1"?>

<LDM>
<links>
<link linkid="365"...
</links>
</LDM>


When it is supposed to read the link, i get error while importing the file, and i just saw there is no category attached directly to the linkid, so it seems i'd have to add also something related to "linkcats" and "ltoc" :(

Either way, do you know an easy way to add multiple entries? :D

Still running 2.2.9
thanks!

Indeed, your xml file needs to contain at least the linkcats, links and ltoc sections. I attach a sample file which will create a new category called Videos 2 with a set of entries.

Note the catid, linkid and ltocid values that you give can have arbitrary values, just as long as you are consistent.

AndrewD
04-21-2009, 03:26 PM
Code reuploaded: see this post.

I am pleased to provide a new version of LDM for testing and your reaction. This is nominally the release candidate code for version 2.3.0, and should work fully with VB 3.7 and 3.8. These are the main changes since the 2.3.0 beta.

+ Additional attributes
Attribute group names starting with * are replaced by the corresponding vb phrase when displayed on user pages

+ Admin/Hits
Added option to sort hit records in ascending and descending order

+ Admin/Import and Export
Added option to use import xml to update names/descriptions of existing entries
Removed csv export option

+ Caching
Infrastructure added to support caching of display bits
Caching enabled for vba modules; base category bit; hit parades; and explorer, tagcloud 'extras'

+ Mass Edits
Included submitting username in mass edit linkbit
Added option to mass edit all enties by given user

+ vbAdvanced modules
Modified templates to display short entry names and correct pagenavs and avoid unwanted plain borders

+ File uploads
Reworked logic to use a) vb attachments/permissions, then b) ldm upload_filetypes (if set) otherwise vb attachments/enabled
to determine which filetypes users can uploads

+ Extras
Add_mimetypes: Added tif file extension
ID3 enhancements: Fixed admin scan
JWplayer: Added option to insert linkbit image above media player for mp3 files
Enabled JW inline player for media attributes
Updated getid3 library to version 1.7.9
Updated JW player to version 4.4
Shadowbox: Fixed parameter settings and execution order
Updated SWFUploader to version 2.2.0 (works with Flash 10)
Updated Wimpy players to latest versions (works with Flash 10) (NB: requires new licence and registration code)

+ Bug fixes
Fixed admin/debug page so as to work correctly with IE.
Fixed sql error when editing comments that contain quotation marks
Fixed category handling bugs when category names are not unique
Fixed Ajax keyword suggestions
Fixed RealPlayer template to remove stuttering on startup
Fixed human verification settings for VB3.8
Fixed highlighting of favourites/nominations in base category
Fixed parentage of subcategories when changing category's parent
Fixed bug when handling corrupt catagory parentage
Fixed blank screen bug when image display code runs out of memory
Refixed bugs when *cat_desc_popup* is set ;)
Restored facility to play/download files after vb admin disables filetype

+ Translations
Directory structure changed (phrases and product translations moved) to reduce size of main release file

Please treat this with care - I have tried to test as much as possible, but it is no longer possible to test everything.

abdelghani68
04-21-2009, 04:55 PM
Hi andrew

thanks very good job ! Installed.

In vbadvanced :

LDM_cats.php : The display isn't good if I do 2 columns

Is it possible please to have more caracters displays for the title of the entree in ldm_new.php ?

Feature request for ldm_new_cats.php : the option "Include page navigator" and "Comma-separated list of category ids to search. Leave blank to search all categories"

Wimpy button :

I have put the licence in the admincp ldm but there is write demo when I play an audio...

And how to use wimp player and wimpy wasp ? (I have put the licence in the wasp.js).

It will be good if JW player is active for the library, we can choose to use wimply player in vbadvanced for some module that we want (when the module is in the right of the left, wimpy player can works very good because he is small). But if the module is in the center, we use jw player.

thanks very mush

abdelghani68
04-21-2009, 06:17 PM
The module that I would like we can use only in vbadvanced (with wimpy bouton) when the jw player is active are :

ldm_hot.php, ldm_random.php and ldm_new.php

For the oder modules and in the library it's jw player who works

thanks

obmob
04-21-2009, 08:01 PM
Indeed, your xml file needs to contain at least the linkcats, links and ltoc sections. I attach a sample file which will create a new category called Videos 2 with a set of entries.

Note the catid, linkid and ltocid values that you give can have arbitrary values, just as long as you are consistent.OH! It seems i was missimg some code :eek:

Thank you Andrewm i'll test it, and thanks for releasin 2.3.0 RC
Will take a look at the spanish translation. :D

itsblack
04-21-2009, 09:30 PM
Andrew, thank you for the update. Here is the updated chinese translation.

AndrewD
04-22-2009, 06:52 AM
In vbadvanced :
LDM_cats.php : The display isn't good if I do 2 columns


My mistake, will fix. (Getting the templates to work properly for single and multicolumn display has been a real pain...)


Is it possible please to have more characters displays for the title of the entree in ldm_new.php ?


This is supposed to be controlled by the LDM admin setting *length_shortname*. Unfortunately, I make a mistake in the RC code, and it is actually controlled by *length_shortdesc* at the moment.


Feature request for ldm_new_cats.php : the option "Include page navigator" and "Comma-separated list of category ids to search. Leave blank to search all categories"


Will implement


Wimpy button :

a) I have put the licence in the admincp ldm but there is write demo when I play an audio...

b) And how to use wimp player and wimpy wasp ? (I have put the licence in the wasp.js).

c) It will be good if JW player is active for the library, we can choose to use wimply player in vbadvanced for some module that we want (when the module is in the right of the left, wimpy player can works very good because he is small). But if the module is in the center, we use jw player.


a) Have you cleared the browser cache? Does you site have the right url for the wimpy button registration code? (If you register the licence for sitename.fr, then it will work on all sites xxx.sitename.fr) Is the registration code for this version of the wimpy button?

Installing the registration code works fine for me.

b) Have you read the instructions in the extras/wimpy directory? You edit wimpy.js or wasp.js to include the registation code, and install the plugin in the normal way.

AndrewD
04-22-2009, 06:55 AM
The module that I would like we can use only in vbadvanced (with wimpy bouton) when the jw player is active are :

ldm_hot.php, ldm_random.php and ldm_new.php

For the oder modules and in the library it's jw player who works

thanks

I think you are asking me to do a little too much work:).

abdelghani68
04-22-2009, 09:35 AM
I think you are asking me to do a little too much work:).

I am very sorry. I like your product but it's just simple suggestions if you want.

For wimpy, I will see more.

The product works very good for me in 3.8.2.

Thanks.

vbboarder
04-22-2009, 06:59 PM
Thanks for the update Andrew, especially VBA/ displaybits caching.... now LDM pages should load efficiently.

ShawnV
04-23-2009, 03:09 AM
Yes, Thank you for the update Andrew. Much appreciated.

_V

AndrewD
04-23-2009, 06:09 AM
The module that I would like we can use only in vbadvanced (with wimpy bouton) when the jw player is active are :

ldm_hot.php, ldm_random.php and ldm_new.php

For the oder modules and in the library it's jw player who works

thanks

This turned out to be easier than I expected. There will be a new 'extra' (vba-media) in the next upload which allows you to control which columns the JWplayer and Wimpy Button media players are active, along with fixes to the vba templates.

abdelghani68
04-23-2009, 11:03 AM
Thanks very mush for your works.

there is a little bug with the moidule ldm_cats.php in internet explorer :

http://www.monsterup.com/upload/1240488149986.jpg

Simon Lloyd
04-24-2009, 02:40 PM
Attached is the RC version of 2.3.0 (see this post for full details), patched to fix the problems reported so far (i.e. with vbA modules), and with the Chinese translation included.Andrew, i've not upgraded to this RC yet, i will later tonight, on upgrade will all my previous settings etc still be in place?

Also, i have to say what a huge amount of work you have gone to, i just checked out all those extras that you have worked on - simply fantastic! :)

pooslokka
04-24-2009, 03:06 PM
I have a suspicion that the problem is caused by running out of memory when creating the thumbnail.

For some reason that I do not understand, even though your file is less that 1Mb in size, the php function that converts it to a thumbnail grabs 39Mb in order to do the job. If your php installation sets a lower value of memory_limit than this (check vb/admincp/php info, then your php.ini file), LDM fails with a blank screen. You are the first person to discover this problem in 5 years, I think:)

On my test system, everything works fine with your image (which is beautiful, by the way) when memory_limit is set to 40Mb and higher. I would recommend a value of 64Mb or more.

Let me know if this solves the problem.

ou are the first person to discover this problem in 5 years, I think
oh great ;)

btw, ill check the information you gave and reply you asap
Thank you andrewD for the kind corporation :)

abdelghani68
04-24-2009, 03:14 PM
Thanks the rc2 works very good.

I will contact "wimpy" because I don't understand why it's write "buy" and I have the licence for wimpy buton 4.0

AndrewD
04-24-2009, 03:23 PM
Andrew, i've not upgraded to this RC yet, i will later tonight, on upgrade will all my previous settings etc still be in place?

Also, i have to say what a huge amount of work you have gone to, i just checked out all those extras that you have worked on - simply fantastic! :)

On upgrade, most settings (and all internal LDM settings) stay intact and transfer over directly. You need to be careful with the following:

- installed extras are automatically uninstalled by vbulletin during a product upgrade, so you need to reinstall them. Their settings are kept intact, however.

- on the other hand, vbadvanced modules remain installed, and may not work properly after the upgrade, so need to be reinstalled because of the improvements made for 2.3.0

Your comments on the extras are appreciated. As you say, people have looked for a lot of special features over the years. The interesting point (apart from the functions that these add) has been to develop an infrastructure which does not get broken and does not require too much 'jumping through hoops' to get the job done. The awkward beasts tend to be some of the media players.

abdelghani68
04-24-2009, 07:52 PM
The wimpy button works now.

I woul'd like to do a playlist with jw player, how can I do that please ?

I have add xml as a filetype and mimetype to the VB attachments table

What is the code that I must to put in the file .xml please ?

thanks.

abdelghani68
04-25-2009, 11:14 AM
Thanks very mush.

But sorry, what I must do with the file links_playerbit_JWPlayer ?

I have imported it but there is an error :

Error XML : Mismatched tag in the line 7.

thanks

AndrewD
04-25-2009, 01:22 PM
Thanks very mush.

But sorry, what I must do with the file links_playerbit_JWPlayer ?

I have imported it but there is an error :

Error XML : Mismatched tag in the line 7.

thanks

Perhaps I should not have given it an xml extension. The file just contains the template. Open the file with a text editor and copy/paste it as the links_playerbit_JWPlayer template (admin cp/styles and templates)

sparklywater
04-25-2009, 01:35 PM
Again my visitors are getting database error messages when trying to access LDM pages. I'm convinced this has something to do with LDM because it almost invariably gives error-messages on access to LDM pages. Here is an example:

Database error in vBulletin 3.7.2:

Invalid SQL:

SELECT
link.linkid AS linkid, link.linkname AS linkname, link.linkdoi AS linkdoi,
link.linkuserid AS linkuserid, link.linkusername AS linkusername,
link.linkurl AS linkurl, link.linkimg AS linkimg,
link.linkimgthumb AS linkimgthumb, link.linkimgthumbsize AS linkimgthumbsize, link.linkforum AS linkforum,
link.linkdesc AS linkdesc, link.numrate AS numrate, link.totrate AS totrate,
link.linkhits AS linkhits, link.linksize AS linksize, link.linkstatus AS linkstatus,
link.linkdate AS linkdate, link.linkmoderate AS linkmoderate, link.linkmoddate AS linkmoddate,
link.linkreviewfreq AS linkreviewfreq,
ltoc.catid AS linkcatid, ltoc.displayorder AS linkdorder
, user.*, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight


, lkeys.keyword AS linkkey
FROM local_linkslink AS link
LEFT JOIN local_linksltoc AS ltoc ON link.linkid = ltoc.linkid
LEFT JOIN user AS user ON (user.userid = link.linkuserid)
LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar AS customavatar ON (customavatar.userid = user.userid)

LEFT JOIN local_linksltok AS ltok
ON link.linkid = ltok.linkid
LEFT JOIN local_linkskeys AS lkeys
ON ltok.keyid = lkeys.keyid
WHERE link.linkforum NOT IN (0) AND ltoc.catid = '15' AND link.linkmoderate = 0
ORDER BY linkdorder ASC, linkdate ASC, linkname ASC, linkcatid ASC;

MySQL Error : Got error 28 from storage engine
Error Number : 1030
Request Date : Saturday, April 25th 2009 @ 10:53:30 AM
Error Date : Saturday, April 25th 2009 @ 10:53:30 AM
Script : http://www.sparklywater.com/category/15.html
Referrer : http://www.sparklywater.com/
IP Address : 83.101.150.115
Username : Unregistered
Classname : vB_Database
MySQL Version :

AndrewD
04-25-2009, 02:40 PM
Again my visitors are getting database error messages when trying to access LDM pages. I'm convinced this has something to do with LDM because it almost invariably gives error-messages on access to LDM pages. Here is an example:

Database error in vBulletin 3.7.2:

Invalid SQL:

SELECT
link.linkid AS linkid, link.linkname AS linkname, link.linkdoi AS linkdoi,
link.linkuserid AS linkuserid, link.linkusername AS linkusername,
link.linkurl AS linkurl, link.linkimg AS linkimg,
link.linkimgthumb AS linkimgthumb, link.linkimgthumbsize AS linkimgthumbsize, link.linkforum AS linkforum,
link.linkdesc AS linkdesc, link.numrate AS numrate, link.totrate AS totrate,
link.linkhits AS linkhits, link.linksize AS linksize, link.linkstatus AS linkstatus,
link.linkdate AS linkdate, link.linkmoderate AS linkmoderate, link.linkmoddate AS linkmoddate,
link.linkreviewfreq AS linkreviewfreq,
ltoc.catid AS linkcatid, ltoc.displayorder AS linkdorder
, user.*, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight


, lkeys.keyword AS linkkey
FROM local_linkslink AS link
LEFT JOIN local_linksltoc AS ltoc ON link.linkid = ltoc.linkid
LEFT JOIN user AS user ON (user.userid = link.linkuserid)
LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar AS customavatar ON (customavatar.userid = user.userid)

LEFT JOIN local_linksltok AS ltok
ON link.linkid = ltok.linkid
LEFT JOIN local_linkskeys AS lkeys
ON ltok.keyid = lkeys.keyid
WHERE link.linkforum NOT IN (0) AND ltoc.catid = '15' AND link.linkmoderate = 0
ORDER BY linkdorder ASC, linkdate ASC, linkname ASC, linkcatid ASC;

MySQL Error : Got error 28 from storage engine
Error Number : 1030
Request Date : Saturday, April 25th 2009 @ 10:53:30 AM
Error Date : Saturday, April 25th 2009 @ 10:53:30 AM
Script : http://www.sparklywater.com/category/15.html
Referrer : http://www.sparklywater.com/
IP Address : 83.101.150.115
Username : Unregistered
Classname : vB_Database
MySQL Version :

MySQL error 28 means "No space left on device". I.e. your server has a close-to-full disk, or something similar.

abdelghani68
04-25-2009, 03:04 PM
Perhaps I should not have given it an xml extension. The file just contains the template. Open the file with a text editor and copy/paste it as the links_playerbit_JWPlayer template (admin cp/styles and templates)

I have changed the template but now, it's write "install flash player". Flash player is correctly installed.

AndrewD
04-25-2009, 03:31 PM
I have changed the template but now, it's write "install flash player". Flash player is correctly installed.

Send me a PM with your site details and an account with vb admin privs. Otherwise we're going to spend forever on this.

Been Told
04-25-2009, 04:36 PM
Sorry if this has been posted already, but the umlauts in the german translation don´t work and should be replaced with their respective HTML codes. I.e. ä = &auml; Ü = &Uuml; and so on.
I have done this. Please find the updated file attached.

MissKalunji
04-25-2009, 04:58 PM
welcome back andrew :)

AndrewD
04-26-2009, 05:18 AM
Sorry if this has been posted already, but the umlauts in the german translation don?t work and should be replaced with their respective HTML codes. I.e. ? = &auml; ? = &Uuml; and so on.
I have done this. Please find the updated file attached.

Thanks for this.

I think the problem is to do with utf8 and latin1 character encodings, and we keep getting different messages from German sites as to the preferred approach.

As far as I understand (I may be wrong), the released translation displays correctly when the board's database tables are utf8 and the vb language HTML character set is also set to utf8. However, if the tables are latin 1 or the vb language HTML character set is to ISO-8859-1, then one needs to spell out the umlauts, etc, using the latin-1 escapes. Spelling them out will always work (including with a full utf8 board), so it may be the best approach. I'd welcome other people's comments.

AndrewD
04-26-2009, 05:18 AM
welcome back andrew :)

It's nice to be here :)

abdelghani68
04-26-2009, 08:28 AM
Send me a PM with your site details and an account with vb admin privs. Otherwise we're going to spend forever on this.

thanks very mush for your job. It works very good now.

abdelghani68
04-26-2009, 09:26 AM
as usual, I have suggestion... But if it's a lot of works, you can ignore it please.

When wimpy butons is active, we can open the audio in the jukebox when we visit the entree with clic in the link (because in the lecteur we have the option for do back and advance...).

We can have the playlist with wimpy (http://www.wimpyplayer.com/examples/mp3/skin_itunes7.html)as jw player.

Take your time, I know the priority now, it's to the version 2.3 of LDM.

Thanks very mush.

AndrewD
04-26-2009, 03:08 PM
as usual, I have suggestion... But if it's a lot of works, you can ignore it please.

When wimpy butons is active, we can open the audio in the jukebox when we visit the entree with clic in the link (because in the lecteur we have the option for do back and advance...).

We can have the playlist with wimpy (http://www.wimpyplayer.com/examples/mp3/skin_itunes7.html)as jw player.

Take your time, I know the priority now, it's to the version 2.3 of LDM.

Thanks very mush.

Thanks. I take note, but as you say, the priority is to finish version 2.3.0.

1) You can do this quite easily yourself (if you feel adventurous). Edit (vb admincp) the plugin "Links and Downloads Manager - Use Wimpy Button to play mp3 media" which is attached to the "ldm_linkbit_create" hook. Find the line which reads
$linkurljump = $linkname; and put two // at the front of the line, i.e. // $linkurljump = $linkname;


2) Be aware that Wimpy's playlists do not use the same format as JWPlayer.

abdelghani68
04-26-2009, 03:52 PM
okay thanks, I will do that.

I have a little problem. Wasp doesn't works for me. I don't understand why it's write : Extra; currently not installed, but I have imported the plugin wimpyplayer-flash-plugin.

Can you help me please ?

Alfa1
04-26-2009, 09:18 PM
Regarding the ldm_forumstats plugin: I would like to show how many GB of files I have in my file archive. How can I add this? Could you add this function to a forthcoming release?

Does anyone know how to add 'files to moderate' and 'comments to moderate' to the vbulletin notifications menu?

I am using some categories as main categories(similar to forum categories, which hold only forums, no threads). The only solution for this that I have found, is close a category. Unfortunately, that will show a message: 'This category is closed for posting'. My members conclude that all children are closed as well and stop uploading to the category. Is there a better solution?
Could you please add a function to have main categories?

AndrewD
04-27-2009, 04:22 AM
okay thanks, I will do that.

I have a little problem. Wasp doesn't works for me. I don't understand why it's write : Extra; currently not installed, but I have imported the plugin wimpyplayer-flash-plugin.

Can you help me please ?

Fixed and tested on your site.

abdelghani68
04-27-2009, 08:14 AM
Fixed and tested on your site.


It works very good now. Thanks.

AndrewD
04-27-2009, 10:06 AM
Regarding the ldm_forumstats plugin: I would like to show how many GB of files I have in my file archive. How can I add this? Could you add this function to a forthcoming release?

will be in the next 2.3.0 release

Does anyone know how to add 'files to moderate' and 'comments to moderate' to the vbulletin notifications menu?

an extra to display some LDM stats on the admincp will be available with the next 2.3.0 release

I am using some categories as main categories(similar to forum categories, which hold only forums, no threads). The only solution for this that I have found, is close a category. Unfortunately, that will show a message: 'This category is closed for posting'. My members conclude that all children are closed as well and stop uploading to the category. Is there a better solution?
Could you please add a function to have main categories?

Good point. For the time being, the easiest solution is to move the "closed" message from the category title bar to the entries title bar, and this will be done in the next 2.3.0 release.

Alfa1
04-28-2009, 09:04 AM
Many thanks Andrew.

twista46
04-28-2009, 11:43 AM
hello screen or demo?

AndrewD
04-28-2009, 01:22 PM
hello screen or demo?

Try the on-line wiki, url in the header post.

abdelghani68
04-28-2009, 08:23 PM
I think an option will be good if it's possible :

"Subscribe to This categorie"

thanks

abdelghani68
04-29-2009, 07:23 PM
I have see that we can limit the download for the guests in a day and it works very good. But the favorites and nominations doesn't works for theme (it works but there isn't difference for the guests, if a guest put the entree "a" as favorite for exemple, all of the other guests will see the entree "a" as favorit for theme.

itsblack
04-29-2009, 10:47 PM
Hi Andrew, I found a small problem with display of the menu option "What's New". (local_links_search.php?action=find&catid=-8)

At the moment the shown items was limited by the parameter from "links_seen_on_portal", but I thought it was unnecessary to limit this one.

I set this parameter with 20, so the stats at the right side had a good look. But it was not good for "What's New", 20 was too less.

I hope you can change this setting in 2.3.0, or may be you can tell me how to fix it myself. Thanks a lot.

AndrewD
04-30-2009, 04:55 AM
I have see that we can limit the download for the guests in a day and it works very good. But the favorites and nominations doesn't works for theme (it works but there isn't difference for the guests, if a guest put the entree "a" as favorite for exemple, all of the other guests will see the entree "a" as favorit for theme.

If I understand you correctly, you are asking that LDM can recognise different guest users. Unfortunately, all guests are considered (by the vBulletin infrastructure) to have the same userid. The only other way to distinguish people is by their IP address, but this is not reliable - IP addresses change for the same computer and people use different computers. So I can't see a way to allow guest users to create their own personal favourites and nominations (or have their own allowances). Surely the better approach is to get them to register?

AndrewD
04-30-2009, 04:56 AM
Hi Andrew, I found a small problem with display of the menu option "What's New". (local_links_search.php?action=find&catid=-8)

At the moment the shown items was limited by the parameter from "links_seen_on_portal", but I thought it was unnecessary to limit this one.

I set this parameter with 20, so the stats at the right side had a good look. But it was not good for "What's New", 20 was too less.

I hope you can change this setting in 2.3.0, or may be you can tell me how to fix it myself. Thanks a lot.

I agree, there is no reason to restrict this list. It should be paginated. I'll see what I can do.

AndrewD
05-01-2009, 03:16 PM
I think this is the final 2.3.0 code. There are a few changes since the release candidates, according to requests received:

+ Main display
Moved 'category closed' message from category bar to entry bar
+ 'Show...'
No longer limits number of 'What's Hot/What's New' entries to *links_seen_on_portal*
+ Extras
patch-admincp adds LDM statistics to the vB admincp
Changed the patch-forumhome extras to use $template_hook instead of requiring template edits
Changed WimpyButton to use its javascript interface, enables pausing of multiple players
+ Bug fixes
Fixed moderation of new categories submitted by non-moderators
Fixed xml playlist handling for JWPlayer
Fixed templates for multicolumn settings of vbAdvanced modules
Fixed admin import/export of material containing html entities
Fixed admin import/export of keywords

Those who use the WimpyButton and/or other Wimpy players - there have been some changes to the directories in which the various files are held, and the registration code for the WimpyButton is now entered in the Javascript file rather than via the LDM 'extra'. Please take a look at the 'readme.txt' file.

I will be very grateful for updated French, German, Dutch and Spanish translations.

Reports please - I would like to make this the official release in a few days.

abdelghani68
05-01-2009, 04:30 PM
Thanks for this new version. Installed but I don't see the button of wimpy in the portal and in the library.

I have put correctly the registrations code. Jw player isn't active for mp3. Wimpy player isn't active.

I haven't modified the var wimpySwf = "clientscript/wimpy/wimpy_button.swf

Vbadvanced :

www.home.fr/index.php (http://www.home.fr/index.php)

Clientscript wimpy :

www.home.fr/forum/clientscript/wimpy (http://www.home.fr/forum/clientscript/wimpy)

I must modifie the var wimpySwf ?

thanks

AndrewD
05-01-2009, 05:31 PM
Thanks for this new version. Installed but I don't see the button of wimpy in the portal and in the library.

I have put correctly the registrations code. Jw player isn't active for mp3. Wimpy player isn't active.

I haven't modified the var wimpySwf = "clientscript/wimpy/wimpy_button.swf

Vbadvanced :

www.home.fr/index.php (http://www.home.fr/index.php)

Clientscript wimpy :

www.home.fr/forum/clientscript/wimpy (http://www.home.fr/forum/clientscript/wimpy)

I must modifie the var wimpySwf ?

thanks

From what I can see, you did not reinstall the product, nor the plugins. I have done this for you and ask you to check that everything is working.

abdelghani68
05-01-2009, 08:55 PM
<div align="left">Thanks very mush. I am really sorry for the inconvenience. Yet I install and uninstall the plugins of wimpy several times before coming to write here.

Wimpy button works now in the library bur it doesn't works in vbadvanced.
</div>

vbboarder
05-02-2009, 02:40 AM
The 'edit' link next to the parent forum name in the Permissions page just reopens the same default permissions page in a new tab. Shouldn't it open the permissions page specific to that category (ie: local_links.php?action=editcat&catid=1)?

jantequino
05-02-2009, 04:14 AM
Awesome mod!

2 quick questions!

1. How do I remove the "Sort By" dropdown from the entries page
2. How do I force the entries pages to be viewed in Short view everytime the page is refreshed or returned to... Obviously when the user is on the page we want them to be able to expand.... but I don't like the fact that it remembers to always stay expanded... I want each refresh of the page to be put back into short view.

thank you!

AndrewD
05-02-2009, 05:02 AM
Thanks very mush. I am really sorry for the inconvenience. Yet I install and uninstall the plugins of wimpy several times before coming to write here.

Wimpy button works now in the library bur it doesn't works in vbadvanced.


I don't know why the wimpy button is not working any longer on your vbadvanced pages, but will try to find out. The correct (I think :)) code is certainly been loaded on your home page, and the same code seems to work fine on my site. One possible problem - you have many 'addons' installed on your site, and I can see that others also include javascript. It is possible that these are interacting during the page load process - the javascripts have to initialise themselves.

One thing you should be aware of - there are quite a lot of html errors on your generated home page. I don't think that these will be the cause of this problem.

AndrewD
05-02-2009, 05:13 AM
The 'edit' link next to the parent forum name in the Permissions page just reopens the same default permissions page in a new tab. Shouldn't it open the permissions page specific to that category (ie: local_links.php?action=editcat&catid=1)?

Actually it should open the vb admincp forum permissions page. There is a variable missing from a global statement in local_links_admin.php. lines 398 onward should read

function ldm_get_adminforumperms() {
global $vbulletin, $vbphrase, $stylevar;
global $linkscat, $links_defaults, $ldm_usergroup_cache;
global $ADMIN_SCRIPT, $ADMINCP_FORUMPERM_SCRIPT;
global $forum, $linkstats;


Thanks for pointing this out.

AndrewD
05-02-2009, 05:51 AM
1. How do I remove the "Sort By" dropdown from the entries page

This would require a template edit. The links_main template has the following sequence at around line 120:


<if condition="$sortnav or $keyfilterbit">
<td align="$stylevar[left]" valign="top">
<table cellpadding="0" cellspacing="2" border="0">
<if condition="$sortnav">
<tr>
<td align="$stylevar[right]">
<form action="$script.php" method="get">
<input type="hidden" name="s" value="{$vbulletin->session->vars['sessionhash']}" />
<span class="smallfont">
$sortreturnbit $vbphrase[ll_sortby] $sortorderbit
<input type="submit" class="button" name="doit" value="$vbphrase[ll_go]" />
</span>
</form>
</td>
</tr>
</if>
<if condition="$keyfilterbit">
<tr>
<td align="$stylevar[right]">
<form action="$script.php" method="get">
<span class="smallfont">
<input type="hidden" name="s" value="{$vbulletin->session->vars['sessionhash']}" />
$keyreturnbit $vbphrase[ll_keywords_filter] $keyfilterbit
<input type="submit" class="button" name="doit" value="$vbphrase[ll_go]" />
</span>
</form>
</td>
</tr>
</if>
</table>
</td>
</if>



If you change the first line to

<if condition="$keyfilterbit">


that will do the trick.


2. How do I force the entries pages to be viewed in Short view everytime the page is refreshed or returned to... Obviously when the user is on the page we want them to be able to expand.... but I don't like the fact that it remembers to always stay expanded... I want each refresh of the page to be put back into short view.


I can't reproduce this problem. As far as I can see, page refreshes do retain the entries' expand/contract setting, provided cookies are properly enabled.

But, to your main question - how to have the 'short' listing as the default and the standard listing as the alternative. This is quite straightforward with version 2.3.0, possible but requires code edits with 2.2.9.

With version 2.3.0, you first go to the LDM/admincp/linkbits & catbits page, find the links_linkbit_short entry, change the value in the 'collapsed' box from 0 to links_linkbit, and click on 'go' to save the change.

Then go to LDM/admin/settings and set the template_linkbit setting to Short (title, thumb, short description).

This will make the default display 'short' and the alternative 'long'.

Alfa1
05-02-2009, 10:21 AM
Does anyone know how to add 'files to moderate' and 'comments to moderate' to the vbulletin notifications menu?

an extra to display some LDM stats on the admincp will be available with the next 2.3.0 release
It would be optimal if moderators could see if there are files and comments to moderate. Moderators do not have access to the adminCP. I think the notifications menu, which shows how many PM's, VM's, subscribed threads you have, would be optimal for this.


Am I correct to think that LDM has two ways of assigning moderators to a category:

Either by assigning a whole usergroup moderating functionality or by inheritance from forums(which i think also has other effects)?

If this is correct, then could you please add functionality to make specific users, the moderator of a category?

AndrewD
05-02-2009, 11:57 AM
It would be optimal if moderators could see if there are files and comments to moderate. Moderators do not have access to the adminCP. I think the notifications menu, which shows how many PM's, VM's, subscribed threads you have, would be optimal for this.

Noted.


Am I correct to think that LDM has two ways of assigning moderators to a category:

Either by assigning a whole usergroup moderating functionality or by inheritance from forums(which i think also has other effects)?

If this is correct, then could you please add functionality to make specific users, the moderator of a category?

Actually, this functionality already exists as of version 2.2.8. There's a setting moderate_usernames on the admin/settings page, also on Add/Edit category pages, to allow you to specify additional users who can moderate.

The other two groups of moderators you identify are correct.

dealcafe
05-02-2009, 02:42 PM
I have searched and searched to answer this on my own but I am at a loss with attributes so please excuse my newbie question::o
I have added 2 attributes that are required when users enter anything into ldm. However they dont show up during entry for anyone admin included but they show up when editing. Ive double checked permissions etc. Can someone tell me what I am missing?

AndrewD
05-02-2009, 03:36 PM
I have searched and searched to answer this on my own but I am at a loss with attributes so please excuse my newbie question::o
I have added 2 attributes that are required when users enter anything into ldm. However they dont show up during entry for anyone admin included but they show up when editing. Ive double checked permissions etc. Can someone tell me what I am missing?

At a bit of a loss. Just to confirm - you are using version 2.3.0 (I assume because you say that the attributes are required), you have given *can_edit_entities* permission to the required usergroups, and you has set *display_entities* to yes.

I'm happy to take a look at your site if you want, but will need an user id with full admin privs to vbulletin.

dealcafe
05-02-2009, 04:28 PM
At a bit of a loss. Just to confirm - you are using version 2.3.0 (I assume because you say that the attributes are required), you have given *can_edit_entities* permission to the required usergroups, and you has set *display_entities* to yes.

I'm happy to take a look at your site if you want, but will need an user id with full admin privs to vbulletin.

I believe so yes. I will pm you :) Thanks!

quickjump
05-02-2009, 04:30 PM
Hi,

Any idea why I can't add categories? When I try to create a new category and click submit the pages just reloads and I still have 0 categories created.

AndrewD
05-03-2009, 05:00 AM
Hi,

Any idea why I can't add categories? When I try to create a new category and click submit the pages just reloads and I still have 0 categories created.

This may be a problem with system resources. Take a look at your vb admincp - there's a box that reads "Welcome to the vbulletin control panel". One of the messages in there will tell you the PHP Memory Limit. This really needs to be 12Mb or more, depending on how many 'extras' you have installed. (You probably have to contact your server manager to get the value changed.)

If this is not the problem, get back to me and I will try to help.

AndrewD
05-03-2009, 05:01 AM
I believe so yes. I will pm you :) Thanks!

Reply sent. Adding attributes is currently only available with the Add (Single) Entry form, not with the Add multiple form. It's something I still have to sort out.

quickjump
05-03-2009, 06:25 AM
This may be a problem with system resources. Take a look at your vb admincp - there's a box that reads "Welcome to the vbulletin control panel". One of the messages in there will tell you the PHP Memory Limit. This really needs to be 12Mb or more, depending on how many 'extras' you have installed. (You probably have to contact your server manager to get the value changed.)

If this is not the problem, get back to me and I will try to help.


PHP Memory Limit 32.00 MB

Really don't have much installed either.

AndrewD
05-03-2009, 08:11 AM
PHP Memory Limit 32.00 MB

Really don't have much installed either.

Ok. Do you want me to take a look at your site? If so, send me a PM with details of an account that has vbulletin admin privs.

AndrewD
05-03-2009, 12:10 PM
PHP Memory Limit 32.00 MB

Really don't have much installed either.

As per my email:

I saw this problem a few months ago with another site protected using the Suhosin module.

The limits that are being imposed by that module are preventing submission of complex forms. I am not an expert with suhosin, but I think the following settings may be to blame:

suhosin.*.max_array_depth
suhosin.*.max_array_index_length
suhosin.*.max_name_length
suhosin.*.max_totalname_length
suhosin.*.max_value_length
suhosin.*.max_vars

where * is get, post and request.

I think you/your server manager needs to increase each of these values quite significantly and restart your web server.

This is not something I can do for you.

Monja
05-03-2009, 03:53 PM
I got this great module installed and now I try to get familiar with it

I have one question - i want to change the link name from the forum homepage:
http://www.digidesignresort.com/forum

it?s now called freebies and i want to rename it but by hard i don?t find where i can do it... :(( any ideas?

any help is greatly appreciated as i?m now searching for an answer for hours...

AndrewD
05-03-2009, 05:28 PM
I got this great module installed and now I try to get familiar with it

I have one question - i want to change the link name from the forum homepage:
http://www.digidesignresort.com/forum

it?s now called freebies and i want to rename it but by hard i don?t find where i can do it... :(( any ideas?

any help is greatly appreciated as i?m now searching for an answer for hours...

I'm not sure I understand? You just want to change the title 'Freebies' that appears in your main navigation menu? This is done by editing the navbar template, as explained in the Wiki.

But I think I'm misunderstanding your question.

Monja
05-03-2009, 05:46 PM
embarrassing but i must say you are not *lol* it´s just that ... searched the wiki but couldn´t find it ... maybe you could link me up? thanks again andrew!

Monja
05-03-2009, 06:28 PM
andrew,
never mind - i found it must have been blind. thanks!!!

obmob
05-04-2009, 09:07 PM
Hmm... when i tried to test locally in my PC i got this error, what could it be? :eek:

Links and Downloads Manager
Checking installation status...
Currently installed version: 2.2.9
Checking environment...
Environment checked
Creating LDM database tables (1.269 sec)

--------------------------------------------------------------------------------
Step 1 - Verifying database tables
Patching (1) LDM database tables (1.295 sec)
Initialising admin table (1.536 sec)
Patching (2) LDM database tables (2.142 sec)
Adding datastore items (2.146)

Fatal error: Call to undefined function patch_LDMdatastore() in D:\my\site\test\admincpanel\plugin.php(1995) : eval()'d code on line 50

AndrewD
05-05-2009, 06:06 AM
Hmm... when i tried to test locally in my PC i got this error, what could it be? :eek:

Links and Downloads Manager
Checking installation status...
Currently installed version: 2.2.9
Checking environment...
Environment checked
Creating LDM database tables (1.269 sec)

--------------------------------------------------------------------------------
Step 1 - Verifying database tables
Patching (1) LDM database tables (1.295 sec)
Initialising admin table (1.536 sec)
Patching (2) LDM database tables (2.142 sec)
Adding datastore items (2.146)

Fatal error: Call to undefined function patch_LDMdatastore() in D:\my\site\test\admincpanel\plugin.php(1995) : eval()'d code on line 50


could be that you haven't uploaded includes/local_links_admininclude.php correctly :)

AndrewD
05-05-2009, 01:12 PM
Thanks very mush. I am really sorry for the inconvenience. Yet I install and uninstall the plugins of wimpy several times before coming to write here.

Wimpy button works now in the library bur it doesn't works in vbadvanced.


I took another look at your site. I think you need to edit the clientscript/wimpy/wimpy_button.js file, as follows:

Find:
var wimpySwf = "clientscript/wimpy/wimpy_button.swf";
Change to:
var wimpySwf = "/path/to/forum/clientscript/wimpy/wimpy_button.swf";

In your case, this would be:
var wimpySwf = "/forum/clientscript/wimpy/wimpy_button.swf";

This is explained in the 'readme.txt' for the extra (vbadvanced integration), but it's new with this release so I understand why it would be missed.

Le me know if this works for you.

abdelghani68
05-05-2009, 01:28 PM
I took another look at your site. I think you need to edit the clientscript/wimpy/wimpy_button.js file, as follows:

Find:
var wimpySwf = "clientscript/wimpy/wimpy_button.swf";
Change to:
var wimpySwf = "/path/to/forum/clientscript/wimpy/wimpy_button.swf";

In your case, this would be:
var wimpySwf = "/forum/clientscript/wimpy/wimpy_button.swf";

This is explained in the 'readme.txt' for the extra (vbadvanced integration), but it's new with this release so I understand why it would be missed.

Le me know if this works for you.

Thanks very mush Andrew. It works now in the portal and in the library.

abdelghani68
05-05-2009, 01:56 PM
In the style of LDM, I have choose brief, and I think it will be good if we have a "stairs" for see the sub sub categorie when we put the cat_sub_display at 2.

Now we have that : (Categorie 01-b is a sub-categorie of Categorie 01-a)

Categorie 01

*Categorie 01-a Categorie 01-b

And I think it will be better with :

Categorie 01

*Categorie 01-a

***Categorie 01-b

obmob
05-05-2009, 02:09 PM
could be that you haven't uploaded includes/local_links_admininclude.php correctly :)

OMG... somehow I missed to update some files... I'm a n00b, thanks Andrew :D
Now translating spanish phrases

dealcafe
05-05-2009, 03:04 PM
Reply sent. Adding attributes is currently only available with the Add (Single) Entry form, not with the Add multiple form. It's something I still have to sort out.

Thanks so much for the help! :D

obmob
05-05-2009, 03:44 PM
Sorry for the delay :D

abdelghani68
05-07-2009, 03:35 PM
Thanks. I take note, but as you say, the priority is to finish version 2.3.0.

1) You can do this quite easily yourself (if you feel adventurous). Edit (vb admincp) the plugin "Links and Downloads Manager - Use Wimpy Button to play mp3 media" which is attached to the "ldm_linkbit_create" hook. Find the line which reads
$linkurljump = $linkname; and put two // at the front of the line, i.e. // $linkurljump = $linkname;2) Be aware that Wimpy's playlists do not use the same format as JWPlayer.

There is wimpy rave, that I think has the same format of jw player :

vid?o (http://www.wimpyplayer.com/examples/rave/ex_video_playlist.html) audio (http://www.wimpyplayer.com/examples/rave/oriole/example-itunes.html) audio (http://www.wimpyplayer.com/examples/rave/oriole/example-iphone.html)

thanks

sydude
05-07-2009, 05:04 PM
Hi Andrew, it's been a long time and I hope you've been well. I recently upgraded my board completely to 3.8.2 and upgraded the newest version of LDM along with it, and I'm happy to report that it all works beautifully (except for the LDM entries in the User Profiles, but that's not a big deal).

Now for my quick question - is there a simple way to add a link to the LDM entries submitted by a poster in the postbit? I did a search in this thread and the prior version threads, but nothing concrete found.

Thanks for the help, and best regards!

Sy

AndrewD
05-08-2009, 03:43 AM
Hi Andrew, it's been a long time and I hope you've been well. I recently upgraded my board completely to 3.8.2 and upgraded the newest version of LDM along with it, and I'm happy to report that it all works beautifully (except for the LDM entries in the User Profiles, but that's not a big deal).

Now for my quick question - is there a simple way to add a link to the LDM entries submitted by a poster in the postbit? I did a search in this thread and the prior version threads, but nothing concrete found.

Thanks for the help, and best regards!

Sy

Sorry, there isn't this feature at present. I think it would be a fairly easy thing to code as an 'extra' - I'll give it some thought.

sydude
05-08-2009, 04:30 AM
Sorry, there isn't this feature at present. I think it would be a fairly easy thing to code as an 'extra' - I'll give it some thought.

Thanks, you are the best.

abdelghani68
05-11-2009, 05:03 PM
I don't now if it's a bug : in the previsualitaion of the comments, I see the bbcode

benjaminkramer
05-12-2009, 08:51 PM
Hi Andrew,

will you upgrade your LDM to VB 3.8 ? Hope you will continue developing. Your Downloadmanager is really good, but need to improved. I am looking for a flash uploader over 100 MB. That would make much more easier.

AndrewD
05-13-2009, 04:44 AM
will you upgrade your LDM to VB 3.8 ?

If you look in the header post to this thread, you will find the link to version 2.3.0, which is intended for vb 3.8. In fact, practically everything in version 2.2.9 works fine with vb 3.8, apart from user profile integration (fixed in the release candidate code) and auto-announce thread prefixes (will be fixed in next upload)

Hope you will continue developing.

Yes, within limits :)

Your Downloadmanager is really good, but need to improved.

Really :) Are you offering to help? :)

I am looking for a flash uploader over 100 MB. That would make much more easier.

The limit of 100Mb appears somewhere in the adobe flash documentation, so if it's real, it will apply to all flash uploaders. However, from a search on Google, I get the impression that no-one really knows if this is a real limit or not. I have just tried a 188Mb upload with the latest version of the swfupload 'extra' supplied with LDM 2.3.0. It worked fine. I suggest that you do some tests.

readjono
05-14-2009, 10:28 AM
Hi Andrew,

Afraid I've found the new test version a bit difficult to use. I'm not very good at arranging templates and upon reverting them to the new version I find the templates not as I expected to see them in the current version.

Any idea why it looks so different to my templates at the moment?

http://www.unofficialmills.co.uk/communities/local_links.php?catid=3

AndrewD
05-14-2009, 12:02 PM
Hi Andrew,

Afraid I've found the new test version a bit difficult to use. I'm not very good at arranging templates and upon reverting them to the new version I find the templates not as I expected to see them in the current version.

Any idea why it looks so different to my templates at the moment?

http://www.unofficialmills.co.uk/communities/local_links.php?catid=3

I take it that the screenshots should be using the default templates and the url is how you want things to look (and is the correct default).

Can't say without looking at the templates. Do you want me to take a look at your upgraded site? Send me a PM with details if so.

readjono
05-14-2009, 02:34 PM
I take it that the screenshots should be using the default templates and the url is how you want things to look (and is the correct default).

Can't say without looking at the templates. Do you want me to take a look at your upgraded site? Send me a PM with details if so.

Yeah that was with the templates reverted to the original. I'll get in touch at some point - I've downgraded now and things are back normal - but will be in touch when I have a free moment :)

leodestroy
05-15-2009, 10:25 PM
What about vb 3.8?

AndrewD
05-16-2009, 03:35 AM
What about vb 3.8?

Take a look at the first post in this thread. Virtually all of version 2.2.9, and all of version 2.3.0, work with vb 3.8

DotSauce
05-16-2009, 09:15 PM
I just installed at my forum http://tweetsocial.com/links

However I am having one small problem.. See the main page there with the box that says "Twitter Directory" and has a empty space below it.

How do I insert text there as an introduction? Thanks.

AndrewD
05-17-2009, 04:22 AM
I just installed at my forum http://tweetsocial.com/links

However I am having one small problem.. See the main page there with the box that says "Twitter Directory" and has a empty space below it.

How do I insert text there as an introduction? Thanks.

This is done most easily using one of the 'extras' provided with the release. Take a look in the zip file at subdirectory release/extras/add-information. You install this as a vbulletin plugin (NB: not a product). It adds an extra section to your ldm/admin/settings and edit/category pages to allow you to specify a message and where it is placed.

If you want to 'hard code' the message, you would have to edit the links_main template.

DotSauce
05-17-2009, 05:37 AM
I tried both ways... If i add text to links_main template it shows up on all categories.

Essentially I want my root category to have a description ($viewcattext)...

Is there a way to add a piece of code like, <if page is local_links.php echo "Directory Description"> to the links_main template? Thanks.

AndrewD
05-17-2009, 06:01 AM
I tried both ways... If i add text to links_main template it shows up on all categories.

Essentially I want my root category to have a description ($viewcattext)...

Is there a way to add a piece of code like, <if page is local_links.php echo "Directory Description"> to the links_main template? Thanks.

Sure, do a test on $viewcatid, which is set to -1 when you are in the root category, e.g.

<if condition="$viewcatid==-1">Hello hello</if>

DotSauce
05-17-2009, 05:11 PM
Thanks! That worked.

I know I read something in the instructions about changing the "local_" label, but I didn't understand exactly.

Is it possible to just rename all my file labels to something else even though I'm already installed?

AndrewD
05-18-2009, 03:20 AM
Thanks! That worked.

I know I read something in the instructions about changing the "local_" label, but I didn't understand exactly.

Is it possible to just rename all my file labels to something else even though I'm already installed?

Sure, see http://www.eirma.org/wikis/index.php/Hacking_LDM. You should only change the names of files that are in your forums directory, not those in the includes subdirectory, etc.

xug
05-20-2009, 01:51 PM
What could possibly be wrong?

I entered one link entry with an image, when I browse through my cat and select the link I dont see the image.

When I select view enlarged image I see the image appear on a new page.

AndrewD
05-20-2009, 02:29 PM
What could possibly be wrong?

I entered one link entry with an image, when I browse through my cat and select the link I dont see the image.

When I select view enlarged image I see the image appear on a new page.

There's not enough information here for me to help. Would you like me to take a look at your site? If so, send me a PM with details, plus username/pwd for an account with vb admin permissions.

xug
05-20-2009, 03:11 PM
There's not enough information here for me to help. Would you like me to take a look at your site? If so, send me a PM with details, plus username/pwd for an account with vb admin permissions.

This is on a local machine.

DotSauce
05-20-2009, 09:42 PM
I am trying to add a "Tweet This" button next to the the Rate/Comment button.

How would I edit links_linkbit template to do this...

<a href="http://twitter.com/home?status=$linkname: $linkshortdesc $linkurl">Tweet This</a>

I don't know the proper syntax for calling these values. Any help would be appreciated.

xug
05-21-2009, 02:09 AM
There's not enough information here for me to help. Would you like me to take a look at your site? If so, send me a PM with details, plus username/pwd for an account with vb admin permissions.

This is on a local machine.

Maybe not a few ideas where I should look?

AndrewD
05-21-2009, 03:21 AM
Maybe not a few ideas where I should look?

OK, as I understand you: The images are not being displayed in the entrybit, but there is a magnifying glass icon. When you click on that icon, you do get the full image displayed in a new window?

Take a look at the url which is being displayed by the browser for the enlarged image. It should be something like .../local_resize?linkid=nnn&size=0

Change the url so that the size= parameter is followed by the number such as 250. See whether you get a smaller version of the image scaled to 250 icons along its larger dimension. Maybe you will get the image, more interesting would be an error message.

Also, take a look at the settings you have given on ldm/admin/settings for images. Have you filled a setting for the thumbs directory? If so, try clearing that setting and see if it makes a difference.

AndrewD
05-21-2009, 03:35 AM
I am trying to add a "Tweet This" button next to the the Rate/Comment button.

How would I edit links_linkbit template to do this...

<a href="http://twitter.com/home?status=$linkname: $linkshortdesc $linkurl">Tweet This</a>

I don't know the proper syntax for calling these values. Any help would be appreciated.

The links_linkbit template includes a section:

<if condition="$links_permissions['can_rate_link'] and $linkratebitdropdown">
<tr>
<td align="$stylevar[left]">
$linkratebitdropdown
</td>
</tr>
</if>


which displays the Rate/Comment button (at least if you are using the drop-down option for ratings/comments). Add your code here.

As far as the syntax goes, you should replace spaces by the sequence %20.

E.g.:

<if condition="$links_permissions['can_rate_link'] and $linkratebitdropdown">
<tr>
<td align="$stylevar[left]">
$linkratebitdropdown
</td>
</tr>
</if>
<tr>
<td align="$stylevar[right]">
<a href="http://twitter.com/home?status=$linkname:%20$linkshortdesc%20$linkurl">Tweet This</a>
</td>
</tr>

drfenning
05-25-2009, 05:19 AM
I have installed and am successfully editing other than one thing. I have created a new subscription usergroup that I want to have access to download links. They would pay for the subscription in Xcart and then we would give access permissions. The only problem we are having is being able to set an expiration for how long they are in that particular user group. I can add them to a paid subscription in VBulletin, but then I can only choose forum permissions not download manager permissions.

So the only way that I can give and take away access to download from the download manager is by manually unchecking that usergroup when their subscription expires. Here is the site that I'm trying to mimic:

http://www.gottapixel.net/forum/local_links.php?catid=70


Thanks
Danielle

http://www.gottapixel.net/forum/local_links.php?catid=70

AndrewD
05-25-2009, 05:51 AM
I have installed and am successfully editing other than one thing. I have created a new subscription usergroup that I want to have access to download links. They would pay for the subscription in Xcart and then we would give access permissions. The only problem we are having is being able to set an expiration for how long they are in that particular user group. I can add them to a paid subscription in VBulletin, but then I can only choose forum permissions not download manager permissions.

So the only way that I can give and take away access to download from the download manager is by manually unchecking that usergroup when their subscription expires. Here is the site that I'm trying to mimic:

http://www.gottapixel.net/forum/local_links.php?catid=70


Thanks
Danielle

http://www.gottapixel.net/forum/local_links.php?catid=70

As far as I recall, gottapixel is using LDM's forum-based permissions to control subscriber access, but it should also be possible using the regular LDM usergroup-based permissions.

You can associate both your LDM categories and entries with individual vb forums by specifying their 'parent forum' on the Add/Edit Category/Enty form. Then, users can only access these entries if they have "can view forum" and "can view others threads" permission for that forum. (It is also possible to create a vb forum which is in fact a link to an LDM category. In that way, you can kill two birds with one stone, by providing a direct link into LDM and also providing the forum from which to take the forum-based permissions.)

Also, categories (but not individual entries) can have different usergroup permissions, set using LDM/Add Edit Category/Usergroup Permissions. Have you tried using this approach?

Please get back to me if I have misunderstood anything or you need further help.

drfenning
05-25-2009, 06:23 AM
As far as I recall, gottapixel is using LDM's forum-based permissions to control subscriber access, but it should also be possible using the regular LDM usergroup-based permissions.

You can associate both your LDM categories and entries with individual vb forums by specifying their 'parent forum' on the Add/Edit Category/Enty form. Then, users can only access these entries if they have "can view forum" and "can view others threads" permission for that forum. (It is also possible to create a vb forum which is in fact a link to an LDM category. In that way, you can kill two birds with one stone, by providing a direct link into LDM and also providing the forum from which to take the forum-based permissions.)

Also, categories (but not individual entries) can have different usergroup permissions, set using LDM/Add Edit Category/Usergroup Permissions. Have you tried using this approach?

Please get back to me if I have misunderstood anything or you need further help.

Perhaps it's my ignorance, but I am not having problems giving access to a particular usergroup but the timeframe that they are allowed to have access. For example, I have a registered user that purchases a one month subscription to the download manager and they can download anything they want for that timeframe. So I created a usergroup called "Club Scrap Subscriber". In VB, I keep them as a registered user and check that they have now have access to "Club Scrap Subscriber." Now I give only "Club Scrap Subscriber" usergroup access to the download manager to access links. Everyone else can view. Problem is...when that month is up, I have to manually go into VB and remove them from "Club Scrap Subscriber" usergroup.

So is it possible to use the "paid subscription" portion of VB to determine the timeframe that a user can be in a usergroup? You have a plugin that has time of day and amount they can download but I didn't see one for how long they can download. I would want to have three different subscriptions 1, 3 and 12 month...I could create three different usergroups for each time frame and change it in the LDM/users/allowances, but if they paid to extend their subscription would it lock them out from using it further? Can it be recurring?

I could also create three paid subscriptions in VB. But in VB's paid subscriptions, I can choose all of my other forums, but "download manager" is not a forum option to choose from. Does any of this make sense?

Here's my site: http://www.scrapoutsidethebox.com/forums/local_links.php

Thanks so much for all you do.

Dani

AndrewD
05-25-2009, 07:55 AM
Perhaps it's my ignorance, but I am not having problems giving access to a particular usergroup but the timeframe that they are allowed to have access. For example, I have a registered user that purchases a one month subscription to the download manager and they can download anything they want for that timeframe. So I created a usergroup called "Club Scrap Subscriber". In VB, I keep them as a registered user and check that they have now have access to "Club Scrap Subscriber." Now I give only "Club Scrap Subscriber" usergroup access to the download manager to access links. Everyone else can view. Problem is...when that month is up, I have to manually go into VB and remove them from "Club Scrap Subscriber" usergroup.

So is it possible to use the "paid subscription" portion of VB to determine the timeframe that a user can be in a usergroup? You have a plugin that has time of day and amount they can download but I didn't see one for how long they can download. I would want to have three different subscriptions 1, 3 and 12 month...I could create three different usergroups for each time frame and change it in the LDM/users/allowances, but if they paid to extend their subscription would it lock them out from using it further? Can it be recurring?

I don't think this question is really about LDM. You are wanting to change the user's usergroup membership when their subscription starts (adding them) and ends (removing them)?

I thought (but have not checked) that the vb subscription manager handles this automatically but I'm afraid I have no idea whether X-cart can handle it or not.

If you choose to do this via x-cart, it's easy enough to code a new LDM addin that grants/restricts access based on some condition that can be checked via php (assuming that this is possible with x-cart). I am willing to help you implement this, but I don't want to have buy/learn about x-cart.

I could also create three paid subscriptions in VB. But in VB's paid subscriptions, I can choose all of my other forums, but "download manager" is not a forum option to choose from. Does any of this make sense?


I've just tried the following approach, which seems to work fine.
- First, create a new forum called "Download Manager", which is set up as a link to LDM. Then, that forum would appear in the list of available subscriptions on your admin page.
- Second, create a new vb subscription to that forum, which adds users to a new usergroup, let's say LDM Subscribers.
- Then, set up your LDM database so that entries are only accessible to users who have usergroup rights to that forum.

We could also easily tailor the message that unsubscribed users get when they visit LDM to tell them that they need a subscription.

Have I understood you correctly?

drfenning
05-25-2009, 02:38 PM
I don't think this question is really about LDM. You are wanting to change the user's usergroup membership when their subscription starts (adding them) and ends (removing them)?

I thought (but have not checked) that the vb subscription manager handles this automatically but I'm afraid I have no idea whether X-cart can handle it or not.

If you choose to do this via x-cart, it's easy enough to code a new LDM addin that grants/restricts access based on some condition that can be checked via php (assuming that this is possible with x-cart). I am willing to help you implement this, but I don't want to have buy/learn about x-cart.



I've just tried the following approach, which seems to work fine.
- First, create a new forum called "Download Manager", which is set up as a link to LDM. Then, that forum would appear in the list of available subscriptions on your admin page.
- Second, create a new vb subscription to that forum, which adds users to a new usergroup, let's say LDM Subscribers.
- Then, set up your LDM database so that entries are only accessible to users who have usergroup rights to that forum.

We could also easily tailor the message that unsubscribed users get when they visit LDM to tell them that they need a subscription.

Have I understood you correctly?

I think the later might work, if I can figure out how to link it to LDM. I'll let you know if it works. Thanks so much for your help.

drfenning
05-25-2009, 03:03 PM
You rock! That was so simple and it worked perfectly. Thank you so much for your help.

Dani

glowinggal
05-26-2009, 12:27 PM
anyone using this with 3.8.*?

AndrewD
05-26-2009, 12:47 PM
anyone using this with 3.8.*?

Most of version 2.2.9 works fine with vb 3.8. There are a couple of features that don't work (profile intergration, forum prefixes). The release candidate version 2.3.0 works fine with both vb3.7 ad 3.8.

glowinggal
05-26-2009, 05:04 PM
how about a display of thumbnails for new downloads on "non" vb pages (but they are php pages (ie: wordpress))

DotSauce
05-26-2009, 09:20 PM
Hey quick question...

I noticed this mod is forcing "www." in my domain name when the rest of forum is flexible. I would prefer without "www."

How can I change this? Thanks.

AndrewD
05-27-2009, 03:32 AM
Hey quick question...

I noticed this mod is forcing "www." in my domain name when the rest of forum is flexible. I would prefer without "www."

How can I change this? Thanks.

LDM creates full urls according to your setting for "Forum URL" (vb acp/vb options/site name). This is to ensure that the vbadvanced modules will work properly even if the main vba code is not in the forums directory. You should check this setting. Main vb code does not add the full forum path to its urls, because it is always operating within the forums directory.

It's important to be consistent with these urls (site.com versus www.site.com) - vb's cookies are url dependent unless you've remembered to set the cookie domain on vb acp/vb options/cookie domain), and people can find themselves logged out.

glowinggal
05-27-2009, 03:41 PM
tried upgrading from 2.2.9 to 2.3.0 and when importing and overwriting the product get this;

Fatal error: Call to undefined function patch_LDMdatastore() in /xxx/xxx/public_html/xxx/admincp/plugin.php(1995) : eval()'d code on line 50

we are using vb 3.8.2

AndrewD
05-28-2009, 03:19 AM
tried upgrading from 2.2.9 to 2.3.0 and when importing and overwriting the product get this;


Fatal error: Call to undefined function patch_LDMdatastore() in /xxx/xxx/public_html/xxx/admincp/plugin.php(1995) : eval()'d code on line 50



we are using vb 3.8.2

patch_LDMdatastore is defined in includes/local_links_admininclude.php, so I think you have probably not uploaded all the php files correctly.

AndrewD
05-28-2009, 03:31 AM
how about a display of thumbnails for new downloads on "non" vb pages (but they are php pages (ie: wordpress))

There's no difficulty in principle in doing this, but it requires someone to write the interface between vbulletin, wordpress and LDM. It's not something I'm prepared to take on at this stage, because in the not-too-distant future, I think there's going to be a lot of effort needed to get things working with vbulletin 4.0.

Simon Lloyd
05-28-2009, 08:18 AM
There's no difficulty in principle in doing this, but it requires someone to write the interface between vbulletin, wordpress and LDM. It's not something I'm prepared to take on at this stage, because in the not-too-distant future, I think there's going to be a lot of effort needed to get things working with vbulletin 4.0.why not use something like http://www.websnapr.com/ just a little bit of code/javascript (around 4 lines) and after a short while thumbnails will be generated for your links, take a look here http://www.thecodecage.com at the bottom of the page i have affiliates, hover a link and a thumbnail of their site will pop up!

AndrewD
05-28-2009, 10:04 AM
why not use something like http://www.websnapr.com/ just a little bit of code/javascript (around 4 lines) and after a short while thumbnails will be generated for your links, take a look here http://www.thecodecage.com at the bottom of the page i have affiliates, hover a link and a thumbnail of their site will pop up!

Sounds like a good idea - in fact LDM includes extras to do this task the other way round (i.e. popup thumbnails of its own entries).

vbboarder
05-30-2009, 06:06 PM
Thanks for the new features and bug fixes Andrew :)

itsblack
05-30-2009, 11:19 PM
Andrew, thank you for the update.
Here is the updated chinese translation.

Rouzbeh1
05-31-2009, 04:55 PM
yesss
everything works perfect now
thank you very much andrew

Leo Brazil
06-02-2009, 02:40 PM
I've following this mod since 3.6 always found a great idea but never saw much application for my board. My mistake, people got nuts trying to search for a file or links that were given as a tip a long time ago and got lost in tons of threads and pages.
So I was here glad to surrender to this great idea finally.

But I'm on 3.8.2 running your RC5 and faced a few issues. I didn't open it to my users because I want to make sure everything is OK, so I can test whatever I want before.

Here goes the issues.

- My test users has non usual characters symbols like "&", "%" or "$", in fact my admin account has one of those too and if I try to make an entry using them it says "User not recognised on db" but if I just edit username to any other without those symbols it goes OK.

- I have created a few categories to test (had to edit username too but goes OK) and after that I populated them with some entries. Some pictures, some files and some links, so far so good but at Main Category page if I click on category name, whichever the category I choose, it redirects me all the time to my forums page. Permissions were set as well as I tested some allowances but always goes this way.

- I've seen many addons for this mod, just to save time, is there one that gives me a snap-shot as a thumbnail of URL page I used as an entry ? I mean, this way a thumbnail would be used instead of nothing.

Could you give me some lights ?

Honestly, I felt so dumb when testing your mod, I tought: "Gee, why did I never test this thing before ??? It's so great !!!
Nice job you done.

AndrewD
06-02-2009, 04:55 PM
- My test users has non usual characters symbols like "&", "%" or "$", in fact my admin account has one of those too and if I try to make an entry using them it says "User not recognised on db" but if I just edit username to any other without those symbols it goes OK.

Thanks for reporting this. I think the problem is restricted to the "&" character (and this is easy to fix), but I will need to do some more checks to be certain that the fix doesn't cause other problems.


- I have created a few categories to test (had to edit username too but goes OK) and after that I populated them with some entries. Some pictures, some files and some links, so far so good but at Main Category page if I click on category name, whichever the category I choose, it redirects me all the time to my forums page. Permissions were set as well as I tested some allowances but always goes this way.

This has me stuck. When you hover the mouse over the urls on the Main Category page, what is displayed at the bottom of the browser?


- I've seen many addons for this mod, just to save time, is there one that gives me a snap-shot as a thumbnail of URL page I used as an entry ? I mean, this way a thumbnail would be used instead of nothing.

Have you checked the "screenshots" directory in the extra. There are addons to interface with both the snap (www.snap.com) and webthumbs (http://bluga.net/webthumb/) snapshots tools.

Leo Brazil
06-02-2009, 06:33 PM
Thanks for reporting this. I think the problem is restricted to the "&" character (and this is easy to fix), but I will need to do some more checks to be certain that the fix doesn't cause other problems.

Man, I have to say, fastest support I ever had on here !! You should charge for your mod, I woudn't mind to pay.

Yes, double checking it, you're right, it seems only happens with "&".


This has me stuck. When you hover the mouse over the urls on the Main Category page, what is displayed at the bottom of the browser?

I think this is working fine cause your system was suppose to hide the original link from the outside one. Every Category link mouse over shows me something like http://www.mysite.com/forums/local_links/links/1 or http://www.mysite.com/forums/local_links/links/2 ,etc. Every category has a different number at the end, but all of them leads to forumhome when clicked.


Have you checked the "screenshots" directory in the extra. There are addons to interface with both the snap (www.snap.com (http://www.snap.com)) and webthumbs (http://bluga.net/webthumb/) snapshots tools.

I saw them, just to wanna know each one is the simplest one and does the job.

Thanks

obmob
06-03-2009, 03:01 AM
Well... went online with 2.3.0, everything was fine till i bumped into extra attributes added to certain entries.

I used it to add extra wallpaper size for some i had done. So, the attribute "widescreen" was used and it used to appear as a link, and hits to it were also added to the total count.

I had edited links_viewone_entity for that to happen.

Well, i tried the same this time, but no success, now, even if the attribute is a text i see the whole image in the attribute field.

Also a download link and a magnifier lenz.

If i change the attribute to be an image instead of a URL, te result is a thumbnail, but with no download link, just the magnifier.

In the end if i use this method, the hits are not counted.

Question: :p

Is there a way to show the thumbnail, but also be able to count hits... or, to hide the big image from my linkbit while the attribute is just a URL, would prefer to show the thumb and click on it to download. :D

Hope I was clear :confused:

AndrewD
06-03-2009, 03:09 AM
I think this is working fine cause your system was suppose to hide the original link from the outside one. Every Category link mouse over shows me something like http://www.mysite.com/forums/local_links/links/1 or http://www.mysite.com/forums/local_links/links/2 ,etc. Every category has a different number at the end, but all of them leads to forumhome when clicked.


I think you've enabled LDM's SEO option without configuring your server to handle this. See http://www.eirma.org/wikis/index.php/Search_Engine_Optimisation.

I saw them, just to wanna know each one is the simplest one and does the job.


Both Snap and EasyWebThumbs are straightforward to use. I think Snap is probably easier.

Good luck!

nachtfalkesatul
06-03-2009, 05:29 AM
i have a Question:

Wenn i create a new Category comes this error

Fatal error: Call to undefined function ldm_create_category() in /var/www/satulcvb/htdocs/local_links_actions.php on line 2450

Question to LDM.

I want the uploadtime behind the Uploader or upload Date!
Is that possible?

Best Regards

AndrewD
06-03-2009, 05:45 AM
Well... went online with 2.3.0, everything was fine till i bumped into extra attributes added to certain entries.

I used it to add extra wallpaper size for some i had done. So, the attribute "widescreen" was used and it used to appear as a link, and hits to it were also added to the total count.

I had edited links_viewone_entity for that to happen.

Well, i tried the same this time, but no success, now, even if the attribute is a text i see the whole image in the attribute field.

Also a download link and a magnifier lenz.

If i change the attribute to be an image instead of a URL, te result is a thumbnail, but with no download link, just the magnifier.

In the end if i use this method, the hits are not counted.

Question: :p

Is there a way to show the thumbnail, but also be able to count hits... or, to hide the big image from my linkbit while the attribute is just a URL, would prefer to show the thumb and click on it to download. :D

Hope I was clear :confused:

*Edited*

I think I understand. I've removed the possibility to download images for extra attributes. The fix is straightforward. (Line numbers assume that you have installed version 2.3.0-RC5 - they might be slightly different with earlier versions.)

Edit includes/local_links_entities.php, around line 1159 find:

case ENTITY_TYPE_IMAGE :
case ENTITY_TYPE_IMAGEUPLOAD :
if ($links_defaults['link_imagesize']) {
$entityimgurl = $RESIZE_SCRIPT.'.php?'.$vbulletin->session->vars['sessionurl'].'linkid='.$linkid.'&amp;entityid='.$entityid;


and add line after:

$entitysave = ldm_seo_url("jump", $linkcatid, $linkid, $entityid, $pagenumber);


Edit includes/local_links_main_fetch.php, around line 547 fine:

entity.entityvalue AS linkurl, entity.entityvalue AS linkfile,


and change to:

entity.entityvalue AS linkurl, '' AS linkfile,


(that is two single quotes, not one double quote)

AndrewD
06-03-2009, 07:40 AM
i have a Question:

Wenn i create a new Category comes this error

Fatal error: Call to undefined function ldm_create_category() in /var/www/satulcvb/htdocs/local_links_actions.php on line 2450

Check that you have uploaded all the files correctly and into the correct directories. The function ldm_create_category() was moved from one file to another in the latest releases, so I suspect that you've got some old and some new code installed


Question to LDM.

I want the uploadtime behind the Uploader or upload Date!
Is that possible?

Best Regards

I'm not sure I understand. Do you mean that you want entries to indicate the time they were created/edited as well as the date? Or do you mean that you want to tell people how long it took to upload the file?

AndrewD
06-03-2009, 07:43 AM
Man, I have to say, fastest support I ever had on here !! You should charge for your mod, I woudn't mind to pay.

Yes, double checking it, you're right, it seems only happens with "&".



This will be corrected in the next upload. If you want a fix now, here's what to do:

Edit includes/local_links_include.php, line 2369, change:

while ($rec=$vbulletin->db->fetch_array($asb)) {
foreach ($usernames as $k=>$v) {
if ($v==$rec['username']) {


to

while ($rec=$vbulletin->db->fetch_array($asb)) {
foreach ($usernames as $k=>$v) {
$hv = htmlspecialchars_uni($v);
if ($hv==$rec['username']) {

nachtfalkesatul
06-03-2009, 10:15 AM
Hi Andrew,

Thank you for you Answer,

I'm not sure I understand. Do you mean that you want entries to indicate the time they were created/edited as well as the date? Or do you mean that you want to tell people how long it took to upload the file?

I mean the Upload Time and Date to see for Users!
In my Version ist only upload Date to see.
For Users are better to see Uplad Date and Upload Time!



Check that you have uploaded all the files correctly and into the correct directories. The function ldm_create_category() was moved from one file to another in the latest releases, so I suspect that you've got some old and some new code installed



i have only the Version 2.3.0-beta1 installed

AndrewD
06-03-2009, 12:56 PM
I mean the Upload Time and Date to see for Users!
In my Version ist only upload Date to see.
For Users are better to see Uplad Date and Upload Time!


The easiest way to do this is to create a small plugin. (I will consider making it an admin option in the next release.)

Go to vb/admincp/products and plugins and select Add New Plugin

Create a new plugin as follows:
- Product : Links and Downloads Manager
- Name : Whatever you like
- Plugin PHP Code:

$linkdate = ldm_date('d-M-y h:m', $linkdatebin);

- Active : Yes

Save, and you should have the change you want. You can change the format ('d-M-y h:m' in the example above) as you wish.



i have only the Version 2.3.0-beta1 installed

I'm pretty sure that you've got an incomplete includes/local_links_include.php file. It should be 153 K in size, and the function ldm_create_category should begin at line 5134.

Leo Brazil
06-03-2009, 02:06 PM
I think you've enabled LDM's SEO option without configuring your server to handle this. See http://www.eirma.org/wikis/index.php/Search_Engine_Optimisation.


Yes, you got it. That was the thing. Solved.

Please, let me know when you have an idea with the "&" thing OK ? Even if you want me to test any version for you, no problem.

THX

AndrewD
06-03-2009, 02:35 PM
Yes, you got it. That was the thing. Solved.

Please, let me know when you have an idea with the "&" thing OK ? Even if you want me to test any version for you, no problem.

THX

Good :)

see this post for the other fix.

Leo Brazil
06-03-2009, 03:20 PM
Ops, my bad, I missed this post.

Thanks again

obmob
06-04-2009, 03:18 AM
*Edited*

I think I understand. I've removed the possibility to download images for extra attributes. The fix is straightforward. (Line numbers assume that you have installed version 2.3.0-RC5 - they might be slightly different with earlier versions.)

Edit includes/local_links_entities.php, around line 1159 find:

case ENTITY_TYPE_IMAGE :
case ENTITY_TYPE_IMAGEUPLOAD :
if ($links_defaults['link_imagesize']) {
$entityimgurl = $RESIZE_SCRIPT.'.php?'.$vbulletin->session->vars['sessionurl'].'linkid='.$linkid.'&amp;entityid='.$entityid;


and add line after:

$entitysave = ldm_seo_url("jump", $linkcatid, $linkid, $entityid, $pagenumber);


Edit includes/local_links_main_fetch.php, around line 547 fine:

entity.entityvalue AS linkurl, entity.entityvalue AS linkfile,


and change to:

entity.entityvalue AS linkurl, '' AS linkfile,


(that is two single quotes, not one double quote)

Thanks for the little update Andrew, worked really nice, after that I just needed to edit "links_entitymarkupbit" to make it look different.

Now, it is odd, i put align="center" and it is not in the middle o_O

Either way, it works and that's the most important thing.

Thank you very much!! :D

Take a look:
http://www.ositobarrigon.com/links.php?catid=3&linkid=376

dieKetzer
06-04-2009, 02:49 PM
this looks very promising.
i will install it and report back :)

Leo Brazil
06-04-2009, 08:35 PM
This will be corrected in the next upload. If you want a fix now, here's what to do:

Edit includes/local_links_include.php, line 2369, change:

while ($rec=$vbulletin->db->fetch_array($asb)) {
foreach ($usernames as $k=>$v) {
if ($v==$rec['username']) {


to

while ($rec=$vbulletin->db->fetch_array($asb)) {
foreach ($usernames as $k=>$v) {
$hv = htmlspecialchars_uni($v);
if ($hv==$rec['username']) {


Hi AndrewD,

I did exactly like this but the problem remains the same, when I try to create a new category.

AndrewD
06-05-2009, 07:29 AM
Hi AndrewD,

I did exactly like this but the problem remains the same, when I try to create a new category.

I'm sorry to learn that this fix did not solve your problem. To investigate, I really need to access your site as an admin which has a problematic username and has permission to get at the products and plugin section of the admincp. If you are happy for me to do this, send me a PM with details of site url, username and password.

dieKetzer
06-05-2009, 02:19 PM
thus far i am both very impressed and overwhelmed by the many configuration option available.
this one is the best i have used yet. i should have tried it years ago!

Alfa1
06-08-2009, 09:09 AM
After upgrading to 2.3.0 RC5 and installing the flash-sites-plugin.xml:
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /public_html/forum/includes/local_links_players.php(108) : eval()'d code on line 30Note that my site has custom table prefixes.

Turning the plugin off, makes the errors go away. How can I solve this?

AndrewD
06-08-2009, 10:13 AM
After upgrading to 2.3.0 RC5 and installing the flash-sites-plugin.xml:
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /public_html/forum/includes/local_links_players.php(108) : eval()'d code on line 30Note that my site has custom table prefixes.

Turning the plugin off, makes the errors go away. How can I solve this?

An extra quote character has got itself into the flash site plugin. You can fix this by going to vb/acp/products and plugins/plugin manager, and editing the "Enable media player for Flash-based websites" plugin that is attached to the ldm_playme_initplayers hook.

Find the line that reads

"canremove"' => 1, // can be deleted


and get rid of the single quote, i.e. make it read

"canremove" => 1, // can be deleted

Alfa1
06-08-2009, 10:40 AM
Thank you for the swift reply. That solves it.

How can I edit the text that is displayed on forum home stats? I want to add a link to the file archive.

I have 3 different main categories in my LDM: documents, video and audio. Is it possible to display the forum home stats for each of these main categories?

Is it possible to use patch-forumhome-newlinks or another function to display latest new files on /search.php?do=getnew ?

sparklywater
06-08-2009, 11:30 AM
I have a category with lots of links to Jukebox audio files. The category page has been indexed by Google, but not a single Jukebox player link has been indexed even after several months. These links do have some text content so Google should be able to index them. I'm wondering if anything in the LDM setup is preventing these pages from being indexed?

Alfa1
06-08-2009, 11:48 AM
Same here. Even jukebox player links dated many years ago are not in Googles cache, while Google did indexed most of my site.

Alfa1
06-08-2009, 11:58 AM
How does the LDM Similarthreads plug-in calculate similar files on showthread? I really like this feature, but it shows completely irrelevant files.

sparklywater
06-08-2009, 12:01 PM
Same here. Even jukebox player links dated many years ago are not in Googles cache, while Google did indexed most of my site.

Thanks Alfa1 for confirming that it's a reproducable problem.

skol
06-08-2009, 12:02 PM
Well i've tried for months Andrew,to get the uploading part of the mod to work..and i thought it might be a path problem to where i created the upload folder..

No matter what i do as soon as i hit the submit upload i get a blank page with this http://forum/local_links_actions.php

Alfa1
06-08-2009, 12:10 PM
When installing the plugin spider-url that addresses ldm_linkbit_create I get this error:
Parse error: syntax error, unexpected '[' in /public_html/forum/includes/local_links_include.php(3725) : eval()'d code on line 3

Why does the forum home stats show that my entries are 6.17 GB, while my statistics in LDM's settings show 1.87 GB?

AndrewD
06-08-2009, 01:20 PM
When installing the plugin spider-url that addresses ldm_linkbit_create I get this error:
Parse error: syntax error, unexpected '[' in /public_html/forum/includes/local_links_include.php(3725) : eval()'d code on line 3


again, a character has gone astray.

Edit the Links and Downloads Manager - Spider external urls plugin attached to the ldm_linkbit_create hook. It starts off with a line


if (links_defaults['spider_urls_active'] and substr($linkurl,0,4)=="http") {


There should be a dollar sign $ immediately before links_defaults, i.e.


if ($links_defaults['spider_urls_active'] and substr($linkurl,0,4)=="http") {


Why does the forum home stats show that my entries are 6.17 GB, while my statistics in LDM's settings show 1.87 GB?

These pages are not calculating the same thing. The LDM settings page shows the size of uploads. The forum home figure is the total size of all files which are considered to be downloads.

AndrewD
06-08-2009, 01:24 PM
How does the LDM Similarthreads plug-in calculate similar files on showthread? I really like this feature, but it shows completely irrelevant files.

It's doing a match of the thread title against the entry title and description, not on the content of the file.

AndrewD
06-08-2009, 01:33 PM
I have a category with lots of links to Jukebox audio files. The category page has been indexed by Google, but not a single Jukebox player link has been indexed even after several months. These links do have some text content so Google should be able to index them. I'm wondering if anything in the LDM setup is preventing these pages from being indexed?

Several thoughts:

1) When Google visits your site, it does so as an unregistered user. Unless you have enabled the Jukebox for unregistered users, the links will not be there for Google to see.

2) Each LDM page includes a meta tag of the form:

<meta name="robots" content="index, nofollow" />


This tells Google to index the content of the page but not to follow any urls on the page. This was done for a reason (although I can't quite recall what the reason was - I think we wanted to stop Google accessing the actual files). You can change this on the LDM settings page with the robots_meta_tag setting, try "index, follow".

3) Does Google actually index urls with long "?action=xxx..." params? Do you need a search engine optimiser? (I don't know)

AndrewD
06-08-2009, 01:34 PM
Well i've tried for months Andrew,to get the uploading part of the mod to work..and i thought it might be a path problem to where i created the upload folder..

No matter what i do as soon as i hit the submit upload i get a blank page with this http://forum/local_links_actions.php

Sorry to hear this. Do you want me to take a look - I can't easily suggest a solution otherwise. Send me a PM with site details + a full admin account.

AndrewD
06-08-2009, 01:59 PM
How can I edit the text that is displayed on forum home stats? I want to add a link to the file archive.

You should edit the Links and Downloads Manager - Patch forumhome stats plugin that is attached to the forumhome_complete hook. Find the lines:


$template_hook['forumhome_wgo_stats'] .= "
<div>
$vbphrase[ldm_links_database] $vbphrase[ldm_categories]: $totalcats, $vbphrase[ldm_entries]: $totallinks$totalspace, $vbphrase[ldm_comments]: $totalcomments
</div>
";


and change it to (e.g.)


$template_hook['forumhome_wgo_stats'] .= "
<div>
<a href='".LINKS_SCRIPT."'>$vbphrase[ldm_links_database]</a> $vbphrase[ldm_categories]: $totalcats, $vbphrase[ldm_entries]: $totallinks$totalspace, $vbphrase[ldm_comments]: $totalcomments
</div>
";




I have 3 different main categories in my LDM: documents, video and audio. Is it possible to display the forum home stats for each of these main categories?

I deliberately avoided giving this plugin many features, because it requires loading all the LDM code base and can involve carrying out quite heavy database queries, which will increase the cost of viewing the forum home. So the answer to your question is "yes in principle" but I would be reluctant to make this an easy/reliable feature of the plugin.

Is it possible to use patch-forumhome-newlinks or another function to display latest new files on /search.php?do=getnew ?

Not currently. Again, I have tried to keep integration with other parts of vb limited, so as to keep down the cost of running (and maintaining :)) LDM.

Alfa1
06-08-2009, 03:16 PM
again, a character has gone astray.

Edit the Links and Downloads Manager - Spider external urls plugin attached to the ldm_linkbit_create hook. It starts off with a line


if (links_defaults['spider_urls_active'] and substr($linkurl,0,4)=="http") {
There should be a dollar sign $ immediately before links_defaults, i.e.


if ($links_defaults['spider_urls_active'] and substr($linkurl,0,4)=="http") {

Thanks. That fixed it.

It's doing a match of the thread title against the entry title and description, not on the content of the file.
Even though most of my thread titles are descriptive, they will always contain words that do not relate to the topic. For example: 'What is xxx?' 'How can you do xxx?' 'a question about xxx'
Would it be possible to have the addon take tags into account?

When Google visits your site, it does so as an unregistered user. Unless you have enabled the Jukebox for unregistered users, the links will not be there for Google to see.
Where do I check this setting?

Does Google actually index urls with long "?action=xxx..." params? Do you need a search engine optimiser? (I don't know)
I think this is indeed needed.

You should edit the Links and Downloads Manager - Patch forumhome stats plugin that is attached to the forumhome_complete hook. Find the lines:


$template_hook['forumhome_wgo_stats'] .= "
<div>
$vbphrase[ldm_links_database] $vbphrase[ldm_categories]: $totalcats, $vbphrase[ldm_entries]: $totallinks$totalspace, $vbphrase[ldm_comments]: $totalcomments
</div>
";
and change it to (e.g.)


$template_hook['forumhome_wgo_stats'] .= "
<div>
<a href='".LINKS_SCRIPT."'>$vbphrase[ldm_links_database]</a> $vbphrase[ldm_categories]: $totalcats, $vbphrase[ldm_entries]: $totallinks$totalspace, $vbphrase[ldm_comments]: $totalcomments
</div>
";

<a href='".LINKS_SCRIPT."'> does not work for me as that points to /local_links instead of /local_links.php So I used the full url instead. I tweaked the code to use this:
$template_hook['forumhome_wgo_stats'] .= "
<br><div>
<a href='http://www.mysite.com/forum/local_links.php'>Files</a>: $totallinks$totalspace, $vbphrase[ldm_comments]: $totalcomments, $vbphrase[ldm_categories]: $totalcats
</div>
";

I deliberately avoided giving this plugin many features, because it requires loading all the LDM code base and can involve carrying out quite heavy database queries, which will increase the cost of viewing the forum home. So the answer to your question is "yes in principle" but I would be reluctant to make this an easy/reliable feature of the plugin.
Thats understandable. I guess my LDM has grown so big, that I have come to a point where I need multiple instances of LDM, to handle each section.

My members keep getting confused whether they are in the video, the documents or the audio section and are uploading to the wrong parts. For this reason I would 3 different category selectors on the upload page. So that it will not be possible to choose a category in the video section, if one is in the document section. Do you see a possibility for me to accomplish this or something similar?

Not currently. Again, I have tried to keep integration with other parts of vb limited, so as to keep down the cost of running (and maintaining :)) LDM.
Showing the latest files is possible within a vba module and on forum home. I am not that technical, but can you please explain why the same already coded functionality would not work on search.php? Is there anything that I can do toget it working?

AndrewD
06-08-2009, 03:27 PM
Where do I check this setting?


LDM/admin/permissions/can_play_musicbox

My members keep getting confused whether they are in the video, the documents or the audio section and are uploading to the wrong parts. For this reason I would 3 different category selectors on the upload page. So that it will not be possible to choose a category in the video section, if one is in the document section. Do you see a possibility for me to accomplish this or something similar?

Showing the latest files is possible within a vba module and on forum home. I am not that technical, but can you please explain why the same already coded functionality would not work on search.php? Is there anything that I can do toget it working?

I'll give these points some thought

obmob
06-08-2009, 04:57 PM
Ok... this was a busy weekend, will read carefully, good week :D

Alfa1
06-08-2009, 06:23 PM
LDM/admin/permissions/can_play_musicbox
I had that permission turned off.

I'll give these points some thought
Thanks.

I would like to display an 'upload file' button within each category. Adding a button is relatively easy to do, but I would like the category to be selected on the upload page. I have been looking to find the code.
Here is what I have come up with for the links_main template so far:
<td class="smallfont"><a href="$LINKS_SCRIPT.php?{$vbulletin->session->vars['sessionurl']}action=addlink&amp;catid=<if condition="$viewcatid">
rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="Post new file" border="0" /></a><else />&nbsp;</if></td>

But that does not select the category, like it should. Do you know what I am doing wrong?

Alfa1
06-08-2009, 09:16 PM
The LDM Similarthreads plugin has a problem. At least when several thousand visitors try to open threads around the same time.

Threads would not open anymore. A mass of queries where launched. Tables started locking. Here are the queries that where running when my site went down:
stop proces 1180 database_name localhost database_name
Query 32 updating DELETE FROM vb6_linksdebug WHERE settingtime <
'1243891011'
stop proces 1181 database_name localhost database_name Query 32
Locked DELETE FROM vb6_linksdebug WHERE settingtime < '1243891011'
stop proces 1183 database_name localhost database_name Query 32
Locked DELETE FROM vb6_linksdebug WHERE settingtime < '1243891013'
stop proces 1184 database_name localhost database_name Query 32
Locked DELETE FROM vb6_linksdebug WHERE settingtime < '1243891014'
stop proces 1191 database_name localhost database_name Query 32
Locked DELETE FROM vb6_linksdebug WHERE settingtime < '1243891016'
stop proces 1192 database_name localhost database_name Query 32
Locked DELETE FROM vb6_linksdebug WHERE settingtime < '1243891016'
stop proces 1193 database_name localhost database_name Query 32
Locked DELETE FROM vb6_linksdebug WHERE settingtime < '1243891016'
stop proces 1196 database_name localhost database_name Query 32
Locked DELETE FROM vb6_linksdebug WHERE settingtime < '1243891017'
stop proces 1200 database_name localhost database_name Query 32
Locked DELETE FROM vb6_linksdebug WHERE settingtime < '1243891017'
I deactivated the plugins and all went back to normal.

AndrewD
06-09-2009, 03:08 AM
The LDM Similarthreads plugin has a problem. At least when several thousand visitors try to open threads around the same time.

Threads would not open anymore. A mass of queries where launched. Tables started locking. Here are the queries that where running when my site went down:
I deactivated the plugins and all went back to normal.

I'm not surprised, and this is why I was saying yesterday that one needs to keep the functionality of these plugins under control.

However, I think the error messages that you are reporting are happening because you have switched on LDM's debug or tracing feature - they are not related to the *similarthreads* plugin. There is no reason at all why you need debug or trace in normal use - all it's doing is adding a lot of overhead in terms of database access. I suggest you disable this feature and see whether the other plugins are still causing problems.

Debug and tracing are found on LDM->admin->debug

AndrewD
06-09-2009, 03:29 AM
I would like to display an 'upload file' button within each category. Adding a button is relatively easy to do, but I would like the category to be selected on the upload page. I have been looking to find the code.
Here is what I have come up with for the links_main template so far:
<td class="smallfont"><a href="$LINKS_SCRIPT.php?{$vbulletin->session->vars['sessionurl']}action=addlink&amp;catid=<if condition="$viewcatid">
rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="Post new file" border="0" /></a><else />&nbsp;</if></td>

But that does not select the category, like it should. Do you know what I am doing wrong?


<td class="smallfont">
<if condition="$viewcatid>0"><a href="$LINKS_SCRIPT.php?{$vbulletin->session->vars['sessionurl']}action=addlink&amp;catid=$viewcatid"
rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="Post new file" border="0" /></a><else />&nbsp;</if>
</td>

pooslokka
06-09-2009, 07:37 AM
oh great ;)

btw, ill check the information you gave and reply you asap
Thank you andrewD for the kind corporation :)

Hai andrew, sorry for the delayed reply

i went to our vps lx admin panael and change the max memory limit to 65
but its not taking effect in vb admin
still shows old value

in lx admin
https://vborg.vbsupport.ru/

after changing, i login to vb admin
but still 32

https://vborg.vbsupport.ru/

uploading pic also still same problem.


Edit : May be i need to reboot the vps right?
Edit : banghead. even after restart of vps, it says 32 :)

skol
06-09-2009, 08:04 AM
Sorry to hear this. Do you want me to take a look - I can't easily suggest a solution otherwise. Send me a PM with site details + a full admin account.

Superb Andrew thank you,all up and running..:D

AndrewD
06-09-2009, 10:00 AM
Hai andrew, sorry for the delayed reply

i went to our vps lx admin panael and change the max memory limit to 65
but its not taking effect in vb admin
still shows old value

in lx admin
https://vborg.vbsupport.ru/

after changing, i login to vb admin
but still 32

https://vborg.vbsupport.ru/

uploading pic also still same problem.


Edit : May be i need to reboot the vps right?
Edit : banghead. even after restart of vps, it says 32 :)

I'm sorry - I cant really help you with specific server problems. I have no idea whether the parameter you have changed is the the required php parameter or not.

sparklywater
06-09-2009, 09:54 PM
Several thoughts:

3) Does Google actually index urls with long "?action=xxx..." params?

Andrew, I suspect that this might be the cause of the indexing problem. I've checked the other two options you listed and they both look fine. It is possible that Google is overlooking URLs that end in ?action=play...
I already have vbSEO installed. Can you suggest a way to change the core format of those URLs so that they are more conventional, without the ?action=play part?

AndrewD
06-10-2009, 11:55 AM
Andrew, I suspect that this might be the cause of the indexing problem. I've checked the other two options you listed and they both look fine. It is possible that Google is overlooking URLs that end in ?action=play...
I already have vbSEO installed. Can you suggest a way to change the core format of those URLs so that they are more conventional, without the ?action=play part?

You can get LDM to present a more conventional url with the SEO options on LDM->admin. However, these will only work if the web server is properly configured to recognise them. You can find an explanation in the wiki. I have no idea if this can be set up with vbseo - I'm not keen to pay them for a licence in order to develop software that works with their product :)

Could you let me know the url of a page on your site that you want Google to scan, then I can see if I have other ideas.

sparklywater
06-10-2009, 12:48 PM
This is an example of a page: http://www.sparklywater.com/category/2/stream/1190.html

The URL does not show the ?action=play part because I am using vBSEO to rewrite those URLs. However perhaps Google can still decipher the original URLs and has problems indexing them.

sparklywater
06-10-2009, 12:52 PM
By the way, my 'Who's Online' display shows that Google does 'scan' the pages, but it doesn't go on to index them.

AndrewD
06-10-2009, 01:43 PM
By the way, my 'Who's Online' display shows that Google does 'scan' the pages, but it doesn't go on to index them.

I've taken a look at Google, and it is indexing at least some of your stream files. For example, if you enter the search "At the mountains so high site:www.sparklywater.com", it correctly returns a link to the "You Are Never Alone - Zain Bhikha" track.

Other entries, such as the one you pointed out to me (Wonderful World - Connie Talbot), are not indexed, although the essentially identical entry in your "creative arts" forum is being indexed. Perhaps Google doesn't like two pages with virtually the same content?

sparklywater
06-10-2009, 02:12 PM
Thanks for pointing that out, I hadn't noticed. I'll see what I can do to get more of my links indexed :)

Alfa1
06-10-2009, 04:48 PM
At a page with vbadvanced modules, I find the following templates uncached:
links_keysbit
links_othercatsbit(5)
links_ratebit_dropdown(5)
links_reportlinkbit(4)
links_sendtofriendbit(5)I use 3 instances of ldm_new.php
As far as I can see, I do not need this page to show keywords/keysbit, ratebit, reportlink or sendtofriend. I am not sure what othercatsbit is.

I'm not surprised, and this is why I was saying yesterday that one needs to keep the functionality of these plugins under control.

However, I think the error messages that you are reporting are happening because you have switched on LDM's debug or tracing feature - they are not related to the *similarthreads* plugin. There is no reason at all why you need debug or trace in normal use - all it's doing is adding a lot of overhead in terms of database access. I suggest you disable this feature and see whether the other plugins are still causing problems.

Debug and tracing are found on LDM->admin->debug
I had the tracking function on to see if I could find if there where sites leaching, as my stats found very large bandwidth use.

I have turned similar files on again and will see if that works well.
Debug mode shows the following templates are uncached on showthread:
links_keysbit(4)
links_ratebit_dropdown(4)
links_playerbit_JWPlayer (1)
Similar files shows 4 files, but does not show keywords, ratings or a player.

Many thanks for your help.


<td class="smallfont">
<if condition="$viewcatid>0"><a href="$LINKS_SCRIPT.php?{$vbulletin->session->vars['sessionurl']}action=addlink&amp;catid=$viewcatid"
rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="Post new file" border="0" /></a><else />&nbsp;</if>
</td>

Thank you. That's a great improvement!

The order in which categories are displayed is incorrect wherever there is a closed category. I am not sure if this is a coincidence.

AndrewD
06-11-2009, 05:18 AM
At a page with vbadvanced modules, I find the following templates uncached:
links_keysbit
links_othercatsbit(5)
links_ratebit_dropdown(5)
links_reportlinkbit(4)
links_sendtofriendbit(5)I use 3 instances of ldm_new.php
As far as I can see, I do not need this page to show keywords/keysbit, ratebit, reportlink or sendtofriend. I am not sure what othercatsbit is.

Debug mode shows the following templates are uncached on showthread:
links_keysbit(4)
links_ratebit_dropdown(4)
links_playerbit_JWPlayer (1)
Similar files shows 4 files, but does not show keywords, ratings or a player.



The template caching for the vba modules is fixed in the 2.3.0RC5 release. The caching for the similarthreads extra will be fixed in the next release. It is necessary to have those templates cached, as the code does not 'know' what will actually be displayed - this depends on the contents of other templates.

The order in which categories are displayed is incorrect wherever there is a closed category. I am not sure if this is a coincidence.

I can't reproduce this problem.

Alfa1
06-11-2009, 08:29 AM
I had to turn similar files off again, as it seemed to lead to all kinds of errors. Each of the errors where not directly related. They disappeared when I turned the similar files hack off.

I am running 2.3.0RC5, and have installed the extras, but my vba modules are php modules. How do I turn these ldm_new.php modules into something that uses the imported ldm_new.module?

AndrewD
06-11-2009, 08:42 AM
I am running 2.3.0RC5, and have installed the extras, but my vba modules are php modules. How do I turn these ldm_new.php modules into something that uses the imported ldm_new.module?

You have to delete the php files, then go to vb/acp/vb advanced/download upload module

AndrewD
06-14-2009, 06:25 AM
I think there has been enough testing of version 2.3.0, so (with further very minor fixes) this is now available in the header post as the officially supported release for vb 3.7 and 3.8.

SemperFideles
06-14-2009, 06:32 AM
Thank you so much for your labors Andrew.

wbottomley
06-15-2009, 12:52 AM
I'm getting an error: XML Error: > required at Line 12001 while trying to import the xml file.

All files that are required have been uploaded.

AndrewD
06-15-2009, 03:37 AM
I'm getting an error: XML Error: > required at Line 12001 while trying to import the xml file.

All files that are required have been uploaded.

I'm assuming that you are trying to install the English version.

One way in which this error message can appear is if the product-eirma-ldm.xml file has been corrupted at some stage, for example during the upload.

Line 12001 of this file should read:

<phrase name="ll_perms_cat_default_sort_order" date="0" username="" version=""><![CDATA[Default order in which categories are presented]]></phrase>


If the first ">" character has been lost (after version=""), then vbulletin will generate the error you report.

I suggest you re-extract the .zip file and try again with the product-eirma-ldm.xml file

Simon Lloyd
06-15-2009, 06:13 AM
Hai andrew, sorry for the delayed reply

i went to our vps lx admin panael and change the max memory limit to 65
but its not taking effect in vb admin
still shows old value

in lx admin
http://img149.imageshack.us/img149/8297/screenshottzi.jpg

after changing, i login to vb admin
but still 32

http://img149.imageshack.us/img149/7108/screenshotf.jpg

uploading pic also still same problem.


Edit : May be i need to reboot the vps right?
Edit : banghead. even after restart of vps, it says 32 :)I'm guessing you should also change it in your forum root>includes>config.php

nyunyu
06-15-2009, 11:01 AM
I uninstall LDM and got those SQL error message bombing my email.
So, from this thread, I learned that I need to run the LDM Kill file to completely remove LDM.

But, it gave me this error instead,
Fatal error: Call to undefined function delete_ldmtables() in /home/nyunyu/public_html/forum/admincp/local_links_kill.php on line 55

Can you help?

AndrewD
06-15-2009, 11:41 AM
I uninstall LDM and got those SQL error message bombing my email.
So, from this thread, I learned that I need to run the LDM Kill file to completely remove LDM.

But, it gave me this error instead,
Fatal error: Call to undefined function delete_ldmtables() in /home/nyunyu/public_html/forum/admincp/local_links_kill.php on line 55

Can you help?

Sorry to hear you are having problems. First, what SQL error messages are you receiving? Second, what version of LDM are you running? Had you already deleted the LDM code files? The function delete_ldmtables is in the file includes/local_links_admininclude.php, so that file (and includes/local_links_init.php) must both be present for the kill code to work.

wbottomley
06-16-2009, 12:04 AM
Andrew... thank you for your help!

After re-extracting the zip file again, I'm getting this error: XML Error: > required at Line 11999

AndrewD
06-16-2009, 03:25 AM
Andrew... thank you for your help!

After re-extracting the zip file again, I'm getting this error: XML Error: > required at Line 11999

This is the same error, with the corruption now just a line or two earlier. Which software are you using to extract the zip file?

wbottomley
06-16-2009, 11:11 PM
Andrew, I'm using win rar which has always been reliable.

Anything else I should try?

AndrewD
06-17-2009, 03:30 AM
Andrew, I'm using win rar which has always been reliable.

Anything else I should try?

I've just tried winrar and it seems to work ok. Anyway, I attach the unzipped product xml file for you to try.

obmob
06-17-2009, 05:07 PM
Oh... it's official 2.3.0, thanks! :p

wbottomley
06-18-2009, 12:46 AM
Still didn't work.

I uploaded all the files again and have gotten different errors at different times.

For example, 12004 once, another time 12001, and another time 11999

AndrewD
06-18-2009, 03:06 AM
Still didn't work.

I uploaded all the files again and have gotten different errors at different times.

For example, 12004 once, another time 12001, and another time 11999

I really don't know what to say. There's clearly some problem in the upload process on your site, which is corrupting the xml file. Possibly this is to do with your server settings. If you want me to take a look, send me a PM with full site details including a username and password with full vb admin rights.

obmob
06-18-2009, 04:32 PM
Maybe it is the FTP program, maybe you have an uploads manager in your cpanel, if any available.

wbottomley
06-19-2009, 12:13 AM
I think I'll wait a few days until I visit it again.

Will be out of town.

Andrew, will check back in and thank you for the help!

AndrewD
06-22-2009, 11:39 AM
I think I'll wait a few days until I visit it again.

Will be out of town.

Andrew, will check back in and thank you for the help!

I posed this problem to the guys at vb.com, who said that XML errors like that are generally related to a php issue. PHP is timing out, or hitting a memory limit. I tend to agree that this is the most likely cause of your problem. I suspect the memory limit is the more likely.

hydn
06-27-2009, 07:20 PM
Quick question:

I want to show a splash image but ONLY on the link_main (local_link.php front page).

I added the code to the link_main template. Is there an "if condition" for the template or any other way I can restrict this to only the local_links.php front page? For now it's showing up on ALL local_links pages.

Thanks.

AndrewD
06-28-2009, 03:35 AM
Quick question:

I want to show a splash image but ONLY on the link_main (local_link.php front page).

I added the code to the link_main template. Is there an "if condition" for the template or any other way I can restrict this to only the local_links.php front page? For now it's showing up on ALL local_links pages.

Thanks.

Yes, indeed. $viewcatid will be set to -1 if you are on the front page. So put in a test such as

<if condition="$viewcatid==-1"> .. show image .. </if>

hydn
06-29-2009, 02:33 AM
thanks! Works!

hydn
07-09-2009, 04:05 AM
What does "Empty and reinitialise database" do? Empty all entries then reloads them?

I've just linked the categories with forums and would like a new thread created for old links.

If i use "Empty and reinitialise database" will this force creation of new threads now that it's enabled in settings?

Thanks

AndrewD
07-09-2009, 05:59 AM
What does "Empty and reinitialise database" do? Empty all entries then reloads them?

I've just linked the categories with forums and would like a new thread created for old links.

If i use "Empty and reinitialise database" will this force creation of new threads now that it's enabled in settings?

Thanks

NO!!! Empty and reinitialise database does exactly what it says - it deletes everything you have entered and resets everything back to when you first installed LDM.

There is currently no facility to create new threads from old entries. Sorry.