PDA

View Full Version : Major Additions - Links and Downloads Manager


Pages : 1 2 3 4 5 [6] 7 8 9

AndrewD
09-25-2008, 06:45 PM
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:

Andrew, are you able to reproduce that error?

yes, and I've fixed it in in the upcoming code. I'm working on your other suggestions :)

AndrewD
09-25-2008, 06:56 PM
I've just been debugging a problem for a site which has set up multiple usergroups and given people membership of these as their primary and secondary usergroups. Depending on how this is set up, there can be unexpected consequences within LDM.

LDM
- gives users the most liberal permission based on *any* of their usergroups.
- gives users download allowances based on their *primary* usergroup.

Suppose usergroup 'FullyRegistered' has an allowance of 10 files a day and usergroup 'Registered' an allowance of 5 files a day.
- Someone who is a member of both usergroups with primary member of Registered will be allowed 5 files/day
- Someone who is a member of both with primary member of FullyRegistered will be allowed 10 files/day

However, suppose 'FullyRegistered' is also given *can_bypass_hit_recording* permission.
- All users who have FullyRegistered as their primary or secondary usergroup will gain this permission
- Consequently, their accesses will not be recorded
- Consequently, they will never exceed their allowances.

Questions:
- Is this what you would expect to happen?
- Should users be given allowances based on their primary group or the most liberal of their primary and secondary groups?

DF08Said
09-25-2008, 07:08 PM
m8 what Exactly does this do... u can uplaod and Download Stuff like Piratebay etc..?

vbboarder
09-25-2008, 07:54 PM
Re: multiple usergroups & can_bypass permissions

I think your 3 can_bypass permissions (hit_recording, bandwidth_limits, forumperms) are like a tertiary level of access control. To prevent the permissions dilemma that you're debugging, I think you should remove those permissions from usergroups and make them specific to listed users (ie: userids, usernames). These liberal permissions should then override the usergroup permissions for any listed users who have those permissions.
Users can configure their desired access control for usergroups without using these 3 can_bypass permissions by editing Forum Permissions, LDM Permissions, and LDM Allowances. The only possible loss functionality that I see is the can_bypass_hit_recording for the Guest group. To compensate, you can provide an option to activate that setting for the Guest group, but guests will then have either no or unlimited download/ upload limits (depending on the settings in LDM Allowances).

7lanet
09-26-2008, 01:26 AM
Possible inconsistencies between LDM and its environment
- Parameter upload_enabled is enabled but parameter upload_dir is not set
- allow_url_fopen is off and cURL is not available in php.ini file - Remote downloads not available

- upload_max_filesize 2M >= post_max_size 2048k in php.ini file - Large uploads may fail without warning
:(:(:(

abdelghani68
09-26-2008, 03:18 AM
.
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 ;)

thanks very mush

AndrewD
09-26-2008, 03:48 AM
m8 what Exactly does this do... u can uplaod and Download Stuff like Piratebay etc..?

It's explained in the wiki. Yes, it's a general purpose tool for managing files, links, uploads and downloads.

abdelghani68
09-26-2008, 03:56 AM
I have do the modification, added an audio, but the title don't change. I have do this modification :

if (array_key_exists('id3v2', $ThisFileInfo['tags'])) {
$entitytags['Piste'] = $ThisFileInfo['tags']['id3v2']['title'][0];
$entitytags[Auteur'] = $ThisFileInfo['tags']['id3v2']['artist'][0];
$entitytags['Th?me'] = $ThisFileInfo['tags']['id3v2']['album'][0];
$entitytags['Genre'] = $ThisFileInfo['tags']['id3v2']['genre'][0];
$entitytags['Year'] = $ThisFileInfo['tags']['id3v2']['year'][0];
}
elseif (array_key_exists('id3v1', $ThisFileInfo['tags'])) {
$entitytags['Piste'] = $ThisFileInfo['tags']['id3v1']['title'][0];
$entitytags['Auteur'] = $ThisFileInfo['tags']['id3v1']['artist'][0];
$entitytags['Th?me'] = $ThisFileInfo['tags']['id3v1']['album'][0];
$entitytags['Genre'] = $ThisFileInfo['tags']['id3v1']['genre'][0];
$entitytags['Year'] = $ThisFileInfo['tags']['id3v1']['year'][0];
}
if (array_key_exists('playtime_string', $ThisFileInfo)) {
$entitytags['Dur?e'] = $ThisFileInfo['playtime_string'];
}
}
break;

case 'wma':
$FileName = ldm_cleanto_fopen($linkurl);
$getID3 = new getID3;
$ThisFileInfo = $getID3->analyze($FileName);
if (array_key_exists('playtime_string', $ThisFileInfo)) {
$entitytags['Dur?e'] = $ThisFileInfo['playtime_string'];
}
break;

case 'jpg':
case 'jpeg':
$FileName = ldm_cleanto_fopen($linkurl);
$getID3 = new getID3;
$ThisFileInfo = $getID3->analyze($FileName);
if (array_key_exists('jpg', $ThisFileInfo)) {
$entitytags['DateTime'] = $ThisFileInfo['jpg']['exif']['IFD0']['DateTime'];
$entitytags['Height'] = $ThisFileInfo['jpg']['exif']['COMPUTED']['Height'];
$entitytags['Width'] = $ThisFileInfo['jpg']['exif']['COMPUTED']['Width'];
}
break;

case 'avi':
case 'flv':
case 'mpg':
case 'mpeg':
case 'mov':
case 'rm':
$FileName = ldm_cleanto_fopen($linkurl);
$getID3 = new getID3;
$ThisFileInfo = $getID3->analyze($FileName);
if (array_key_exists('playtime_string', $ThisFileInfo)) {
$entitytags['Dur?e'] = $ThisFileInfo['playtime_string'];
}
if (isset($ThisFileInfo["video"]["resolution_x"])) {
$entitytags['Height'] = $ThisFileInfo['video']['resolution_y'];
$entitytags['Width'] = $ThisFileInfo['video']['resolution_x'];
}
break;

case 'asf':
case 'wmv':
$FileName = ldm_cleanto_fopen($linkurl);
$getID3 = new getID3;
$ThisFileInfo = $getID3->analyze($FileName);
if (array_key_exists('playtime_string', $ThisFileInfo)) {
$entitytags['Dur?e'] = $ThisFileInfo['playtime_string'];
}
if (isset($ThisFileInfo["video"]["streams"])) {
foreach ($ThisFileInfo["video"]["streams"] as $thisstream) {
if (isset($thisstream['resolution_x'])) {
$entitytags['Height'] = $thisstream['resolution_y'];
$entitytags['Width'] = $thisstream['resolution_x'];
break;
}
}
}
break;
}

if (count($entitytags)) {
require_once(DIR . '/includes/local_links_entities.php');
}

foreach ($entitytags as $entityname=>$entityvalue) {

$entityexists = 0;
$entitygroup = ($links_defaults['id3tag_enhance_group'] ? $links_defaults['id3tag_enhance_group'] : ID3ENTITYGROUP);
ldm_define_entity($entityname, $entitygroup, ENTITY_TYPE_TEXT, 1);
if (is_array($linkentities)) {
foreach ($linkentities as $thisentity) {
if ($thisentity['entityname']==$entityname and $thisentity['entityset']) {
$entityexists = 1; // User entry takes priority
break;
}
}
}
if (!$entityexists) {
$linkentities[] = array('entityname'=>$entityname, 'entityvalue'=>$entityvalue, 'entityset'=>1);
}
}

}

}

AndrewD
09-26-2008, 03:58 AM
Possible inconsistencies between LDM and its environment
- Parameter upload_enabled is enabled but parameter upload_dir is not set

You have turned on the LDM admin setting *upload_enabled* but you have not set *upload_dir*, so LDM doesn't know where you want to store uploaded files. You have to tell it.

- allow_url_fopen is off and cURL is not available in php.ini file - Remote downloads not available

*allow_url_fopen* is a control setting for php on your web server, in the php configuration file *php.ini*. Your site admin has set up your server so that php cannot use one of the standard ways of accessing remote files.

*cURL* is an addon library for your web server. It provides another (better) way to access remote files. Your web admin has not installed it.

Consequently, LDM cannot *manage* remote downloads - it can only manage *local* downloads. A *local* download is physically stored on your server (either an upload or a file with no url in its name). A *remote* download is a file accessed via a full url.

- upload_max_filesize 2M >= post_max_size 2048k in php.ini file - Large uploads may fail without warning


These are two more settings that control php's handling of uploads, also found in the php configuration file *php.ini*. They specify the maximum amount of data that can be uploaded in one go. It is good practice (but not essential) that *post_max_size* has a bigger value than *upload_max_filesize*. Otherwise, when a user tries to upload file that is bigger than *post_max_size*, some versions of php will fail to generate an error message.

abdelghani68
09-26-2008, 03:02 PM
I have do the modification, added an audio, but the title don't change.

Sorry, it works !

maroceve
09-26-2008, 04:40 PM
Hey there Andrew : for some reason LDM doesn't follow the style i applied to it.

Very wierd : http://www.maroceve.com/forums/local_links.php

7lanet
09-26-2008, 07:45 PM
The following setting(s) are invalid
upload_dir : /up
Cannot access or create directory /up [/up]


i can not add upload_dir

7lanet
09-26-2008, 08:44 PM
where to enter the value for "upload_dir"

vbboarder
09-27-2008, 01:41 AM
The 3 LDM VBA modules for New entries, Hot entries, and Random entries do not show the Categories names when "show category name" is set to "yes." I have the modules displayed on right side column, 1 entry per row, and I tried both setting specific category ids and leaving the Categories setting blank (so that all categories are searched) - no luck in getting the category names to display (testing in 2.2.9-post1).

It's probably a common bug for the 3 VBA modules since they all call ldm_vba_links to construct the links, which calls ldm_get_entrybits to construct the entrybits. Can you please fix? Will be glad to test any fixes.

AndrewD
09-27-2008, 03:52 AM
i can not add upload_dir

Take a look at your admin settings, in particular *local_file_root* and *local_file_root_prefix*. From the error message, it looks as if you have set *local_file_root* to *yes* and left *local_file_root_prefix* unset.

With these values, by setting *upload_dir* to */up* you are telling LDM to store files in a top level directory called */up* on your file server, outside the web site. I imagine that the security settings on your server prohibit this.

Unless you have full control over your server, I suggest that you leave *local_file_root* set to *no* so that files are stored *inside* the web site. You *may* have to pre-create the upload directory (e.g. using an FTP tool), depending on the security on your server.

AndrewD
09-27-2008, 04:02 AM
Hey there Andrew : for some reason LDM doesn't follow the style i applied to it.

Very wierd : http://www.maroceve.com/forums/local_links.php

Have you checked the setting *default_style* on the ldm/admin page? Try resetting it a couple of time - for example you may have set it to a style that no longer exists. Otherwise, am happy to take a look if you send me a PM with login details.

AndrewD
09-27-2008, 07:35 AM
The 3 LDM VBA modules for New entries, Hot entries, and Random entries do not show the Categories names when "show category name" is set to "yes." I have the modules displayed on right side column, 1 entry per row, and I tried both setting specific category ids and leaving the Categories setting blank (so that all categories are searched) - no luck in getting the category names to display (testing in 2.2.9-post1).

It's probably a common bug for the 3 VBA modules since they all call ldm_vba_links to construct the links, which calls ldm_get_entrybits to construct the entrybits. Can you please fix? Will be glad to test any fixes.

Yes, it was a common bug, introduced a couple of releases ago. Straightforward to fix but requiring changes in several places. Will include the fixes in the next release.

7lanet
09-27-2008, 03:48 PM
upload_max_filesize 32M >= post_max_size 32M in php.ini file - Large uploads may fail without warning

Do not have a file php.ini
There is only a file .htaccess

AndrewD
09-27-2008, 04:48 PM
Do not have a file php.ini
There is only a file .htaccess

Yes, you do have a php.ini, but you probably are not able to access it. You can ignore this warning - it's not serious - just be warned that if people try to upload files bigger than this size, they may not get a correct error message.

7lanet
09-27-2008, 06:24 PM
I'm the average of all licenses

I can not Upload the files I do not know what to do

7lanet
09-27-2008, 09:24 PM
from where i can upload the files??

AndrewD
09-28-2008, 04:24 AM
from where i can upload the files??

Hello,

I've visited your site and made a few tests, including uploading a file into the category you had created. It's working fine. The answer to your question 'Where do I upload the files' is - you go into the category where you want to place the file; then you select 'Add Entry'; then you are given a form for creating the entry which has a field 'Upload File'.

You had turned on a lot of the LDM options, and some of these were causing problems:

- The SEO friendly options will only work if you also configure vbSEO to work with LDM, and you had not done this. I have turned this option off for the time being. (I do not provide support for setting up vbSEO and do not have a licence for it.)

- You enabled the 'Enable automatic thread creation to announce new entries' option, but you had told it to post messages in a forum which is not open for posts. I can't check that without having access to your main vb admincp, so I turned it off. (I also can't read Arabic :))

- You enabled all the home page statistics options, which is probably not a good idea - just choose one or two of them.

The way your board is currently set up, you can only upload bmp, doc, gif, jpe, jpeg, jpg, pdf, png, psd, rar, txt, xml and zip files. If you want to add others, then install the 'add-newmimetypes' LDM extra - it's in the extras directory of the release - or send me a PM with information on how to log in to your admincp.

Hope this helps.

7lanet
09-28-2008, 07:21 AM
тhank you тhank you тhank you тhank you
:up::D:up::D

Sandgrinder
09-28-2008, 06:12 PM
How do I make each upload a link instead of showing everything at the same time? It's really annoying to scroll through everything.

All I'd like to see is the title and a bit of the text, then you have to click the title or maybe some "Read full upload" or something equal.

Example:
http://crinale.com/forums/local_links.php?catid=14

It's just too big and takes to much space, I just want to show a bit of the entry, not the whole one.
Many thanks!

maroceve
09-28-2008, 07:36 PM
Andrew please check your pm for login info : i can't seem to fix the style issue :(

IrPr
09-29-2008, 12:39 AM
Entry Reporting is buggy even in 2.3.0 Alpha cause of wrong var name in "doreport" action

local_links_action.php(2868)

Find:
$mods = ldm_fetch_moderators($catid, $report_users, ldm_lookup_setting($thiscatid, report_email));

Replace with:
$mods = ldm_fetch_moderators($catid, $report_users, ldm_lookup_setting($catid, report_email));

Saint_I_Am
09-29-2008, 12:42 AM
I have a problem with vbadvanced integration. I have all the files integrated and have done what it says in the manual


The main LDM script, local_links.php integrate successfully in most respects with vbAdvanced, i.e. can be set up to appear as the central column on a vbAdvanced page. There is only one serious exception: setting up the LDM Jukebox to launch "within page" creates an unpleasant mess on the screen. Use the "launch Jukebox in new window" option instead.


The only problem is that the new window cuts off half way. It would be good if the new window had vertical scroll bars so you could scroll down and see the rest of the page including the left and right sidebars of vbadvanced.

AndrewD
09-29-2008, 02:12 AM
How do I make each upload a link instead of showing everything at the same time? It's really annoying to scroll through everything.

All I'd like to see is the title and a bit of the text, then you have to click the title or maybe some "Read full upload" or something equal.

Example:
http://crinale.com/forums/local_links.php?catid=14

It's just too big and takes to much space, I just want to show a bit of the entry, not the whole one.
Many thanks!

Select a different linkbit, either on the LDM admin settings or per category (edit category/control settings). The Modern (short) linkbit should do what you want, in combination with the length_shortdesc setting

AndrewD
09-29-2008, 10:43 AM
Entry Reporting is buggy even in 2.3.0 Alpha cause of wrong var name in "doreport" action

local_links_action.php(2868)

Find:
$mods = ldm_fetch_moderators($catid, $report_users, ldm_lookup_setting($thiscatid, report_email));

Replace with:
$mods = ldm_fetch_moderators($catid, $report_users, ldm_lookup_setting($catid, report_email));

Noted, thanks

maroceve
09-29-2008, 11:32 AM
Hey andrew :) ...nevermind, i fixed the problem, thank you.

AndrewD
09-29-2008, 04:47 PM
Hey andrew :) ...nevermind, i fixed the problem, thank you.

Good :) what was the solution?

AndrewD
09-29-2008, 04:50 PM
I have a problem with vbadvanced integration. I have all the files integrated and have done what it says in the manual



The only problem is that the new window cuts off half way. It would be good if the new window had vertical scroll bars so you could scroll down and see the rest of the page including the left and right sidebars of vbadvanced.

I think the real solution is to pull the standalone and embedded player code into a different code file. I'll do this in the next version of 2.3.0, and also put the scroll bars back.

Saint_I_Am
09-29-2008, 11:14 PM
ok thanks. Will wait for this before taking it live

vbboarder
09-30-2008, 02:39 AM
There were some bugs in the flash-sites extras plugin, so I decided to debug them. There are a total of 10 video sites whose videos can be embedded. Here are the fixes:

1. Added ?transparent? wmode to all flash sites so videos can be played in Firefox 2.
2. Changed allowScriptAccess from ?always? to ?sameDomain? to reduce security risks.
3. Added 4 missing icons for supported video sites.
4. Added Spike video site. Actually, this is a pattern & embed fix for the iFilm site, which was bought by Spike so iFilm is not accessible.

Known Issues:
DailyMotion & ThatVideoSite embedding do not work. VSocial works, but has limited use since it?s a paid service.
Request: Andrew, can you debug the DailyMotion pattern matching so videos can be embedded (no rush, not a top request)?

Included in zip file (for release with the next LDM version):
flash-sites-plugin.xml ? no change
sample-test-videos.xml ? changed iFilm link to Spike link
readme.txt ? added note about above known issues
local_links_flashsites.php ? fixed 4 bugs mentioned above
icon folder ? added 4 more icons

To install, read the readme.txt file?. that's what it?s for ;)

vbboarder
09-30-2008, 02:41 AM
I think the real solution is to pull the standalone and embedded player code into a different code file. I'll do this in the next version of 2.3.0, and also put the scroll bars back.
Since you're thinking about redoing the code for the player pages, can you consider using either the Shadowbox or LightWindow media viewer?
The presentation of both the standalone and embedded players are not user friendly like that of the JW flv & wmv players. The standalone player requires a new window, which is against users' preference of no popups, and the embedded player requires a new page load, which is time & resource consuming. The JW players are user friendly because users can view videos on category's entries listing pages without requiring popups or page loads. The Shadowbox & LightWindow would create a more user friendly interface.

Both the Shadowbox & LightWindow are similar to Lightbox, but for videos - they can display Windows, Quicktime, & Flash videos. They can even show entire web pages, forms, image galleries, & PDF's. There's 2 main differences between those scripts. LightWindow is MIT licensed so it's freely available; however, it's dependent on the Prototype & Scriptaculous libraries. On the other hand, Shadowbox is licensed under the Creative Commons Noncommercial_Share-Alike license so it's free for personal use, but $20 for commercial use; however, it's much more flexible with required JS libraries - you can use the author's custom JS library, Yahoo YUI, Prototype, jQuery, Dojo, etc. In my experience from trying both media viewers with the Image Resizer mod, I found that Shadowbox is more compatible with vBulletin than LightWindow - ie: it can show images in posts, profiles, groups, albums, and even LDM!
You can find out more about the media viewers at:
Shadowbox: http://mjijackson.com/shadowbox/
LightWindow: http://stickmanlabs.com/lightwindow/#why

Thanks for considering. :)

AndrewD
09-30-2008, 03:44 AM
Since you're thinking about redoing the code for the player pages, can you consider using either the Shadowbox or LightWindow media viewer?
The presentation of both the standalone and embedded players are not user friendly like that of the JW flv & wmv players. The standalone player requires a new window, which is against users' preference of no popups, and the embedded player requires a new page load, which is time & resource consuming. The JW players are user friendly because users can view videos on category's entries listing pages without requiring popups or page loads. The Shadowbox & LightWindow would create a more user friendly interface.

Both the Shadowbox & LightWindow are similar to Lightbox, but for videos - they can display Windows, Quicktime, & Flash videos. They can even show entire web pages, forms, image galleries, & PDF's. There's 2 main differences between those scripts. LightWindow is MIT licensed so it's freely available; however, it's dependent on the Prototype & Scriptaculous libraries. On the other hand, Shadowbox is licensed under the Creative Commons Noncommercial_Share-Alike license so it's free for personal use, but $20 for commercial use; however, it's much more flexible with required JS libraries - you can use the author's custom JS library, Yahoo YUI, Prototype, jQuery, Dojo, etc. In my experience from trying both media viewers with the Image Resizer mod, I found that Shadowbox is more compatible with vBulletin than LightWindow - ie: it can show images in posts, profiles, groups, albums, and even LDM!
You can find out more about the media viewers at:
Shadowbox: http://mjijackson.com/shadowbox/
LightWindow: http://stickmanlabs.com/lightwindow/#why

Thanks for considering. :)

I will certainly consider these. Web presentation of videos has moved on quite a lot since 2004, when the players were originally coded. I think that a javascript based approach is the right way to go at the moment.

However, there are limits to the time I have available for this work and each new feature added is one more item to support. This is a particular problem when there are several interdependent pieces of software which are not under my own control - there are not many good people like you who are willing to devote time to debugging and documenting.

So the short answer is, I'll see what I can do, but I'm not going to commit to anything at this stage.

AndrewD
09-30-2008, 03:50 AM
There were some bugs in the flash-sites extras plugin, so I decided to debug them. There are a total of 10 video sites whose videos can be embedded. Here are the fixes:

1. Added ?transparent? wmode to all flash sites so videos can be played in Firefox 2.
2. Changed allowScriptAccess from ?always? to ?sameDomain? to reduce security risks.
3. Added 4 missing icons for supported video sites.
4. Added Spike video site. Actually, this is a pattern & embed fix for the iFilm site, which was bought by Spike so iFilm is not accessible.

Known Issues:
DailyMotion & ThatVideoSite embedding do not work. VSocial works, but has limited use since it?s a paid service.
Request: Andrew, can you debug the DailyMotion pattern matching so videos can be embedded (no rush, not a top request)?

Included in zip file (for release with the next LDM version):
flash-sites-plugin.xml ? no change
sample-test-videos.xml ? changed iFilm link to Spike link
readme.txt ? added note about above known issues
local_links_flashsites.php ? fixed 4 bugs mentioned above
icon folder ? added 4 more icons

To install, read the readme.txt file?. that's what it?s for ;)

Thanks - will include in next release.

Simon Lloyd
09-30-2008, 07:00 AM
Andrew i know you're busy but i asked a question at VBulletin.com about notices in 3.7.3 PL1 because i couldnt set a notice to be shown if a user was viewing http://www.thecodecage.com/forumz/local_links.php they told me to ask back here, of course local links is your page in VB, i was wondering whether you can help me with this issue?

abdelghani68
09-30-2008, 09:41 AM
I have a suggestion please if it's possible :

l want that we can choose for all modules of vbadvanced the id of categorie.

exemple :

we can do that the module ldm_tagcloud works only with the categorie 3.

thanks very mush.

AndrewD
09-30-2008, 09:53 AM
Andrew i know you're busy but i asked a question at VBulletin.com about notices in 3.7.3 PL1 because i couldnt set a notice to be shown if a user was viewing http://www.thecodecage.com/forumz/local_links.php they told me to ask back here, of course local links is your page in VB, i was wondering whether you can help me with this issue?

It's straightforward to write a plugin which will display a notice when users visit LDM. What do you want to say and how do you want it said? (i.e. is this to be added to the page layout, to be a popup or what?)

AndrewD
09-30-2008, 09:54 AM
I have a suggestion please if it's possible :

l want that we can choose for all modules of vbadvanced the id of categorie.

exemple :

we can do that the module ldm_tagcloud works only with the categorie 3.

thanks very mush.

I will take a look to see. Several of the modules already have this choice.

Simon Lloyd
09-30-2008, 02:36 PM
It's straightforward to write a plugin which will display a notice when users visit LDM. What do you want to say and how do you want it said? (i.e. is this to be added to the page layout, to be a popup or what?)
I wanted to use vbulletins notice system (doesn't matter if its your own) to show a disclaimer (pop up is better i feel) to users something like:
BIG FAT DISCLAIMER!!!!
{musername}, whilst here at The Code Cage Upload/Download Center (http://www.thecodecage.com/forumz/local_links.php) we cannot guarantee that the items available for download are correct or "Fit for the purpose" and as such take no responsibility for its usefulness or integrity. You use the code entirely at your own risk!, if you have specific questions why not post in the forums to get a taylor made solution!

That said there is loads of great stuff here, enjoy!

The Code Cage Teamof course i would like to be able to edit it, and it needs to be persistant but show only once per visit, if you're not using vbulletin notice maybe it can be a click to accept or decline (decline should take them back to /.home.php), thanks for taking the time to look at this!

AndrewD
09-30-2008, 02:44 PM
I wanted to use vbulletins notice system (doesn't matter if its your own) to show a disclaimer (pop up is better i feel) to users something like:
of course i would like to be able to edit it, and it needs to be persistant but show only once per visit, if you're not using vbulletin notice maybe it can be a click to accept or decline (decline should take them back to /.home.php), thanks for taking the time to look at this!

Perhaps integration with the vb notice system is something I should look into. Have your already spotted that LDM offers a force_accept setting? Whe this is on, users must accept standard terms (set out in the links_agreement template and the ll_agreement phrase) before being able to access and download entries. A user is presented with this form at most once per day.

Simon Lloyd
09-30-2008, 03:28 PM
Perhaps integration with the vb notice system is something I should look into. Have your already spotted that LDM offers a force_accept setting? Whe this is on, users must accept standard terms (set out in the links_agreement template and the ll_agreement phrase) before being able to access and download entries. A user is presented with this form at most once per day.Guess i've been pretty dim!, anyway i have edited that only, how do i get it to show the username {username} or {musername} and when they click decline they get thet decline message (which i edited) but also get the accept message along with the accept/decline buttons, clicking on the decline takes you back to the same message?

7lanet
09-30-2008, 05:43 PM
can you add arabic language to Plugin ?

AndrewD
09-30-2008, 06:39 PM
Since you're thinking about redoing the code for the player pages, can you consider using either the Shadowbox or LightWindow media viewer?
The presentation of both the standalone and embedded players are not user friendly like that of the JW flv & wmv players. The standalone player requires a new window, which is against users' preference of no popups, and the embedded player requires a new page load, which is time & resource consuming. The JW players are user friendly because users can view videos on category's entries listing pages without requiring popups or page loads. The Shadowbox & LightWindow would create a more user friendly interface.

Both the Shadowbox & LightWindow are similar to Lightbox, but for videos - they can display Windows, Quicktime, & Flash videos. They can even show entire web pages, forms, image galleries, & PDF's. There's 2 main differences between those scripts. LightWindow is MIT licensed so it's freely available; however, it's dependent on the Prototype & Scriptaculous libraries. On the other hand, Shadowbox is licensed under the Creative Commons Noncommercial_Share-Alike license so it's free for personal use, but $20 for commercial use; however, it's much more flexible with required JS libraries - you can use the author's custom JS library, Yahoo YUI, Prototype, jQuery, Dojo, etc. In my experience from trying both media viewers with the Image Resizer mod, I found that Shadowbox is more compatible with vBulletin than LightWindow - ie: it can show images in posts, profiles, groups, albums, and even LDM!
You can find out more about the media viewers at:
Shadowbox: http://mjijackson.com/shadowbox/
LightWindow: http://stickmanlabs.com/lightwindow/#why

Thanks for considering. :)

I took a look at Shadowbox - I agree that this is a sensible way to go. Let's see what we can do...

AndrewD
09-30-2008, 06:40 PM
can you add arabic language to Plugin ?

I can't :)

Do you want to do a full translation? - early on, someone did a very partial one, but they stopped quite quickly.

AndrewD
09-30-2008, 06:42 PM
Guess i've been pretty dim!, anyway i have edited that only, how do i get it to show the username {username} or {musername} and when they click decline they get thet decline message (which i edited) but also get the accept message along with the accept/decline buttons, clicking on the decline takes you back to the same message?

Perhaps I misled you - the force_accept does not provide an interface to the vb notice system, nor does it handle any replacable parameters.

Simon Lloyd
09-30-2008, 06:50 PM
Perhaps I misled you - the force_accept does not provide an interface to the vb notice system, nor does it handle any replacable parameters.Yes i understand that (except replacable parameters, im very new to this coding lark!), right now it is what i need but i would like to be able to show the username, if its not possible then no worries, but when you click decline you get the decline message along with the accept message can we seperate them?

abdelghani68
10-01-2008, 08:03 AM
I will take a look to see. Several of the modules already have this choice.

Thanks !

I have a little probleme with the comments when I upgrade LDM 2.3.0.

why there is write 0 comments but there is a comment :

https://vborg.vbsupport.ru/ (http://www.monsterup.com)

Sandgrinder
10-01-2008, 08:50 AM
Is there anyway that you can make so you can upload like 2 images to the file you've uploaded?

First (3 images or 1 showing the content of the file etc)
http://img297.imageshack.us/img297/1135/inthecatnn2.jpg

Second (When you've opened the file in the category).
http://img150.imageshack.us/img150/4603/openupfilerb0.jpg

Many thanks.

AndrewD
10-01-2008, 10:07 AM
Is there anyway that you can make so you can upload like 2 images to the file you've uploaded?

First (3 images or 1 showing the content of the file etc)
http://img297.imageshack.us/img297/1135/inthecatnn2.jpg

Second (When you've opened the file in the category).
http://img150.imageshack.us/img150/4603/openupfilerb0.jpg

Many thanks.

Yes, this can be done with the "Additional Attributes" features. Basically, you define on the admin attributes page how many and what type of additional information you want to be able to add (extra images, extra files, etc). You then refine the settings on the category control settings page, to allow you to control the layout and display per-category.

These were a new feature in version 2.2.9, and the interface is still being developed, so the 2.3.0 beta will add more flexibility. However, they work, and I think they can do what you want.

Sandgrinder
10-01-2008, 12:31 PM
Yes, this can be done with the "Additional Attributes" features. Basically, you define on the admin attributes page how many and what type of additional information you want to be able to add (extra images, extra files, etc). You then refine the settings on the category control settings page, to allow you to control the layout and display per-category.

These were a new feature in version 2.2.9, and the interface is still being developed, so the 2.3.0 beta will add more flexibility. However, they work, and I think they can do what you want.

Ah, very nice.

One thing though, I made a test file > http://crinale.com/forums/local_links.php?catid=10&linkid=5

But the image doesn't work, I made so you have to put in a image URL but it seem not to work, nor show the thumbnail in the category list.

Simon Lloyd
10-01-2008, 12:48 PM
Yes i understand that (except replacable parameters, im very new to this coding lark!), right now it is what i need but i would like to be able to show the username, if its not possible then no worries, but when you click decline you get the decline message along with the accept message can we seperate them?Andrew any ideas on the above?

Simon Lloyd
10-01-2008, 08:45 PM
Is it possible to perhaps add a boolean something like in a php (don't know which one):
if ($ldm_accep < '0')
{
$ldm_denied = true;
}
else
{
$ldm_denied = false;
} and then perhaps this in the links_agreement template (i guessed that one!):
<if condition = "$ldm_denied">
<span class="highlight">$vbphrase[ll_agreement_declined]</span>
</if>to show just the declined message, it doesn't matter about an ok button as in the message i have a link to take them back to forums.

obmob
10-02-2008, 03:32 PM
Yes, this can be done with the "Additional Attributes" features. Basically, you define on the admin attributes page how many and what type of additional information you want to be able to add (extra images, extra files, etc). You then refine the settings on the category control settings page, to allow you to control the layout and display per-category.

These were a new feature in version 2.2.9, and the interface is still being developed, so the 2.3.0 beta will add more flexibility. However, they work, and I think they can do what you want.OK, I've been trying to figure out how to use this, i want to use one entry per wallpaper set, some wallpapers have widescreen version and a normal one.

I only want to add some sort of text link or image link to allow widescreen download, doesn't matter if the thumbnail is only one... so. How can i do this? :eek:

Totally lost on attributes u.u

Hmm... Andrew is there a faq in your site for this? :D

Thanks

vbboarder
10-02-2008, 08:45 PM
I took a look at Shadowbox - I agree that this is a sensible way to go. Let's see what we can do...
Great, I'm glad you like Shadowbox also :D Let me know if you want any help testing your new scripts.

Simon Lloyd
10-03-2008, 11:07 AM
Is it possible to perhaps add a boolean something like in a php (don't know which one):
if ($ldm_accep < '0')
{
$ldm_denied = true;
}
else
{
$ldm_denied = false;
} and then perhaps this in the links_agreement template (i guessed that one!):
<if condition = "$ldm_denied">
<span class="highlight">$vbphrase[ll_agreement_declined]</span>
</if>to show just the declined message, it doesn't matter about an ok button as in the message i have a link to take them back to forums.Andrew, is there anyway to seperate the messages perhaps like the above? if so i need some guidance please!

AndrewD
10-03-2008, 11:24 AM
Andrew, is there anyway to seperate the messages perhaps like the above? if so i need some guidance please!

Simon, I have seen your posts but I have a full time job to do. I will try to give you an answer at the weekend. Please be patient :)

Simon Lloyd
10-03-2008, 12:28 PM
Simon, I have seen your posts but I have a full time job to do. I will try to give you an answer at the weekend. Please be patient :)Forgive me! :( i understood that when i visited your site a short while ago!

obmob
10-03-2008, 02:45 PM
Oh, I checked the wiki, now i'm playing to make my link, should have read before, sorry u.u

AndrewD
10-04-2008, 05:57 AM
Ah, very nice.

One thing though, I made a test file > http://crinale.com/forums/local_links.php?catid=10&linkid=5

But the image doesn't work, I made so you have to put in a image URL but it seem not to work, nor show the thumbnail in the category list.

Hi, have you enabled images by setting a thumbnail size using ldm/admin/settings/link_imagesize?

AndrewD
10-04-2008, 06:09 AM
Is it possible to perhaps add a boolean something like in a php (don't know which one):
if ($ldm_accep < '0')
{
$ldm_denied = true;
}
else
{
$ldm_denied = false;
} and then perhaps this in the links_agreement template (i guessed that one!):
<if condition = "$ldm_denied">
<span class="highlight">$vbphrase[ll_agreement_declined]</span>
</if>to show just the declined message, it doesn't matter about an ok button as in the message i have a link to take them back to forums.


It's easier than that.

Edit the links_agreement template, and find these lines:


<if condition="$ldm_accept<0">
<span class="highlight">$vbphrase[ll_agreement_declined]</span>
</if>
<br /><br />
$vbphrase[ll_agreement]


and replace them with this:


<if condition="$ldm_accept<0">
<span class="highlight">$vbphrase[ll_agreement_declined]</span>
<else />
$vbphrase[ll_agreement]
</if>


That way, the two phrases (ll_agreement and ll_agreement_declined) are kept totally separate.

Simon Lloyd
10-04-2008, 06:57 AM
Andrew, thanks for the support and time you spent on this but if i could just make one more request, is it possible not to show the radio buttons or the go button when decline has been selected, as i said the decline message has a link in it back to forums, i could of course add another link back to the ldm page and perhaps call the links "Back to forums" and "Try again".

AndrewD
10-04-2008, 08:15 AM
Andrew, thanks for the support and time you spent on this but if i could just make one more request, is it possible not to show the radio buttons or the go button when decline has been selected, as i said the decline message has a link in it back to forums, i could of course add another link back to the ldm page and perhaps call the links "Back to forums" and "Try again".

Missed that part, sorry.

It's just a matter of moving the close of the <if> test a bit further down in the links_agreement template, for example


<if condition="$ldm_accept<0">
<span class="highlight">$vbphrase[ll_agreement_declined]</span>
<else />
$vbphrase[ll_agreement]
<br /><br />
<input type="radio" name="ldm_accept_form" value="1" /> $vbphrase[ll_accept]
&nbsp;&nbsp;
<input type="radio" name="ldm_accept_form" value="-1" checked="checked"/> $vbphrase[ll_decline]
<br /><br />
<input type="submit" class="button" name="submit" value="$vbphrase[ll_go]" />
</if>

Simon Lloyd
10-04-2008, 09:36 AM
Andrew, briliant thanks!!!!!!

support-vb.com
10-04-2008, 11:22 AM
Hello ,
I have a problem when I try to import the product please look at this picture :

http://t7meel.cc//uploads/images/t7meel_cc-0fb22a3dbf.png


and I have this database error when I try to open the hack CP :

MySQL Error : Unknown column 'language.phrasegroup_local_links' in 'field list'

I have traid to import the product in 3 different forums but still same problem

please tell me how to resolve it

thank you

AndrewD
10-04-2008, 12:08 PM
Hello ,
I have a problem when I try to import the product please look at this picture :

http://t7meel.cc//uploads/images/t7meel_cc-0fb22a3dbf.png


and I have this database error when I try to open the hack CP :

MySQL Error : Unknown column 'language.phrasegroup_local_links' in 'field list'

I have tried to import the product in 3 different forums but still same problem

please tell me how to resolve it

thank you

It looks as if it is not completing the installation, but I have no idea why. If you send me a PM with site details and an admin account, I will take a look.

AndrewD
10-04-2008, 12:27 PM
Great, I'm glad you like Shadowbox also :D Let me know if you want any help testing your new scripts.

Maybe you can try this. It patches LDM to use Shadowbox for the Jukebox and as an alternative lightbox for the LDM image magnifier.

vbboarder
10-04-2008, 04:39 PM
Maybe you can try this. It patches LDM to use Shadowbox for the Jukebox and as an alternative lightbox for the LDM image magnifier.
Wow, you are amazingly fast Andrew! Will test it out and report back. Thanks ;)

vbboarder
10-05-2008, 05:00 AM
Tested Shadowbox today and discovered many cool things (unfortunately no solution to the U.S. financial crisis ;) ). Only 1 major bug, 2 minor bugs, and 3 feature requests:

Note: I tested in LDM-2.2.9-post1, which required edits to a LDM php file. For 2.2.9-post1, the local_links_include.php file was missing 2 functions, ldm_extra_is_loaded & ldm_extra_has_loaded, so I copied those functions into the file from 2.3.0-alpha1. Also, I had to insert ?global $ldm_extras_loaded; $ldm_extras_loaded = array();? into the ldm_general_init() function.

Awesome Bug Fixes: Wooowww, you are amazing Mr. AndrewD ? your Shadowbox plugin fixed these 2 nasty bugs: Bug report: IE popup errors when loading files > 5 MB (https://vborg.vbsupport.ru/showthread.php?p=1605283&highlight=ie7+popup#post1605283) & SERIOUS CONFLICT with media players & Yahoo script used by VB (https://vborg.vbsupport.ru/showthread.php?p=1605310&highlight=yahoo+event#post1605310) I assume that since only the jukebox template is loaded in Shadowbox and not the whole webpage, the Yahoo event script that conflicts with Firefox 2 is not loaded, so the players appear. For the IE error popups bug, don?t know how it was fixed but I?m sure glad it?s gone! :D

Videos Galore: Tested Shadowbox with 14 different video filetypes and codecs (Windows, Quicktime, Real & Flash) ? absolutely no problems!
Audio Pleasure: Tested Shadowbox with 6 different audio filetypes and codecs (Windows, Quicktime, Real & mp3) ? absolutely no problems!

Major Bug: Shadowbox does not display full-size images (magnifier link) for all image filetypes (jpg, png, gif, etc.). The Shadowbox pops up, but no images are displayed ? this occurs in both IE7 & Firefox 2. Could it be that the links_imgpage template is missing (I can?t find it anywhere, even in LDM 2.3.0-alpha1) so the image is not displayed? If not the case: to help debug, the Image Resizer mod can use its Shadowbox to display all images in LDM pages.

Minor Bug: When viewing a category?s entries list, clicking on an image thumbnail will show the full-size image in a new webpage. Can you fix it so that the full-size image shows in Shadowbox?

Minor Bug: Since JWPlayer is no longer set to play swf files, the video is not shown in Shadowbox. But users with Adobe Flash Player installed can still view the swf video in a new page when the entry?s link is clicked. Can you fix it so that the swf video shows in Shadowbox?

The ?open_musicbox_newwindow? setting must be enabled or else you?ll get the whole webpage embedded in the Shadowbox, which looks weird.
Shadowbox integrates fine with your flash-sites extra plugin.

Feature Request (luv this feature): when the WMP player is shown in the Shadowbox, there are ?+? & ?-? buttons below the player that can be clicked to enlarge or reduce the size of the player/ video. However, it appears only when the WMP player is used and only in IE7 ? can you enable those buttons for Firefox and all other players (Quicktime, Real, Flash)? If it?s just a WMP feature, then can you enable it for Firefox also?

Feature Request: For the Filmstrip extra plugin, clicking on the image thumbnail takes the user to a page displaying just that one entry. There?s already a link below the thumbnail that links to the same single-entry page, so can you enable the Shadowbox to show the full-size image when the thumbnail is clicked? I know the magnifier link will do this, but it?s more user-friendly to also have the thumbnail link activate Shadowbox.

Feature Request: Currently I think you have the media players embedded in the jukebox template which is embedded in the Shadowbox. Can you provide an option so that Shadowbox just shows the media player without the jukebox template? Also, if full-size images are embedded in a template, can you do the same for images? There?s 2 advantages to this: 1. the presentation looks cleaner (check out the demo movies on Shadowbox webpage for examples), and 2. the viewing is more streamlined because the user can navigate between entries within a category without leaving the Shadowbox (check out the ?Mixed Content Gallery? demo in Demos > Movies on Shadowbox webpage).

Question: what templates does Shadowbox use for the media players and enlarged images?
Thanks a lot Andrew for this wonderful plugin to your already awesome LDM mod! :D

vbboarder
10-05-2008, 05:05 AM
When an entry with an audio/ video file is marked as Favorite and appears as a Featured entry and the JWPlayer handles its filetype, the JWPlayer (Flash & Silverlight) no longer shows the audio/ video inline for that entry in the regular entries list ? this only occurs in IE7. However, the JWPlayer still shows the audio/ video inline for that entry in the Featured listing.

Amaresh
10-05-2008, 05:44 AM
Hi Andrew,

I'm trying to get this work but it seems that it is unable to scan and add files that have characters such as underscores or dashes in them.

Eg, I have a few files that look like [Hitode-AnimeSS]_Crystal_Blaze_-_03_[02376E4B].avi in a folder, but when i select all of them and try to add them,
the output is :


/upload/Crystal Blaze/[Hitode-AnimeSS inserted as linkid 11
/upload/Crystal Blaze/[Hitode inserted as linkid 12


Clearly, it is having issues with such kinds of files, so do you know any work around for this ?

Thanks in advance!

DJDrew
10-05-2008, 08:40 AM
Hello, I just get "Document Root not set, Edit local_links_init.php"

AndrewD
10-05-2008, 08:54 AM
Hello, I just get "Document Root not set, Edit local_links_init.php"

I imagine your web server is running on a Windows server with php installed in so-called CGI mode. The solution is explained in the LDM wiki, see http://www.eirma.org/wikis/index.php/Site_Configuration

DJDrew
10-05-2008, 08:57 AM
I imagine your web server is running on a Windows server with php installed in so-called CGI mode. The solution is explained in the LDM wiki, see http://www.eirma.org/wikis/index.php/Site_Configuration

Yeah its windows. Ill take a look now

AndrewD
10-05-2008, 08:59 AM
Tested Shadowbox today and discovered many cool things (unfortunately no solution to the U.S. financial crisis ;) ). Only 1 major bug, 2 minor bugs, and 3 feature requests:


Thanks - will deal with these points (keep in mind - it's not just a US financial crisis - it's global and the actions taken in many countries will affect us all)

Indeed, the links_imgpage template is new and required for images to work. Here's the template:

<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title></title>
$headinclude
<script language="JavaScript" type="text/javascript">
self.resizeTo($pic_width,$pic_height);
</script>
</head>
<body>
<br />
<div style="$pic_width; margin-left: auto; margin-right: auto;">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="center">
<img border="0" src="$pic_source" alt="" />
</td>
</tr>
</table>
</div>
</body>
</html>

DJDrew
10-05-2008, 09:01 AM
Just tried changing the path to C:\Inetpub\vhosts\radio1-online.com\httpdocs but didn't seem to work. Have tried several different things but just won't work

DJDrew
10-05-2008, 09:04 AM
Just got it working with the root document.

But now im getting:

Parse error: syntax error, unexpected T_STRING in C:\Inetpub\vhosts\radio1-online.com\httpdocs\forum\includes\local_links_ini t.php on line 46

And none of the forum is working.

DJDrew
10-05-2008, 09:15 AM
Never mind. Seems to be working now

But im a little confused as to why it says downloads with nothing in it and the files are in the catagories? if that makes sense

Atlantean
10-05-2008, 12:24 PM
I have only just installed this mod - and so far I am only scratching at the surface of what it can do.

One thing - can the text in the Navbar be edited from Links/Downloads to just Links As I only intend using it for Links for the time being.

It is probably simple enough but I am not up to speed on all this.

DJDrew
10-05-2008, 12:26 PM
I have only just installed this mod - and so far I am only scratching at the surface of what it can do.

One thing - can the text in the Navbar be edited from Links/Downloads to just Links As I only intend using it for Links for the time being.

It is probably simple enough but I am not up to speed on all this.

Yes, edit the database_name field to "Links" in the LDM administrator control panel

Atlantean
10-05-2008, 12:44 PM
Yes, edit the database_name field to "Links" in the LDM administrator control panel

I have done that but it is still appearing as Links/Downloads in the navbar!

Wonder have I missed something?:confused:

AndrewD
10-05-2008, 01:35 PM
I have done that but it is still appearing as Links/Downloads in the navbar!

Wonder have I missed something?:confused:

I imagine that you've enabled the "Add LDM to VB Navbar" plugin so that the access link appears in the navbar?

At the point where vb is generating its navbar, it doesn't have access to LDM's settings, so the text "Links/Downloads" has to be picked up from a phrase. You can change this text by going to vb/admincp/languages and phrases and finding and editing the phrase called ldm_vbmenu_ldm

AndrewD
10-05-2008, 01:48 PM
Major Bug:[/B] Shadowbox does not display full-size images (magnifier link) for all image filetypes (jpg, png, gif, etc.). The Shadowbox pops up, but no images are displayed ? this occurs in both IE7 & Firefox 2. Could it be that the links_imgpage template is missing (I can?t find it anywhere, even in LDM 2.3.0-alpha1) so the image is not displayed? If not the case: to help debug, the Image Resizer mod can use its Shadowbox to display all images in LDM pages.

This, as you said, is because I forgot to give you the template - see separate post


Minor Bug: When viewing a category?s entries list, clicking on an image thumbnail will show the full-size image in a new webpage. Can you fix it so that the full-size image shows in Shadowbox?

Will do


Minor Bug: Since JWPlayer is no longer set to play swf files, the video is not shown in Shadowbox. But users with Adobe Flash Player installed can still view the swf video in a new page when the entry?s link is clicked. Can you fix it so that the swf video shows in Shadowbox?

Need to think about the best way to do this. The answer is, of course, yes.


The ?open_musicbox_newwindow? setting must be enabled or else you?ll get the whole webpage embedded in the Shadowbox, which looks weird.
Shadowbox integrates fine with your flash-sites extra plugin.

The extra will be fixed to over-ride the open_musicbox_newwindow. (I had intended to do so, but forgot)


Feature Request (luv this feature): when the WMP player is shown in the Shadowbox, there are ?+? & ?-? buttons below the player that can be clicked to enlarge or reduce the size of the player/ video. However, it appears only when the WMP player is used and only in IE7 ? can you enable those buttons for Firefox and all other players (Quicktime, Real, Flash)? If it?s just a WMP feature, then can you enable it for Firefox also?

I spent hours on this last year. The problem is that only certain players are easy to control with javascript. For WMP, the IE version can be controlled and the Firefox 2 version could not be (or at least there was no documentation to tell me how). I have not checked to see if Firefox 3 has a better WMP plugin which allows j/s resizing


Feature Request: For the Filmstrip extra plugin, clicking on the image thumbnail takes the user to a page displaying just that one entry. There?s already a link below the thumbnail that links to the same single-entry page, so can you enable the Shadowbox to show the full-size image when the thumbnail is clicked? I know the magnifier link will do this, but it?s more user-friendly to also have the thumbnail link activate Shadowbox.

Yes


Feature Request: Currently I think you have the media players embedded in the jukebox template which is embedded in the Shadowbox. Can you provide an option so that Shadowbox just shows the media player without the jukebox template? Also, if full-size images are embedded in a template, can you do the same for images? There?s 2 advantages to this: 1. the presentation looks cleaner (check out the demo movies on Shadowbox webpage for examples), and 2. the viewing is more streamlined because the user can navigate between entries within a category without leaving the Shadowbox (check out the ?Mixed Content Gallery? demo in Demos > Movies on Shadowbox webpage).

I have just tested the gallery feature in Shadowbox and it works perfectly. So the next version of this extra will enable it on all LDM pages.

The extra will also allow you to specify the templates to use, defaulting to a 'naked' player and naked image. It will be straightforward to go back to the normal Jukebox


Question: what templates does Shadowbox use for the media players and enlarged images?

Exactly the same as the normal Jukebox (but see two of the answers above). This is all done using Shadowbox's "iframe" facility. It's not possible to access Shadowbox's inbuilt handling of movies and images, because Shadowbox works out what to do from the filetype it is processing rather than from the content it receives. LDM streams output via a php script.

AndrewD
10-05-2008, 02:07 PM
Hi Andrew,

I'm trying to get this work but it seems that it is unable to scan and add files that have characters such as underscores or dashes in them.

Eg, I have a few files that look like [Hitode-AnimeSS]_Crystal_Blaze_-_03_[02376E4B].avi in a folder, but when i select all of them and try to add them,
the output is :



Clearly, it is having issues with such kinds of files, so do you know any work around for this ?

Thanks in advance!

Yes, this is a bug. The template processing doesn't like the square brackets. (Another part of the same code doesn't like apostrophes, but you haven't hit that one yet!) Unfortunately, it's not trivial to correct - I will work out a fix in the next 2.3.0 release.

Atlantean
10-05-2008, 02:07 PM
I imagine that you've enabled the "Add LDM to VB Navbar" plugin so that the access link appears in the navbar?

At the point where vb is generating its navbar, it doesn't have access to LDM's settings, so the text "Links/Downloads" has to be picked up from a phrase. You can change this text by going to vb/admincp/languages and phrases and finding and editing the phrase called ldm_vbmenu_ldm

Thanks a million Andrew - that worked a treat :up:

abdelghani68
10-05-2008, 03:28 PM
Thanks !

I have a little probleme with the comments when I upgrade LDM 2.3.0.

why there is write 0 comments but there is a comment :

http://www.monsterup.com/upload/1222851700.jpg (http://www.monsterup.com)

is it a bug please?

vbboarder
10-05-2008, 08:05 PM
Thanks for the links_imgpage template. I tested Shadowbox with 6 image filetypes - no problems with jpg, png, & gif in IE7 & Firefox 2.

Image Bug: My current image processing library doesn't create thumbnails for bmp, tif, psd images. So I manually created jpg, png, gif thumbnails and added it to my bmp, tif, psd image entries. When I click on the magnifier, the Shadowbox appears but it shows the thumbnail, not the full-size bmp, tif, psd image. I know browsers can show bmp images, but can they show tif & psd images? If not, can you disable the magnifier link for them? If yes, can you enable Shadowbox for them?

links_imgpage Bug: There are some minor bugs with this template:
1. Image is not centered aligned for IE7, both horizontally & vertically.
2. No scrollbars in IE7 so larger images are cut off.
3. Template background/ "canvas" shows for smaller images.

Template Fix: Here's the template that I'm using:
1. Fixes horizontal alignment in IE7; still can't vertically align (even if I use tables).
2. Scrollbars in IE7 shows so larger images can be fully seen.
3. Template background/ "canvas" is minimized for smaller images.

<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title></title>
$headinclude
</head>
<body>
<div style="width: 100%; height: 100%; text-align: center; vertical-align: middle;">
<img border="0" src="$pic_source" alt="" />
</div>
</body>
</html>
.
Image Tip: Currently, the plugin sets the image template width & height to the link_imagemagsize setting. This causes unnecessary scrollbars to appear for images equaling that size, probably because Shadowbox adds some margin or padding.
Solution: to show the full image without unnecessary scrollbars, add about 60 pixels to shadowbox_imgmag_width & shadowbox_imgmag_height in LDM settings. For example, my link_imagemagsize is set to 1024, so I used 1080.

Slow Image Loading: The images load slower than flash videos in Shadowbox. I have images about 1.5 Mb and flash about 15 Mb. Although the flash video is 10x larger, it loads up to 2x faster (~2 secs testing locally, whereas 1.5 Mb images can take up to ~4 secs - IE7 slower than Firefox 2, surprise.... surprise). Is it because the flash video is streamed but the image requires to be fully loaded? If that's the case, can you use the "lowsrc" attribute for <img> to load the thumbnail first?

Missed Click: Ok maybe I'm clumsy with my clicks :rolleyes:, but can you make the 'X' button to close Shadowbox larger? When you implement the Next & Previous buttons for the gallery feature, please make them larger also.

Anticipating...: I'm looking forward to the gallery features & 'naked' players/ images that you'll be implementing in the next version of the Shadowbox plugin. I'll be glad to test it for you! ;)

DJDrew
10-05-2008, 08:50 PM
Does anyone have any idea why I have the "Downloads and links" title with nothing in the table, then I have the table underneath with all the catagories in. Please ask if you don't understand

DJDrew
10-05-2008, 09:22 PM
Hello,

Also the "Uploadable filetypes and size limits" says 8mb, and can't seem to be able to change this.

Any idea how anyone?

AndrewD
10-06-2008, 03:58 AM
Does anyone have any idea why I have the "Downloads and links" title with nothing in the table, then I have the table underneath with all the catagories in. Please ask if you don't understand

You mean it looks like the attached? That's how it's designed to look.

The table at the top is used to contain the name of the current category. At the base level, this is considered to be the product itself, i.e. Links and Downloads Manager. After a search, it is the title Search Results. The table then contains the category's full description (which at the base level is empty), and possibly some accompanying information such as the current user's allowances, etc. It is possible to disable display of this table at the base level - it requires a small edit to the links_main template, which I think I have explained earlier in this thread.

The second table lists all the categories which have the current category as their parent.

If you are in a category with entries, there is then another table containing the category's entries.

and so on.

AndrewD
10-06-2008, 04:01 AM
Hello,

Also the "Uploadable filetypes and size limits" says 8mb, and can't seem to be able to change this.

Any idea how anyone?

The upper limit on uploads is defined by two settings - post_maxsize and upload_max_filesize - in the site configuration file (php.ini) on your web server. Within that limit, you can apply smaller limits for non-admins via the vb/admincp/attachments table. These are explained in the wiki, http://www.eirma.org/wikis/index.php/Site_Configuration

MissKalunji
10-06-2008, 04:02 AM
hey did you consider my request about the favorite /playlist ?

AndrewD
10-06-2008, 04:12 AM
is it a bug please?

take a look at the ll_rate_and_comment phrase. It should read

{1} notes, {2} commentaires


I suspect you'll find it does not. Not sure if that was my fault or if you have edited it at some stage.

AndrewD
10-06-2008, 04:13 AM
hey did you consider my request about the favorite /playlist ?

I can't remember what that was, sorry?

AndrewD
10-06-2008, 04:18 AM
Thanks for the links_imgpage template. I tested Shadowbox with 6 image filetypes - no problems with jpg, png, & gif in IE7 & Firefox 2.

Image Bug: My current image processing library doesn't create thumbnails for bmp, tif, psd images. So I manually created jpg, png, gif thumbnails and added it to my bmp, tif, psd image entries. When I click on the magnifier, the Shadowbox appears but it shows the thumbnail, not the full-size bmp, tif, psd image. I know browsers can show bmp images, but can they show tif & psd images? If not, can you disable the magnifier link for them? If yes, can you enable Shadowbox for them?

links_imgpage Bug: There are some minor bugs with this template:
1. Image is not centered aligned for IE7, both horizontally & vertically.
2. No scrollbars in IE7 so larger images are cut off.
3. Template background/ "canvas" shows for smaller images.

Template Fix: Here's the template that I'm using:
1. Fixes horizontal alignment in IE7; still can't vertically align (even if I use tables).
2. Scrollbars in IE7 shows so larger images can be fully seen.
3. Template background/ "canvas" is minimized for smaller images.

<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title></title>
$headinclude
</head>
<body>
<div style="width: 100%; height: 100%; text-align: center; vertical-align: middle;">
<img border="0" src="$pic_source" alt="" />
</div>
</body>
</html>
.
Image Tip: Currently, the plugin sets the image template width & height to the link_imagemagsize setting. This causes unnecessary scrollbars to appear for images equaling that size, probably because Shadowbox adds some margin or padding.
Solution: to show the full image without unnecessary scrollbars, add about 60 pixels to shadowbox_imgmag_width & shadowbox_imgmag_height in LDM settings. For example, my link_imagemagsize is set to 1024, so I used 1080.

Slow Image Loading: The images load slower than flash videos in Shadowbox. I have images about 1.5 Mb and flash about 15 Mb. Although the flash video is 10x larger, it loads up to 2x faster (~2 secs testing locally, whereas 1.5 Mb images can take up to ~4 secs - IE7 slower than Firefox 2, surprise.... surprise). Is it because the flash video is streamed but the image requires to be fully loaded? If that's the case, can you use the "lowsrc" attribute for <img> to load the thumbnail first?

Missed Click: Ok maybe I'm clumsy with my clicks :rolleyes:, but can you make the 'X' button to close Shadowbox larger? When you implement the Next & Previous buttons for the gallery feature, please make them larger also.

Anticipating...: I'm looking forward to the gallery features & 'naked' players/ images that you'll be implementing in the next version of the Shadowbox plugin. I'll be glad to test it for you! ;)

Thanks. The image loading problem is serious, and I have noticed this myself. It's actually server cpu load, doing work which I think is not required with Shadowbox. (It's generating a correctly sized large thumbnail on the fly.) I'm going to rework this before launch.

For the rest, thanks very much for the testing - I'll deal with these in the next release.

MissKalunji
10-06-2008, 04:26 AM
I can't remember what that was, sorry?

it was a way to get your favorite (in my position the whole thin is just mp3) into a jukebox /playlist I don't know if you see whatno mean? Instead of having the table showing the same of the standard lmd you could have it be a flash player using your favorite as a playlist. I seen someone being able to do it with the same player you used. (well he used downloads II) but I'm sure it's the same principle

AndrewD
10-06-2008, 04:52 AM
it was a way to get your favorite (in my position the whole thin is just mp3) into a jukebox /playlist I don't know if you see whatno mean? Instead of having the table showing the same of the standard lmd you could have it be a flash player using your favorite as a playlist. I seen someone being able to do it with the same player you used. (well he used downloads II) but I'm sure it's the same principle

OK, I understand.

MissKalunji
10-06-2008, 03:09 PM
do you think it would be possible as an addons? or something like that? i know it's not complicated but i tried lol and it didn't work out so hopefully the smarter one will be able to

shlomot
10-06-2008, 05:39 PM
Hello,

I have added user fields via AdminCP

I also defined user field categories and associated the new user fields with their categories.

Everything worked fine until I uninstalled Links and Directory Management.

Since then:

User Profile Field Categories are still showing fine in admin CP;
All user fields are still in userfield table;
The categorized user fields cannot be viewed via the "User Profile Field Manager" (but can still be accessed normally via admin's user data interface).


How can I get these fields to display again in the User Profile Field Manager?

Thank you.

AndrewD
10-06-2008, 06:05 PM
Hello,

I have added user fields via AdminCP

I also defined user field categories and associated the new user fields with their categories.

Everything worked fine until I uninstalled Links and Directory Management.

Since then:

User Profile Field Categories are still showing fine in admin CP;
All user fields are still in userfield table;
The categorized user fields cannot be viewed via the "User Profile Field Manager" (but can still be accessed normally via admin's user data interface).


How can I get these fields to display again in the User Profile Field Manager?

Thank you.

I've just repeated the steps you described:
- installed LDM on a vb database
- created a new user profile category and field
- added a value
- checked that I could see it in the user profile
- uninstalled LDM
- killed LDM
- went back and checked the user profile field manager
- everything is ok

What version of LDM did you have installed when you removed it?

shlomot
10-07-2008, 04:21 AM
WOW! That's some great support, thanks.

Version 2.2.9 post 1, and when I re-install it I can see the fields again in adminCP

I've just repeated the steps you described:
- installed LDM on a vb database
- created a new user profile category and field
- added a value
- checked that I could see it in the user profile
- uninstalled LDM
- killed LDM
- went back and checked the user profile field manager
- everything is ok

What version of LDM did you have installed when you removed it?

abdelghani68
10-07-2008, 08:33 AM
I have 614 entries.

When I do a validation of all url, it stope at the link 381 and search, search... (loading...)

what is the probleme please ? thanks

AndrewD
10-07-2008, 09:03 AM
I have 614 entries.

When I do a validation of all url, it stope at the link 381 and search, search... (loading...)

what is the probleme please ? thanks

This problem happens when a site fails to respond to a valid prompt. There is currently no timeout set on the request - it is one of those things I should get round to implementing. You will see that there is a hyperlink that you can click to force the validation to continue with the next link.

DJDrew
10-07-2008, 09:19 AM
You mean it looks like the attached? That's how it's designed to look.

The table at the top is used to contain the name of the current category. At the base level, this is considered to be the product itself, i.e. Links and Downloads Manager. After a search, it is the title Search Results. The table then contains the category's full description (which at the base level is empty), and possibly some accompanying information such as the current user's allowances, etc. It is possible to disable display of this table at the base level - it requires a small edit to the links_main template, which I think I have explained earlier in this thread.

The second table lists all the categories which have the current category as their parent.

If you are in a category with entries, there is then another table containing the category's entries.

and so on.

http://www.radio1-online.com/forum/local_links.php

Its like theres meant to be something there - Just under the "Downloads" header

AndrewD
10-07-2008, 10:02 AM
http://www.radio1-online.com/forum/local_links.php

Its like theres meant to be something there - Just under the "Downloads" header

Indeed, someone else pointed this out. The empty line vanishes in 2.3.0, although I think it looks better than a bare header.

Silencer Groans
10-07-2008, 12:39 PM
Do you mind that I am making the product Arab?

AndrewD
10-07-2008, 12:42 PM
Do you mind that I am making the product Arab?

Not in the least - and if you submit the translation, I will include it in the standard release.

Silencer Groans
10-07-2008, 02:13 PM
Not in the least - and if you submit the translation, I will include it in the standard release.

I did not understand .. Is it a rejection or approval .. Or you agreed with another person to make the product Arab?

I started translating the product to make it an Arab .. But if it does not agree to stop

AndrewD
10-07-2008, 02:28 PM
I did not understand .. Is it a rejection or approval .. Or you agreed with another person to make the product Arab?

We have already started .. But if it does not agree to stop

Approval!!!

I have not asked anyone else to produce a translation into Arabic :). I do not know if anyone else is doing so - maybe they can report here?

What I was saying was - if you do this, I will include it in the standard release, with many thanks.

Silencer Groans
10-07-2008, 02:40 PM
I understand your answer seems to be the first different .. I'm sorry for that ..

Will now completed the translation of the product

Once finished accompanied you here to see it

Thank you, my brother

femsawyer
10-07-2008, 02:54 PM
I'm getting a blank white page when I try to administer settings, etc.
I'm using VB 3.6.11 with this version of LDM.

Per the instructions after upgrading, I was supposed to go to http://yoursite/local_links_admin.php (ie. on my site http://www.3scrapateers.com/forum/local_links_admin.php) but I get a blank white page.

I accessed the LDM manager from within my forum admin and here is a list of the links that when I click on I get a blank white page:
Permissions
Settings
Star Entry Nomination

On a couple of pages, I get a message telling me that I don't have permission to view this page although I'm logged in as a super administrator.
Searches
Statistics

Hope you can help me.

obmob
10-07-2008, 04:08 PM
Well... I took some time to play with attributes, i think i got something i like... but somehow i think there might be a way to make it look even better.

I create an attribute "widescreen" as an URL to point to a different version of a wallpaper, this, beacuse it will count the downloads, but, I'd love to use an image button instead, do you think it is possible to achieve this?

In other words, an image that can be linked to the download... and that the downloads are also registered. :confused:

Hope I'm not bugging too much :p

Thanks

MissKalunji
10-07-2008, 04:17 PM
do you think it would be possible as an addons? or something like that? i know it's not complicated but i tried lol and it didn't work out so hopefully the smarter one will be able to

bumpidibump :)

AndrewD
10-07-2008, 04:36 PM
bumpidibump :)

Only so many minutes in the day -- I'd noticed your question :)

AndrewD
10-07-2008, 04:40 PM
I'm getting a blank white page when I try to administer settings, etc.
I'm using VB 3.6.11 with this version of LDM.

Per the instructions after upgrading, I was supposed to go to http://yoursite/local_links_admin.php (ie. on my site http://www.3scrapateers.com/forum/local_links_admin.php) but I get a blank white page.

I accessed the LDM manager from within my forum admin and here is a list of the links that when I click on I get a blank white page:
Permissions
Settings
Star Entry Nomination

On a couple of pages, I get a message telling me that I don't have permission to view this page although I'm logged in as a super administrator.
Searches
Statistics

Hope you can help me.

Blank white pages are often a sign of some php error which gets caught up in vbulletin's efforts to compress the page. Try going to vb/admincp/options/cookies and http options and turn off gzip output. Then try again.

If that doesn't work, am happy to take a look if you send me a pm with an account with full vb admin permissions.

MissKalunji
10-07-2008, 04:50 PM
Only so many minutes in the day -- I'd noticed your question :)

I know :) just making sure you did.
Thanks

vbboarder
10-07-2008, 05:31 PM
I'm getting a blank white page when I try to administer settings, etc.
I'm using VB 3.6.11 with this version of LDM.

Per the instructions after upgrading, I was supposed to go to http://yoursite/local_links_admin.php (ie. on my site http://www.3scrapateers.com/forum/local_links_admin.php) but I get a blank white page.

I accessed the LDM manager from within my forum admin and here is a list of the links that when I click on I get a blank white page:
Permissions
Settings
Star Entry Nomination

On a couple of pages, I get a message telling me that I don't have permission to view this page although I'm logged in as a super administrator.
Searches
Statistics

Hope you can help me.
If you're using VB 3.6.11, then you should be using LDM 2.2.8 from this thread:
https://vborg.vbsupport.ru/showthread.php?t=119041

Did Andrew say that LDM 2.2.9/2.3.0 is compatible with VB 3.6.x? Even if you are able to access the LDM settings page, there are a lot of new features that may not be compatible with VB 3.6.x.

capo0o
10-07-2008, 06:08 PM
verg good i will install it today

DJDrew
10-07-2008, 06:11 PM
Indeed, someone else pointed this out. The empty line vanishes in 2.3.0, although I think it looks better than a bare header.

Ah right - Well I'll have to wait for the final release of 3.0.0 to come out

Sandgrinder
10-08-2008, 09:55 AM
How do I fix the filesizes? Tried many options but it still says 12mb.

http://img522.imageshack.us/img522/8307/filesizeyb1.jpg

DJDrew
10-08-2008, 11:40 AM
How do I fix the filesizes? Tried many options but it still says 12mb.

http://img522.imageshack.us/img522/8307/filesizeyb1.jpg

You need to edit your PHP

DJDrew
10-08-2008, 11:54 AM
Hello - I've recently installed the 2.3.0 version. But now when the player is opened it comes up with the scroll bar on the bottom and doesn't fit properly in the window.

Any ideas why?

http://www.radio1-online.com/forum/local_links.php?catid=1

Guest210212002
10-08-2008, 02:02 PM
Quick question:

I'm using this for a media player, and using the short (title, thumb, short description) linkbit for the layout. How would I go about just adding in the username who posted it to this linkbit? The others are way too big for what I'm looking for, and wading through the linkbit setup is making my head hurt. :)

AndrewD
10-08-2008, 04:13 PM
Hello - I've recently installed the 2.3.0 version. But now when the player is opened it comes up with the scroll bar on the bottom and doesn't fit properly in the window.

Any ideas why?

http://www.radio1-online.com/forum/local_links.php?catid=1

Not sure I understand - your site/player seems fine to me?

AndrewD
10-08-2008, 04:15 PM
Quick question:

I'm using this for a media player, and using the short (title, thumb, short description) linkbit for the layout. How would I go about just adding in the username who posted it to this linkbit? The others are way too big for what I'm looking for, and wading through the linkbit setup is making my head hurt. :)

How do you think my head feels ;)


<if condition="$links_permissions['can_view_names']">
$vbphrase[ll_submitby] <a href="member.php{$vbulletin->session->vars['sessionurl']}u=$linkuserid" title="$vbphrase[view_profile]">$linkusername</a>
</if>

AndrewD
10-08-2008, 04:16 PM
How do I fix the filesizes? Tried many options but it still says 12mb.

http://img522.imageshack.us/img522/8307/filesizeyb1.jpg

See http://www.eirma.org/wikis/index.php/Site_Configuration

femsawyer
10-08-2008, 04:16 PM
Blank white pages are often a sign of some php error which gets caught up in vbulletin's efforts to compress the page. Try going to vb/admincp/options/cookies and http options and turn off gzip output. Then try again.

If that doesn't work, am happy to take a look if you send me a pm with an account with full vb admin permissions.

thank you, I figured out what the problem was as I also had this problem when I was trying to edit a thread in the forum. It was a limitation in php. I had to add this line to my config.php file per the troubleshooting section of the vb 3.7 manual.
ini_set('memory_limit', -1);

All is well - thank you!

DJDrew
10-08-2008, 04:33 PM
Not sure I understand - your site/player seems fine to me?

I made the size bigger in the settings.

Any ideas why the "Downloads" header is slightly to the right of the centre?

AndrewD
10-08-2008, 05:36 PM
I made the size bigger in the settings.

Any ideas why the "Downloads" header is slightly to the right of the centre?

I don't think it is - the others are pushed slightly left of centre by the collapse bit on the right. I'm imagine that some css styling could probably force everything to be in the right place.

MissKalunji
10-08-2008, 05:54 PM
*gives Andrew some tea to try and relax*

YLP1
10-08-2008, 05:59 PM
Is there a way to mass upload into the downloads section? TIA

AndrewD
10-08-2008, 06:58 PM
*gives Andrew some tea to try and relax*

My friend - mint tea, please :)

AndrewD
10-08-2008, 06:59 PM
Is there a way to mass upload into the downloads section? TIA

If you mass upload the files using an FTP programme, you can then use LDM/admin/mass edits/scan to mass insert them. You can also set up categories to autosync with dircetories on your server.

obmob
10-08-2008, 08:48 PM
Well... I took some time to play with attributes, i think i got something i like... but somehow i think there might be a way to make it look even better.

I create an attribute "widescreen" as an URL to point to a different version of a wallpaper, this, beacuse it will count the downloads, but, I'd love to use an image button instead, do you think it is possible to achieve this?

In other words, an image that can be linked to the download... and that the downloads are also registered. :confused:

Hope I'm not bugging too much :p

ThanksCan i quote myself? :D

DJDrew
10-08-2008, 09:23 PM
I don't think it is - the others are pushed slightly left of centre by the collapse bit on the right. I'm imagine that some css styling could probably force everything to be in the right place.

Ah right I see. Thanks! :)

OsideRida06
10-09-2008, 10:27 AM
Thanks. I had this installed on one of my other forums for a while. I am so sorry I must have forgot to mark this as installed. But it is not marked as installed, even though I no longer have that forum any more (the one where this was installed on)

MissKalunji
10-09-2008, 10:42 AM
My friend - mint tea, please :)

Here you go lol
http://images.marketworks.com/hi/22/22313/9_smiley_teapot_flb.jpg

*back to serious others might not like it*

AndrewD
10-09-2008, 03:25 PM
Can i quote myself? :D

Noted...

obmob
10-10-2008, 01:46 AM
Thanks Andrew! :)

DJDrew
10-10-2008, 03:42 PM
Is it possible to have the latest download display in the forum home page rather than just being black?

(I have created a redirect)

johan204
10-11-2008, 05:43 AM
Is it possible to force a must click banner before... thing on it?
Thanks in advance.

abdelghani68
10-11-2008, 09:45 AM
I have certain categrorie who containes only audio and inline JWplayer_active is active.

Several times when we enter in the cétégorie, internet explorer is blocked intin the page is loads.

I think that the probleme isn't my server. I have a good bandwidth. Firefox don't block when I enter in the categorie.

Feature Request : we can choose in all categorie the number of entries are display in the page.

(can you don't forget please ma feature request for the vba modules : we can choose for all modules of vbadvanced the id of categories who works with. It's very important)

Thanks.

AndrewD
10-11-2008, 12:45 PM
I have certain categrorie who containes only audio and inline JWplayer_active is active.

Several times when we enter in the c?t?gorie, internet explorer is blocked intin the page is loads.

I think that the probleme isn't my server. I have a good bandwidth. Firefox don't block when I enter in the categorie.

I've not seen this, but it sound like (perhaps) problems with javascript. Have you added extra items to the page which load all sorts of javascript?

Feature Request : we can choose in all categorie the number of entries are display in the page.

You already can. Setting *links_per_page* can be set per category, using edit category/control settings.

(can you don't forget please ma feature request for the vba modules : we can choose for all modules of vbadvanced the id of categories who works with. It's very important)

Thanks.

I just coded this for the tagcloud, new_reviews and newly_reviewed modules. As far as I can see, that's all?

AndrewD
10-11-2008, 12:51 PM
Is it possible to have the latest download display in the forum home page rather than just being black?

(I have created a redirect)

I thought this already worked? See attached, which includes two forum links, one to the LDM base and the other to an LDM category

abdelghani68
10-11-2008, 02:14 PM
I've not seen this, but it sound like (perhaps) problems with javascript. Have you added extra items to the page which load all sorts of javascript?



You already can. Setting *links_per_page* can be set per category, using edit category/control settings.



I just coded this for the tagcloud, new_reviews and newly_reviewed modules. As far as I can see, that's all?

Thanks for the answer. I think it's a new add-on that I have installed recently because I didn't have this problem before.

for the modules, if you can add please ldm_cats and ldm_random, if this is not a big job for you, it would be great

AndrewD
10-11-2008, 03:07 PM
for the modules, if you can add please ldm_cats and ldm_random, if this is not a big job for you, it would be great

I'm a little confused - both those modules already accept a category setting

vbboarder
10-11-2008, 04:06 PM
Question: When an auto-announce thread is created in a forum for LDM, the link to the LDM entry inside the post opens up in a new tab/ window. It's probably due to VB's coding, but do you know how I can modify it so it opens up in the same window?

Feature Request: When adding a new entry and selecting auto-announce, can you provide a feature to allow the user to select a prefix for the new thread?

AndrewD
10-11-2008, 04:26 PM
Question: When an auto-announce thread is created in a forum for LDM, the link to the LDM entry inside the post opens up in a new tab/ window. It's probably due to VB's coding, but do you know how I can modify it so it opens up in the same window?

I think you would have to recode the url bbcode event handler.

Alternatively, you could add another bbcode, which does a simplified version of the url bbcode without opening a new window, then patch the LDM phrase to use that rather than url

Feature Request: When adding a new entry and selecting auto-announce, can you provide a feature to allow the user to select a prefix for the new thread?

Noted.

vbboarder
10-11-2008, 05:54 PM
I think you would have to recode the url bbcode event handler.

Alternatively, you could add another bbcode, which does a simplified version of the url bbcode without opening a new window, then patch the LDM phrase to use that rather than url

Noted.
Thanks for confirming, I kinda suspected that. I think I'll try the alternative bbcode version. ;)

DJDrew
10-12-2008, 09:33 AM
I thought this already worked? See attached, which includes two forum links, one to the LDM base and the other to an LDM category

How did you set that up? It didn't work automatically for me so I had to create a redirect. So its not working properly.

Please help

abdelghani68
10-12-2008, 11:57 AM
I'm a little confused - both those modules already accept a category setting

Sorry I said an error. But the module ldm_cats haven't the option 'Comma-separated list of category ids to search.'

thanks

AndrewD
10-12-2008, 02:41 PM
How did you set that up? It didn't work automatically for me so I had to create a redirect. So its not working properly.

Please help

I'm happy to help but you have to give me a bit more information or let me have access to your site. (Send me a PM if you like.) I can't debug the statement 'it's not working properly'. What didn't work automatically? Creating an entry into LDM using a forum redirect is one of the standard ways to get access to LDM. When you do this (unless you have changed the name of the main LDM script), the software automatically patches the forum home listing to include the most recent visible entry. I didn't have to do anything to turn this on.

AndrewD
10-12-2008, 02:46 PM
Sorry I said an error. But the module ldm_cats haven't the option 'Comma-separated list of category ids to search.'

thanks

That's right - but it does accept a single category id, and the module then produces a list of categories in that category id down to the specified depth. Are you saying that you want it to accept multiple category ids and produce separate listings for each of them? Or do you want the listings to be merged somehow?

DJDrew
10-12-2008, 03:27 PM
I'm happy to help but you have to give me a bit more information or let me have access to your site. (Send me a PM if you like.) I can't debug the statement 'it's not working properly'. What didn't work automatically? Creating an entry into LDM using a forum redirect is one of the standard ways to get access to LDM. When you do this (unless you have changed the name of the main LDM script), the software automatically patches the forum home listing to include the most recent visible entry. I didn't have to do anything to turn this on.

Take a look:

http://www.radio1-online.com/forum/index.php

The forum is just a redirect to the LDM script. It just won't display the latest upload for some reason.

AndrewD
10-12-2008, 05:18 PM
Take a look:

http://www.radio1-online.com/forum/index.php

The forum is just a redirect to the LDM script. It just won't display the latest upload for some reason.

Yes, I'm sure, but I can't solve problems just like that. Do you want me to take a look? - In which case I need full access to your site.

DJDrew
10-12-2008, 08:26 PM
Yes, I'm sure, but I can't solve problems just like that. Do you want me to take a look? - In which case I need full access to your site.

Is the redirect meant to be going to "local_links.php"?

DJDrew
10-12-2008, 08:37 PM
Also, the mod doesn't work with my style by the look of things.

http://www.radio1-online.com/forum/local_links_search.php?action=search

Its messed up

skokarl
10-13-2008, 11:30 AM
Hallo AndrewD ,

i am from german, excuse my bad english.

have anyone a german language file for the great mod ?

AndrewD
10-13-2008, 05:18 PM
Hallo AndrewD ,

i am from german, excuse my bad english.

have anyone a german language file for the great mod ?

Yes, indeed, there is a (fairly complete) German translation included in the release zip. You can either install it directly by using the release/product-eirma_ldm-de.xml file or you can install the English version, then add the German phrases from development/phrases/phrases-de.xml

abdelghani68
10-14-2008, 09:08 AM
That's right - but it does accept a single category id, and the module then produces a list of categories in that category id down to the specified depth. Are you saying that you want it to accept multiple category ids and produce separate listings for each of them? Or do you want the listings to be merged somehow?

I just want that I can choose the id categories.

Exemple if I have 20 categories in the library, I can to display in the modules vba only 5 categories.

thanks

skokarl
10-14-2008, 09:28 AM
Hallo,

uploads > 12 mb fault with a missing security token ?
what is wrong ?

vB 3.73

I know, my english is bad ... sorry.

edit : it's okay ... i have change the php.ini .... timeout etc.

skokarl
10-14-2008, 11:58 AM
I have a XAMPP Installation .... can I change the upload path to c:\upload on my server ?

edit : I have found the button ... this is a absolut great mod .... many thanks for the coder

littefire
10-14-2008, 01:56 PM
question:
my download directly in under my site ./vbb/dl/, if i type www.mysite.com/vbb/dl/ in browser, it shows every files and directorys.
Is that correct? if someone know the location,he can dowload all files without permisson?
what's wrong with my settings?
please help!

AndrewD
10-14-2008, 03:51 PM
question:
my download directly in under my site ./vbb/dl/, if i type www.mysite.com/vbb/dl/ in browser, it shows every files and directorys.
Is that correct? if someone know the location,he can dowload all files without permisson?
what's wrong with my settings?
please help!

Yes, this depends on the security settings on your web server
- if your site is using Apache as web server, this can be configured to prohibit directory browing - see for example http://forums.devshed.com/apache-development-15/deny-directory-browsing-help-9870.html
- provided you have access to web server directories outside directory root, you can also configure LDM to store files outside the web root (settings local_file_root and local_file_root_prefix). This will prevent the problem in the first place
- you can also create an empty file called index.html in /vbb/dl (the next version of LDM 2.3.0 will do this for you)

It's interesting - no-one had noticed this problem for nearly four years, then I've had two reports in the past month or so:)

vbboarder
10-15-2008, 02:36 AM
Hot Media module bugs fixed:
Edited ldm_hot_media.php to fix bugs:
1. The # of entries were not time limited:
Problems: TIMENOW was not in scope and portal_ldm_hot_media_hitssince was undefined
Solutions: used time() and $GLOBALS['links_defaults']['days_seen_on_portal'] to correctly time limit # of entries
2. Problem: inlineJWplayer_mp3_height did not account for mp3?s album art
Solution: set inlineJWplayer_mp3_height to thumbnail size * aspect ratio
3. Added 8 filetypes supported by the JW players: flv|m4a|m4v|mp3|mp4|wma|wmv|xml

New Media module bugs fixed:
Edited ldm_new_media.php: to fix bugs:
1. Fixed 3 incorrectly referenced variables: changed from portal_ldm_hot_media_ to portal_ldm_new_media
2. Problem: inlineJWplayer_mp3_height did not account for mp3?s album art
Solution: set inlineJWplayer_mp3_height to thumbnail size * aspect ratio
3. Added 8 filetypes supported by the JW players: flv|m4a|m4v|mp3|mp4|wma|wmv|xml

New Thumbs module bug fixed:
Edited adv_portal_custom_ldm_new_thumb_one template to fix bug where setting $linkimg = 0 for inline players prevents album art thumbnails to appear in the VBA module ? added $templinkimg variable.

Created Hot thumbnails VBA module:
I took the liberty to create a module for popular entries with thumbnails based on the New thumbnails VBA module. Popular entries are time limited by the ?days_seen_on_portal? LDM setting.

Edited JWPlayer Addons - ldm_linkbit_create plugin:
1. In 2.2.9, plugin only handled flv, mp3, & mp4. Added handling of m4a, m4v, & xml.
2. Made player width & height consistent for uniform layout and to account for mp3, m4a, wma file?s album art.
3. Fixed bug where setting $linkimg = 0 for inline players prevents album art thumbnails to appear in the VBA module ? added $templinkimg variable.
4. Fixed bug where inline players were not aligned in table rows in the media VBA modules.
5. Streamlined and reduced redundant code for easier debugging.

New files included in zip file:
ldm_new_media.xml, ldm_hot_media.xml, ldm_new_thumb.xml, ldm_hot_thumb.xml, JWPlayer Addons ? ldm_linkbit_create.php


To install: in adminCP left column, go to VBA CMPS > Download / Upload Module > select the xml file to upload and the style to apply it to. If you already have these modules installed, you must select ?allow overwrite? after you click ?Submit.?

Required manual edits to use new features of these VBA modules:
1. For JWPlayer Addons ? ldm_linkbit_create.php, go to Plugin Manager, find & click on the LDM link for the JWPlayer Addons plugin hooked to ldm_linkbit_create, remove all of the old code, and paste in all of the new code from the file.

2. Edit JWPlayer Addons - ldm_linkbit_gettypebit plugin:
In the first line, change array(?mp3?, ?flv?, ?mp4?)
TO: array("flv", "mp3", "mp4", "m4v", "m4a", "xml", ?wma?, ?wmv?)

vbboarder
10-15-2008, 02:37 AM
Feature Request: My portal page loads slow when I have all 4 VBA media modules enabled (new thumbs, hot thumbs, new media, hot media). On that page, I have a total of 16 thumbnails displayed for the thumb modules and a total of 16 flash videos displayed for the media modules. I disabled other VBA modules on this portal page. Can you provide an option to cache built templates for these 4 modules so that the server only have to build it once during the cache period? It would be much appreciated! Your other VBA modules seem to load fine.

Feature Request: For uploaded images that are smaller than “link_imagesize”, the image remains unchanged. Can you enable your local_resize.php script to enlarge small images to “link_imagesize” (I understand the resolution will be less, that’s fine)? I don’t mind if ImageMagick needs to be installed since there are easy self-installers for many OS and many hosting providers provide it by default. This feature would really help image categories to have a uniform layout.

AndrewD
10-15-2008, 02:59 AM
Feature Request: My portal page loads slow when I have all 4 VBA media modules enabled (new thumbs, hot thumbs, new media, hot media). On that page, I have a total of 16 thumbnails displayed for the thumb modules and a total of 16 flash videos displayed for the media modules. I disabled other VBA modules on this portal page. Can you provide an option to cache built templates for these 4 modules so that the server only have to build it once during the cache period? It would be much appreciated! Your other VBA modules seem to load fine.

Feature Request: For uploaded images that are smaller than ?link_imagesize?, the image remains unchanged. Can you enable your local_resize.php script to enlarge small images to ?link_imagesize? (I understand the resolution will be less, that?s fine)? I don?t mind if ImageMagick needs to be installed since there are easy self-installers for many OS and many hosting providers provide it by default. This feature would really help image categories to have a uniform layout.

Thanks - and thanks for the fixes to the modules. You are right about the vba page loads when there are multiple modules - in general version 2.2.9 had become inefficient in a number of areas and 2.3.0 was mainly intended to tidy up these things. I will look into the possibilities for caching bits.

obmob
10-15-2008, 03:10 AM
Hmm... a lot of stuff has been added since 2.2.8 x.x

Thanks Andrew! :3

littefire
10-15-2008, 12:09 PM
Yes, this depends on the security settings on your web server
- if your site is using Apache as web server, this can be configured to prohibit directory browing - see for example http://forums.devshed.com/apache-development-15/deny-directory-browsing-help-9870.html
- provided you have access to web server directories outside directory root, you can also configure LDM to store files outside the web root (settings local_file_root and local_file_root_prefix). This will prevent the problem in the first place
- you can also create an empty file called index.html in /vbb/dl (the next version of LDM 2.3.0 will do this for you)

It's interesting - no-one had noticed this problem for nearly four years, then I've had two reports in the past month or so:)


I chose CHMOD 711 ,problem solved.
thanks.

skokarl
10-16-2008, 04:38 AM
Hallo, it's a very great Hack, many thanks.

It is possible to make a extra download button under the file ?

AndrewD
10-16-2008, 05:00 AM
Hallo, it's a very great Hack, many thanks.

It is possible to make a extra download button under the file ?

You need to edit the links_linkbit template (or one of the other linkbit template, if you are not using the 'modern' linkbit), which I am afraid are rather complicated templates.

To add another download button, you need to insert the following code:

<if condition="$linksavebit">$linkurlsave</if>


where you want the button to be.

littefire
10-16-2008, 07:20 AM
Can we support Resume broken downloads ?

AndrewD
10-16-2008, 09:10 AM
Can we support Resume broken downloads ?

I'm not sure that it is possible to do this within LDM, because I think it requires privileged access to the user's PC. This is a security risk that is blocked to scripts.

However, LDM does work smoothly with (at least some) third-party download managers, which will handle resumes.

littefire
10-16-2008, 11:54 AM
I'm not sure that it is possible to do this within LDM, because I think it requires privileged access to the user's PC. This is a security risk that is blocked to scripts.

However, LDM does work smoothly with (at least some) third-party download managers, which will handle resumes.

yes,flashget can handle resumes, but it also show real address of the file.

Can we hide the real address? did we need use local_file_root&local_file_root_prefix ?

abdelghani68
10-16-2008, 02:51 PM
If I have an entrie with the link :

www.mysite.com/audio01.mp3

If I woul'd like when a member download the audio, it will be nomme 'vbullletin' ; how to do that ?

When I write 'vbulletin' in the champ 'rename'. I have got a message of error.

can you help me please ? thanks and sorry for my bad english

AndrewD
10-16-2008, 03:13 PM
If I have an entrie with the link :

www.mysite.com/audio01.mp3

If I woul'd like when a member download the audio, it will be nomme 'vbullletin' ; how to do that ?

When I write 'vbulletin' in the champ 'rename'. I have got a message of error.

can you help me please ? thanks and sorry for my bad english

You have to put vbulletin.mp3 in the field - the rename has to include the filetype, and it has to be the same filetype.

DJDrew
10-16-2008, 03:18 PM
Does anyone have a module for vbadvanced for this?

AndrewD
10-16-2008, 03:59 PM
Does anyone have a module for vbadvanced for this?

They are in the release you already have. Also described in the online wiki.

DJDrew
10-16-2008, 04:05 PM
They are in the release you already have. Also described in the online wiki.

Oh ok thanks! :)

DJDrew
10-16-2008, 04:11 PM
I get the error "The file you have uploaded is not a valid module file." when I try to use them?

AndrewD
10-16-2008, 05:32 PM
I get the error "The file you have uploaded is not a valid module file." when I try to use them?

tell me which one you want to use, and I will install it for you.

DJDrew
10-16-2008, 06:06 PM
tell me which one you want to use, and I will install it for you.

The ldm_new.module please

If that shows all the newest posts to the downloads?

AndrewD
10-17-2008, 03:32 AM
The ldm_new.module please

If that shows all the newest posts to the downloads?

I realise what is the problem.

There is a bug in the vbadvanced code when vba is installed on a windows-based server, and this causes the error you report ("this is not a valid module file") with all attempts to upload modules (not just LDM). I have reported this to Brian on vbadvanced.com, but so far I don't think it has been fixed in the official release.

The fix involves a minor change to the file admincp/vba_cmps_admin.php, as attached. If you upload this file, I think you will find that the modules install correctly.

When you have fixed this, be careful to avoid another problem related to the way vbadvanced handles module installation. The vba upload module form asks you which style(s) to add the new module's templates. You have created eight styles, but you have made them all 'top level' styles - i.e. they all have 'no parent style' (admincp/styles/edit style settings), so they cannot inherit templates from their parent. This means that the new vba module templates must be installed to *all* your styles, i.e. you must select all of them when uploading the module.

Again, I'm happy to do the installation for you, but obviously I can't install the code fix.

vbboarder
10-17-2008, 05:21 AM
Bug Report & Fix:
The JWPlayer Addons ? ldm_linkbit_create.php file I uploaded a few days ago has a bug where the inline players showed in VBA blocks but not in LDM category listings. Besides fixing that bug, there are other minor code changes so you should edit the JWPlayer Addons plugin hooked to ldm_linkbit_create: remove all of the old code in that plugin, and paste in all of the new code from the file. Make sure you use the right file ? I included both LDM 2.2.9 & 2.3.0 versions since Andrew added some new code/ variables to the 2.3.0 version.

Note: I updated my original post with a new zip file containing the new JWPlayer Addons ? ldm_linkbit_create.php file.

Bug Report & Fix:
I found another alignment problem when both the JWPlayers for Flash & Silverlight appear in the same row:
Fix: in the links_playerbit_JWwmPlayer template, FIND:
<div id="ldmplayerdiv$player_id"></div>.
REPLACE that with:
<div style="float:$stylevar[left]"><div id="ldmplayerdiv$player_id"><a href="http://silverlight.net/GetStarted/">Get Silverlight</a> to see this player.</div></div>

MissKalunji
10-17-2008, 05:13 PM
got a question how can i use "rss" to display title of the New Songs (click and it brings them to the item itself?) It's to be added to vbadvance

MissKalunji
10-17-2008, 07:25 PM
Never mind i found the way by using this : http://www.vbadvanced.com/forum/showthread.php?t=24401&highlight=file_put_contents+write and your Rss feed :) Thank you!

vbboarder
10-17-2008, 09:36 PM
The saved search feature is not working correctly. There's 3 issues:

1. When the search option to find "all words" is selected, it acts the same as "any words." For example, if you put in: mp3 audio, "any words" search would find entries that have either mp3 or audio in its text, "all words" search would find entries that have both mp3 and audio (mp3 & audio do not need to be adjacent) in its text, and "exact phrase" search would find entries that have mp3 audio (mp3 & audio needs to be adjacent to each other) in its text. Well, LDM doesn't do that when "all words" is selected.

2. When I save a search and edit it later, then old settings still remain. For example, I saved a search of "mp3 audio" and selected "exact phrase", then I edited that search to change it to "all words" and marked "update saved search", then I visit the "Saved Searches" link, the search description will read both "exact phrase" and "all words." It might just be a descriptive bug versus a functional bug because when I click on the "mp3 audio" search link, the header states that it's searching "all words" only (though it's searches incorrectly - see bug #1).

3. The saved searches for Profile Searches can not be edited by the user. Though not a functional bug ('cause it works), it results in a logical bug because the search semantics is not correct. For example, if the admin enabled occupation profile searching in LDM settings and the user put in "web developer" in his profile, then when he goes to the LDM Search menu, he gets 2 separate saved searches: "web" and "developer" when it should be "web developer." I think the solution is 2 parts: enable an option to allow profile saved searches to be delimited by commas, and enable the profile saved searches to be edited similar to the self-made saved searches.

AndrewD
10-18-2008, 03:09 AM
The saved search feature is not working correctly. There's 3 issues:

1. When the search option to find "all words" is selected, it acts the same as "any words." For example, if you put in: mp3 audio, "any words" search would find entries that have either mp3 or audio in its text, "all words" search would find entries that have both mp3 and audio (mp3 & audio do not need to be adjacent) in its text, and "exact phrase" search would find entries that have mp3 audio (mp3 & audio needs to be adjacent to each other) in its text. Well, LDM doesn't do that when "all words" is selected.

2. When I save a search and edit it later, then old settings still remain. For example, I saved a search of "mp3 audio" and selected "exact phrase", then I edited that search to change it to "all words" and marked "update saved search", then I visit the "Saved Searches" link, the search description will read both "exact phrase" and "all words." It might just be a descriptive bug versus a functional bug because when I click on the "mp3 audio" search link, the header states that it's searching "all words" only (though it's searches incorrectly - see bug #1).

3. The saved searches for Profile Searches can not be edited by the user. Though not a functional bug ('cause it works), it results in a logical bug because the search semantics is not correct. For example, if the admin enabled occupation profile searching in LDM settings and the user put in "web developer" in his profile, then when he goes to the LDM Search menu, he gets 2 separate saved searches: "web" and "developer" when it should be "web developer." I think the solution is 2 parts: enable an option to allow profile saved searches to be delimited by commas, and enable the profile saved searches to be edited similar to the self-made saved searches.

I'd noticed the first two problems, and I think I've fixed them in 2.3.0 beta 1. There were bugs particularly in the highlighting code (particularly nasty to fix for languages requiring utf8 character sets) . Thanks.

The third one (profile searches) is a bit more problematic, because, as you say, the feature is working as originally designed. But it's a bit of a fossil and needs rethinking. The inconsistency with other saved searches has only just become apparent, because I only recently made this feature visible - it was there for a couple of years but only to admins.

abdelghani68
10-18-2008, 08:18 AM
when I clic on the image for send an entrie to a friend, the link is wrong : it is a link for the categorie and not for the entrie as I want...

thanks

AndrewD
10-18-2008, 09:42 AM
when I clic on the image for send an entrie to a friend, the link is wrong : it is a link for the categorie and not for the entrie as I want...

thanks

Thanks - will fix in 2.3.0 beta 1 (expect the upload later today :))

webchills
10-18-2008, 02:40 PM
First of all thanks for this great mod.
I' m using 2.2.9 and everything is working fine, but I can't get the links in the navabr working properly.
I have renamed local_links to downloads as the mod is used for downloads only.
In the navbar for example under "Show" "New entries" ends up in a link like this:
downloads_search.php?action=find&catid=-8
The result is the message that you have insufficient rights to perform this operation. Even when you are logged in as Admin.
"Show" "New Ratings" ends up in a link like
downloads_search.php?action=find&catid=-13
Same result.
Any idea where these strange links with negative category numbers do come from and how to fix that?
All other links in the navbar (Add link, Category, Moderate, ...) are working fine by the way.

Sandgrinder
10-18-2008, 04:01 PM
Got some problems with my LDM, first of all, a normal member can't see the additional attributes and yes, I've checked the permissions.

The second thing is that my download index looks a bit messed up, can't really find what's wrong. - http://crinale.com/forums/local_links.php

AndrewD
10-18-2008, 11:52 PM
First of all thanks for this great mod.
I' m using 2.2.9 and everything is working fine, but I can't get the links in the navabr working properly.
I have renamed local_links to downloads as the mod is used for downloads only.
In the navbar for example under "Show" "New entries" ends up in a link like this:
downloads_search.php?action=find&catid=-8
The result is the message that you have insufficient rights to perform this operation. Even when you are logged in as Admin.
"Show" "New Ratings" ends up in a link like
downloads_search.php?action=find&catid=-13
Same result.
Any idea where these strange links with negative category numbers do come from and how to fix that?
All other links in the navbar (Add link, Category, Moderate, ...) are working fine by the way.

Have you renamed the top level scripts consistently with the way you have edited includes/local_links_init.php?

The navbar is pointing towards downloads_search.php because you've set:

define('SEARCH_SCRIPT', 'downloads_search');

in includes/local_links_init.php

Script local_links_search.php should have been renamed downloads_script.php, etc, matching these definitions.

The negative category ids are used to specify special searches, i.e. -8 = new entries, etc

Let me know if I'm missing the point

AndrewD
10-19-2008, 12:09 AM
Got some problems with my LDM, first of all, a normal member can't see the additional attributes and yes, I've checked the permissions.

Check the attribute types and display orders - 'hidden' types and display orders (group and attributes) that are set to zero or negative are only shown to users who have 'can_view_hidden' permission

The second thing is that my download index looks a bit messed up, can't really find what's wrong. - http://crinale.com/forums/local_links.php

I don't understand what you mean - it looks ok to me?

webchills
10-19-2008, 06:15 AM
The negative category ids are used to specify special searches, i.e. -8 = new entries, etc
Let me know if I'm missing the point
Hi Andrew,
I have renamed consequently the local_links_xxx.php to downloads_xxx.php as set in local_links_init.php
The links are working, but the point is, that noone has permission to view these negative category ids. What permissions are responsible for that?

AndrewD
10-19-2008, 06:41 AM
Hi Andrew,
I have renamed consequently the local_links_xxx.php to downloads_xxx.php as set in local_links_init.php
The links are working, but the point is, that noone has permission to view these negative category ids. What permissions are responsible for that?

Without looking in detail at your site (which I'm happy to do if you send me a pm with details and an admin account), I can only guess.

The code that is executed for script?action=find&catid=-NN carries out a check for valid values of NN, using a set of definitions that are pulled in from includes/local_links_include.php. It gives a 'no permission' error in two situations:

- if someone without "can_moderate_links" permission is trying to execute one of the 'moderator' based 'find' commands (which only show up on the menu if you have those permissions in the first place

- if the value NN is not in the valid range

I would suspect that somehow it is the second condition, but I can't see (without checking your site) how that can be.

Sandgrinder
10-19-2008, 07:19 AM
Check the attribute types and display orders - 'hidden' types and display orders (group and attributes) that are set to zero or negative are only shown to users who have 'can_view_hidden' permission



I don't understand what you mean - it looks ok to me?

I'm don't understand to 100% but it looks like this at the moment:
http://img252.imageshack.us/img252/8281/69381540wa8.jpg

About the Downloads index it looks like this:
http://img443.imageshack.us/img443/2000/81952230xp5.jpg

I want it to look like a forum category, not splitted up. =)

Many thanks again!

Simon Lloyd
10-19-2008, 08:33 AM
Hi Andrew, i have just looked at my profile (vb3.7.3 PL1) and in the "About me" tab it shows Recent LDM hits & Entries, i have had hits and entries but they dont show (shows N/A), if i click the pencil (edit section) icon a box pops up saying "if you want to keep private then...." theres nothing in it if i then click save i get presented with "The server failed to respond in time. Please try again.", any ideas?

I have the upload folder outside of my forum and root (you helped with this), it is properly referenced as i can view/download files.

AndrewD
10-19-2008, 09:38 AM
Hi Andrew, i have just looked at my profile (vb3.7.3 PL1) and in the "About me" tab it shows Recent LDM hits & Entries, i have had hits and entries but they dont show (shows N/A), if i click the pencil (edit section) icon a box pops up saying "if you want to keep private then...." theres nothing in it if i then click save i get presented with "The server failed to respond in time. Please try again.", any ideas?

I have the upload folder outside of my forum and root (you helped with this), it is properly referenced as i can view/download files.

The vbulletin folk changed how they handled user profiles between vb 3.6 and 3.7 and this messed up my integration of LDM with this feature. In version 2.2.9, I think it works correctly if you enable the ldm admin setting *profile_ldmactivity*, but if you disable it, you get the N/A box. I think I have fixed that problem in 2.3.0.

AndrewD
10-19-2008, 09:47 AM
Here is the first beta release of 2.3.0. It still requires care - please do not install on a live site unless you are willing to deal with bugs. I will appreciate test reports and suggestions.

This code seems basically ok with VB3.8 - user profile integration is temporarily not working, but not because of any serious problem, and will be re-enabled in the next beta

NB: the main zip only contains the English product file. The translations are supplied separately.

There are a few more changes expected before 2.3.0 becomes the new official release (work on vba page load efficiency, integration of vbboarder's 'extras' integrator to smooth upgrades, and perhaps a couple of new extras), as well as updating the wiki.

Compared to version 2.3.0-alpha, these are the changes:

+ Additional attributes

Groups have new 'hidden' and 'collapsed by default' options which can be set on per-category basis
Attribute groups displayed as collapsible boxes on 'Add/Edit Entry' forms
Attribute names that start with * are replaced by the corresponding vb phrase when displayed on user pages

+ Administration
Added information on admin/allowances when usergroups have *can_bypass_XXX* permissions
Added information on admin/showinfo when usergroups with *can_bypass_XXX* permissions

+ Accept agreement
Template/ *ll_agreement* phrase includes username as parameter

+ Forum Announcements
Admin option added to select thread prefix when forum announcements made in forum defined by autocreate_forum setting

+ Media Players
Updated JWplayer to use swfobject 2.1

+ Searches
Improved consistency of Advanced Search interface to saved searches and profile searches
Integrated attributes consistently into searches and search interface
Added option to profile searches to allow any/all/exact matches

+ Starred Nominations
New *Current Nominations* search option on Show menu
New permission *can_view_nominations* gives access to current nominations in linkbits and via Show/Current Nominations

+ vba modules
ldm_tagcloud, ldm_new_reviews, ldm_newly_reviewed and ldm_cats extended to accept optional category list
ldm_hot_thumb module added (thanks, vbboarder)
various bug fixes and template edits to improve integration with inline media players (thanks, vbboarder)

+ Extras
*blockhit-bylasthit* extra extends *timeout_hit_allow* setting to per-usergroup, per-category setting
*flash-sites* extra updated to allows national YouTube urls; handling of other video sites brought back up to date
*id3tag-enhancements* updated to use phrased attribute names
*shadowbox* extra provides lightbox handling of LDM Jukeboxes and images in main linkbit and in attributes
*ffmpeg-utils* updated to allow video transcoding via LDM admin pages
*tagcloud* updated to allow optional list of categories to include in cloud

+ Bug fixes
Filter bar appears correctly when featured entries have been enabled but no featured entries are visible
Retain *prune_downloadtable* setting correctly after visiting admin/hits pages
Fixed highlighting of exact phrase searches
Fixed highlighting with php versions < 4.4.0/5.1.0 which lack utf8 regex extensions
Fixed sql error with some choices of *musicbox_default_sort_order* setting
Fixed IE Javascript bug when *cat_desc_popup* is set
Fixed statistics code/vba module code to correctly select latest entries, hide hidden entries, etc.
Fixed handling of *show category name* option in vba modules
Fixed 'report entry' email to correctly pick up per-category setting of *report_email*
Fixed 'report entry' and 'send to friend' to redirect correctly when selected after search
Fixed bugs in handling some characters in filenames in admin/scans
Fixed display of profile field names in profile searches
Fixed central alignment of all titles on main page
'Sort by name' category listings and category drop down menus apply natural sorts (1,2,10 rather than 1,10,2)

These were the changes in 2.3.0 alpha compared to 2.2.9

+ Add/Edit Entry
Removed 'delete image' option when image has been autocreated from entry
Minor change to autoannounce new entries phrase ldm_thread_create_body to include category name

+ Admin
Keywords page lists keywords horizontally
Linkbits page allows editing of main linkbit and catbit parameters

+ Category Display
Added *category_filter_menu* setting to display/remove keyword filter dropdown
Added *cat_default_sort_order* setting to control sort order of category lists (was *default_sort_order*)

+ Featured entries
Added *featured_usergroupid_favs* setting to select featured entries from entire usergroup(s)

+ Media Players
Removed .swf from filetypes handled by JWplayer and added .m4a

+ Ratings and Comments
Inline comments/ratings changed to be full part of main linkbits
Ajax-enabled ratings/comments available as an option when using inline comments/ratings
Inline comments/ratings also available in Jukebox

+ Starred nominations
Entries can be unnominated
Nominations are no longer stacked, i.e. only user's current nomination is recorded

+ Security
*secure-urls* extra integrated into LDM, allowing download/play urls to be fully locked down
*secure_nullindexfile* setting autocreates empty index.html files to block browing of upload/thumbs directories
vBulletin session ids handled corrrectly throughout

+ User Profiles
No longer shows LDM sections in user profile when turned off
When LDM sections in user profile are empty, 'none' is shown as contents

+ Efficiency changes
Admin and categories tables cached in vBulletin datastore and unnecessary database lookups eliminated

+ Extras
*id3tag-enhancements* extended to create attribute information for wider range of video and audio files
*JWplayer-extensions* inline player extended to play attributes that are media files
*Wimpy* wimpybutton player extended to play attributes that are media files
Test release of *ffmpeg-utils* - uses ffmpeg utility to grab video frame as thumbnail and to transcode video formats

+ Hooks and templates
Added ldm_icons_cached after caching list of icon filenames
Added ldm_catbit_start in ldm_get_categorybits()
Added ldm_construct_catlist in ldm_construct_category_list()
Added ldm_maindisplay_title in main code
Added ldm_customfields_myentries in ldm_member_customfields_myentries()
Added ldm_customfields_myhits in ldm_member_customfields_myhits
Added ldm_create_post and ldm_create_thread in forums interface code
Split links_header template into links_header, links_navbar and links_navbar_popups templates, making it easier for
sites to move the LDM menu bar (move $ldmnavbar variable in links_main)

+ Bug fixes
Various fixes to id3tag-enhancements extra; extra now also works within Edit Entry
Fixed permissions-related null category bug in Edit Entry
Minor changes to code used to highlight search results to deal with UTF-8 special characters
Unnecessary blank line removed from category description in main displays
Fixed byte reporting in limitaccess-by-posts extra
Fixed keyword display/edit bug when display is filtered on keyword
When 'link_imagesize' is left blank, LDM correctly applies VB Message Attachment/Thumbnail Size setting
Sequence 'search->comment->return' returns to entry's category, not the base category

AndrewD
10-19-2008, 10:09 AM
I'm don't understand to 100% but it looks like this at the moment:
http://img252.imageshack.us/img252/8281/69381540wa8.jpg

Check the following:

- ldm/admin/settings - enable *display_entities*
- ldm/admin/permissions - give usergroups *can_view_entities* permission

I realise that I've only enabled this by default for admins, which is probably not the correct approach.

About the Downloads index it looks like this:
http://img443.imageshack.us/img443/2000/81952230xp5.jpg

I want it to look like a forum category, not splitted up. =)

Many thanks again!

Yes, that's how it is intended to look. It isn't supposed to look exactly the same as the forum layout. However, you can always create regular vb forum links to LDM categories, which will look like vb categories.

abdelghani68
10-19-2008, 10:09 AM
Thanks for the new beta product but I have an error when I import the product xml in frensh :

ALTER TABLE local_linksentities ADD FULLTEXT valuedesc (entityvalue, entitydesc);

MySQL Error : Key column 'entitydesc' doesn't exist in table
Error Number : 1072

Sandgrinder
10-19-2008, 10:19 AM
Check the following:

- ldm/admin/settings - enable *display_entities*
- ldm/admin/permissions - give usergroups *can_view_entities* permission

I realise that I've only enabled this by default for admins, which is probably not the correct approach.


The weird thing is; I've already done that, and it won't work still. :S

AndrewD
10-19-2008, 12:00 PM
Thanks for the new beta product but I have an error when I import the product xml in frensh :

ALTER TABLE local_linksentities ADD FULLTEXT valuedesc (entityvalue, entitydesc);

MySQL Error : Key column 'entitydesc' doesn't exist in table
Error Number : 1072

Sorry about that - forgot which order the table had been created.

I've updated the zip file. Pls can you try again. Only one file has changed - includes/local_links_admininclude.php

abdelghani68
10-19-2008, 12:34 PM
Sorry about that - forgot which order the table had been created.

I've updated the zip file. Pls can you try again. Only one file has changed - includes/local_links_admininclude.php

Thanks very mush. It works now!

Simon Lloyd
10-19-2008, 02:23 PM
The vbulletin folk changed how they handled user profiles between vb 3.6 and 3.7 and this messed up my integration of LDM with this feature. In version 2.2.9, I think it works correctly if you enable the ldm admin setting *profile_ldmactivity*, but if you disable it, you get the N/A box. I think I have fixed that problem in 2.3.0.
Andrew thanks for the reply i thought it was something i had done!, I do have it enabled though!

As another side question to your valuable time could you explain how to change which style the system uses?, i have uploaded a style with no parent or merge and find when i use that style and a user clicks the links to the download/uploads the "Force Accept" page is in the old style so is the categories page and Admin, Mods cp, any ideas?

itsblack
10-19-2008, 02:39 PM
Thank you Andrew, so exciting to see the new beta.

Here is the new translation of chinese. I've changed some old translations, not just translated the new phrases.

abdelghani68
10-19-2008, 02:54 PM
How can I do in LDM 2.3.0 beta for change the names of tags in Idtag3 ?

When I want to delete a tag in only an entrie, it doesn't work.

thanks for your help

AndrewD
10-19-2008, 03:04 PM
How can I do in LDM 2.3.0 beta for change the names of tags in Idtag3 ?

When I want to delete a tag in only an entrie, it doesn't work.

thanks for your help

In the 2.3.0 beta, tag names can start with an asterisk *. When they do, the name is replaced by the corresponding phrase in the current language. So, if you call an attribute *ldm_id3_album, then the user will see the phrase called ldm_id3_album.

Thanks for the bug report on deleting tags from entries - you seem to be right about this.

AndrewD
10-19-2008, 03:05 PM
Thank you Andrew, so exciting to see the new beta.

Here is the new translation of chinese. I've changed some old translations, not just translated the new phrases.

Wow, that's fast. Thanks.

Sandgrinder
10-19-2008, 03:33 PM
The weird thing is; I've already done that, and it won't work still. :S

Got a solution or should I just reinstall it or something like that?

itsblack
10-19-2008, 03:42 PM
hi Andrew, after upgrade to 2.3.0 beta.1, I got database error when I want to display the category or item, like this
Invalid SQL:

SELECT link.linkid AS linkid
FROM local_linkslink AS link

LEFT JOIN local_linksltoc AS ltoc
ON link.linkid=ltoc.linkid

WHERE link.linkstatus>0
AND link.linkhits>0
AND link.linkforum NOT IN (0) AND ltoc.catid IN ('9')

AND ltoc.catid IN (9

ORDER BY linkhits DESC
LIMIT 20;

MySQL 错误 : 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 'ORDER BY linkhits DESC
LIMIT 20' at line 13
错误号 : 1064
请求日期 : Monday, October 20th 2008 @ 12:36:46 AM
错误日期 : Monday, October 20th 2008 @ 12:36:46 AM
脚本 : http://mysite/forum/local_links.php?catid=9&linkid=3063
来源 : http://mysite/forum/local_links.php
IP 地址 : xxx
用户名 : xxx
类名 : vB_Database_MySQLi
MySQL 版本 : 5.0.51b-community

AndrewD
10-19-2008, 04:04 PM
hi Andrew, after upgrade to 2.3.0 beta.1, I got database error when I want to display the category or item, like this
Invalid SQL:

SELECT link.linkid AS linkid
FROM local_linkslink AS link

LEFT JOIN local_linksltoc AS ltoc
ON link.linkid=ltoc.linkid

WHERE link.linkstatus>0
AND link.linkhits>0
AND link.linkforum NOT IN (0) AND ltoc.catid IN ('9')

AND ltoc.catid IN (9

ORDER BY linkhits DESC
LIMIT 20;

MySQL 错误 : 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 'ORDER BY linkhits DESC
LIMIT 20' at line 13
错误号 : 1064
请求日期 : Monday, October 20th 2008 @ 12:36:46 AM
错误日期 : Monday, October 20th 2008 @ 12:36:46 AM
脚本 : http://mysite/forum/local_links.php?catid=9&linkid=3063
来源 : http://mysite/forum/local_links.php
IP 地址 : xxx
用户名 : xxx
类名 : vB_Database_MySQLi
MySQL 版本 : 5.0.51b-community

Sorry about that. The immediate solution is to turn off some of the statistics options (topall, newcomment and random), or at least set show_hit_parade to 0 or 1. I'll post a fix when possible.

AndrewD
10-19-2008, 04:04 PM
Got a solution or should I just reinstall it or something like that?

I can't give you solutions just like that, but I'm happy to take a look at your site if your send me a PM with details and an account with full admin access to the vb admincp.

AndrewD
10-19-2008, 04:27 PM
I've reuploaded the 2.3.0 beta, with fixes for the two bugs reported so far (deleting attrinbutes and database errors with statistics enabled in all categories).

Only two files have changed, so existing 2.3.0 beta sites only need to reupload these files - includes/local_links_entitites.php and includes/local_links_vbafunc.php

abdelghani68
10-19-2008, 04:48 PM
In the 2.3.0 beta, tag names can start with an asterisk *. When they do, the name is replaced by the corresponding phrase in the current language. So, if you call an attribute *ldm_id3_album, then the user will see the phrase called ldm_id3_album.



If I have 2 entries and rename '*ldm_id3_playingtime' with 'dur?e' and add after an entrie, I can't rename for the new entrie '*ldm_id3_playingtime' with 'dur?e'. I will have a message of error.

can you help me please

itsblack
10-19-2008, 05:00 PM
I've reuploaded the 2.3.0 beta, with fixes for the two bugs reported so far (deleting attrinbutes and database errors with statistics enabled in all categories).

Only two files have changed, so existing 2.3.0 beta sites only need to reupload these files - includes/local_links_entitites.php and includes/local_links_vbafunc.php
Thank you for the rapid fix, but it seems there is still a problem.

With the new file, the database error has gone, but I can not get link to LDM, when I setting show_hit_parade to 2.

I use firefox, it shows: The page you are trying to view cannot be shown because it is contained in a file type that may not be safe to open. Please contact the website owners to inform them of this problem.

And with Google Chrome I have the similar problem.

Edit: Now the vba cmp has the same problem.

ShawnV
10-19-2008, 05:54 PM
Updated to 2.3.0-beta 1, everything worked fine, after uploading the quick fix, (includes/local_links_entitites.php and includes/local_links_vbafunc.php)

The LDM no longer loads when the link is used...

http://www.koww.net/forum/local_links.php


_V

AndrewD
10-19-2008, 05:56 PM
If I have 2 entries and rename '*ldm_id3_playingtime' with 'dur?e' and add after an entrie, I can't rename for the new entrie '*ldm_id3_playingtime' with 'dur?e'. I will have a message of error.

can you help me please

I'll investigate, but what I tried to explain is that you don't need to change the entity name - you provide a translation for the phrase ldm_id3_playingtime

AndrewD
10-19-2008, 06:00 PM
Updated to 2.3.0-beta 1, everything worked fine, after uploading the quick fix, (includes/local_links_entitites.php and includes/local_links_vbafunc.php)

The LDM no longer loads when the link is used...

http://www.koww.net/forum/local_links.php


_V

I think one of of the files had somehow acquired a trailing space and been saved in utf8 format. Please try these.

ShawnV
10-19-2008, 06:02 PM
I think one of of the files had somehow acquired a trailing space and been saved in utf8 format. Please try these.

Yes, that fixed it...thank you Andew.

_V

itsblack
10-19-2008, 06:35 PM
I think one of of the files had somehow acquired a trailing space and been saved in utf8 format. Please try these.
Yeah, thank you Andrew, the problem is fixed.

Another question, how can I make the attributes display like the old way, I mean this:
attribute name: attribute
there are too many <tr> & <td> in the template, I cannot figure it out myself.

K4GAP
10-20-2008, 01:54 AM
Getting the following message when trying to upload a WMV file...

"Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error."

What up with that?

AndrewD
10-20-2008, 02:57 AM
Getting the following message when trying to upload a WMV file...

"Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error."

What up with that?

One possibility is that the wmv file is bigger than the php.ini setting *post_max_size* As a result, the scripts only get to see part of the information that the user has posted. vbulletin gets to give its error message about the security token before lDM gets a chance to warn the user.

Worth checking *post_max_size* and *upload_max_filesize", e.g. on the LDM admin pages or vb/admincp/maintenance/phpinfo

AndrewD
10-20-2008, 03:07 AM
Another question, how can I make the attributes display like the old way, I mean this:

there are too many <tr> & <td> in the template, I cannot figure it out myself.

It's the "links_entitymarkupbit" template. The template actually contains several parts, each handling one type of attribute. These are contained in blocks <if condition="$entitytemplate==N"> ... </ if> Maybe I should break it up some more.

Here are what the blocks do:

N=1 - url/download attributes
2 - images
3 - not used
4 - text and hidden types
5 - yes/no types
6 - media types

So, you can get the layout name: contents for text attributes like this:


<if condition="$entitytemplate==4">
<table width="100%">
<tr>
<td>
<span class="smallfont">$entityname:
<if condition="$links_permissions['can_search_link']">
<a href="$SEARCH_SCRIPT.php?{$vbulletin->session->vars['sessionurl']}action=show&amp;entity=$entityvalue" title="$vbphrase[ll_search]">$entitytext</a>
<else />
$entitytext
</if>
</span>
</td>
</tr>
</if>
<if condition="$entitydesc">
<tr>
<td>
<span class="smallfont">$entitydesc</span>
</td>
</tr>
</if>
</table>
</if>

abdelghani68
10-20-2008, 01:31 PM
I'll investigate, but what I tried to explain is that you don't need to change the entity name - you provide a translation for the phrase ldm_id3_playingtime

I am very sorry. I have understand now.Thanks !

vbboarder
10-20-2008, 03:34 PM
Wow, you got A LOT of coding done in 2 months! Thanks for the update Andrew :D I'll install it today and start testing. Special thanks for the upgrades to attributes, shadowbox, ffmpeg, & ID3 tags.

vbboarder
10-20-2008, 04:13 PM
Image Resizer Mod’s Shadowbox conflict with LDM causing LDM’s Shadowbox to not play images/ audios/ videos in both IE7 & FF2, or if it does play, then there are other problems like audio only – no video, IE7 error message popups, Close button becomes unresponsive, etc. This problem is expected since the scripts are the same, which results in namespace collisions.

Solution: since LDM’s Shadowbox does much more than the Image Resizer’s Shadowbox and because the Image Resizer supports 10 different image viewers, simply choose another image viewer for the Image Resizer in its settings page.

vbboarder
10-20-2008, 04:16 PM
Template Question: Andrew, I did a lot of changes to the links_main & links_linkbit_greg templates. Are there changes to those templates I need to be aware of? Are the changes significant such that I need to revert those 2 templates?

obmob
10-20-2008, 05:16 PM
Here is the first beta release of 2.3.0. It still requires care - please do not install on a live site unless you are willing to deal with bugs. I will appreciate test reports and suggestions.

NB: the main zip only contains the Englilsh product file. The translations are supplied separately.

There are a few more changes expected before 2.3.0 becomes the new official release (work on vba page load efficiency, integration of vbboarder's 'extras' integrator to smooth upgrades, and perhaps a couple of new extras), as well as updating the wiki.

Compared to version 2.3.0-alpha, these are the changes:

+ Additional attributes

Groups have new 'hidden' and 'collapsed by default' options which can be set on per-category basis
Attribute groups displayed as collapsible boxes on 'Add/Edit Entry' forms
Attribute names that start with * are replaced by the corresponding vb phrase when displayed on user pages

+ Administration
Added information on admin/allowances when usergroups have *can_bypass_XXX* permissions
Added information on admin/showinfo when usergroups with *can_bypass_XXX* permissions

+ Accept agreement
Template/ *ll_agreement* phrase includes username as parameter

+ Forum Announcements
Admin option added to select thread prefix when forum announcements made in forum defined by autocreate_forum setting

+ Media Players
Updated JWplayer to use swfobject 2.1

+ Searches
Improved consistency of Advanced Search interface to saved searches and profile searches
Integrated attributes consistently into searches and search interface
Added option to profile searches to allow any/all/exact matches

+ Starred Nominations
New *Current Nominations* search option on Show menu
New permission *can_view_nominations* gives access to current nominations in linkbits and via Show/Current Nominations

+ vba modules
ldm_tagcloud, ldm_new_reviews, ldm_newly_reviewed and ldm_cats extended to accept optional category list
ldm_hot_thumb module added (thanks, vbboarder)
various bug fixes and template edits to improve integration with inline media players (thanks, vbboarder)

+ Extras
*blockhit-bylasthit* extra extends *timeout_hit_allow* setting to per-usergroup, per-category setting
*flash-sites* extra updated to allows national YouTube urls; handling of other video sites brought back up to date
*id3tag-enhancements* updated to use phrased attribute names
*shadowbox* extra provides lightbox handling of LDM Jukeboxes and images in main linkbit and in attributes
*ffmpeg-utils* updated to allow video transcoding via LDM admin pages
*tagcloud* updated to allow optional list of categories to include in cloud

+ Bug fixes
Filter bar appears correctly when featured entries have been enabled but no featured entries are visible
Retain *prune_downloadtable* setting correctly after visiting admin/hits pages
Fixed highlighting of exact phrase searches
Fixed highlighting with php versions < 4.4.0/5.1.0 which lack utf8 regex extensions
Fixed sql error with some choices of *musicbox_default_sort_order* setting
Fixed IE Javascript bug when *cat_desc_popup* is set
Fixed statistics code/vba module code to correctly select latest entries, hide hidden entries, etc.
Fixed handling of *show category name* option in vba modules
Fixed 'report entry' email to correctly pick up per-category setting of *report_email*
Fixed 'report entry' and 'send to friend' to redirect correctly when selected after search
Fixed bugs in handling some characters in filenames in admin/scans
Fixed display of profile field names in profile searches
Fixed central alignment of all titles on main page
'Sort by name' category listings and category drop down menus apply natural sorts (1,2,10 rather than 1,10,2)

These were the changes in 2.3.0 alpha compared to 2.2.9

+ Add/Edit Entry
Removed 'delete image' option when image has been autocreated from entry
Minor change to autoannounce new entries phrase ldm_thread_create_body to include category name

+ Admin
Keywords page lists keywords horizontally
Linkbits page allows editing of main linkbit and catbit parameters

+ Category Display
Added *category_filter_menu* setting to display/remove keyword filter dropdown
Added *cat_default_sort_order* setting to control sort order of category lists (was *default_sort_order*)

+ Featured entries
Added *featured_usergroupid_favs* setting to select featured entries from entire usergroup(s)

+ Media Players
Removed .swf from filetypes handled by JWplayer and added .m4a

+ Ratings and Comments
Inline comments/ratings changed to be full part of main linkbits
Ajax-enabled ratings/comments available as an option when using inline comments/ratings
Inline comments/ratings also available in Jukebox

+ Starred nominations
Entries can be unnominated
Nominations are no longer stacked, i.e. only user's current nomination is recorded

+ Security
*secure-urls* extra integrated into LDM, allowing download/play urls to be fully locked down
*secure_nullindexfile* setting autocreates empty index.html files to block browing of upload/thumbs directories
vBulletin session ids handled corrrectly throughout

+ User Profiles
No longer shows LDM sections in user profile when turned off
When LDM sections in user profile are empty, 'none' is shown as contents

+ Efficiency changes
Admin and categories tables cached in vBulletin datastore and unnecessary database lookups eliminated

+ Extras
*id3tag-enhancements* extended to create attribute information for wider range of video and audio files
*JWplayer-extensions* inline player extended to play attributes that are media files
*Wimpy* wimpybutton player extended to play attributes that are media files
Test release of *ffmpeg-utils* - uses ffmpeg utility to grab video frame as thumbnail and to transcode video formats

+ Hooks and templates
Added ldm_icons_cached after caching list of icon filenames
Added ldm_catbit_start in ldm_get_categorybits()
Added ldm_construct_catlist in ldm_construct_category_list()
Added ldm_maindisplay_title in main code
Added ldm_customfields_myentries in ldm_member_customfields_myentries()
Added ldm_customfields_myhits in ldm_member_customfields_myhits
Added ldm_create_post and ldm_create_thread in forums interface code
Split links_header template into links_header, links_navbar and links_navbar_popups templates, making it easier for
sites to move the LDM menu bar (move $ldmnavbar variable in links_main)

+ Bug fixes
Various fixes to id3tag-enhancements extra; extra now also works within Edit Entry
Fixed permissions-related null category bug in Edit Entry
Minor changes to code used to highlight search results to deal with UTF-8 special characters
Unnecessary blank line removed from category description in main displays
Fixed byte reporting in limitaccess-by-posts extra
Fixed keyword display/edit bug when display is filtered on keyword
When 'link_imagesize' is left blank, LDM correctly applies VB Message Attachment/Thumbnail Size setting
Sequence 'search->comment->return' returns to entry's category, not the base categoryHmm... is there a lot to translate?

I found somephrases with typos, i'll fix them :p

vbboarder
10-20-2008, 06:12 PM
Andrew, I'm about to update to LDM 2.3.0-beta1 but I would also like to update to VB 3.8.0-beta1. Do you know of any conflicts the new LDM will have with VB 3.8? Should I update LDM first or VB? Please let me know soon, thanks.

AndrewD
10-20-2008, 07:04 PM
Template Question: Andrew, I did a lot of changes to the links_main & links_linkbit_greg templates. Are there changes to those templates I need to be aware of? Are the changes significant such that I need to revert those 2 templates?

Between 2.2.9 and 2.3.0, there are some quite significant changes to the linkbits, primarily to accommodate the ajax-enabled inline comments/ratings. From 2.3.0-alpha to beta1, the changes are small (just a couple of lines) but important - to patch in the nominations.

AndrewD
10-20-2008, 07:05 PM
Andrew, I'm about to update to LDM 2.3.0-beta1 but I would also like to update to VB 3.8.0-beta1. Do you know of any conflicts the new LDM will have with VB 3.8? Should I update LDM first or VB? Please let me know soon, thanks.

I haven't downloaded vb 3.8 for test yet - I'll see if I can find time tomorrow.

ForumsMods
10-20-2008, 07:12 PM
I tested this and works in vB 3.8.0 Beta 1. I tested 2.3.0-beta1.

vbboarder
10-20-2008, 07:35 PM
I haven't downloaded vb 3.8 for test yet - I'll see if I can find time tomorrow.

Ok, I'll test it out. I'll update to LDM-2.3.0-beta1 first, then VB 3.8.0-beta1.... fingers crossed ;)

I tested this and works in vB 3.8.0 Beta 1. I tested 2.3.0-beta1.

Thanks Gasper for the info. Do you use vbAdvanced 3.0.1? If so, can you please let me know if that works with VB 3.8.0-beta1? Thanks!

ForumsMods
10-20-2008, 07:38 PM
Yes I use this, you can see it here
http://www.vbstyle.org/

If you want, I can install LDM in my web.

vbboarder
10-20-2008, 07:45 PM
Yes I use this, you can see it here
http://www.vbstyle.org/

If you want, I can install LDM in my web.

Muchos gracias for the confirmation. You don't need to install LDM just for me, I trust your word ;)

I haven't downloaded vb 3.8 for test yet - I'll see if I can find time tomorrow.

Merci beaucoup, Andrew ;)

DJDrew
10-20-2008, 10:12 PM
Hello, everything for the links and downloads manager is working fine for me. Altough my forum runs very quickly, including the downloads section, it seems to run very slow when loading the images for the downloads.

All the images are hosted on the same dedicated server and the image loads up fine when linked direct to the image rather than through the download manager.

Anyone got any ideas to why this might be happening? I've tried playing round with it all but couldn't seem to figure out why it was doing it! Please help, Drew.

AndrewD
10-21-2008, 03:56 AM
Hello, everything for the links and downloads manager is working fine for me. Altough my forum runs very quickly, including the downloads section, it seems to run very slow when loading the images for the downloads.

All the images are hosted on the same dedicated server and the image loads up fine when linked direct to the image rather than through the download manager.

Anyone got any ideas to why this might be happening? I've tried playing round with it all but couldn't seem to figure out why it was doing it! Please help, Drew.

Have you specified a directory in which to cache the thumbnails - ldm/admin/settings/images and icons/thumbs_dir - if not these are being regenerated each page display, and this is slow.

DJDrew
10-21-2008, 12:37 PM
Have you specified a directory in which to cache the thumbnails - ldm/admin/settings/images and icons/thumbs_dir - if not these are being regenerated each page display, and this is slow.

Hello,

That seems to have worked.

Did you look into the vBadvanced for me?

vbboarder
10-21-2008, 03:51 PM
FYI: The version checking for LDM doesn't work in the adminCP products page - you need to update your pid in the "Edit Settings" of this thread page for it to work.

FYI: Since you do a lot of plugin coding for extra plugins, you may find this mod useful (make sure to read post #9 by Carnage for VB code changes): https://vborg.vbsupport.ru/showthread.php?t=191438

AndrewD
10-21-2008, 04:03 PM
Hello,

That seems to have worked.

Did you look into the vBadvanced for me?

Yes, I replied here

AndrewD
10-21-2008, 04:13 PM
FYI: The version checking for LDM doesn't work in the adminCP products page - you need to update your pid in the "Edit Settings" of this thread page for it to work.

fixed, thanks. forgot to update it when i stopped supporting vb 3.6

FYI: Since you do a lot of plugin coding for extra plugins, you may find this mod useful (make sure to read post #9 by Carnage for VB code changes): https://vborg.vbsupport.ru/showthread.php?t=191438

DJDrew
10-21-2008, 04:21 PM
I realise what is the problem.

There is a bug in the vbadvanced code when vba is installed on a windows-based server, and this causes the error you report ("this is not a valid module file") with all attempts to upload modules (not just LDM). I have reported this to Brian on vbadvanced.com, but so far I don't think it has been fixed in the official release.

The fix involves a minor change to the file admincp/vba_cmps_admin.php, as attached. If you upload this file, I think you will find that the modules install correctly.

When you have fixed this, be careful to avoid another problem related to the way vbadvanced handles module installation. The vba upload module form asks you which style(s) to add the new module's templates. You have created eight styles, but you have made them all 'top level' styles - i.e. they all have 'no parent style' (admincp/styles/edit style settings), so they cannot inherit templates from their parent. This means that the new vba module templates must be installed to *all* your styles, i.e. you must select all of them when uploading the module.

Again, I'm happy to do the installation for you, but obviously I can't install the code fix.

Hello,

Just tried that - didn't seem to work.

AndrewD
10-22-2008, 04:25 AM
Andrew, I'm about to update to LDM 2.3.0-beta1 but I would also like to update to VB 3.8.0-beta1. Do you know of any conflicts the new LDM will have with VB 3.8? Should I update LDM first or VB? Please let me know soon, thanks.

From a quick check, I don't see problems with the vb 3.8 beta. The LDM profile integration isn't working in the code I've released, but that's because there's an explicit check for version vb 3.7. When I change the test to allow vb 3.8, this feature also works ok. Auto posting in vb threads is still working fine.

AndrewD
10-22-2008, 10:07 AM
Hello,

Just tried that - didn't seem to work.

Please check that you did upload the modified file into the correct directory (i.e. forum/admincp). Otherwise, this is a vba problem, not an LDM problem, and I think you have to pose it on vbadvanced.com.

Simon Lloyd
10-22-2008, 04:36 PM
Andrew, how do i get LDM to follow the default style of the forum?, right now i can only get it to show the style that i was using when i added LDM, could you explain?

Thanks for your valuable time!

vbboarder
10-22-2008, 05:23 PM
From a quick check, I don't see problems with the vb 3.8 beta. The LDM profile integration isn't working in the code I've released, but that's because there's an explicit check for version vb 3.7. When I change the test to allow vb 3.8, this feature also works ok. Auto posting in vb threads is still working fine.
Thanks for checking Andrew. For the LDM profile integration, are you talking about the 2 LDM plugins hooked to member_customfields for "latest LDM entries" and "what's viewed list"? I justed added '3.8' to the '3.7' case statement. Anything other version checks or plugin edits I should do?