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)

vbboarder 08-30-2008 02:43 PM

Quote:

Originally Posted by AndrewD (Post 1610399)
Thanks for the info.

The sizing bug was originally intended to be a feature - the larger player would include the album cover within the player, rather than displaying it separately. But this did not work consistently.

Actually, my fix is not a complete fix. I would like to be able to detect if the audio file has an album art or attached thumbnail so I can size the player appropriately. Can you tell me what variable or function I can use for that? Thanks.

Preech 08-30-2008 09:00 PM

How do I get this to play without using Windows Media Player. I don't really want a pop up.

myrhoto 08-31-2008 04:25 AM

I cannot figure out how to get this to create a new thread in a forum I want every time a new files is uploaded, it won't let me choose anything other then "none".

ANy help?

AndrewD 08-31-2008 05:14 AM

Quote:

Originally Posted by Preech (Post 1610820)
How do I get this to play without using Windows Media Player. I don't really want a pop up.

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.

AndrewD 08-31-2008 05:21 AM

Quote:

Originally Posted by myrhoto (Post 1610971)
I cannot figure out how to get this to create a new thread in a forum I want every time a new files is uploaded, it won't let me choose anything other then "none".

ANy help?

Do you mean that the ldm/admin/settings page, Create Threads on New Entries/Comments, autocreate_forum only includes the value 'None'?

Have you set up your forums in a particular way, e.g. hidden, private, etc?

myrhoto 08-31-2008 03:24 PM

Quote:

Originally Posted by AndrewD (Post 1610982)
Do you mean that the ldm/admin/settings page, Create Threads on New Entries/Comments, autocreate_forum only includes the value 'None'?

Have you set up your forums in a particular way, e.g. hidden, private, etc?

Yes, all my forums are not viewable by non-registered people. But all registered people can see my downloads page.

I want it so when someone uploads music they made, it'll create a thread in my "Download Updates" forum saying that there is a new file, and it'll include a link to get there and see it. And everytime the file is updated , it post a new post saying the file has been updated etc.

My problem is I cannot find out how to set it to post in the forum I want. In my Download updates forum. Any help?

Everytime try to change that value of "none" I can't change it to anything else.

SS Attached

AndrewD 08-31-2008 04:12 PM

Quote:

Originally Posted by myrhoto (Post 1611232)
Yes, all my forums are not viewable by non-registered people. But all registered people can see my downloads page.

I want it so when someone uploads music they made, it'll create a thread in my "Download Updates" forum saying that there is a new file, and it'll include a link to get there and see it. And everytime the file is updated , it post a new post saying the file has been updated etc.

My problem is I cannot find out how to set it to post in the forum I want. In my Download updates forum. Any help?

Everytime try to change that value of "none" I can't change it to anything else.

SS Attached

The fourm menu used on these pages is built from the standard "forumjump" menu which is used throughout your vb. The master setting is built deep in the heart of vbulletin's initialisation code. The LDM admin pages only show the forums that your master setting have said should be displayed.

There are a number of ways in which a board can be set up so that forums (all forums) disappear from this menu. You can check these using vb/admincp/forums/forum manager

- Forums with a 'display order' that is set to zero will not appear
- Forums marked as 'not active' will not appear
- Forums marked as not "Show this Forum and Child Forums on the Forum Jump Menu" will not appear
- Private forums may not appear.

It is possible to trick LDM into accepting a hidden forum, but it is not very robust, as I had not anticipated that anyone would do this. Basically, you have to re-enable the forum display via the vb admin, go to LDM admin/settings, make your selection, then go back to the vb/admin and turn off the display again. But the problem with this approach is that you will lose the setting next time you make a change to the ldm/admin settings.

myrhoto 08-31-2008 06:01 PM

I'm sorry if i'm not being clear...

I'm looking for an add on like this for your version of downloads...

https://vborg.vbsupport.ru/showthread.php?t=130995

Sorry

AndrewD 08-31-2008 07:22 PM

Quote:

Originally Posted by myrhoto (Post 1611356)
I'm sorry if i'm not being clear...

I'm looking for an add on like this for your version of downloads...

https://vborg.vbsupport.ru/showthread.php?t=130995

Sorry

You are being perfectly clear, and LDM provides this function directly. I understood that your problem was that the forumlist is not being shown on the selection page. As far I as I know, I have described what can cause this problem. Have I missed something.

myrhoto 08-31-2008 08:30 PM

Quote:

Originally Posted by AndrewD (Post 1611400)
You are being perfectly clear, and LDM provides this function directly. I understood that your problem was that the formlist is not being shown on the selection page. As far I as I know, I have described what can cause this problem. Have I missed something.

Hey, I must of misunderstood you. I apologize. I went thru that list and found out what the problem is! Now it's fine! Anyways I can change the title of the New thread, to be "New File Added: (and then the name of the file?) "

That would be great. Thank you much for your help!

myrhoto 09-01-2008 02:08 AM

Oh and is there a way we can upload multiple files at one time? Like upload five songs for one listing.

Maybe you can but I just can't find it.

derfelix 09-01-2008 04:12 AM

Hi andrew..
went through a series of test and was wondering:
its definetely NOT a bug but..
i can disable some of the bbcode in description.. like images but not html or php or quotes ...
actually i only want user to be able to use smilies.. bold, italic fonts etc.. but not the stuff breaking the layout...
so I only activated the smilies..
i limited description to 500 chars..
i tested adding an image.. (it will just give the url) thats fine..

but the user still can add php code, html code, indent, list and quotes.... (which looks horrible)

i did a str_replace for all those tags.. but my question.. is there a vbul native way to do that.. or something else more elegant?

Felix

AndrewD 09-01-2008 04:14 AM

Quote:

Originally Posted by myrhoto (Post 1611641)
I can change the title of the New thread, to be "New File Added: (and then the name of the file?) "

vb/admincp/languages/search in phrases. Find the phrase called ldm_thread_create_title. By default, the phrase contents are {1}. Change this to New File Added: {1}

See http://www.eirma.org/wikis/index.php..._Announcements for a full explanation

Quote:

Originally Posted by myrhoto (Post 1611641)
Oh and is there a way we can upload multiple files at one time? Like upload five songs for one listing.

ldm/admin/settings/Category and Entry Creation and Editing/allow_add_multi.

Only one point - LDM has an optional flash-based uploader (release/extras/swfupload), which gives a progress bar for uploads. This only works with the 1-file-at-a-time add entry page.

AndrewD 09-01-2008 04:24 AM

Quote:

Originally Posted by derfelix (Post 1611710)
Hi andrew..
went through a series of test and was wondering:
its definetely NOT a bug but..
i can disable some of the bbcode in description.. like images but not html or php or quotes ...
actually i only want user to be able to use smilies.. bold, italic fonts etc.. but not the stuff breaking the layout...
so I only activated the smilies..
i limited description to 500 chars..
i tested adding an image.. (it will just give the url) thats fine..

but the user still can add php code, html code, indent, list and quotes.... (which looks horrible)

i did a str_replace for all those tags.. but my question.. is there a vbul native way to do that.. or something else more elegant?


Felix

You mean that you want the bbocdes removing from the description (on display or on entry?), so that it doesn't read something like this:

hello [ code ] this is a coloured text [ / code]

but rather

hello this is a coloured text

myrhoto 09-01-2008 05:12 AM

Quote:

Originally Posted by AndrewD (Post 1611711)
vb/admincp/languages/search in phrases. Find the phrase called ldm_thread_create_title. By default, the phrase contents are {1}. Change this to New File Added: {1}

See http://www.eirma.org/wikis/index.php..._Announcements for a full explanation



ldm/admin/settings/Category and Entry Creation and Editing/allow_add_multi.

Only one point - LDM has an optional flash-based uploader (release/extras/swfupload), which gives a progress bar for uploads. This only works with the 1-file-at-a-time add entry page.

Great figured that out.

One other thing, I tried loading this extra swfupload, and I went to upload a file, and it went all the way to 100% and then gave me An error occurred in the upload. Try again later., and then says
Server did not accept upload & file rejected. Won't let me upload files til I disable the plugin. Any idea why that happened? It's not real important for me to have but it would be nice for other people!

IR15H 09-01-2008 01:58 PM

I've noticed a minor bug with profile_ldmactivity.

On a fresh install of vb 3.7.3 with LDM 2.2.9 P3, with profile_ldmactivity set to "No".

http://img83.imageshack.us/img83/990...7forumsoj3.png

To reproduce;
  1. Set profile_ldmactivity to "Yes", hit update, then set it to "No" and update again.
  2. Navigate to a user's profile.

Additionally, would it be possible to add a conditional whereby if profile_ldmactivity is set to yes, but a user has no recent hits and/or entries then something is displayed such as "No Recent Hit/Entries" (or maybe not display the block at all), rather than have an empty field?

http://img373.imageshack.us/img373/2...8forumshg3.png

Concerning tags, would it possible to make it so that multi-worded tags are permitted, separated by commas, as is the way with regular vbulletin?. Also, at site/forum/local_links_admin.php?set=keywords, would it possible to make the keywords read left to right, rather than top to bottom?

http://img180.imageshack.us/img180/8...9adminizi9.png

abroad 09-01-2008 02:05 PM

does this work with vbseo?

AndrewD 09-01-2008 03:33 PM

Quote:

Originally Posted by IR15H (Post 1612002)
I've noticed a minor bug with profile_ldmactivity.

On a fresh install of vb 3.7.3 with LDM 2.2.9 P3, with profile_ldmactivity set to "No".


To reproduce;
  1. Set profile_ldmactivity to "Yes", hit update, then set it to "No" and update again.
  2. Navigate to a user's profile.

Additionally, would it be possible to add a conditional whereby if profile_ldmactivity is set to yes, but a user has no recent hits and/or entries then something is displayed such as "No Recent Hit/Entries" (or maybe not display the block at all), rather than have an empty field?


Concerning tags, would it possible to make it so that multi-worded tags are permitted, separated by commas, as is the way with regular vbulletin?. Also, at site/forum/local_links_admin.php?set=keywords, would it possible to make the keywords read left to right, rather than top to bottom?

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. :)

AndrewD 09-01-2008 03:34 PM

Quote:

Originally Posted by abroad (Post 1612008)
does this work with vbseo?

Yes, people have this working well. There is a section in the online wiki describing vbseo integration. However, I do not have access to vbseo, so I can't debug problems for you.

TsirhCitna 09-01-2008 06:42 PM

Request: Is there a way to have the page title of View Comments and Ratings to have the link name in the page title for better SEO?

yahoooh 09-01-2008 06:59 PM

i have issue with :
The Image Resizer. Powered with Lytebox / Highslide / Lightview / and many more!

i use in description of some entries :

and the image which should use this hack to show in the fullbage it will open in another page
how to make it use this hack as threads and other addon that i use on them [img]

any help plz

derfelix 09-01-2008 07:54 PM

Quote:

Originally Posted by AndrewD (Post 1611714)
You mean that you want the bbocdes removing from the description (on display or on entry?), so that it doesn't read something like this:

hello [ code ] this is a coloured text [ / code]

but rather

hello this is a coloured text

No i actually only want to be able to suppress bbcode that can break my layout.
I have a template that reminds the google link layout but with a site thumbnail all within a fieldset...

so a text like:
hello this is a red bold, italic text ;) with smiley
is acceptable..

But a description containing [ html ], [ php ] or [ CODE ] or [ QUOTE ] tags can really break the layout.

also if i limit the description lenght to lets say 500 chars.. and in editor there is a long quote ... it will get truncated in the middle of the [ quote ]...

i thought of a fix.. but maybe you have a better idea.
1. replace the editor with quickreply (but add smilies as dropdown or below like here in normal editor)

2. do a preg or str _replace to remove unwanted tags...

(its not that users will use those tags by inadvertance.. but some really want to break layout)

Felix..

Ninosport 09-02-2008 02:50 PM

Is there a way to sort the categories in descending order (from Z to A)? I could not find any setting for this in the admin panel or a hack in this thread.

Thanks!
-Nino

obmob 09-02-2008 03:55 PM

I think you must add an order to the categories, that's how i ordered mine ^^,

sparklywater 09-02-2008 05:36 PM

Hi Andrew,

When clicking on a link in the 'Who's Online' Display, for example linking to a media file being played by a user, this link should go directly to the embedded file in LDM, ie. it should go to the page which uses the 'link_play_embedded' template, so users should be able to immediately start playing the media. Currently, what happens is that the link in 'Who's Online' redirects to an intermediate page which uses the 'links_main' template, and this page is unable to play the media file directly. The user is required to click on the filename on this page again to be taken to the correct 'links_play_embedded' template.

The 'links_main' template being used in the intermediate page also causes another problem. The 'extended description' of the category in which the entry is in becomes displayed under the filename in this page, even though the page is displaying information about the media file and not the category.

These problems would be solved if we could get rid of the intermediate redirecting page, which to me is rather unnecessary, and would mean that users are taken directly to the embedded media file from the 'Who's Online' display. Can you please let me know if it's possible to do this?

Ninosport 09-02-2008 06:52 PM

Quote:

Originally Posted by obmob (Post 1612888)
I think you must add an order to the categories, that's how i ordered mine ^^,

I tried that but doing it puts seperators between the categories and it doesn't look good to me.

AndrewD 09-02-2008 07:34 PM

Quote:

Originally Posted by Ninosport (Post 1613003)
I tried that but doing it puts seperators between the categories and it doesn't look good to me.

Although it doesn't say this, the default_sort_order setting does also apply to categories.

If you want to go the display_order route,you can get rid of the horizontal line by clearing the links_linkseparator template

Ninosport 09-02-2008 07:44 PM

Quote:

Originally Posted by AndrewD (Post 1613031)
Although it doesn't say this, the default_sort_order setting does also apply to categories.

This works for me! Thanks!

TsirhCitna 09-03-2008 04:48 PM

I'm trying to limit members with 0 posts to only be able to download 1 file until they have posts.

I'm using the limitaccess_byposts but no matter what I put in limitaccess_byposts_bytesavail it always says:
Sorry, you do not have sufficient download allowances available at the moment
Allowances: 1 files/0 used, 1 bytes/0 bytes used
Access is limited until you have posted 1 times
Current post count: 0

AndrewD 09-03-2008 07:16 PM

Quote:

Originally Posted by TsirhCitna (Post 1613752)
I'm trying to limit members with 0 posts to only be able to download 1 file until they have posts.

I'm using the limitaccess_byposts but no matter what I put in limitaccess_byposts_bytesavail it always says:
Sorry, you do not have sufficient download allowances available at the moment
Allowances: 1 files/0 used, 1 bytes/0 bytes used
Access is limited until you have posted 1 times
Current post count: 0

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']);

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 09:04 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.03149 seconds
  • Memory Usage 1,895KB
  • 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
  • (4)bbcode_code_printable
  • (23)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