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)

AndrewD 05-27-2007 12:11 PM

Quote:

Originally Posted by wolfe (Post 1253179)
how would i import my cats and downloads off downloadsII into LDM.

Without playing around with DownloadsII, I can't tell you in detail.

LDM has three key database tables that you need to fill -

- linkslink - one entry per download
- linkscat - one entry per category
- one entry per download per category in which you've placed it

You can write some code to transcribe the relevant tables from DownloadsII to this format.

Alternatively, you can try dumping the downloads and categories tables from DownloadsII and reformating them into the .xml or ,csv formats (.xml is better) that LDM can import

Quote:

Originally Posted by wolfe (Post 1253179)
also

how would i make this code show random thumbs

PHP Code:

// This shows "What's new"
$filter    = array("link.linkmoderate=0");
$order    "linkdate DESC ";
list (
$links['new'], $nhits$q) = get_links($filter$order"links_forumhome_thumbs"); 


This is from the patch-forumhome-thumbs plugin, right?

Attached is the modified version which shows random selections. Basically, you just change "linkdate DESC" to "RAND()"

AndrewD 05-27-2007 12:14 PM

Quote:

Originally Posted by jiffy (Post 1253928)
Sorry I searched but didn't see anything other than another person asking the same question. After upgrading to 3.6.7 I get when I try to click a link to download. I was running 2.2.5 and just upgraded to 2.2.7 thinking that might fix it but I'm getting the same message. Everything worked fine on 3.6.4 a few days ago. Is this a simple fix?

This message is produced when LDM fails to access the underlying url/file when you try to start a jump/download. It usually means that there's an error in the url, for example something's moved.

wolfe 05-27-2007 12:15 PM

thx alot m8 just what i needed but also none of the vbadvanced modules work im using vbadvanced 3.0 i tried altering the code so far i got the box showing just no info in it like the cats list.

AndrewD 05-27-2007 12:19 PM

Quote:

Originally Posted by mauro1947 (Post 1254617)
Can anyone help me to reset a user downloaded files history?
Thanks a lot.
Regards!

This isn't built in - I'll add it to the 'to do' list.

Meanwhile you can achieve this by executing the following SQL (vb admincp or phpmyadmin, etc):

DELETE FROM local_linksdownloads WHERE userid=N

where you replace N by the relevant userid

(if you've change the LDM table prefix, replace local_ by the appropriate prefix)

AndrewD 05-27-2007 12:19 PM

Quote:

Originally Posted by wolfe (Post 1255493)
thx alot m8 just what i needed but also none of the vbadvanced modules work im using vbadvanced 3.0 i tried altering the code so far i got the box showing just no info in it like the cats list.

I'll look into this - I did a quick test with vbadvanced 3.0 yesterday and things seemed ok.

AndrewD 05-27-2007 12:21 PM

Quote:

Originally Posted by mili (Post 1255037)
Is there a way to restrict certain groups from downloading based on the time of the day?

Not built in. It is easy to achieve this with a plugin, and I will add it to the next release if you need it.

AndrewD 05-27-2007 01:33 PM

Quote:

Originally Posted by Rouzbeh1 (Post 1254889)
now i have a question :d
what does this option in vba_modules/ldm_new_thumb.module do?
i have selected YES for Show Category Name but it doesn't change anything in display!

My oversight... As far as I can see (will check), I failed to implement this parameter in the code for this module. It's supposed to be consistent with the other modules.


Quote:

Originally Posted by Rouzbeh1 (Post 1254889)
in portal i get these links for thumbs...
http://www.site.com/local_links.php?catid=&linkid=3518 where no CATID is shown!

Bug in the adv_portal_custom_ldm_new_thumb_one template, sorry.

$catid should be $linkcatid

wolfe 05-27-2007 02:23 PM

i have imported the vba modules and nothings showing up on the index page they are active but nothings there

also the plugin to post newthread on forums on new listing is not posting anything any ideas ?

AndrewD 05-27-2007 03:39 PM

Quote:

Originally Posted by wolfe (Post 1255548)
i have imported the vba modules and nothings showing up on the index page they are active but nothings there

also the plugin to post newthread on forums on new listing is not posting anything any ideas ?

Can I take a look at your board - there's probably something obvious but I'm not thinking very clearly. Send me a PM if you want.

wolfe 05-27-2007 03:41 PM

m8 its a private board i dont give out url its invite only sorry can u just add a module to vbadvance 3.0 with vb3.6.7 running and download and attach i will try that file :P sorry.


All times are GMT. The time now is 09:58 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.02867 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
  • (1)bbcode_php_printable
  • (9)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