vb.org Archive

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

Preech 09-03-2008 08:35 PM

Quote:

Originally Posted by AndrewD (Post 1610981)
Do you mean that Windows Media Player is launching? Or do you mean that LDM is launching a popup window that uses Windows Media Player and you don't want this to happen?

- First, check that you have provided mimetype information for the media files (mp3, etc) in the vbulletin admincp attachments table. This is explained in the LDM online wiki. Without this information, the jukebox does not recognise that it can handle the file.

- There are a group of settings on the LDM admin settings page which define whether to launch a small popup window with the Jukebox, or play the media in the main browser window.

- There are also a couple of extras available which extend the player to work in-line in the entry descriptions using the Jeroen Wijering or (commercial) Wimpy players.

Sorry, I had worded this wrong. I mean, I don't want media player to be the default player. I would rather use the player that comes with this mod.

TsirhCitna 09-03-2008 11:19 PM

Quote:

Originally Posted by AndrewD (Post 1613864)
My apologies. There is a bug in the extra.

Go to vb/admincp/products and plugins/plugin manager

Edit the plugin Links and Downloads Manager - Limit allowances of users with low post counts attached to hook ldm_prcheck_user_allowances

Change the line

Code:

    $allow['bytesavail'] = ldm_decode_bytes($links_defaults['limitaccess_byposts_bytesenable']);
to
Code:

    $allow['bytesavail'] = ldm_decode_bytes($links_defaults['limitaccess_byposts_bytesavail']);

Thanks.

AndrewD 09-04-2008 03:28 AM

Quote:

Originally Posted by Preech (Post 1613910)
Sorry, I had worded this wrong. I mean, I don't want media player to be the default player. I would rather use the player that comes with this mod.

LDM needs to "know" that you want it to play the relevant file types. The relevant filetypes (e.g. mp3) have to be found within the vbulletin/admincp/attachments/attachment manager table, with valid mimetype information.

You can add the filetypes manually, or there is an addon in the ldm release zipfile, directory /release/extras/add-mimetypes, called add-mimetype which will do the job for you.

Once this is done, LDM should automatically use the inbuilt players.

IR15H 09-04-2008 10:00 PM

Quote:

Originally Posted by AndrewD (Post 1612082)
All things are possible! The profile integration needs rethinking, because the vb interfaces have changed substantially since this was first written. Tags did not exists in vb when they were added to LDM, and so on.

Thanks for the prompts. :)

Excellent! Thanks once again.

derfelix 09-05-2008 03:38 AM

Hi andrew,

I think i discovered another teeny weeny bug... maybe you can reproduce and confirm..

Following:

I am as Admin browsing links..
I have 5 entries on that page .. each entry has, lets say 5 keywords...

entry number three has keywords: art paintings canvas colours france

now i go to the "filter dropdown" at the top of the page and select keyword art for filter
As expected entry number three is displayed but:
it only has 1 keyword displayed: art

NOW if i edit keywords inline (by clicking on the little tag image) and add a keyword (lets say:fineart) .. and click the "go" then..... the other keywords are lost.. and if i switch back to filterless display.. entry number 3 will only have 2 keywords left.. ie: art and fineart..

If I know this as admin its not a major problem, because I will NOT edit keywords when using the keyword filter... but if a user wants to edit his own keywords:
- he filters by one of his keywords and thinks he might as well add fineart.. he will loose the other keywords... (as he cannot predict this behaviour the first time he uses the feature)

I hope you understood what i meant... (its early in the morning here and i didnt have my coffee yet :p)

Felix

PS: just checked the code.. fix would imply the rewrite the main query.. i think the easiest way to fix is to disable the keyword editing when you are in filter mode...

AndrewD 09-05-2008 04:23 AM

Quote:

Originally Posted by derfelix (Post 1614831)
Hi andrew,

I think i discovered another teeny weeny bug... maybe you can reproduce and confirm..

Following:

I am as Admin browsing links..
I have 5 entries on that page .. each entry has, lets say 5 keywords...

entry number three has keywords: art paintings canvas colours france

now i go to the "filter dropdown" at the top of the page and select keyword art for filter
As expected entry number three is displayed but:
it only has 1 keyword displayed: art

NOW if i edit keywords inline (by clicking on the little tag image) and add a keyword (lets say:fineart) .. and click the "go" then..... the other keywords are lost.. and if i switch back to filterless display.. entry number 3 will only have 2 keywords left.. ie: art and fineart..

If I know this as admin its not a major problem, because I will NOT edit keywords when using the keyword filter... but if a user wants to edit his own keywords:
- he filters by one of his keywords and thinks he might as well add fineart.. he will loose the other keywords... (as he cannot predict this behaviour the first time he uses the feature)

I hope you understood what i meant... (its early in the morning here and i didnt have my coffee yet :p)

Felix

PS: just checked the code.. fix would imply the rewrite the main query.. i think the easiest way to fix is to disable the keyword editing when you are in filter mode...


Confirmed ;) I hope that I can find a simpler fix...

derfelix 09-05-2008 07:42 PM

btw... found a really teeny weeny one.. because errors can happen..
STANDARD_ERROR_LITE is not cached.. and..for some reason.. there is no header or footer when it is called.. (we are talking about generated errors like expired security token)
just want to let you know
Felix

Alfa1 09-05-2008 09:18 PM

Is there anything special that I need to do to get ldm_new_media.module working? ldm_new.module works fine.

Preech 09-05-2008 09:31 PM

Sorry Andrews. It was a couple of days since I was on the net. I got it to work. No problems since. Thank you.

IR15H 09-06-2008 12:06 AM

Hello again,

Another thing I have noticed concerns table prefixes. I currently have all my vbulletin tables prefixed with vb_ in my database, but have noticed that the LDM ones are installed without this prefix. Is it possible to make it so that in future versions LDM tables also include such a prefix, if one is set?


All times are GMT. The time now is 12:13 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.03204 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
  • (2)bbcode_code_printable
  • (5)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