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-21-2007 03:58 AM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1251579)
how about one where ppl can upload regular movie files and it converts them to play in the flash player...

ie: that would give us all our own youtube, google vid etc site instantly!! :D awww yahh... user contributed movie content here we come!! that wold be sooo leet.

(sorry, I know that might not be possiboe...but it was a thought. :))

Nice but as you say..


Quote:

Originally Posted by GrendelKhan{TSU (Post 1251579)
also, may LDM is producing weird letters when post comments to threads....
ie: make a comment to a video, it posts to thread... the comment comes out with weird text:
namely: " \r\n\r\n" appears :confused:

eg:
http://www.clantsu.org/forums/anime/...subtitled.html

Yes, I'd spotted that - it's fixed in the next version (they all say that, don't they...) backslash r and backslash n are the codes for a new line, and shoould come out as such.


Quote:

Originally Posted by GrendelKhan{TSU (Post 1251579)
still can't figure out why the thumbnail viewer isn't working for our music upload section. :( I have not changed any templates of LDM.

Do you want me to take a look? Send me a PM with site details and an admin pwd if so.

AndrewD 05-21-2007 04:16 AM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1251600)
ps. sorry forgot a question...

is there a way to find out what the actually link to the file is? like if want to hotlink to an uploaded video or music file (mp3) to stream somewhere else (like another site or part of the forums)...

could I?


specifially I want to:

-upload a mp3 to LDM.
-link and/or stream it elswehre, like a separate xeon flash jukebox thingy or a separate site.

but I can't figure out what the url would be(much less whether it'd work). :( me stooopid.

Funny thing is that the next question on the forum points to the answer.

The url you need to play entry XX in category YY is the following

Code:

http://url-to-your-forum/forum/local_stream.php?action=stream&linkid=XX&catid=YY
Be aware that the remote player will seem to LDM as if it is an unregistered user, so you must set up things so that unregistered users have access.

AndrewD 05-21-2007 04:17 AM

Quote:

Originally Posted by kandip (Post 1251780)
Hello, can someone please help me with the local_stream.php?action=stream&linkid=3&catid=1

What happens is this... (when i try to stream a video file)

I have my local_files_root_prefix set as "home/username/
and the upload dir is set at "home/username/uploads/
local_files_root is set to yes

now when i try to stream a video file.. it loads a player but it does not stream. Now I dont know why it does that. I went through this entire thread, like 118 pages to find the solution.. but no luck...


It streams MP3 files just fine.

So someone please help me.. .thanks in advance.

What format video file and which player is it launching?

Happy to lend a hand - send me a PM with site details if you want.

Alfa1 05-21-2007 04:42 PM

local_links_admin.php?set=permissions is really mixed up in my LDM. This is the first time I have noticed this. I am using the vb standard style. Is this a bug of 2.2.7?

AndrewD 05-21-2007 05:37 PM

Quote:

Originally Posted by Alfa1 (Post 1252183)
local_links_admin.php?set=permissions is really mixed up in my LDM. This is the first time I have noticed this. I am using the vb standard style. Is this a bug of 2.2.7?

I've forgotten your site details - send me a PM

Alfa1 05-21-2007 06:16 PM

I've sent you a pm.

Is there software somewhere that allows me to create thumbs of video's?

obmob 05-22-2007 03:45 PM

Thanks for answering Andrew! :D

kandip 05-22-2007 04:55 PM

Quote:

Originally Posted by AndrewD (Post 1251841)
What format video file and which player is it launching?

Happy to lend a hand - send me a PM with site details if you want.


im tryin to stream mpeg or mpg files and the windows media player launches.. but i also tried with quicktime and real player. :( :( but no luck.

AndrewD 05-23-2007 03:24 AM

Quote:

Originally Posted by kandip (Post 1252773)
im tryin to stream mpeg or mpg files and the windows media player launches.. but i also tried with quicktime and real player. :( :( but no luck.

Are you using full urls to the video files or local file names? With full urls, the resources needed to read the file are *much* larger than with local files. Depending on the precise video format, the media player sometimes expects to be given the entire file before starting to play. With large files on a remote site, it never gets everything - LDM uses all its allowed resources.

The problem may be somewhere else but I would need to access your site to find out.

wolfe 05-23-2007 09:23 AM

how would i import my cats and downloads off downloadsII into LDM.

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"); 


kandip 05-23-2007 02:52 PM

Quote:

Originally Posted by AndrewD (Post 1253074)
Are you using full urls to the video files or local file names? With full urls, the resources needed to read the file are *much* larger than with local files. Depending on the precise video format, the media player sometimes expects to be given the entire file before starting to play. With large files on a remote site, it never gets everything - LDM uses all its allowed resources.

The problem may be somewhere else but I would need to access your site to find out.

ok i am trying to stream it with the stream feature, not the full url.. the full url works. But even streaming using the stream feature (so that the actual url of the file is not located on the web), dont work either.. will shoot you a PM with my site details.. thanks.

jiffy 05-24-2007 04:46 PM

Sorry I searched but didn't see anything other than another person asking the same question. After upgrading to 3.6.7 I get
Quote:

Sorry - link is not currently available
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?

aloha 05-24-2007 08:34 PM

How do I make it so that I can set no restrictions on certain user groups downloads and uploads?

mauro1947 05-25-2007 07:04 PM

Can anyone help me to reset a user downloaded files history?
Thanks a lot.
Regards!

Rouzbeh1 05-26-2007 07:23 AM

Quote:

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

http://www.yoursite.com/local_links_...p?set=logjumps

Select "Tidy hits table" and the date range you want to delete hits for. don't forget to archive it before (if you like!)

Rouzbeh1 05-26-2007 07:27 AM

Quote:

Originally Posted by aloha (Post 1254046)
How do I make it so that I can set no restrictions on certain user groups downloads and uploads?

http://www.yoursite.com/local_links_...et=permissions (go to LDM-->Administer-->Permissions)
can_access_link--> make a check mark near each usergroup that should get access to download files....

Rouzbeh1 05-26-2007 09:13 AM

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!
in portal i get these links for thumbs...
http://www.site.com/local_links.php?catid=&linkid=3518 where no CATID is shown!

mauro1947 05-26-2007 01:12 PM

Quote:

Originally Posted by Rouzbeh1 (Post 1254873)
http://www.yoursite.com/local_links_...p?set=logjumps

Select "Tidy hits table" and the date range you want to delete hits for. don't forget to archive it before (if you like!)

Thanks for your reply, but i need to delete the history of ONE user.
For example, i need to delete all the download history from user "test".
Do you understand?
Can you help me?
Thanks a lot.
Regards!

mili 05-26-2007 04:14 PM

Is there a way to restrict certain groups from downloading based on the time of the day?

Rouzbeh1 05-26-2007 08:40 PM

Quote:

Originally Posted by mauro1947 (Post 1254946)
Thanks for your reply, but i need to delete the history of ONE user.
For example, i need to delete all the download history from user "test".
Do you understand?
Can you help me?
Thanks a lot.
Regards!

i am not sure, but as far as i could see, there was no option for this. you should wait until Andrew reads you post

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.

Alfa1 05-27-2007 04:06 PM

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.

AndrewD 05-27-2007 04:23 PM

Quote:

Originally Posted by wolfe (Post 1255583)
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.

I'll add it to the list of things to do.

wolfe 05-27-2007 05:34 PM

also m8 is it possible to add a different icon per cat like for php there is a php image like the attahcment images. :P

Rouzbeh1 05-27-2007 06:34 PM

Quote:

Originally Posted by AndrewD (Post 1255524)
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.




Bug in the adv_portal_custom_ldm_new_thumb_one template, sorry.

$catid should be $linkcatid

thank you very much
i just needed that bugfix in template, because i have set seo_friendly to yes.
btw. how do i change local_links to download in this url (using mod_rewrite & vbSEO)
http://www.domain.com/local_links/links/99/3527

thanks

AndrewD 05-28-2007 04:20 AM

Quote:

Originally Posted by Rouzbeh1 (Post 1255694)
thank you very much
i just needed that bugfix in template, because i have set seo_friendly to yes.
btw. how do i change local_links to download in this url (using mod_rewrite & vbSEO)
http://www.domain.com/local_links/links/99/3527

thanks

This is explained in http://www.eirma.org/wikis/index.php...e_Optimisation

AndrewD 05-28-2007 04:27 AM

Quote:

Originally Posted by wolfe (Post 1255661)
also m8 is it possible to add a different icon per cat like for php there is a php image like the attahcment images. :P

You can have different category icons (standard cat, cat with new entries, subcategories) on a per-category basis. Edit the category of interest, select the second tab on the top (Control settings) and find cat_icon, etc.

You (re)set these by providing the name of the icon you want to use, which has to be in the LDM icons directory.

This works hierarchically - any subcategories in that category will use the new settings unless over-ridden there.

You can't change the file type icons on a per-category basis, but you can add any new filetype icons you want, simply by dropping a file called filetype.gif/jpg/png into the icons directory. So if you added a file asf.gif, then downloads which are .asf file will be illustrated with that icon.

Have I understood your question correctly?

wolfe 05-28-2007 12:08 PM

thx m8 will give it ago also the descriptions of my downloads are sending the content right off the page because its not wrapping whys this m8.

Alfa1 05-28-2007 05:16 PM

I see this description of RSS feeds in your wish list:
Quote:

Link to RSS feeds .. everything would be the same, apart from when you click on the feed link which would direct you to a LDM page where you would see content of the feed. I know we have "XML/RSS feeds in" in the wish list, but I see that more as an automated process of pulling in links from other LDMs.
Does this cover implementing the RSS feeds of flash video sites(google video et al) to get the video's in the desired feeds to play in the jukebox, with the flash video add on?
If not, can you please add this request to your wish list?

Slave 05-29-2007 01:21 AM

Quote:

Originally Posted by Alfa1 (Post 1256323)
I see this description of RSS feeds in your wish list:
Does this cover implementing the RSS feeds of flash video sites(google video et al) to get the video's in the desired feeds to play in the jukebox, with the flash video add on?
If not, can you please add this request to your wish list?

That was one of my wishes Alfa1 :)

I was thinking more along the lines of just links ..

mili 05-29-2007 04:18 AM

Quote:

Originally Posted by AndrewD (Post 1255497)
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.

Yes thank you. It is essential for my site. Any idea when this feature will be available? I don't want to sound pushy, merely inquiring.


All times are GMT. The time now is 01:31 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.03209 seconds
  • Memory Usage 1,866KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (30)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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