![]() |
is there anyway i could make it should the number of comments on each download?
next to where it says rate/comment id like to display the number? |
also im trying to install autocreate-threads
but the instructions inside the zip arnt very clear and the wiki doesnt provide install instructions for that, could u help me out? |
Thanks for a wonderful product! I've installed it on my site and have it up and running already.
Now all I've got to do is upload content :) Many thanks! |
* Sorry for the duplicate post (I posted the same question on the 3.5 version of this app accidentally *
I recently installed LDM and really love this app, but I'd like to utilize my own icons instead of the stock ones. My site is dark - It utilizes multiple shades of grey. I'm currently developing a bunch of 16x16 icons for my website, but I'm using .png instead of .gif. I decided to use PNGs because they render shadows much better than GIFs. I can create an icon with a drop shadow and use the same icon on both a white or a dark colored website. Can someone tell me whether it's possible to utilize a .png icon with LDM? If I only need to edit a template or two (or more) that's fine - I just need to know which ones. Thanks! |
Quote:
Edit includes/local_links_include.php Find function get_icons() Six lines later, edit the line Code:
if (preg_match("/(.*?).gif/", $file, $matches)) { Code:
if (preg_match("/(.*?).(gif|jpg|png)/", $file, $matches)) { Code:
$linkfavicon = mk_file_name($links_defaults['file_icons_dir'],'myfav.gif'); Find the line Code:
$linkediticon = mk_file_name($links_defaults['file_icons_dir'],'pencil.gif'); That should do it, I think. |
Quote:
|
Quote:
-> VB/admincp/plugins and products Download/Upload plugins Import either autocreate-plugin.xml or autocreate-2way-plugin.xml The first plugin creates new threads with a message with a link to the new LDM entry. The second plugin does the same, but also modifies the LDM entry description to include a link to the thread. Once installed, the plugin is active. Step 2: Using the plugin The plugin runs automatically whenever a new entry is created in LDM *provided* that entry is "associated" with a forum. Entries are either "associated" with a forum by default (if the admin has set the LDM setting default_forumid), implicitly by picking it up from the category's associated forum (Add/Edit category) or explicitly in the Add Entry form, by users who have the LDM permission *can_set_permissions*. Forum associations are normally used in LDM to set up access permissions, but this association is picked up by the plugin to decide where to post the new thread. If an entry is created without an associated forum, the plugin does nothing. Step 3: Modifying the plugin (Advanced Use!!) If you want the plugin only to fire in certain LDM categories, you can edit it. There are two lines in each plugin with the php code $limitcats = array(); You need to change the array statement to include a list of the category numbers where the plugin will fire. You can find the category numbers by looking for the "catid" that is shown when you hover the mouse over a link to the category. Normally, you will not need to worry about this - just install the plugin and let it run. |
Thank you for this great add-on,
Are there any informations when 2.2.6 Final will be released? I only need the Link Manager of it...is it possible to disable all other funktions (Jukebox, Download Manager)? I also don´t want users to upload or download anything to/from my server. They should only be able to post links and some text there...is this possible? Couldn´t find any AdminCP Options screenshots...how do you administer all this settings....? |
Hi Andrew :)
Just installed the beta .. I don't seem to get to the 2nd and 3rd page of settings when editing a category again .. have you changed the code that I need to have in the header template? (I'm using the vBa wraparound thing, remember :)) |
Quote:
opps yes sorry, so i guess im all set. |
Quote:
Installing the plugin itself through the admincp is my main problem. |
Quote:
|
Quote:
When you first install LDM, uploads are disabled, and only the administrator can provide items for general use. You use the LDM/admin/permissions page to control which usergroups can do things. Basically, you have to turn things like the Jukebox and uploads on, rather than turn them off. If you need help getting things going, please feel free to ask. |
Quote:
So you need the following statement in your wraparound: Code:
<script type="text/javascript" src="clientscript/ldm_global.js"></script> |
Quote:
|
Quote:
Quote:
|
ok i lied another last thing, i already ahd the categories laid out, so i went to settings and choose the forum id i wanted over all.
then i went to each cat and tried to pick a specific sub forum for the threads, but im not able to, why? |
Quote:
Forum association for categories is on the first tab. |
Quote:
|
Quote:
|
Quote:
you said i cant make threads for existing uploads already easily.........well whats the hard way then? |
Oh, can't wait for final 2.2.6 :D
Well, i can.. and i will :) |
Quote:
|
Quote:
Use something like phpmyadmin, browse to the local_linkslink table, and change all the linkmoderate fields to -2. Go into LDM, select moderate, and then accept the entries. |
Quote:
i was also thinking that this page looks plain http://mmamedia.net//local_links.php is there anyway i can put the most recent comments/rating people made next tot he stats? |
Quote:
|
Quote:
The plugins fires in these two cases: a) Normal "Add Entry" when moderation is off b) Moderate "Accept Entry" when moderation is on They only fire if the entry has been given an associated forum (explicitly or implicitly) which is open for posting. |
Quote:
|
Quote:
Funny thing is, I answered this same question two days ago - take a look at post 424 just above. |
Made a new _greg template, and altered the _main to fit the various template column headings based on $catid. :D I'm quite proud.
For example, here you'll see that the headings are Download/File Information/Date/Downloads http://www.amacny.com/vb/local_links.php?catid=7 Whereas here you'll see the headings are Follow Link/Link Information/Date/Hits http://www.amacny.com/vb/local_links.php?catid=5 Here is a completely custom template with no column headers http://www.amacny.com/vb/local_links.php?catid=4 Any newly added categories would get the defaul column header that just says "Entries", unless included in the _main array. |
Quote:
I tried that and had no luck, I tested with 30 tables, set all of the linkmoderate fields to -2, went into moderation and accepted them all and it still will not show up in the associated forum. BTW, thanks for the excellent support I have seen throughout this thread. |
Hmm... ok, i'm still struggling with XML a lot :(
I'd really need further explanation about columns and its format. I want to import over 50 items at once, Andrew told me it's better to use XML for this, so i have my xml file only with the new entries, and this is how i do or don't understand them :D linkid: well, just follow the last entry in my db linkname: no problem linkdoi: i don't use it, it's blank linkdesc: no prob linkurl: ok linkfile: blank linkimg: it's ok linkimgthumb to zero linkhits to zero linkforum: to -999 i dont use it linkcheck: No idea :( linksize: this is built after link validation, right? so, can it be blank? linkstatus: to 1? what does it mean? linkstatusimg: also to 1? linkdate: :( what format is this? i want to put this one after another, if i place the same date and hour, i usually sort them by number or series... so, how do you read this? linkusername: ok linkuserid: ok linkmoderate: i have all to zero linkreviewfreq: to zero numrate: zero totalrate: zero Hope you can explain this to me, thanks! |
I got this to work, thanks again for the help Andrew. Maybe this would be good for a future request :) It's a bummer to have to manually sit and approve each link one at a time, with many links that takes quite a while.
|
Very nice Hack,but have questions!!
What must i do too addet ED2K links or AJ Links and others Link vormates ??:confused: Thanks for the work :D :D :D :D :D |
Quote:
|
Quote:
LDM is currently hard coded to accept certain protocols. From what I see, ed2k protocol is straightforward to handle. If you are comfortable playing around with the code, take a look in includes/local_links_include.php Find the block Code:
// Protocols supported Code:
"ed2k"=> array("mode"=>MODE_HIDE, "validate"=>0, "musicbox"=>0), |
Quote:
linkstatus and linkstatusimg is one of the following: LINK_BROKEN = 0; LINK_OK = 1; LINK_UPLOAD = 2; Easiest is to set linkstatus to either 0 or 1. If you use 0, then you can subsequently use LDM/admin/statistics/validate broken to check the entries you've added. Leave linkimgstatus as 0 if you have no thumb image. linksize is always re-built on access, so leave it at 0 I think that's all |
Quote:
Okey it add the Link,but not Add this in Client :confused: That search for the file on my Server??? Thx for to do this 2. i want implantet this Links and Downloads Manager - Patch forumhome to display thumbs of new links/hot linksin cmps 2.2.0 Portal,is ther any modul for to do?? |
Quote:
http://www.onlineconversion.com/days...n_advanced.htm Thanks Another question. You know? in vb 3.6.1 when i click on LDMs config inside control panel... i'm taken out of it and config is open in the whole page... is this supposed to happen? Oo Still using 2.2.5 |
Quote:
|
All times are GMT. The time now is 01:35 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|