Quote:
Originally Posted by Alfa1
Andrew, about the vbadvanced plugin blocks:
If I want to add multiple blocks, can I just rename the plugin to whatever I like and use it several times under different names?
|
I'm no expert on vbadvanced, but it seems you can copy/rename the modules in order to use them multiple times. (Actually, you can use a module multiple times without renaming it, but then it becomes difficult to get it to say different things on different parts of the page

.) The thing to check is the number of database hits you create in the vba page - every module carries a load, although the LDM modules should do most of the initialisation work only one time regardless of how many LDM modules you load up.
Quote:
Originally Posted by Alfa1
What are ldm_cat.php and ldm_tot.php?
|
ldm_cats.php creates a block which looks like the categories section of the LDM home page, i.e. a list of the top level categories with direct links to them.
See attached image for an example of how these look.
Quote:
Originally Posted by Alfa1
If I want to display newest files in a certain category, what do I add/change in ldm_new.php?
|
Find the line which reads $filter= and change it as follows:
Code:
$filter = array("link.linkmoderate = 0", "ltoc.catid IN (1,3,5)");
Quote:
Originally Posted by Alfa1
And something different: I have been tooling around for a while to get the thunbs displayed, but can't seem to succeed. The dir where the thumbs should be stored is empty. I can not find another place where they are. Seems like the function is off. create_thumbs_oninsert is on. Strangely enough the database lists 3 thumbs, which I can not find. I hit reset to see if that helps. Now I've got 0. Where can I mass generate thumbs?
|
A number of people have been having difficulties with this for some time. Every time I find a way to patch the last problem, a new one appears.
Easiest is for me to take a look - I've forgotten my username on your site, and I'll need full admin perms back again.
Last question: thumbs are generated 'on the fly' if they don't exist, i.e. after you click the 'reset thumbs' link. There used to be a mass recreate function, but I realised it was unnecessary.