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)

jGas 07-17-2007 01:40 PM

i have to make my question again, now that i've understood something about LDM.

when i enter a category, i find all the entries of that category.

i want that when i click on an entry, it display the page with the rate and comments..

but let me explain with an example.

You are inside this category: dance category

i want thatm if i click on "Angben65 & Sergiopad - L'Atotanka (TaInKiTu)" it opens rate and comments ...is it possible?

thanks! ;)

Rouzbeh1 07-17-2007 03:36 PM

did you try the option in Administration--Permissions ? (you can also set category specific options on this)
must_rate_download
Usergroups that must provide a comment/rating before being allowed to visit/download an entry.

AndrewD 07-17-2007 06:14 PM

Quote:

Originally Posted by jGas (Post 1293634)
i have to make my question again, now that i've understood something about LDM.

when i enter a category, i find all the entries of that category.

i want that when i click on an entry, it display the page with the rate and comments..

but let me explain with an example.

You are inside this category: dance category

i want thatm if i click on "Angben65 & Sergiopad - L'Atotanka (TaInKiTu)" it opens rate and comments ...is it possible?

thanks! ;)

Edit the links_linkbit template.

Find the line (close to the top)
Code:

$linkurljump
Replace by
Code:

<a href="$LINKS_SCRIPT.php?action=ratelink&amp;linkid=$linkid&amp;catid=$viewcatid&amp;lpage=$pagenumber" title="<phrase 1="$linkraters">$vbphrase[ll_viewallratings]</phrase>">$linkname</a>
<!-- $linkurljump //-->

That should do the job.

AndrewD 07-17-2007 06:32 PM

Quote:

Originally Posted by itsblack (Post 1292993)
Maybe it is not the problem of allowance, but the problem of LDM how to treat a url as link or download.

I uploaded the file per ftp to my site, is that not a "download"?

Downloads are files with filetypes that appear in the vb mimetypes table. I checked the code - currently, the allowances only apply for such files - the logic being that other file types are transferred using broswer redirects rather than LDM managed transfers. I realise, now you point it out, that a redirect from your own server is still consuming bandwidth, so there's a logic in applying the allowances. I'll work out the cleanest way to do this for RC version of 2.2.8.

Thanks for the translation - that's excellent (I think!! - can't read it to be sure).

itsblack 07-17-2007 06:47 PM

Thank you for your effort.

jGas 07-17-2007 06:48 PM

now it's perfect..tnx a lot! ;)

Alfa1 07-17-2007 10:26 PM

Andrew,

Could you please answer this:
Quote:

Originally Posted by Alfa1 (Post 1255595)
Hi Andrew,

How do I find the url to link to a search query? I'd like to use keywords to generate forum topic specific links to relating files in LDM. i.e. use the url of a search query result and post that as a link.

Many thanks for your support.


And this:

Quote:

Originally Posted by Alfa1 (Post 1279562)
I have these forum tabs on my site. I apply conditionals to them, so that the tab that corresponds to the section of the site you are on gets highlighted.
To do this for LDM, I need to define what the cat id variables of LDM are.

I tried this, but this didn't work:
PHP Code:

<if condition="in_array($foruminfo[catid], array(126,39, 43))"><li id="active"><a href="http://www.mysite.com/forum/local_links.php?catid=126" id="active">Videos</a></li><else /><li><a href="http://www.mysite.com/forum/local_links.php?catid=126">Video</a></li></if> 

Andrew, could you please inform me of the cat id variables?


Just to clarify: I want to find the category id variables to have the right tab be highlighted when a member is in a certain category of LDM.

DarkRyda 07-18-2007 05:25 AM

easily my favourite mod for Vbulletin. Thanks for this awesome addition and excellent support, can't wait for final of version 2.2.8.

Alfa1 07-18-2007 10:21 AM

Yes, same here. It still puzzles me why LDM is not a Premium mod.

I revived the request here

TheBlackPoet 07-18-2007 11:04 AM

the amount of information on this hack is so monumental... i am left to wonder if you, my friend have a readily available supply of mind altering drugs to keep you sane!!!! this hack is outstanding... and im ashamed it took me so long to incorporate it into my own forum... now, today i will be reading and learning how to use it...

thanks....


All times are GMT. The time now is 06:35 AM.

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.02685 seconds
  • Memory Usage 1,755KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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