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)

smoknz28 12-16-2006 03:13 PM

Gotta tell ya....Andrew definitely goes out of his way. :up: Speaking from personal experience.

AndrewD 12-16-2006 04:04 PM

Quote:

Originally Posted by WebmasterSimds (Post 1139619)
So basically should I always keep an eye on the cache for the thumbs? or not worry about it seeing i did a reset of it?

Thanks In Advance

If the reset has worked, everything should be ok. If it ever goes wrong again, just repeat the cache reset.

Rouzbeh1 12-16-2006 06:46 PM

Quote:

Originally Posted by Rouzbeh1 (Post 1139323)
hi,

i am using ldm_new.module, everything is perfect. the only thing is that, i have sub categories and when i specify the main category, it wont list the entries in the subcategories.
i need this for 3 levels subcategories (i.e. main cat-->sub cat 1-->sub cat 2-->entry)

could you please help me do this?

thanks in advance

ADD*: which template should i use to show thumbnails instead of text links. i am currently using links_vbathumbs, but Category Strips are not shown correctly. image attached

any suggestions?

ansuk 12-16-2006 08:42 PM

Quote:

Originally Posted by AndrewD (Post 1139719)
Plenty of chance of a free service, if you send me a PM with site details, an ftp account and a vb admin userid...

Just as long as it's not too strange a site

Thanks very much Andrew, i'll give you a shout next week :) Perhaps i can atleast give you a donation towards continued development :alien:

AndrewD 12-17-2006 12:10 PM

Quote:

Originally Posted by Rouzbeh1 (Post 1139323)
i am using ldm_new.module, everything is perfect. the only thing is that, i have sub categories and when i specify the main category, it wont list the entries in the subcategories.
i need this for 3 levels subcategories (i.e. main cat-->sub cat 1-->sub cat 2-->entry)

could you please help me do this?

thanks in advance

I have uploaded new versions of the vba modules (see start of thread). The hot and new modules now have an extra parameter - subcategories. If set, the code searches all subcategories (children, grandchildren, etc) or the categories specified.

Bear in mind that you can always specify a comma-separated list of categories if you want to restrict the module to those, e.g. "1,3,5,6".

Quote:

Originally Posted by Rouzbeh1 (Post 1139323)
which template should i use to show thumbnails instead of text links. i am currently using links_vbathumbs, but Category Strips are not shown correctly. image attached

If you have installed the new module versions of the vba code, the important templates are adv_portal_custom_ldm_new_one and adv_portal_custom_ldm_new.

To get the effect of a row of thumbs instead of the normal text links, you need to edit both of these. For adv_portal_custom_ldm_new_one, use the following:

Code:

<td class="alt1" align="center" <if condition="$links_defaults[cellsize]">width="$links_defaults[cellsize]"</if>>
<if condition="$linkimg">
<a href="$LINKS_SCRIPT.php?catid=$catid&amp;linkid=$linkid" title="$title">
<img src="$RESIZE_SCRIPT.php?linkid=$linkid&amp;size=$links_defaults[link_imagesize]" border="0" alt="$linkname_clean" />
</a>
<else />
<span class="smallfont">$linktypebit<if condition="$linkstatus<=0">$linkname<else />$linkurllink</if></span>
</if>
</if>
</td>

For adv_portal_custom_ldm_new, use this:

Code:

<tr><td><table width="100%" cellpadding="0" cellspacing="0"><tr>$links</tr></table></td></tr>

Rouzbeh1 12-17-2006 05:57 PM

thanks you Andrew

is it possible to extract the entries to 2 rows?
for example i have set this module to show 8 Entries. but i want to show 4 entries per row....

BTW. the other modification is exactly what i needed. since i have TOO MANY subcategories (about 550 in each main category), this was the better way to handle that. thanks again

i have also one suggestion :
for people who have more than 500 entries in LDM, and also too many sub categories, it would be useful to have an EDIT button near each entry (for admins or ppl with permission to edit)

robihot 12-17-2006 06:17 PM

Quote:

Originally Posted by AndrewD (Post 1138254)
Now I understand. This is (I think) easy to do with a plugin. Send me a pm with details of the thumbnail service you want to use and I'll take a look.

Hi Andrew

I would like to use the ArtViper Thumbnail Service.
To create a thumbnail, the url has to be parsed as parameter like this:
http://www.artviper.net/screenshots/screener.php?&url={URL}

Thanks for your help!

Regards, robihot

josiespencer 12-17-2006 06:49 PM

This is probably a duh! but I did search and could not find the answer. Is there a demo site for LDM? I have the product installed and have tried to get started with it but I am having some kind of synaptic gap black out or something. I can't figure out the logic for linking the files I load into LDM to a post or thread or directory.

AndrewD 12-17-2006 07:49 PM

Quote:

Originally Posted by robihot (Post 1140470)
Hi Andrew

I would like to use the ArtViper Thumbnail Service.
To create a thumbnail, the url has to be parsed as parameter like this:
http://www.artviper.net/screenshots/screener.php?&url={URL}

Thanks for your help!

Regards, robihot


The only tiny problem with artviper is that it returns a .bmp format file, which the standard php libraries don't handle.

Will think about this.

AndrewD 12-17-2006 07:55 PM

Quote:

Originally Posted by josiespencer (Post 1140498)
This is probably a duh! but I did search and could not find the answer. Is there a demo site for LDM? I have the product installed and have tried to get started with it but I am having some kind of synaptic gap black out or something. I can't figure out the logic for linking the files I load into LDM to a post or thread or directory.

Which way round? An LDM entry which points to a post/thread, or a post which contains a pointer to an entry in LDM, or a post that announces that there's a new entry in LDM

For the first. I set up a custom bbcode [link=id], as follows:

Code:

<a href="local_links.php?action=jump&amp;id=577" target="_new">Statute</a>
where you would replace 577 by the linkid of the entry in question (get it by hovering the mouse over the entry)

For the second, you would create an LDM entry which points to http://yoursite/forum/showthread.php?t=threadid, etc

For the third, there's an autocreate_thread extra in the release extras directory.


All times are GMT. The time now is 01:38 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.03162 seconds
  • Memory Usage 1,756KB
  • 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
  • (3)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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