vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=119041)

Hades-1 10-01-2006 11:59 PM

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?

Hades-1 10-02-2006 12:09 AM

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?

petersweb 10-02-2006 12:12 AM

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!

jgommel 10-02-2006 01:45 AM

* 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!

AndrewD 10-02-2006 04:40 AM

Quote:

Originally Posted by jgommel
* 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!

Currently, LDM is 'hard coded' to use gifs. However, it's a minor change to the current version, and I'll make this standard from the next release.

Edit includes/local_links_include.php

Find function get_icons()

Six lines later, edit the line

Code:

if (preg_match("/(.*?).gif/", $file, $matches)) {
to read

Code:

if (preg_match("/(.*?).(gif|jpg|png)/", $file, $matches)) {
Find the line

Code:

$linkfavicon = mk_file_name($links_defaults['file_icons_dir'],'myfav.gif');
and change myfav.gif

Find the line

Code:

$linkediticon = mk_file_name($links_defaults['file_icons_dir'],'pencil.gif');
and change pencil.gif

That should do it, I think.

AndrewD 10-02-2006 05:20 AM

Quote:

Originally Posted by Hades-1
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?

When at least one person has made a comment, the rate/comment message changes to indicate this - see attached image. Is this what you want?

AndrewD 10-02-2006 05:34 AM

Quote:

Originally Posted by Hades-1
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?

Step 1: Installing the plugin

-> 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.

rasun 10-02-2006 08:27 AM

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....?

Slave 10-02-2006 09:08 AM

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 :))

Hades-1 10-02-2006 02:52 PM

Quote:

Originally Posted by AndrewD
When at least one person has made a comment, the rate/comment message changes to indicate this - see attached image. Is this what you want?


opps yes sorry, so i guess im all set.


All times are GMT. The time now is 04:21 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
  • Page Generation 0.02601 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete