View Full Version : Major Additions - Links and Downloads Manager
Pages :
1
2
3
4
[
5]
6
7
8
9
vbboarder
08-30-2008, 02:43 PM
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
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
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
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
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
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
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
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/LDM_Settings#Forum_Announcements for a full explanation
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
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
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/LDM_Settings#Forum_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/9905/fireshotcapture67forumsoj3.png
To reproduce;
Set profile_ldmactivity to "Yes", hit update, then set it to "No" and update again.
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/2417/fireshotcapture68forumshg3.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/8990/fireshotcapture69adminizi9.png
abroad
09-01-2008, 02:05 PM
does this work with vbseo?
AndrewD
09-01-2008, 03:33 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".
To reproduce;
Set profile_ldmactivity to "Yes", hit update, then set it to "No" and update again.
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
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
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
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
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
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
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
$allow['bytesavail'] = ldm_decode_bytes($links_defaults['limitaccess_byposts_bytesenable']);
to
$allow['bytesavail'] = ldm_decode_bytes($links_defaults['limitaccess_byposts_bytesavail']);
Preech
09-03-2008, 08:35 PM
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
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
$allow['bytesavail'] = ldm_decode_bytes($links_defaults['limitaccess_byposts_bytesenable']);
to
$allow['bytesavail'] = ldm_decode_bytes($links_defaults['limitaccess_byposts_bytesavail']);
Thanks.
AndrewD
09-04-2008, 03:28 AM
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
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
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?
MissKalunji
09-06-2008, 12:41 AM
is anyone available to do a template change for me? PM me
vbboarder
09-06-2008, 02:27 AM
I reported this bug a few weeks ago, but did not test thoroughly:
When editing an entry with both an uploaded file and an image file, if that image is deleted then the uploaded file is also deleted.After testing some more, I discovered that this problem only occurs with photos and no other file types (ie: audio, video, etc). So I guess it's not a bug, but the Image Delete checkbox doesn't make sense because: 1. if the user wanted to change the photo/ thumbnail, he would just upload another one, 2. if the user wanted to delete the photo/ thumbnail, he would use the entry's delete button (located further down), and 3. there's no sense in having a thumbnail that's different from the original photo. Therefore, can you please disable the Image Delete checkbox IF the uploaded file is a photo? I'll be glad to test any changes :D
AndrewD
09-06-2008, 05:37 AM
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
thanks !! - just wait until 2.3.0 comes out - then you can help me find the REALLY BIG ONES !! I'm certain there are going to be some, and I will need some help
AndrewD
09-06-2008, 05:37 AM
I reported this bug a few weeks ago, but did not test thoroughly:
After testing some more, I discovered that this problem only occurs with photos and no other file types (ie: audio, video, etc). So I guess it's not a bug, but the Image Delete checkbox doesn't make sense because: 1. if the user wanted to change the photo/ thumbnail, he would just upload another one, 2. if the user wanted to delete the photo/ thumbnail, he would use the entry's delete button (located further down), and 3. there's no sense in having a thumbnail that's different from the original photo. Therefore, can you please disable the Image Delete checkbox IF the uploaded file is a photo? I'll be glad to test any changes :D
I suspected that this might be the problem - thanks for testing some more - your suggestion makes perfect sense.
AndrewD
09-06-2008, 05:42 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?
Actually, it does have a prefix, just a different one by default, and it can be changed.
See includes/local_links_init.php, around line 48:
// Database Table Prefix
define('THIS_TABLE', 'local_');
// Uncomment this to use the standard VB table prefix...
// define ('THIS_TABLE', TABLE_PREFIX);
You can either change 'local_' to be what you want or you can remove the comment symbols (the //) from the second define statement to use the same prefix as vb (I would not recommend that because you might end up with one database table trying to serve two different masters)
Of course, if you change this in a live system, you will need to use a tool like phpmyadmin to rename your existing tables.
AndrewD
09-06-2008, 06:55 AM
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?
This can be done, but it will add an extra database access every time someone looks at a comments page. This is not a huge deal, but I prefer not to add this unless it's really important for you.
AndrewD
09-06-2008, 08:16 AM
Hi andrew,
I think i discovered another teeny weeny bug... maybe you can reproduce and confirm..
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...
Fortunately, there was an easy fix for both these problems => 2.3.0
derfelix
09-06-2008, 10:48 AM
Fortunately, there was an easy fix for both these problems => 2.3.0
Heyy... does that meen we are going to get 3.0 soon? :p
MissKalunji
09-06-2008, 01:10 PM
how would i be able to ADD an image to the upload?
AndrewD
09-06-2008, 02:02 PM
In 2.3.0:
1. the styledependent category icons..
Added ldm_icons_cached hook in cache_LDMicons(), and defined $stylevar as a global
2. multi language category titles and descriptions..
Added five hooks, essentially where indicated:
ldm_catbit_start in ldm_get_categorybits()
ldm_construct_catlist in ldm_construct_category_list()
ldm_maindisplay_title in main code
ldm_customfields_myentries in ldm_member_customfields_myentries()
ldm_customfields_myhits in ldm_member_customfields_myhits()
MissKalunji
09-06-2008, 04:19 PM
how would i be able to ADD an image to the upload?
in case you missed?
derfelix
09-06-2008, 05:08 PM
AndrewD
Hooks for Multi-language category titles
Wow.. as soon as i get hold of the copy i will get the product out for the multilanguage stuff...
btw.. i'm not being ungratefull.. because you are doing great work.. but as i am trying to test everything.. stumbled into another one:
if you go to the comment page.. you have a button "return" and it takes you back to the link... usually it works fine.. but:
If you did a search.. and within the search results you go to the comment page.. when you click the return from there.... it takes you back to the ldm homepage.. ie: the category list
Felix
PS: I'm leaving in a couple of hours for south of france.. and wont be online for 10 days...
AndrewD
09-06-2008, 06:03 PM
how would i be able to ADD an image to the upload?
ldm/admin/settings -> set link_imagesize to the size you want the images to display
then, the ldm/add entry menu command and entry/edit entry button will take you to a form which includes fields for an image url/an image upload
AndrewD
09-06-2008, 06:04 PM
Wow.. as soon as i get hold of the copy i will get the product out for the multilanguage stuff...
btw.. i'm not being ungratefull.. because you are doing great work.. but as i am trying to test everything.. stumbled into another one:
if you go to the comment page.. you have a button "return" and it takes you back to the link... usually it works fine.. but:
If you did a search.. and within the search results you go to the comment page.. when you click the return from there.... it takes you back to the ldm homepage.. ie: the category list
Felix
PS: I'm leaving in a couple of hours for south of france.. and wont be online for 10 days...
Enjoy...
I'm not ungrateful at all - so much code, so many routes through it - bound to be bugs.
IR15H
09-06-2008, 06:37 PM
Actually, it does have a prefix, just a different one by default, and it can be changed.
See includes/local_links_init.php, around line 48:
// Database Table Prefix
define('THIS_TABLE', 'local_');
// Uncomment this to use the standard VB table prefix...
// define ('THIS_TABLE', TABLE_PREFIX);
You can either change 'local_' to be what you want or you can remove the comment symbols (the //) from the second define statement to use the same prefix as vb (I would not recommend that because you might end up with one database table trying to serve two different masters)
Of course, if you change this in a live system, you will need to use a tool like phpmyadmin to rename your existing tables.
Apologies for my error, and thanks for the info.
MissKalunji
09-07-2008, 02:45 AM
ldm/admin/settings -> set link_imagesize to the size you want the images to display
then, the ldm/add entry menu command and entry/edit entry button will take you to a form which includes fields for an image url/an image upload
:)( Thank you something else
How would i go around to post the LINK of the download itself in the thread? like what i'm trying to do is
when you upload (example) an mp3 that it post a new thread with the LINK itself to the mp3 and that i would be able to embed it so if someone just want to view ONLY the thread without going to the download section itself just to listen example
i'm not sure if you get what i mean?
tekguru
09-07-2008, 02:25 PM
Still running the 'post1' version at the moment, is it worthwhile upgrading yet?
AndrewD
09-07-2008, 04:34 PM
:)( Thank you something else
How would i go around to post the LINK of the download itself in the thread? like what i'm trying to do is
when you upload (example) an mp3 that it post a new thread with the LINK itself to the mp3 and that i would be able to embed it so if someone just want to view ONLY the thread without going to the download section itself just to listen example
i'm not sure if you get what i mean?
I think I understand.
Depending on what you want to do, this either requires a simple code edit or is quite difficult :)
If you *always* want to trigger a download/open a remote url, then edit includes/local_links_forumsinterface.php and find the line
$gotolink = ldm_make_filename($vbulletin->options['bburl'], LINKS_SCRIPT.'.php?linkid='.$linkid.'&catid='.$linkcatid);
Change it to:
$gotolink = ldm_make_filename($vbulletin->options['bburl'], LINKS_SCRIPT.'.php?action=jump&linkid='.$linkid.'&catid='.$linkcatid);
If you *always* want to open the file in the LDM jukebox, then change that line to
Change it to:
[code]
$gotolink = ldm_make_filename($vbulletin->options['bburl'], LINKS_SCRIPT.'.php?action=play&linkid='.$linkid.'&catid='.$linkcatid);
If you want the code to be smart about the file type (i.e. play media files, download others), that would require more extensive changes in that file.
Note that these edits will not change any announcements that have already been created in your forums.
AndrewD
09-07-2008, 04:35 PM
Still running the 'post1' version at the moment, is it worthwhile upgrading yet?
Depends on whether you've been hit by any of the bugs that are fixed in post-2 and post-3. I've not had reports of new problems with these releases.
2.3.0 is coming quite soon, but will be in alpha/beta for a couple of months, I imagine.
MissKalunji
09-08-2008, 01:12 AM
thank you :)
one more thing : links_playerbit_WimpyButton uncached
AndrewD
09-08-2008, 03:29 AM
thank you :)
one more thing : links_playerbit_WimpyButton uncached
thanks
MissKalunji
09-08-2008, 03:37 AM
how can i do it manually?
Thank you so much for ALL of your hardwork!
AndrewD
09-08-2008, 12:28 PM
how can i do it manually?
Thank you so much for ALL of your hardwork!
Create a new plugin, attached to the cache_templates hook, with the following code
if (is_array($globaltemplates)) {
if (in_array('links_main', $globaltemplates)) {
$globaltemplates[] = 'links_playerbit_WimpyButton';
}
}
MissKalunji
09-08-2008, 01:24 PM
oh ok i thought there was another way. cause i didn't see any plugin attached to links that had to do with "cache" :) thanks
TsirhCitna
09-08-2008, 02:57 PM
How would I go about integrating your mod with this one to allow local embedding of videos?
https://vborg.vbsupport.ru/showthread.php?t=189267
MissKalunji
09-08-2008, 05:02 PM
*request feature*
It would be cool if you could upload 2-3 files together for ONE entry example
like i have some audio files that are 3 different remix of the same artist instead of creating multiple entries you create ONE with the 3 audio player
That would be cool :) unless i'm blind and didn't see that option?
AndrewD
09-08-2008, 07:54 PM
*request feature*
It would be cool if you could upload 2-3 files together for ONE entry example
like i have some audio files that are 3 different remix of the same artist instead of creating multiple entries you create ONE with the 3 audio player
That would be cool :) unless i'm blind and didn't see that option?
Entry attributes -> LDM admin page! you can define multiple files associated with the same entry.
MissKalunji
09-08-2008, 08:07 PM
Entry attributes -> LDM admin page! you can define multiple files associated with the same entry.
Lol see i knew there was a way lol
how can i make it the second entry play with the MP3 button?
and
How can i move the top navbar (that is administer etc etc to go right over sort by etc)? i want it to be on top of the categories / or new entries on every pages? i've searched through the templates and only find the links_header and that was it
sparklywater
09-08-2008, 11:01 PM
How can I make the links in "Who's Online" display go directly to the embedded media pages instead of opening intermediary pages in the 'links_main' template?
obmob
09-09-2008, 12:52 AM
Entry attributes -> LDM admin page! you can define multiple files associated with the same entry.
OMG! when did i miss this feature? :eek:
Will try, will try, would be nice to share different wallpapers with one entry.
ArnyVee
09-09-2008, 02:04 AM
Wow, this is the first time that I've looked at possibly adding this mod and it seems like there are a lot of adjustments and changes that have to be made to get it to work.
Is it easier than it seems because there seems to be a lot of detail to get through on these 72 pages :D
Any tips or pointers to a beginner with this mod? I'm off to read the Wiki again as I glanced at it the first time.
AndrewD
09-09-2008, 04:36 AM
Neither of those are currently straightforward.
how can i make it the second entry play with the MP3 button?
Not possible in version 2.2.9. Will be there in 2.3.0
How can i move the top navbar (that is administer etc etc to go right over sort by etc)? i want it to be on top of the categories / or new entries on every pages? i've searched through the templates and only find the links_header and that was it
Ditto.
In four years, you are the first person to ask this :). Currently, the LDM navbar is coded into the links_header template, so it is not trivial (but not impossible) to move. I will make it so in version 2.3.0. Essentially, you have to pull a major piece of that template into a new template, patch the code to assign that template to a new variable, and drop that variable into the links_main template.
AndrewD
09-09-2008, 04:38 AM
Wow, this is the first time that I've looked at possibly adding this mod and it seems like there are a lot of adjustments and changes that have to be made to get it to work.
Is it easier than it seems because there seems to be a lot of detail to get through on these 72 pages :D
Any tips or pointers to a beginner with this mod? I'm off to read the Wiki again as I glanced at it the first time.
It should be very easy to get working if you just follow the installation instructions (upload code, install product installer). The complexities come because this has grown into rather a flexible beast which can do many things. But I hope you'll find that everything is logically organised and that the wiki is easy to follow.
MissKalunji
09-09-2008, 04:39 AM
Neither of those are currently straightforward.
Not possible in version 2.2.9. Will be there in 2.3.0
Ditto.
In four years, you are the first person to ask this :). Currently, the LDM navbar is coded into the links_header template, so it is not trivial (but not impossible) to move. I will make it so in version 2.3.0. Essentially, you have to pull a major piece of that template into a new template, patch the code to assign that template to a new variable, and drop that variable into the links_main template.
I had a feeling it was more complicated then that lol. I'll try myself (no for real think i might wait on 2.3.0) lol
Thanks!
AndrewD
09-09-2008, 04:44 AM
How can I make the links in "Who's Online" display go directly to the embedded media pages instead of opening intermediary pages in the 'links_main' template?
The code is in includes/local_links_profile.php. There are three lines
'<a href="'.LINKS_SCRIPT.'.php?catid='.$myrow['catid'].'&linkid='.$myrow['linkid'].'" title="'.$catname_clean.'" target="_blank">'.
Change these to
'<a href="'.LINKS_SCRIPT.'.php?action=play&catid='.$myrow['catid'].'&linkid='.$myrow['linkid'].'" title="'.$catname_clean.'" target="_blank">'.
Alfa1
09-09-2008, 09:45 AM
Any idea about this?
Is there anything special that I need to do to get ldm_new_media.module working? ldm_new.module works fine.
jdunsworth
09-09-2008, 10:44 AM
First off, excellent mod.. very deep and well written. I am having a similar problem to a few listed above but with no result.
Currently when trying to add an entry all of the filetypes show a size limit of 7.00 Mbytes. The admin panel states that these limits come from the attachment allowances, however, most of our attachments are different than this.
In addition, when uploading anything bigger than 7MB (guessing this is the line between nonsubmission and not) we get a security token error. This happens both in Firefox and Internet Explorer. I have tried the Firefox id fix as well as checking to ensure the vBulletin security tokens exist in the submission forms and the CMSF protection is true in these and everything should be fine.
I am just unsure as to why none of these are working and my very last ditch effort is to reinstall everything considering the amount of uploads we have. Any help is appreciated!
MissKalunji
09-09-2008, 11:47 AM
Neither of those are currently straightforward.
Not possible in version 2.2.9. Will be there in 2.3.0
Ditto.
In four years, you are the first person to ask this :). Currently, the LDM navbar is coded into the links_header template, so it is not trivial (but not impossible) to move. I will make it so in version 2.3.0. Essentially, you have to pull a major piece of that template into a new template, patch the code to assign that template to a new variable, and drop that variable into the links_main template.
I got it :) thanks!
sparklywater
09-09-2008, 12:28 PM
The code is in includes/local_links_profile.php. There are three lines
'<a href="'.LINKS_SCRIPT.'.php?catid='.$myrow['catid'].'&linkid='.$myrow['linkid'].'" title="'.$catname_clean.'" target="_blank">'.
Change these to
'<a href="'.LINKS_SCRIPT.'.php?action=play&catid='.$myrow['catid'].'&linkid='.$myrow['linkid'].'" title="'.$catname_clean.'" target="_blank">'.
Thanks for taking your time to reply. I tried making that change but it didn't do what I had asked. To clarify, I am providing an image below of the "Who's Online" display. The entry that has been circled in red is the link that should go directly to the embedded player page when a person clicks on that link. But the user is taken to a non-embedded page instead:
https://vborg.vbsupport.ru/external/2008/09/24.png
AndrewD
09-09-2008, 03:17 PM
First off, excellent mod.. very deep and well written. I am having a similar problem to a few listed above but with no result.
Currently when trying to add an entry all of the filetypes show a size limit of 7.00 Mbytes. The admin panel states that these limits come from the attachment allowances, however, most of our attachments are different than this.
In addition, when uploading anything bigger than 7MB (guessing this is the line between nonsubmission and not) we get a security token error. This happens both in Firefox and Internet Explorer. I have tried the Firefox id fix as well as checking to ensure the vBulletin security tokens exist in the submission forms and the CMSF protection is true in these and everything should be fine.
I am just unsure as to why none of these are working and my very last ditch effort is to reinstall everything considering the amount of uploads we have. Any help is appreciated!
Clearly there is a security token problem that I have not discovered yet. Perhaps it is related to the following:
If you are trying to process an upload as an admin, the size limits in the attachment table are ignored. However, you cannot over-ride the limits set by your php environment, which is determined by two settings in the php.ini file used by your web server. These settings upload_max_filesize and post_max_size. You can find these values tabulated on the LDM admin pages in the left side column or using vb/admincp/maintenance/phpinfo - I imagine you will find that 7Mb is the smaller of these values. To change these values, you need to contact your web site admin.
As explained in the online wiki, it is important that post_max_size has the same value, or a larger value, as upload_max_filesize.
Let me know if this does not help.
MissKalunji
09-09-2008, 03:22 PM
- Would there be anyway to transform the "Favorite" into a mp3 player ?
Like everytime you add a media to favorite...and you go to your favorite it would show the mp3 player with the favorite as a playlist??
- Is there any (simple way) when you press play on one song (example) and you press another one for the previous one to stop playing?
- When you're using the (mp3 button) would be nice to have a loading message or something cause sometimes i press play and it takes a little bit to load
AndrewD
09-09-2008, 03:25 PM
Thanks for taking your time to reply. I tried making that change but it didn't do what I had asked. To clarify, I am providing an image below of the "Who's Online" display. The entry that has been circled in red is the link that should go directly to the embedded player page when a person clicks on that link. But the user is taken to a non-embedded page instead:
https://vborg.vbsupport.ru/external/2008/09/24.png
You need to make a similar change in the code attached to hook online_location_unknown. However, this code is somewhat more complex and I'm sitting in a train station, so I prefer not to give you a definitive answer at the moment.
sparklywater
09-09-2008, 06:24 PM
You need to make a similar change in the code attached to hook online_location_unknown. However, this code is somewhat more complex and I'm sitting in a train station, so I prefer not to give you a definitive answer at the moment.
no problem, but please don't forget to let me know when you get the chance.
MissKalunji
09-09-2008, 08:48 PM
- Would there be anyway to transform the "Favorite" into a mp3 player ?
Like everytime you add a media to favorite...and you go to your favorite it would show the mp3 player with the favorite as a playlist??
- Is there any (simple way) when you press play on one song (example) and you press another one for the previous one to stop playing?
- When you're using the (mp3 button) would be nice to have a loading message or something cause sometimes i press play and it takes a little bit to load
and is there anyways to cut down on the queries for vbadvanced? is 6 queries really necessary? like i only wanna show the Title and the Play button?
AndrewD
09-10-2008, 04:20 AM
- Would there be anyway to transform the "Favorite" into a mp3 player ?
Like everytime you add a media to favorite...and you go to your favorite it would show the mp3 player with the favorite as a playlist??
Let me think about this. I'm reworking a number of things like this for version 2.3.0
- Is there any (simple way) when you press play on one song (example) and you press another one for the previous one to stop playing?
- When you're using the (mp3 button) would be nice to have a loading message or something cause sometimes i press play and it takes a little bit to load
These require a bit of Javascript.
The Wimpy mp3 button is a self-contained commercial product and until recently I don't think the authors described the scripting interface. (The JWplayer is much better in that respect, as well as being free, although I still have to figure out how to do these things with version 4.x.)
AndrewD
09-10-2008, 04:24 AM
and is there anyways to cut down on the queries for vbadvanced? is 6 queries really necessary? like i only wanna show the Title and the Play button?
Well, I suppose I could keep all the information on tablets of stone instead and read the information out loud ;)
Seriously, I'm not sure whether 6 queries is the bare minimum with the vbadvanced - the stand alone code for version 2.3.0 makes better use of the datastore cache, but I've not yet looked to see whether the vba interface gives access to the datastore at the right time.
MissKalunji
09-10-2008, 04:46 AM
Let me think about this. I'm reworking a number of things like this for version 2.3.0
These require a bit of Javascript.
The Wimpy mp3 button is a self-contained commercial product and until recently I don't think the authors described the scripting interface. (The JWplayer is much better in that respect, as well as being free, although I still have to figure out how to do these things with version 4.x.)
Great Thanks
Well, I suppose I could keep all the information on tablets of stone instead and read the information out loud ;)
Seriously, I'm not sure whether 6 queries is the bare minimum with the vbadvanced - the stand alone code for version 2.3.0 makes better use of the datastore cache, but I've not yet looked to see whether the vba interface gives access to the datastore at the right time.
lol Cool i'm just very careful with queries. Merci :)
realmr
09-10-2008, 10:32 AM
can this be used as an link directory ? Displaying links of submitted sites in an external vb-page ?
obmob
09-10-2008, 03:03 PM
Well... it is a links and downloads manager after all :p
AndrewD
09-10-2008, 04:02 PM
can this be used as an link directory ? Displaying links of submitted sites in an external vb-page ?
Absolutely. Install it, and integrate it with vbadvanced.
AndrewD
09-10-2008, 04:04 PM
Is there anything special that I need to do to get ldm_new_media.module working? ldm_new.module works fine.
What is the problem? I delayed replying until I had a chance to retest this, and it seems ok to me.
glowinggal
09-11-2008, 12:33 AM
hey there :) We have recently upgraded to 2.9.9 R3 hoping that it would correct the issue we seem to be having... we have the directory listed correctly in our admin for the images upload but when we upload an image it actually uploads to the server and is present... but when we view the download; it doesn't show an image
For instance one of the downloads is this and you can link directly to the image it should be linking to for the thumbnail but the thumbnail doesn't actually show WITH the download listed in the category :\
http://www.scrapbook-bytes.com/chat/upload/imageuploads/100912120317956368.jpg
heeeellllp =]
jwashburn
09-11-2008, 12:38 AM
Getting this error when creating a new link
vBulletin Message
New entry accepted. Unfortunately, a thread could not be created in forum for the following reason:
Access denied.
Return
This is when I have the auto create announcement feature turned on.
Any ideas?
AndrewD
09-11-2008, 03:54 AM
hey there :) We have recently upgraded to 2.9.9 R3 hoping that it would correct the issue we seem to be having... we have the directory listed correctly in our admin for the images upload but when we upload an image it actually uploads to the server and is present... but when we view the download; it doesn't show an image
For instance one of the downloads is this and you can link directly to the image it should be linking to for the thumbnail but the thumbnail doesn't actually show WITH the download listed in the category :\
http://www.scrapbook-bytes.com/chat/upload/imageuploads/100912120317956368.jpg
heeeellllp =]
By all means send me a PM with site details and an admin account - I will take a look.
AndrewD
09-11-2008, 04:04 AM
Getting this error when creating a new link
vBulletin Message
New entry accepted. Unfortunately, a thread could not be created in forum for the following reason:
Access denied.
Return
Have you got LDM set up to post to the forum under a particular username, and is the forum only open for posting by certain usergroups?
There is a bug in version 2.2.9-post1, corrected in 2.2.9-post3, which gives the error message you report in that situation.
Simon Lloyd
09-11-2008, 10:40 AM
Andrew, thanks for your help last night!, can i ask is it possible (as mostly i intend my downloads to be text files) to have an excerpt or uncopiable show (including scrollbars) of the text in the item window? just so the folk can see what they are getting but can't copy it until they are in the download usergroup?Hi Andrew, i know how busy you are but any ideas with the above?
Regards,
Simon
glowinggal
09-11-2008, 12:40 PM
By all means send me a PM with site details and an admin account - I will take a look.
will do now :) TY!
sparklywater
09-11-2008, 02:51 PM
You need to make a similar change in the code attached to hook online_location_unknown. However, this code is somewhat more complex and I'm sitting in a train station, so I prefer not to give you a definitive answer at the moment.
Just a reminder to please address this sometime soon when you can...
Thanks.
AndrewD
09-13-2008, 10:58 AM
Just a reminder to please address this sometime soon when you can...
Thanks.
Go to vb/admincp/products and plugins/plugin manager
Edit the plugin Links and Downloads Manager - Handle Who's Online attached to hook online_location_unknown
Find the lines:
elseif ($linkid) {
$thisone = $vbulletin->db->query_first("
SELECT linkid, linkname
FROM " . THIS_TABLE . "linkslink
WHERE linkid = '".$linkid."'
LIMIT 1
");
$userinfo['where'] = '<a href="'.LINKS_SCRIPT.'.php?catid='.$catid.'&linkid='.$linkid.'">'.$thisone['linkname'].'</a>';
}
and change to
elseif ($linkid) {
$thisone = $vbulletin->db->query_first("
SELECT linkid, linkname
FROM " . THIS_TABLE . "linkslink
WHERE linkid = '".$linkid."'
LIMIT 1
");
$userinfo['where'] = '<a href="'.LINKS_SCRIPT.'.php?action=play&catid='.$catid.'&linkid='.$linkid.'">'.$thisone['linkname'].'</a>';
}
and save.
This will change the link for *all* entries to a direct "play"
AndrewD
09-13-2008, 12:09 PM
A number of people have reported that they are having problems with file uploads, with the message:
Your submission could not be processed because a security token was missing.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
This is probably a result of trying to upload files which are larger than your php settings allow.
If you experience this error, go to vb/admincp/maintenance/php info. Look in the section "PHP Core", for the following values:
post_max_size
and
upload_max_filesize
If the value of post_max_size is smaller than or the same size as upload_max_filesize, then things go badly wrong in ways that vbulletin/LDM cannot handle.
Solution - make sure that post_max_size is set to a larger value than upload_max_filesize in the php.ini file.
If you've no idea what I'm talking about, speak to your server administrator.
sparklywater
09-13-2008, 03:06 PM
Go to vb/admincp/products and plugins/plugin manager
Edit the plugin Links and Downloads Manager - Handle Who's Online attached to hook online_location_unknown
Find the lines:
...
and save.
This will change the link for *all* entries to a direct "play"
Thanks for that. This is now working for all 'playable' media like streaming audio. But if the link is directed to an image in LDM, I get the message 'Invalid filetype specified.'
Any idea how to solve this?
Saint_I_Am
09-14-2008, 11:07 AM
How can I add a youtube video? I installed the flash sites plugin and found a youtube video as a test and added the url for it.
Am I missing something?
sparklywater
09-14-2008, 12:59 PM
How can I add a youtube video? I installed the flash sites plugin and found a youtube video as a test and added the url for it.
Am I missing something?
Try installing this mod and then embed the video:
https://vborg.vbsupport.ru/showthread.php?t=130868
AndrewD
09-14-2008, 02:26 PM
Thanks for that. This is now working for all 'playable' media like streaming audio. But if the link is directed to an image in LDM, I get the message 'Invalid filetype specified.'
Any idea how to solve this?
The attached is a complete replacement for the online_location_unknown plugin. It should be smart enough to tell the difference between playable media and other files. Let me know. I will make this standard behaviour in 2.3.0
AndrewD
09-14-2008, 02:37 PM
How can I add a youtube video? I installed the flash sites plugin and found a youtube video as a test and added the url for it.
Am I missing something?
The flash sites plugin seems to work ok for me with youtube. Install it (nb, remember to upload the includes/local_links_flashsite.php file as well) and then create an entry with url that points to a youtube video (i used http://www.youtube.com/watch?v=dompotjTeIA). The hyperlink on the LDM entry title shows a "Play Me" popup when you hover over it. Clicking the link takes you to the jukebox and it plays ok.
What is the situation your end?
sparklywater
09-14-2008, 03:11 PM
The attached is a complete replacement for the online_location_unknown plugin. It should be smart enough to tell the difference between playable media and other files. Let me know. I will make this standard behaviour in 2.3.0
Thanks, but is it not possible to make all the links direct instead of having the intermediate preview pages? For example, now the direct play links are shown when 'Who's Online' says 'Playing content from LDM', but if the Who's Online display says 'ACCESSING content from LDM' (even for the playable entries) then the INDIRECT links are still shown like before (ie. not taken directly to the embedded page).
I think it would be best to make everything directly link to the entries in Who's Online in order to avoid confusion and make the redirection process efficient. There is also one other problem which will be eliminated if all the links are made direct instead of having the preview pages which use the 'links_main' template.
AndrewD
09-14-2008, 03:30 PM
Thanks, but is it not possible to make all the links direct instead of having the intermediate preview pages? For example, now the direct play links are shown when 'Who's Online' says 'Playing content from LDM', but if the Who's Online display says 'ACCESSING content from LDM' (even for the playable entries) then the INDIRECT links are still shown like before (ie. not taken directly to the embedded page).
I think it would be best to make everything directly link to the entries in Who's Online in order to avoid confusion and make the redirection process efficient. There is also one other problem which will be eliminated if all the links are made direct instead of having the preview pages which use the 'links_main' template.
Different people will want different things. I've now done three versions of this for you, and each time you seem to explain that you want something different. What you are now describing requires loading quite a lot of the LDM infrastructure in order to work out what each user is actually doing and to deal with different combinations of permissions, etc. I don't think that this is justified just to save some people one click.
AndrewD
09-14-2008, 03:56 PM
** Deleted - Beta 1 release now available here
abdelghani68
09-14-2008, 04:16 PM
Thanks. I have upgrade.
sparklywater
09-14-2008, 05:03 PM
If the 'default_sort_order' is set to 'Title (ascending)' for a given category, and the entries in that category are an ascending list of numbers (1, 2, 3, 4, 5 ... 100 ), then LDM does not correctly list these entries in ascending order of numbers. Instead, it lists the numbers like this:
1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 2, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 3, 30, 31, 32, 33 ...
abdelghani68
09-14-2008, 05:29 PM
in the version 2.3.0 :
How to center the title :
http://www.monsterup.com/upload/1221416681.jpg (http://www.monsterup.com)
How to do for the bcode isn't display in the previsualisation :
http://www.monsterup.com/upload/1221416907.jpg (http://www.monsterup.com)
thanks
AndrewD
09-14-2008, 05:51 PM
If the 'default_sort_order' is set to 'Title (ascending)' for a given category, and the entries in that category are an ascending list of numbers (1, 2, 3, 4, 5 ... 100 ), then LDM does not correctly list these entries in ascending order of numbers. Instead, it lists the numbers like this:
1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 2, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 3, 30, 31, 32, 33 ...
This is a well-known problem with computer sorts - they don't do what people consider right! It seems that one can fix the problem without any unwanted side effects by making a small change to the database query.
edit includes/local_links_include.php
find function ldm_get_sortsql and change the function's code as follows:
function ldm_get_sortsql($sort, $withlinkdorder=1) {
$linkdorder = ($withlinkdorder ? "linkdorder ASC, " : "");
if (is_numeric($sort)) {
$sorder = $linkdorder." linkrecenthits DESC, linkname + 0 ASC, linkcatid ASC";
}
else {
switch ($sort) {
case 'r': $sorder = $linkdorder." IF(numrate>0,(totrate/numrate),numrate) DESC, linkname + 0 ASC, linkcatid ASC"; break;
case 'R': $sorder = $linkdorder." IF(numrate>0,(totrate/numrate),numrate) ASC, linkname + 0 ASC, linkcatid ASC"; break;
case 'd': $sorder = $linkdorder." linkdate DESC, linkname + 0 ASC, linkcatid ASC"; break;
case 'D': $sorder = $linkdorder." linkdate ASC, linkname + 0 ASC, linkcatid ASC"; break;
case 'h': $sorder = $linkdorder." linkhits DESC, linkname + 0 ASC, linkcatid ASC"; break;
case 'H': $sorder = $linkdorder." linkhits ASC, linkname + 0 ASC, linkcatid ASC"; break;
case 'u': $sorder = $linkdorder." linkusername + 0 DESC, linkname + 0 ASC, linkcatid ASC"; break;
case 'U': $sorder = $linkdorder." linkusername + 0 ASC, linkname + 0 ASC, linkcatid ASC"; break;
case 'n': $sorder = $linkdorder." linkname + 0 DESC, linkcatid ASC"; break;
case 'N':
default: $sorder = $linkdorder." linkname + 0 ASC, linkcatid ASC"; break;
}
}
($hook = vBulletinHook::fetch_hook('ldm_sortsql_complete')) ? eval($hook) : false;
return $sorder;
}
(the change is to add "+ 0" after every text field)
AndrewD
09-14-2008, 06:07 PM
in the version 2.3.0 :
How to center the title :
How to do for the bcode isn't display in the previsualisation :
thanks
Not sure - both of these work fine for me.
are you sure you've got bbcodes enabled on the ldm admin/settings page?
sparklywater
09-14-2008, 06:46 PM
This is a well-known problem with computer sorts - they don't do what people consider right! It seems that one can fix the problem without any unwanted side effects by making a small change to the database query.
edit includes/local_links_include.php
find function ldm_get_sortsql and change the function's code as follows:
---
(the change is to add "+ 0" after every text field)
Thanks, that's now sorted (pun is intended) :)
sparklywater
09-14-2008, 07:37 PM
I've just checked my other category listing and the above change has messed up the alphabetical order of the list. I will be undoing those changes now.
https://vborg.vbsupport.ru/attachment.php?attachmentid=86890&stc=1&d=1221424644
TsirhCitna
09-14-2008, 08:48 PM
The new media vba module drastically slows my page generation.
From: Page generated in 0.35296 seconds with 26 queries [Server Loads: 8.33 8.54 : 10.39]
To: Page generated in 6.83178 seconds with 35 queries [Server Loads: 8.72 8.50 : 10.01]
9 more queries to show 5 links?
MissKalunji
09-14-2008, 09:01 PM
The most noticable change is to the 'inline comment and ratings'. These can be ajax-enabled so that quick remarks can be added without having to go to the advanced comment and rating page, and the most recent remarks can be seen on every linkbit page.
Uhm heads up the ajax comment isn't working when i press the comment it still loads the other page...
Saint_I_Am
09-14-2008, 09:52 PM
The flash sites plugin seems to work ok for me with youtube. Install it (nb, remember to upload the includes/local_links_flashsite.php file as well) and then create an entry with url that points to a youtube video (i used http://www.youtube.com/watch?v=dompotjTeIA). The hyperlink on the LDM entry title shows a "Play Me" popup when you hover over it. Clicking the link takes you to the jukebox and it plays ok.
What is the situation your end?
I have everything installed ok. When I click on the file a new window opens and it redirects to the YouTube page where the video is
yahoooh
09-14-2008, 10:27 PM
AndrewD
i have folder with more than 3000 bmp images
i want to put it in category with description begin like this:
https://vborg.vbsupport.ru/external/2008/09/1.bmp
and so on for other files
this will give the picture appearing in the description
i open new category , i run scan admin
and it insert all files but the error is not write description as i want
i use this in:links_scantext
$file[name] https://vborg.vbsupport.ru/
but $file[name] not show any thing !
i test the default template and also it will not whow the filename
i need to show filename with extension also to make it work
plz help me
thanks
Kosovarap
09-15-2008, 12:27 AM
This is by far the best mod in my opinion. Great stuff.
Installed, looks/works great. I just need to learn a little about it.
So i got a few questions:
- I use the scan/server option, to add Songs for example, but it says:
Skipped (not in mimetype table): mp3 [14]
How do i add them into mimetype table?
I noticed there's Media Players to stream them directly, but i have no idea how to use them, insert them.
How do I use the Media players? Is there a command i should know?
I appreciate the work,
Thank you
Saint_I_Am
09-15-2008, 12:58 AM
The flash sites plugin seems to work ok for me with youtube. Install it (nb, remember to upload the includes/local_links_flashsite.php file as well) and then create an entry with url that points to a youtube video (i used http://www.youtube.com/watch?v=dompotjTeIA). The hyperlink on the LDM entry title shows a "Play Me" popup when you hover over it. Clicking the link takes you to the jukebox and it plays ok.
What is the situation your end?
The url of the youtube video I am trying to add for example is http://au.youtube.com/watch?v=??????? I need it so that members in Australia can use that first url format
But if I change the url to http://www.youtube.com/watch?v=??????? it now displays play me when I hover the mouse over it. When I click it, it goes to another page with a table saying vbulletin message, but there is no message in the box. The url of the page for example is
http://mysite.com/local_links.php?action=play&catid=6&linkid=19&page=1
It did the same thing when I uploaded the test videos in the flash sites file. I've looked at permissions and everything looks fine.
Hope you can solve those two issues for me
MissKalunji
09-15-2008, 01:20 AM
suggestion
download permissions enabled per entry :) i don't know if you get what i mean?
Saint_I_Am
09-15-2008, 01:54 AM
I am the admin so all permissions should be correct
Saint_I_Am
09-15-2008, 02:25 AM
Got the youtube video to play, it was in "LDM FlashSite VideoPlayer " was set to stream instead of url.
Still need help on the file name issue in the post above.
Also in settings it is set to open in new window, yet it doesn't
abdelghani68
09-15-2008, 03:16 AM
Not sure - both of these work fine for me.
are you sure you've got bbcodes enabled on the ldm admin/settings page?
Yes the bbcode is enable. The probleme when the bbcode are display in the previsualisation of the comment is only in one categorie. Not in all categories.
This probleme wasn't with ldm 2.2.9.
thanks
AndrewD
09-15-2008, 04:00 AM
The new media vba module drastically slows my page generation.
From: Page generated in 0.35296 seconds with 26 queries [Server Loads: 8.33 8.54 : 10.39]
To: Page generated in 6.83178 seconds with 35 queries [Server Loads: 8.72 8.50 : 10.01]
9 more queries to show 5 links?
I have not started testing/debugging the vba modules, but I am very surprised. Will investigate. Thanks
AndrewD
09-15-2008, 04:02 AM
Uhm heads up the ajax comment isn't working when i press the comment it still loads the other page...
Just to confirm - you are using the 'inline' rather than the 'drop down' comments and you have checked the 'ajax enabled' option? Drop down is not ajax enabled.
AndrewD
09-15-2008, 04:08 AM
This is by far the best mod in my opinion. Great stuff.
Installed, looks/works great. I just need to learn a little about it.
So i got a few questions:
- I use the scan/server option, to add Songs for example, but it says:
Skipped (not in mimetype table): mp3 [14]
How do i add them into mimetype table?
I noticed there's Media Players to stream them directly, but i have no idea how to use them, insert them.
How do I use the Media players? Is there a command i should know?
I appreciate the work,
Thank you
The 'mimetype' table is the vbulletin/admincp/attachments/attachments manager. Each filetype that you want LDM to recognise as uploadable/downloladable/playable must be listed in this table, with approriate mimetype information (this is basically a standard convention for telling computers what to do with file contents.) For mp3, the appropriate mimetype info is "Content-type: audio/mpeg"
You can either add the required types manually, or I provide an addin in the release 'extras' directory (add-mimetypes) which automatically adds most of the common types in one go.
The media player will automatically become available via the entry name in the lDM displays once the media file types are defined in that table.
MissKalunji
09-15-2008, 04:10 AM
Just to confirm - you are using the 'inline' rather than the 'drop down' comments and you have checked the 'ajax enabled' option? Drop down is not ajax enabled.
My bad i never noticed i had to set : dropdown_comment_and_rate to 0 for it to work.....It's fine now :)
everything's working fine so far. Soon going to upgrade on my main board to test it out
oh and hope you won't be mad it's Favorite not favourite *hides face*
AndrewD
09-15-2008, 04:22 AM
AndrewD
i have folder with more than 3000 bmp images
i want to put it in category with description begin like this:
http://www.mysitename.com/folder/1.bmp
and so on for other files
this will give the picture appearing in the description
i open new category , i run scan admin
and it insert all files but the error is not write description as i want
i use this in:links_scantext
$file[name] http://www.mysite.com/$file[dir]/$file[name]
but $file[name] not show any thing !
i test the default template and also it will not whow the filename
i need to show filename with extension also to make it work
plz help me
thanks
When the template is called, $file contains the following:
["dir"] => file directory
["prefix"]=> filename prefix
["type"]=> filename filetype
["linkname"]=> normally the same as prefix, unless user code attached to the ldm_addlink_getfileinfo hook has modified it
Code attached to the ldm_addlink_getfileinfo hook can also dump other information into that array.
So I think you need $file[prefix].$file[type] rather than $file[name]
AndrewD
09-15-2008, 04:26 AM
The url of the youtube video I am trying to add for example is http://au.youtube.com/watch?v=??????? I need it so that members in Australia can use that first url format
This needs a minor change in include/local_links_flashplayers.php - I would like to test the change before explaining it - expect a reply this evening.
vbboarder
09-15-2008, 06:22 AM
Thanks Andrew for the update to 2.3.0-alpha! I'm really looking forward to trying it out! I really like the ajax-enabled ratings/comments and the enhancement upgrades for id3 tags.... which reminds me of:
Feature Request: The # of attributes can become large and unwieldy for a site that allows many filetypes. This can be overwhelming for users posting new entries. To make attributes more manageable, can you add 2 features:
1. For each attribute group, can you show them inside a collapsible table (similar to VB's collapsible forum tables) and provide options of having or not having each group initially collapsed?
2. Can you allow attribute groups to be assignable to categories so that a group will appear when adding/ editing an entry only if the category has enabled that attribute group?
Thanks for considering these requests.
AndrewD
09-15-2008, 09:46 AM
Thanks Andrew for the update to 2.3.0-alpha! I'm really looking forward to trying it out! I really like the ajax-enabled ratings/comments and the enhancement upgrades for id3 tags.... which reminds me of:
Feature Request: The # of attributes can become large and unwieldy for a site that allows many filetypes. This can be overwhelming for users posting new entries. To make attributes more manageable, can you add 2 features:
1. For each attribute group, can you show them inside a collapsible table (similar to VB's collapsible forum tables) and provide options of having or not having each group initially collapsed?
2. Can you allow attribute groups to be assignable to categories so that a group will appear when adding/ editing an entry only if the category has enabled that attribute group?
Thanks for considering these requests.
I think these are very sensible suggestions for taking attributes forward, and will see what I can do to implement them.
Saint_I_Am
09-15-2008, 12:52 PM
This needs a minor change in include/local_links_flashplayers.php - I would like to test the change before explaining it - expect a reply this evening.
Thanks, looking forward to it
AndrewD
09-15-2008, 03:52 PM
oh and hope you won't be mad it's Favorite not favourite *hides face*
Outraged and incandescent :mad: - had that discussion with another dasterdly foreigner a couple of years back - am quite happy to distribute another language translation if someone can handle it - like all Brits, I don't speak other languages very well :):)
AndrewD
09-15-2008, 04:07 PM
Thanks, looking forward to it
Edit includes/local_links_flashsites.php, find the lines:
"YouTube" => array(
"pattern" => "#http://(www.youtube|youtube)\.com/watch\?v=([\w-]+)#i",
"urlreplace" => "http://www.youtube.com/v/$2",
and replace by
"YouTube" => array(
"pattern" => "#http://([a-z]+.youtube|youtube)\.com/watch\?v=([\w-]+)#i",
"urlreplace" => "http://$1.com/v/$2",
This will work with any alphabetical alternative to www.youtube
Please note that a number of the video sites originally coded in that 'extra' may not work any longer - I don't have time to keep checking them an dthe sites do tend to change the formats of their urls.
MissKalunji
09-15-2008, 04:09 PM
Outraged and incandescent :mad: - had that discussion with another dasterdly foreigner a couple of years back - am quite happy to distribute another language translation if someone can handle it - like all Brits, I don't speak other languages very well :):)
oh lol i don't really care i thought you never noticed *hangs head* sorry
AndrewD
09-15-2008, 04:11 PM
I've just checked my other category listing and the above change has messed up the alphabetical order of the list. I will be undoing those changes now.
Sorry to discover that. I am surprised that the site I got the information from said that there were no side effects. As far as I know, MySQL does not offer a 'natural order' search option, which is what you are looking for, and the alternative of doing this in php will make page generation much more costly.
You can always try the old trick of putting zeros at the beginning of the labels, so that they are all the same length.
AndrewD
09-15-2008, 04:27 PM
The new media vba module drastically slows my page generation.
From: Page generated in 0.35296 seconds with 26 queries [Server Loads: 8.33 8.54 : 10.39]
To: Page generated in 6.83178 seconds with 35 queries [Server Loads: 8.72 8.50 : 10.01]
9 more queries to show 5 links?
As I said, I'm somewhat surprised. I ran a test on a vba page using only the new media module and attach the results. The 2.3.0 code used 10 queries and took 0.24 seconds. The 2.2.9 code used 15 queries and took 0.40 seconds.
Any chance that you were doing something else at the same time?
sparklywater
09-15-2008, 04:50 PM
Different people will want different things. I've now done three versions of this for you, and each time you seem to explain that you want something different. What you are now describing requires loading quite a lot of the LDM infrastructure in order to work out what each user is actually doing and to deal with different combinations of permissions, etc. I don't think that this is justified just to save some people one click.
If you look at this preview of an entry of a pdf file:
https://vborg.vbsupport.ru/attachment.php?attachmentid=86915&stc=1&d=1221500888
Do you see in the red circle the extended description of a category is displayed?
If this is a preview of an entry, then why is the description of a category displayed here?
skooby
09-15-2008, 05:54 PM
Hi,
is it possible to have one uploaded file be accessible to everyone? I guess what 'm asking is, can you set one upload to override the default settings?
I have 1 file that I want guests and registered users both to be able to see and download.
dranet
09-15-2008, 06:41 PM
I have this installed and am having problems with uploads. We have the max file size set to 30meg (in both vbulletin and in php.ini). I have been able to successfully upload 4 meg files, but the larger ones don't upload. I'm not getting any error at all. All it does is take the uploader back to the categories screen and the file is not there.
Help? I'm using 2.2.9 post 3, vb 1.3.7
Thanks!
Tracy
AndrewD
09-15-2008, 06:53 PM
Hi,
is it possible to have one uploaded file be accessible to everyone? I guess what 'm asking is, can you set one upload to override the default settings?
I have 1 file that I want guests and registered users both to be able to see and download.
LDM has two different permissions systems available - its own, which is category based, and a forum-based mechanism. The first is easier to apply, but the second is more flexible, because it can be applied right down to individual entries.
Do you want to place the special upload in the same category as other entries, or not? If you are happy to have the open entry in its own category, then it's easy - you just give that category different access permissions (ldm/edit category/user group permissions).
Otherwise, you need to use the forums-based permissions system.
These are explained in the wiki - get back to me if it's not clear.
AndrewD
09-15-2008, 06:57 PM
I have this installed and am having problems with uploads. We have the max file size set to 30meg (in both vbulletin and in php.ini). I have been able to successfully upload 4 meg files, but the larger ones don't upload. I'm not getting any error at all. All it does is take the uploader back to the categories screen and the file is not there.
Help? I'm using 2.2.9 post 3, vb 1.3.7
Thanks!
Tracy
Possibly, the script is timing out before the upload completes. Are you using the standard file upload, or have you tried installing the swfupload 'extra', which gives you a progress bar?
AndrewD
09-15-2008, 07:14 PM
If you look at this preview of an entry of a pdf file:
Do you see in the red circle the extended description of a category is displayed?
If this is a preview of an entry, then why is the description of a category displayed here?
The logic is that you are looking at an entry within its category. In the standard links_main template (which I think you've modified), it makes sense to show the extended description within the category title box.
You can always hide the extended description by including a text on $viewcatid in the template. In the standard links_main template, you have this sequence:
<if condition="$viewcattext or $viewcatextra">
<tr>
<td class="alt1">
$viewcattext
<div class="smallfont alt1" style="float:$stylevar[right]" align="$stylevar[right]">$viewcatextra</div>
</td>
</tr>
</if>
which you could change to
<if condition="($viewcattext or $viewcatextra) and !$viewlinkid">
<tr>
<td class="alt1">
$viewcattext
<div class="smallfont alt1" style="float:$stylevar[right]" align="$stylevar[right]">$viewcatextra</div>
</td>
</tr>
</if>
dranet
09-15-2008, 07:22 PM
That is what it looks like. Our information panel on the left says 60 seconds. Do you know how to change that setting? Is it done in the program or is that something in mysql?
I'm using the standard file upload. I'm not familiar with swfupload - do you think it will help? How do I find it?
Thanks again!
Tracy
Possibly, the script is timing out before the upload completes. Are you using the standard file upload, or have you tried installing the swfupload 'extra', which gives you a progress bar?
skooby
09-15-2008, 07:30 PM
LDM has two different permissions systems available - its own, which is category based, and a forum-based mechanism. The first is easier to apply, but the second is more flexible, because it can be applied right down to individual entries.
Do you want to place the special upload in the same category as other entries, or not? If you are happy to have the open entry in its own category, then it's easy - you just give that category different access permissions (ldm/edit category/user group permissions).
Otherwise, you need to use the forums-based permissions system.
These are explained in the wiki - get back to me if it's not clear.
Thanks for the response. I read the wiki and understand how both work, but from what I'm reading in the Wiki, I don't understand how to actually give individual permissions to one entry.
The default permission for the category is to deny access to unregistered users, but I want unregistered users to be able to download one entry within that category, and not sure how to go about doing that (without giving unregistered users access to everything in that
Do I have to create a special usergroup that has read permissions for guests, but then I'm not sure how I would apply the permissions to that one specific entry (and not the entire category).
dranet
09-15-2008, 07:39 PM
Thanks for the response. I read the wiki and understand how both work, but from what I'm reading in the Wiki, I don't understand how to actually give individual permissions to one entry.
The default permission for the category is to deny access to unregistered users, but I want unregistered users to be able to download one entry within that category, and not sure how to go about doing that (without giving unregistered users access to everything in that
Do I have to create a special usergroup that has read permissions for guests, but then I'm not sure how I would apply the permissions to that one specific entry (and not the entire category).
I think the easiest thing would be to create a category specifically for the file and unregistered users. If you want the file in a specific category, you can upload it twice.
obmob
09-15-2008, 09:43 PM
So many posts to read x.x
Thanks for the update Andrew :D
Saint_I_Am
09-15-2008, 10:40 PM
Edit includes/local_links_flashsites.php, find the lines:
"YouTube" => array(
"pattern" => "#http://(www.youtube|youtube)\.com/watch\?v=([\w-]+)#i",
"urlreplace" => "http://www.youtube.com/v/$2",
and replace by
"YouTube" => array(
"pattern" => "#http://([a-z]+.youtube|youtube)\.com/watch\?v=([\w-]+)#i",
"urlreplace" => "http://$1.com/v/$2",
This will work with any alphabetical alternative to www.youtube
Please note that a number of the video sites originally coded in that 'extra' may not work any longer - I don't have time to keep checking them an dthe sites do tend to change the formats of their urls.
Works great, thank you
abdelghani68
09-16-2008, 01:33 PM
I woul'd likre when inlineJWplayer_active is enable, the lecteur is in the center.
How to do that please?
Thanks
AndrewD
09-16-2008, 02:07 PM
I woul'd likre when inlineJWplayer_active is enable, the lecteur is in the center.
How to do that please?
Thanks
The player is dropped into the links_linkbit (or whatever) template as variable $linkbottomline. If you edit that template, look for the section:
<if condition="$linkbottomline">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="padding-top:5px">
$linkbottomline
</td>
</tr>
</table>
</if>
Put an align=center on the td element.
Kosovarap
09-16-2008, 05:39 PM
Thank you Andrew, appreciate the help. One last thing, hopefully i'll be set, if i wanted to add ads "Adsense" to comments, players, Extended Description, is there something in extras i should look, or is this a manual option,
thanks again,
TsirhCitna
09-17-2008, 01:57 AM
As I said, I'm somewhat surprised. I ran a test on a vba page using only the new media module and attach the results. The 2.3.0 code used 10 queries and took 0.24 seconds. The 2.2.9 code used 15 queries and took 0.40 seconds.
Any chance that you were doing something else at the same time?
Nope. Just tried it again. ldm_new.php module off and on:
dilbert
09-17-2008, 02:59 AM
I uploaded a few mp3 files. They are podcasts that had documents available with them. I pasted the text of the document, but when the player opens the text is centered.
Where can I edit it to left justify the text?
Many thanks for this awesome addition.
obmob
09-17-2008, 03:08 AM
Thank you Andrew, appreciate the help. One last thing, hopefully i'll be set, if i wanted to add ads "Adsense" to comments, players, Extended Description, is there something in extras i should look, or is this a manual option,
thanks again,
If you want to add the adsense code, edit the tempaltes you want, but be careful not to add more than 3, or you might receive some notifications from Google, happened to me when added to the comments, now i just use the linkbit ^^,
MissKalunji
09-17-2008, 04:54 AM
Here maybe this might help
Page generated in 0.31724 seconds with 27 queries (3 queries for uncached templates) [Server Loads: 0.01 0.13 : 0.21]
Uncached templates: links_ratebit_ajax (8)
Uncached templates: links_ratebit_dropdown (8)
Uncached templates: links_ratebit_inline (8)
Edit : I reinstalled The Vbadvanced Module
and now i have 24 Queries which is 2 more then what i had before
AndrewD
09-17-2008, 05:23 AM
Thank you Andrew, appreciate the help. One last thing, hopefully i'll be set, if i wanted to add ads "Adsense" to comments, players, Extended Description, is there something in extras i should look, or is this a manual option,
thanks again,
There is nothing in the extras. You should work on the links_main and link_playbit templates, for example. I will see if I can incorporate vbulletin's standard handles into the main LDM templates before version 2.3.0 is finalised.
Edited: the ad_header* and ad_footer* templates are automatically included already.
AndrewD
09-17-2008, 05:24 AM
Here maybe this might help
Edit : I reinstalled The Vbadvanced Module
and now i have 24 Queries which is 2 more then what i had before
Yes, there are uncached templates, which are adding extra database accesses. These will be fixed during the debugging of 2.3.0. Bear in mind this is the alpha release.
MissKalunji
09-17-2008, 05:32 AM
Yes, there are uncached templates, which are adding extra database accesses. These will be fixed during the debugging of 2.3.0. Bear in mind this is the alpha release.
That's fine only had to add the template to the module and that was it
Nope. Just tried it again. ldm_new.php module off and on:
Did you reinstall the module? i noticed whatever you had installed before 2.3.0 had to be reinstalled or reuploaded to add the new stuff that could be your problem
AndrewD
09-17-2008, 05:35 AM
Nope. Just tried it again. ldm_new.php module off and on:
OK, we need to get to the bottom of this. Will you give me full admin access to your site?
MissKalunji
09-17-2008, 05:48 AM
oh btw :) much more easier with the $ldmnavbar then moving the whole codes thank you
and
Uncached templates: links_navbar (1)
Uncached templates: links_navbar_popups (1)
In Admin area
Besides that didn't encounter any bugs :)
TsirhCitna
09-17-2008, 12:05 PM
OK, we need to get to the bottom of this. Will you give me full admin access to your site?
PM sent.
AndrewD
09-17-2008, 02:22 PM
That is what it looks like. Our information panel on the left says 60 seconds. Do you know how to change that setting? Is it done in the program or is that something in mysql?
I'm using the standard file upload. I'm not familiar with swfupload - do you think it will help? How do I find it?
Thanks again!
Tracy
As far as i know, this can get delicately caught up in the combination of which web server, how php is installed, and a number of php site configuration settings. The swfupload is an addon in the LDM release/extras directory. It will at least let you see at what stage the upload is failing.
abdelghani68
09-17-2008, 02:34 PM
The player is dropped into the links_linkbit (or whatever) template as variable $linkbottomline. If you edit that template, look for the section:
<if condition="$linkbottomline">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="padding-top:5px">
$linkbottomline
</td>
</tr>
</table>
</if>
Put an align=center on the td element.
Thanks, it's work.
abdelghani68
09-17-2008, 02:38 PM
I need 2 LDM for my site. Why? Because I have files of 2 really different theme. It is really important that the files of the theme 01 and theme 02 are separated, exemple for the statistics. Consequently I add a new page vbadvanced. This page will contain the modules LDM for only the files of the theme 2. How can I do that please.
In summary, I woul'd like to install 2 LDM.
Thanks and sorry for my english.
readjono
09-17-2008, 05:11 PM
Can I remove the Downloads title box from the main page? http://www.unofficialmills.co.uk/communities/local_links.php
AndrewD
09-17-2008, 05:43 PM
Can I remove the Downloads title box from the main page? http://www.unofficialmills.co.uk/communities/local_links.php
Edit the links_main template. Find the lines:
<if condition="$viewcatname">
<table class="tborder" cellpadding="$stylevar[cellpadding]"
and change to read
<if condition="$viewcatname and $viewcatid!=-1">
<table class="tborder" cellpadding="$stylevar[cellpadding]"
I think that will work with no side effects
AndrewD
09-17-2008, 06:53 PM
PM sent.
The problem is caused by parsing the bbcodes in the entry description for the NVidia driver in your drivers category - many many unnecessary nested bbcodes.
LDM takes a long time decoding these, but so does vbulletin - if you copy and past the description into a forum post, it shows exactly the same slow page generation time (although only the first time round because posts are cached after the first time they are generated). (This is not surprising, because LDM calls the vbulletin routines to do the job)
I will see if it is possible to cache parsed descriptions, although I think the real fix is in your hands.
MissKalunji
09-17-2008, 07:26 PM
When i use ajax to submit comment it only happens IN ONE category?
Invalid SQL:
INSERT INTO local_linksrate
SET
linkid='37',
linkuserid='8',
linkusername='Mz K',
linkvote='4',
lcomment='I don't know that song from michael but i love tarrus',
ltime='1221683103';
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't know that song from michael but i love tarrus',
ltime='1221683103'' at line 7
Error Number : 1064
Request Date : Wednesday, September 17th 2008 @ 04:25:03 PM
Error Date : Wednesday, September 17th 2008 @ 04:25:03 PM
Script : http://www.dancehallareaz.com/forum/local_links_ajax.php
Referrer : http://www.dancehallareaz.com/forum/mediacenter.html?linkid=37&catid=6
IP Address : XXXX
Username : XXX
Classname : vB_Database
MySQL Version : XXXcommunity~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
EZ Bounce Management:
TsirhCitna
09-17-2008, 07:58 PM
The problem is caused by parsing the bbcodes in the entry description for the NVidia driver in your drivers category - many many unnecessary nested bbcodes.
LDM takes a long time decoding these, but so does vbulletin - if you copy and past the description into a forum post, it shows exactly the same slow page generation time (although only the first time round because posts are cached after the first time they are generated). (This is not surprising, because LDM calls the vbulletin routines to do the job)
I will see if it is possible to cache parsed descriptions, although I think the real fix is in your hands.
Probably from copy and pasting. I will correct that.
Would it be possible to just pull the name and avoid all of that?
readjono
09-17-2008, 09:55 PM
Thanks, sorted!
readjono
09-17-2008, 10:07 PM
Oh and I'm trying to add some new entries into a category and it keeps setting the "Display Order" as 0. This is separating my new entries from the old. I can't see the setting in the main administration settings to stop this happening without manually changing it to '1'. Any ideas?
Edit: Found the option now :)
AndrewD
09-18-2008, 03:53 AM
Would it be possible to just pull the name and avoid all of that?
It seems that way on the surface - in fact that was the way it was originally done - but it isn't that straightforward. The code doesn't know which pieces of information about an entry will be used in the template. Quite a number of the feature requests here are about including a piece of information displayed in one linkbit within another. So the code has to assume that each template may need everything, so has to do all the preprocessing.
AndrewD
09-18-2008, 04:06 AM
When i use ajax to submit comment it only happens IN ONE category?
It's the apostrophe character in your message that causes the database error. Thanks for reporting.
Saint_I_Am
09-18-2008, 04:15 AM
I've uploaded a couple WAV's and they won't play for some reason??
Saint_I_Am
09-18-2008, 04:52 AM
I've uploaded a couple WAV's and they won't play for some reason??
The WAV's will play in IE7 but not Firefox, why? How can I get them to play in Firefox?
AndrewD
09-18-2008, 05:04 AM
The WAV's will play in IE7 but not Firefox, why? How can I get them to play in Firefox?
Are you getting a message that reads something like 'unable to find plugin'? I imagine that the Windows Media Player plugin for Firefox does not handle wav files. Probably one of the other players will work, but off-hand I'm not sure which. Go to ldm/admin/media players. You'll find wav listed as one of the file types that windows media player can handle. Try removing it from that player and adding it to, e.g., real player.
Saint_I_Am
09-18-2008, 05:35 AM
Didn't get an error, it just wouldn't play. I tried real player and it asked to install a plugin and then it said it couldn't find one
Manhand
09-18-2008, 10:40 AM
Great mod thanks!
Anyone know how i can add a right sidebar to all pages showing the category listing?
MissKalunji
09-18-2008, 03:52 PM
It's the apostrophe character in your message that causes the database error. Thanks for reporting.
No problem :)
Great mod thanks!
Anyone know how i can add a right sidebar to all pages showing the category listing?
i was wondering the same
You can do it manually editing the template but i'm sure there's an easier way
abdelghani68
09-19-2008, 07:52 PM
how to do for the lecteur works in vbavanced cmps please:
https://vborg.vbsupport.ru/ (http://www.monsterup.com)
thanks
Ophelia
09-19-2008, 11:18 PM
Andrew, I'm back. I can't figure out the rhyme or reason for the "Your submission could not be processed because a security token was invalid" we now even have members getting this error when they try to view a product. Help? :)
vbboarder
09-20-2008, 02:15 AM
The stats for newest entries are incorrect when displayed in LDM pages. I have old entries showing up whose dates are even past the time limit set in LDM Settings > Statistics Display. However, the VBA module for new entries stats does work correctly. Andrew, can you tell me what file or plugin to edit so that I can use the php code from the ldm_new.module file?
Note: Not sure if this is related, but I used the Flash sites extra plugin and all the old entries that showed up in the new entries stats in LDM pages happen to be entries created by that plugin.
vbboarder
09-20-2008, 04:03 AM
This is a strange bug. The filter links bar does not appear on pages listing a category's entries (ie: /local_links.php?catid=12), but does appear on pages listing a single entry (ie: /local_links.php?catid=12&linkid=20) - that doesn't make sense since you need filtering on listing pages, not on single entries. I made sure that the setting 'category_filter_menu' was enabled for the tested forums.
Note: I'm testing on LDM-2.2.9-post1 with default LDM templates. Please help, I really like the filtering function & links bar.
MissKalunji
09-20-2008, 04:27 AM
he released 2.3.0 try it out?
vbboarder
09-20-2008, 04:39 AM
Update on Filter links bug:
I looked at the code for local_links.php and the only line I could find for $linkfilterbit is (near line 785):
if ($links_defaults['category_filter_menu'] and ($nhits or strlen($viewfilter))) {
eval("\$linkfilterbit = \"".fetch_template('links_filter')."\";");
}I experimented and removing the condition '($nhits or strlen($viewfilter))' enabled the filter links bar to appear. Are the values for $nhits or $viewfilter set incorrectly when viewing a category's entries list?
Note: I'm still testing on LDM-2.2.9-post1 'cause I don't want to complicate my tests with some more new code from 2.3.0-alpha1. I'm trying to track the fixes that you've done, so hopefully I'm not reporting a bug that's already fixed. I found some other minor bugs in LDM-2.2.9-post1, but haven't post them yet - will try to fix myself and report them.
AndrewD
09-20-2008, 05:09 AM
Andrew, I'm back. I can't figure out the rhyme or reason for the "Your submission could not be processed because a security token was invalid" we now even have members getting this error when they try to view a product. Help? :)
Gladly. Send me a PM with full admin access to your site.
AndrewD
09-20-2008, 06:00 AM
Update on Filter links bug:
I looked at the code for local_links.php and the only line I could find for $linkfilterbit is (near line 785):
I experimented and removing the condition '($nhits or strlen($viewfilter))' enabled the filter links bar to appear. Are the values for $nhits or $viewfilter set incorrectly when viewing a category's entries list?
Note: I'm still testing on LDM-2.2.9-post1 'cause I don't want to complicate my tests with some more new code from 2.3.0-alpha1. I'm trying to track the fixes that you've done, so hopefully I'm not reporting a bug that's already fixed. I found some other minor bugs in LDM-2.2.9-post1, but haven't post them yet - will try to fix myself and report them.
It's $nhits that's the problem. I imagine you've got featured sites enabled and there are none to show in the current category. The code which sets up the featured sites is over-writing the correct value of $nhits.
AndrewD
09-20-2008, 06:24 AM
how to do for the lecteur works in vbavanced cmps please:
http://www.monsterup.com/upload/1221857474.jpg (http://www.monsterup.com)
thanks
which version of LDM are you using? the problem of a blank player is caused by a caching bug in adobe flash.
vbboarder
09-20-2008, 06:55 AM
This bug is related to the filter links bug reported above
It's $nhits that's the problem. I imagine you've got featured sites enabled and there are none to show in the current category. The code which sets up the featured sites is over-writing the correct value of $nhits.
Yes, I got featured sites enabled, and I selected entries as favorites, and I set my userid in featured_user_favs, but the filter links bar still does not show.
On further testing (with admin privileges), the featured entries page (from the 'Show' dropdown menu) shows no entries even though the my favorites page shows the favorites that I specified and I set my userid so that my favorites are seen as featured.
Similarly, the nominated entries page (from the 'Show' dropdown menu) shows no entries eventhough there are entries nominated by other users.
abdelghani68
09-20-2008, 07:06 AM
which version of LDM are you using? the problem of a blank player is caused by a caching bug in adobe flash.
I use LDM 2.3.0. The probleme is only in the page vbadvanced.
AndrewD
09-20-2008, 11:31 AM
The stats for newest entries are incorrect when displayed in LDM pages. I have old entries showing up whose dates are even past the time limit set in LDM Settings > Statistics Display. However, the VBA module for new entries stats does work correctly. Andrew, can you tell me what file or plugin to edit so that I can use the php code from the ldm_new.module file?
Note: Not sure if this is related, but I used the Flash sites extra plugin and all the old entries that showed up in the new entries stats in LDM pages happen to be entries created by that plugin.
There's a parameter missing on the relevant function call, so the sql is requesting 'all entries' rather than 'new entries'. Assuming that I didn't do that for a reason that I've forgotten, the solution is as follows:
edit includes/local_links_vbafunc.php
find function ldm_get_hitparades($catid, $template="links_hitparade")
find
$hitsince = ($links_defaults['days_seen_on_portal'] ? TIMENOW-intval($links_defaults['days_seen_on_portal'])*24*60*60 : $vbulletin->userinfo['lastvisit']);
and change to
$newsince = $hitsince = ($links_defaults['days_seen_on_portal'] ? TIMENOW-intval($links_defaults['days_seen_on_portal'])*24*60*60 : $vbulletin->userinfo['lastvisit']);
find
if ($links_defaults['show_hp_new']) {
$query = ldm_get_specialsearchsql($NEW_CAT, $linksee, "", $catids);
list($links['show_hp_new'], $hits) = ldm_get_entrybits_brief($query, $linksee, $template);
$showme = ($hits ? 1 : $showme );
}
and change to
if ($links_defaults['show_hp_new']) {
$query = ldm_get_specialsearchsql($NEW_CAT, $linksee, "", $catids, $newsince);
list($links['show_hp_new'], $hits) = ldm_get_entrybits_brief($query, $linksee, $template);
$showme = ($hits ? 1 : $showme );
}
I think that will fix things. Please confirm.
AndrewD
09-20-2008, 02:24 PM
I use LDM 2.3.0. The probleme is only in the page vbadvanced.
As far I know, this is a caching problem. I thought that the new JW player had got round it (someone else reported this). Try clearing the browser cache and check that you have the latest version of the Adobe Flash player plugins.
abdelghani68
09-20-2008, 02:43 PM
As far I know, this is a caching problem. I thought that the new JW player had got round it (someone else reported this). Try clearing the browser cache and check that you have the latest version of the Adobe Flash player plugins.
I have clearing the broser and upgrade in the latest version of the adobe flash player. I have again this probleme.
thanks
AndrewD
09-20-2008, 03:43 PM
I have clearing the broser and upgrade in the latest version of the adobe flash player. I have again this probleme.
thanks
My apologies - I realise that this is a different problem than I thought - have you got your cmps_index.php file in a different directory than your forums directory?
abdelghani68
09-20-2008, 03:57 PM
My apologies - I realise that this is a different problem than I thought - have you got your cmps_index.php file in a different directory than your forums directory?
I have that :
www.mysite.com/cmps_index.php (portal)
www.mysite.com/forum (forum)
thanks
AndrewD
09-20-2008, 04:15 PM
I have that :
www.mysite.com/cmps_index.php (portal)
www.mysite.com/forum (forum)
thanks
Edit the links_playerbit_JWPlayer template and replace
src="clientscript/JWmediaplayer.swf"
by
src="{$vbulletin->options[bburl]}/clientscript/JWmediaplayer.swf"
That should do it.
Keep a note that you have done this, as the template will be completely rewritten in the next beta release.
vbboarder
09-20-2008, 05:00 PM
I further debugged the featured entries & nominations bug. Both links from the 'Show' dropdown menu calls '/local_links_search.php?action=find' so I looked at that code in that file. So cache_LDMfavourites() & cache_LDMnominations() are called at about line 505, which set the linkids that are marked as favourites & nominated in arrays $links_myfav, $links_mystarred and $links_starred, but I don't see those variables used in local_links_search.php or the templates eval'ed by it. Am I missing something?
abdelghani68
09-20-2008, 07:08 PM
Edit the links_playerbit_JWPlayer template and replace
src="clientscript/JWmediaplayer.swf"
by
src="{$vbulletin->options[bburl]}/clientscript/JWmediaplayer.swf"
That should do it.
Keep a note that you have done this, as the template will be completely rewritten in the next beta release.
Thanks, it works now
vbboarder
09-21-2008, 03:25 AM
Thanks for the bug fix, but unfortunately it didn't work correctly. The entries that are showing are newer than before the fix, but it's not correct. The VBA module for new entries stats (ldm_new.module) correctly retrieves the newest entries. I have a test forum so I'm fully aware of all the new entries, and the VBA entries list is correct.
Can I just cut the php code from ldm_new.module and paste it in the ldm_get_hitparades function (and removing the current code)?
vbboarder
09-21-2008, 03:49 AM
Ok, I got the nominations display problem figured out. The problem was the nominated entries page do not show any entries until the contest is over (time period is set in the starred_entries_gather variable.). Sorry for the confusion Andrew, the page correctly shows winning nominations now.... I mistakenly thought that the page was supposed to show nominations that were winning the current contest.
Question: I can only nominate 1 entry until the contest is over. If I nominate another entry, then that entry will replace my current nomination. Is there a way to allow multiple nominations during 1 contest period?
Feature Request: Can you provide a page that displays the current nominations (sorted by # of votes) so that users can easily vote instead of having to surf through different categories and see what's nominated?
vbboarder
09-21-2008, 04:08 AM
Can you help me to get the featured entries page to work?
I enabled featured sites, I set featured_all_categories to yes, I selected entries as favorites, and I set my userid in featured_user_favs. The my favorites page shows the entries that I selected as favorites, but the featured sites page do not show any entries.
It's $nhits that's the problem. I imagine you've got featured sites enabled and there are none to show in the current category. The code which sets up the featured sites is over-writing the correct value of $nhits.
.
The featured sites problem is also causing the filter links bar to not appear since you stated the featured sites is overwriting the $nhits value.
AndrewD
09-21-2008, 04:43 AM
Thanks for the bug fix, but unfortunately it didn't work correctly. The entries that are showing are newer than before the fix, but it's not correct. The VBA module for new entries stats (ldm_new.module) correctly retrieves the newest entries. I have a test forum so I'm fully aware of all the new entries, and the VBA entries list is correct.
Can I just cut the php code from ldm_new.module and paste it in the ldm_get_hitparades function (and removing the current code)?
I thought there was probably a reason why I'd coded it the way I did :). The change I proposed gives you 'N entries created since X' instead of 'the N most recent entries', whereasthe original code was just giving you 'N entries'
Actually, there seem to be a range of problems in that part of the code, including in the vba module, so I must work through this again.
**Edited: Can you give this code a try?
AndrewD
09-21-2008, 04:46 AM
Ok, I got the nominations display problem figured out. The problem was the nominated entries page do not show any entries until the contest is over (time period is set in the starred_entries_gather variable.). Sorry for the confusion Andrew, the page correctly shows winning nominations now.... I mistakenly thought that the page was supposed to show nominations that were winning the current contest.
OK, that's how it is intended to work.
Question: I can only nominate 1 entry until the contest is over. If I nominate another entry, then that entry will replace my current nomination. Is there a way to allow multiple nominations during 1 contest period?
Perhaps we can have a setting 'Allow each user N nominations'. What do you think?
Feature Request: Can you provide a page that displays the current nominations (sorted by # of votes) so that users can easily vote instead of having to surf through different categories and see what's nominated?
Actually, this is on my list of things to do...
AndrewD
09-21-2008, 04:52 AM
Can you help me to get the featured entries page to work?
I enabled featured sites, I set featured_all_categories to yes, I selected entries as favorites, and I set my userid in featured_user_favs. The my favorites page shows the entries that I selected as favorites, but the featured sites page do not show any entries.
I can't reproduce this - it works ok for me. Any more information you can give me?
The featured sites problem is also causing the filter links bar to not appear since you stated the featured sites is overwriting the $nhits value.
Just change $nhits for (e.g.) $nfhits at around line 733 in local_links.php (in the code which is building the featured sites bit)
vbboarder
09-21-2008, 06:55 AM
Perhaps we can have a setting 'Allow each user N nominations'. What do you think?
Good idea!
Actually, this is on my list of things to do...Sounds great!
I can't reproduce this - it works ok for me. Any more information you can give me?Will test the featured sites some more and see what other info I can come up with. cache_LDMfavourites() is called at about line 505 in local_links_search.php, which sets the linkids that are marked as favourites in array $links_fav - can you tell me where the $links_fav variable is put to use (what file, function, or template)?
AndrewD
09-21-2008, 07:24 AM
Can you tell me where the $links_myfav variable is put to use (what file, function, or template)?
In includes/local_links_includes ldm_get_entrybits() in order to check whether each entry bit corresponds to a favourite or not.
vbboarder
09-21-2008, 09:58 AM
Found problem to getting featured sites to display entries:
I've been reviewing & modifying lots of codes & templates lately, so when the featured_user_favs setting asked for users, I instinctly put in userids. Unfortunately, that field doesn't accept userids, but require usernames. And because my test forum doesn't have usernames starting with numbers, the ajax name helper never appeared. LOL - I feel so silly :o Sorry for any confusion Andrew; you might want to put a note next to that field that userid's are not accepted so people don't waste your time like me :rolleyes:
The filter links bar will only show in categories that have featured sites - I will try the change from $nhits to $nfhits as you suggested. Also, I'll test the new local_links_vbafunc.php and report back later.
Feature Request: Can you provide an option so that featured sites are not displayed again in the regular listing when viewing a category's entries?
dranet
09-21-2008, 12:00 PM
I have a question about setting the submission date. Does the time zone of the uploader affect when the file will become available? Or is it based on the server time?
Thanks!
Tracy
AndrewD
09-21-2008, 03:55 PM
I have a question about setting the submission date. Does the time zone of the uploader affect when the file will become available? Or is it based on the server time?
Thanks!
Tracy
The user's timezone is taken into account. If the entry is marked as becoming visible at 12:00 EST, then that will happen, regardless of where the server is, provided all the time settings are correct.
abdelghani68
09-21-2008, 04:16 PM
What is this error please ?
https://vborg.vbsupport.ru/ (http://www.monsterup.com)
abdelghani68
09-21-2008, 04:25 PM
when i upload an image, i have in the dossier image (where are stocked the images) in my serveur, the image uploaded, with 20 images empty that i haven't uploaded.
thanks
readjono
09-21-2008, 07:40 PM
Some members have commented they can't open MP3s in this on their iPhone. Is there anyway around it?
I tried the floppy disk idea in Firefox and it works how you said and loads up in a quicktime only page.
But when i tried it on my ipod touch it just said "This movie can not be played" again.
AndrewD
09-22-2008, 03:57 AM
Some members have commented they can't open MP3s in this on their iPhone. Is there anyway around it?
Sorry, I've no idea. mp3s play correctly on macs via quicktime. I have no way of testing an iphone.
AndrewD
09-22-2008, 03:58 AM
What is this error please ?
https://vborg.vbsupport.ru/ (http://www.monsterup.com)
It looks like you've got blank thumbnails. Can you work out what the entries correspond to (e.g. by also installing the 'new' module).
Saint_I_Am
09-22-2008, 05:48 AM
In a users profile it has two boxes with the titles
My Recent LDM Hits
My Recent LDM Entries
I would like to remove the LDM and replace it with something else. How please?
AndrewD
09-22-2008, 06:05 AM
In a users profile it has two boxes with the titles
My Recent LDM Hits
My Recent LDM Entries
I would like to remove the LDM and replace it with something else. How please?
These are set up as vbulletin phrases - look for the phrases called ldm_recent_entries and ldm_recent_hits on your vb/admincp/languages and phrases
vbboarder
09-22-2008, 06:33 AM
The new local_links_vbafunc.php works perfect - the newest entries are now correctly listed. Thanks for the fix!
vbboarder
09-22-2008, 07:10 AM
There doesn't seem to be a way to manage one's profile saved searches. For regular saved searches, there is a link called 'Saved Searches' that enables the user to edit/ manage the saves. Can you provide a similar link/ option for Profile Searches so that the user can choose to show/ not show/ which menu(s) to show the search links on? Thanks for considering.
Edit: never mind the request.... it's kinda frivolous since I found the setting that allows the admin to control the profile search links. It's located at: Links & Downloads > Settings > Searches > profile_searchfield - just check the fields that you want to have search links.
abdelghani68
09-22-2008, 02:28 PM
How to do for translate definitively in idtag 'PlayingTime' 'Artist' and the other information please ?
vbboarder
09-22-2008, 06:26 PM
In LDM Settings > Jukebox, when setting the musicbox_default_sort_order to hits 30 days, hits 7 days, or hits 24 hours, LDM reports an SQL error:
MySQL Error : Unknown column 'linkrecenthits' in 'order clause'Note: setting it to "hits overall" works fine though.
vbboarder
09-22-2008, 06:39 PM
Currently, the display of my categories is randomly sorted if their order values are all equal (default value is 1). The work around is to set the display order values to the order that you want the categories to display.... makes sense, but it's a hassle to change the display order every time I add a new category. For instance, if I have:
Category - Order
Apple - 1
Book - 2
Cat - 3
Then when I add a category called 'Bike', I'll also have to reset the order #'s of 'Book' and 'Cat' in order to keep my alphabetical order.
Feature Request: Can you make it so that if the categories' display orders are the same, then they are alphabetically sorted?
vbboarder
09-23-2008, 12:52 AM
Here's a tricky bug to track: The prune_downloads setting is not saved. As you mentioned in your wiki, this setting is important because the download table can grow very large and needs to be pruned. Here's how to reproduce this bug (testing in 2.2.9-post1):
Set the setting for prune_downloads in Links & Downloads > Hits and click 'Go' to save the setting. Click on any other LDM admin page (just to navigate away), and then click on the Hits page again. You'll see that the prune_downloads setting is reset to 0.
Partial work-around: You can set the prune_downloadtable in Links & Downloads > Settings > Hits Recording, and it will save your value. However, as soon as you navigate to the Hits page, the prune_downloads will reset to 0.
AndrewD
09-23-2008, 03:42 AM
Feature Request: Can you make it so that if the categories' display orders are the same, then they are alphabetically sorted?
This was always the default behaviour, and still is for me, so I'm not sure what's gone wrong. Two suggestions - 1) I did add a new setting in 2.3.0 to separate the default sort order for categories (ldm/admin/cat_default_sort_order ) from the setting for enties (default_sort_order); 2) I provided a faulty fix for sparklywater a couple of weeks ago, which was intended to achieve a natural sort order (1,2,3,4,5,6,7,8,9,10,11 rather than 1,10,11,2,3,4,5,6,7,8,9). If you implemented that fix, it would have the effect of randomising non-numeric titles.
AndrewD
09-23-2008, 03:44 AM
How to do for translate definitively in idtag 'PlayingTime' 'Artist' and the other information please ?
These are set up inside the 'add on' and you will have to edit the code. I'm afraid that changing them is currently not straightforward if you already have any entries in your database which have been tagged.
AndrewD
09-23-2008, 04:27 AM
Here's a tricky bug to track: The prune_downloads setting is not saved. As you mentioned in your wiki, this setting is important because the download table can grow very large and needs to be pruned. Here's how to reproduce this bug (testing in 2.2.9-post1):
Set the setting for prune_downloads in Links & Downloads > Hits and click 'Go' to save the setting. Click on any other LDM admin page (just to navigate away), and then click on the Hits page again. You'll see that the prune_downloads setting is reset to 0.
Partial work-around: You can set the prune_downloadtable in Links & Downloads > Settings > Hits Recording, and it will save your value. However, as soon as you navigate to the Hits page, the prune_downloads will reset to 0.
That was a remarkably silly bug on my part. The fix is very straightforward - line 57 of includes/local_links_admin_logjumps.php should read:
if ($vbulletin->GPC_exists['prune_downloadtable'] and $vbulletin->GPC['prune_downloadtable']>=0) {
vbboarder
09-23-2008, 06:54 AM
This was always the default behaviour, and still is for me, so I'm not sure what's gone wrong. Two suggestions - 1) I did add a new setting in 2.3.0 to separate the default sort order for categories (ldm/admin/cat_default_sort_order ) from the setting for enties (default_sort_order);
Thanks for this info. I did not realize that default_sort_order also ordered categories in 2.2.9, eventhough the description said it was for entries. I had it set on "date created" so setting it to "title" solved the problem. That's great that you provided categories with its own cat_default_sort_order setting in 2.3.0 ;)
vbboarder
09-23-2008, 06:58 AM
These are set up inside the 'add on' and you will have to edit the code. I'm afraid that changing them is currently not straightforward if you already have any entries in your database which have been tagged.
I was able to edit the plugin code to change the id3 tag names, but it wasn't straightforward as you said. Is it possible to phrase those tag names so users can easily change/ translate them?
abdelghani68
09-23-2008, 01:19 PM
These are set up inside the 'add on' and you will have to edit the code. I'm afraid that changing them is currently not straightforward if you already have any entries in your database which have been tagged.
Yes, I woul'd like to modified that in the code. How to do that please. Where are the expressions. Thanks.
I haven't entries tagged in my data base.
AndrewD
09-23-2008, 04:22 PM
A modified version of clientscript/swfupload/handlers.js for 2.2.9/2.3.0 to help debugging problems
vbboarder
09-23-2008, 05:43 PM
A modified version of clientscript/swfupload/handlers.js for 2.2.9/2.3.0 to help debugging problems
How specifically will it help debugging (what does it do)?
AndrewD
09-23-2008, 07:06 PM
How specifically will it help debugging (what does it do)?
It's intended for someone else - can't send attachments by PMs...
The original version of this file manages to overwrite its own error messages, so you get unhelpful warnings when the configuration is wrong.
7lanet
09-24-2008, 02:17 AM
I can not upload any thang
You must give a comment/rating before you can visit/download an entry
You must give a comment/rating before you can play an entry
AndrewD
09-24-2008, 03:49 AM
I can not upload any thng
Can any user on your site? What is the problem? Have you set the upload settings correctly? LDM/admin/settings
You must give a comment/rating before you can visit/download an entry
You must give a comment/rating before you can play an entry
Check the LDM/admin/permissions, i.e. *must_rate_play* and *must_rate_download*
MissKalunji
09-24-2008, 04:04 AM
*on good notes*
What are the new features plan for 2.3 :)
abdelghani68
09-24-2008, 02:34 PM
If i have got for exemple 100 audio in LDM. Has I necessarily edite and validate every entry one to one for that the attibuts of idtag are displays ?
How to do for the idtag are display in every audio without having to edit and validate all of entries please ?
thanks
LeatherNeck
09-24-2008, 04:15 PM
Excellent mod, thank you :)
josiespencer
09-24-2008, 04:48 PM
I got this PM from a user today:
Hi SSUlibrarian,
Recently My quota got changed from 2 to 10. Thanks a lot for that.
But looks like there is a flaw in the system which will allow for any number of downloads to take place.
Here is a example URL which links to the download system..
http://www.uber-goober.com/forums/lo...p?action=jump&id=953&catid=1
I did not want to click each and every file so I though that I will change the value after the ID and download 10 training simulators and when you change the number after the id=anynumber it does download the next file but it allows for unlimited no of downloads.
OK, how do we fix it?
ShawnV
09-24-2008, 05:13 PM
Andrew,
First let me say that LDM is very complex, well written, documented and infinitely useful, thank you for all your time developing this MOD.
I am using vBulletin 3.7.3 Patch Level 1)and LDM 2.3.0 alpha, and seem to have a few minor errors.
On the home category page I am getting an error in (EI 7 32bit (Vista 64)
line 12
Char 1604
Error: unexpected call to method or property access
Code: 0
ULR: http://www.koww.net/forum/local_links.php
This error does not reproduce once you navigate into a category or sub category, any suggestions?
Also, I noticed a lightbox plugin in the extras folder, is it possible and why not just use vBulletin lightbox function that is built into VB for quick display of attached image thumbnails so they look and funtion the same as the ones in the forum and the rest of the site?
Cheers,
_V
obmob
09-24-2008, 05:24 PM
So... we've been busy lately? :D
Thanks for the bug fixes :)
AndrewD
09-24-2008, 07:08 PM
I got this PM from a user today:
OK, how do we fix it?
Noted = please delete this post.
Please send me a PM with full admin access to your site. There is an allowance check in place to stop what is being reported.
AndrewD
09-24-2008, 07:11 PM
Andrew,
First let me say that LDM is very complex, well written, documented and infinitely useful, thank you for all your time developing this MOD.
I am using vBulletin 3.7.3 Patch Level 1)and LDM 2.3.0 alpha, and seem to have a few minor errors.
On the home category page I am getting an error in (EI 7 32bit (Vista 64)
line 12
Char 1604
Error: unexpected call to method or property access
Code: 0
ULR: http://www.koww.net/forum/local_links.php
This error does not reproduce once you navigate into a category or sub category, any suggestions?
It's a javascript error message, but it does not show up on a clean installation of LDM. There must be some interaction between the different pieces on your site. I will try to debug.
Also, I noticed a lightbox plugin in the extras folder, is it possible and why not just use vBulletin lightbox function that is built into VB for quick display of attached image thumbnails so they look and funtion the same as the ones in the forum and the rest of the site?
It's on my list to do. LDM had the lightbox extra quite a long time before vbulletin incorporated it. I haven't got round to replacing it with the now-standard vb code.
AndrewD
09-24-2008, 07:13 PM
If i have got for exemple 100 audio in LDM. Has I necessarily edite and validate every entry one to one for that the attibuts of idtag are displays ?
How to do for the idtag are display in every audio without having to edit and validate all of entries please ?
thanks
I will try to give you a complete answer to this and your previous question, but it will probably be the weekend before I can do so.
AndrewD
09-24-2008, 07:37 PM
Andrew,
I am using vBulletin 3.7.3 Patch Level 1)and LDM 2.3.0 alpha, and seem to have a few minor errors.
On the home category page I am getting an error in (EI 7 32bit (Vista 64)
line 12
Char 1604
Error: unexpected call to method or property access
Code: 0
ULR: http://www.koww.net/forum/local_links.php
This error does not reproduce once you navigate into a category or sub category, any suggestions?
Ignore my previous message - I think this is related to the use of the cat_desc_popup option on the LDM/admin/settings page. Will investigate.
ShawnV
09-24-2008, 08:26 PM
It's a javascript error message, but it does not show up on a clean installation of LDM. There must be some interaction between the different pieces on your site. I will try to debug.
It's on my list to do. LDM had the lightbox extra quite a long time before vbulletin incorporated it. I haven't got round to replacing it with the now-standard vb code.
Awesome, that will be so nice, thanks.
Ignore my previous message - I think this is related to the use of the cat_desc_popup option on the LDM/admin/settings page. Will investigate.
Yes, it was, turned it off and error is gone. :)
_V
vbboarder
09-25-2008, 02:00 AM
I will try to give you a complete answer to this and your previous question, but it will probably be the weekend before I can do so.
If i have got for exemple 100 audio in LDM. Has I necessarily edite and validate every entry one to one for that the attibuts of idtag are displays ?
How to do for the idtag are display in every audio without having to edit and validate all of entries please ?
.
I will try to save you some time, Andrew. Feel free to correct me if I'm wrong. It's a 2 steps process - you do not need to do the 2nd step IF you have not added any media entries after installing the ID3 tags extra plugin.
Step 1: Find LDM - Interpret ID3 tags (ldm_addlink_preinsert) in the Plugin Manager. Click that link and and find variables looking like "$entitytags['title']" and change the word inside the bracket to whatever you want. Make sure that your new word is enclosed with single quotes, like so $entitytags['myTitle']. DO NOT change the words of any other variable, otherwise the plugin code will not work and you'll get errors!
Step 2 (if you added entries after installing the ID3 tags plugin): You must manually edit the local_linksentities table and change the names in the entityname column. Make sure to backup the table first in case you'll do something wrong and need to restore your original table.
Hope that helps ;)
vbboarder
09-25-2008, 02:03 AM
Andrew, is there a LDM function I can call from a plugin to determine the filetype of an entry? If so, can you tell me what's the function and in what file? Thanks.
AndrewD
09-25-2008, 05:04 AM
Andrew, is there a LDM function I can call from a plugin to determine the filetype of an entry? If so, can you tell me what's the function and in what file? Thanks.
I tend to use the vbulletin function file_extension($filename), which is in functions.php. If you want to check if a filetype is defiend in the attachments table, i.e. a recognised ldm upload/download, then use ldm_known_filetype($type) in includes/local_links_includes.php.
Your info on id3 entities is accurate. I'm irritated at myself for ignoring one of the golden rules of database design - don't drop information about field names into multiple database records. I will sort this out.
vbboarder
09-25-2008, 04:59 PM
In LDM Settings > Jukebox, when setting the musicbox_default_sort_order to hits 30 days, hits 7 days, or hits 24 hours, LDM reports an SQL error:
Note: setting it to "hits overall" works fine though.
Sorry, I wasn't detailed about exactly where the SQL error occurred. After saving the setting (ie: to "Hits 30 days"), go and view a single entry that is played in an embedded player. (ie: local_links.php?action=play....). On that page, instead of listing the Hits, it shows the SQL error:
MySQL Error : Unknown column 'linkrecenthits' in 'order clause'
Andrew, are you able to reproduce that error?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.