PDA

View Full Version : Major Additions - Links and Downloads Manager


Pages : 1 2 3 [4] 5 6 7 8 9 10 11 12 13

Zowners
11-30-2006, 05:15 AM
Ok I have the module working beautifully. At the moment the module is showing newest links. Is there a way to make it so that certain usergroups cant see links that are in restricted categories? As I have retricted access to 18+ category but the links show in the module to anyone.

Also Is it possible to show the latest links for a specified category?

I want to make several newest link modules example: Latest Manga, Latest Music, Latest AMV

Thanks

AndrewD
11-30-2006, 05:15 AM
Looks like ive fixed it you need to have Use Module Shell Template set to yes. Not no as it says in the link.

Thanks

Thanks - I'll take a look at the documentation. I don't use vba myself, so the instructions may be a bit approximate, although I thought the suggested settings were correct - anyone else care to comment?

AndrewD
11-30-2006, 05:27 AM
Ok I have the module working beautifully. At the moment the module is showing newest links. Is there a way to make it so that certain usergroups cant see links that are in restricted categories? As I have retricted access to 18+ category but the links show in the module to anyone.

This is handled automatically if you are using the forum-based protection for your categories. Do the following:
- select one of your forums which has the viewing permissions that you want to apply to the category and its entries
- edit the category, and find the box 'Parent Forum'. select the chosen forum and tick the box "Also make this the parent of..."

You can also set this up in two ways:
- If the LDM/admin/setting can_see_protected_links_on_portal is 'on', unauthorised people can see protected entries, but cannot visit them.
- If off, then unauthorised people never get to see the protected entries.


Also Is it possible to show the latest links for a specified category?

I want to make several newest link modules example: Latest Manga, Latest Music, Latest AMV

Thanks

Needs a slight edit to the new module. Find the line

$filter = array("link.linkmoderate = 0");

and change it, e.g., as follows:

$filter = array("link.linkmoderate = 0", "ltoc.catid = 5");

to restrict the module to new entries in category with catid 5.

or

$filter = array("link.linkmoderate = 0", "ltoc.catid IN (5,6,7)");

to restrict to category ids 5,6,7

AndrewD
11-30-2006, 05:30 AM
Wanted to Have a Standalone player, which opens as a popup, and along with links such as send to friend, close, a option to save/download would be nice.

There are templates like photo_album, modren, etc I liked the one which is photo album but it does not have save option.

Also Is there a option to have sis files? i.e mobile phone themes? I have this in attachment table as Content-type: application/vnd.symbian.install, and add a screen shot for the themes?


I'll try to post answers this weekend.

Zowners
11-30-2006, 07:50 AM
Hey Andrew it does work but not in the way I want.

I want it so can create a module called Latest Manga which will show all the latest links for category id 1, Then also create a module called Latest AMV that will show all the latest links for category id 112.

What the code youve given me is doing is putting it all in one module.

|oR|Greg
11-30-2006, 09:43 AM
Probably because you're using the array version, make another plugin, but use the single version for each and set one for cat 1 and one for cat 112.

Slave
11-30-2006, 11:50 AM
Thanks - I'll take a look at the documentation. I don't use vba myself, so the instructions may be a bit approximate, although I thought the suggested settings were correct - anyone else care to comment?
I have it set to "No" and it works fine ..

Saying that, I started using the module a few versions back so while I've updated the .php file I've not touched the module within the CMPS admin area .. which might make a difference?

Zowners - do you have "adv_portal_custom_ldm_new, links_vbalinks" within the "Templates Used" box within the module edit screen?

kompakt
11-30-2006, 03:52 PM
I'm a little confused - sorry. First, I assume you mean the setting "force_redirect", not "hit_parade".

When force_redirect is set to 0, LDM behaves as follows:

- if the file type exists in the VBulletin attachment table, then the mimetype data set up in that table is used.
- otherwise, LDM issues a simple browser redirect.

So you should create new entries in VBulletin attachments table for each of the filetypes you want to deal with. The .htaccess mimetype data only comes into play when this is not available.

Now, there is a another problem with Firefox: When you do a "right click/save link as", Firefox does not 'pre-fetch' any information before processing the 'save as' command. As a result, you end up downloading a "scriptname.php" file containing html, rather than (e.g.) the correctly named mp3 file. This has been long discussed on the Firefox development forum - it's a deliberate design choice on their part to speed up processing. It's one area where IE does (in my opinion) a better job.

Am I missing something?

My MIME types are defined correctly in the vbulletin attachments table, that never fixed it. I had to add the mimetypes into my .htaccess file and have force_redirect set to 1 for the mp3s to download correctly. Some times audio files work. But video files never work...

Now if the files were renamed in a way that they do not have any spaces, nor in their parent directories, will that fix it?

Zowners
11-30-2006, 07:16 PM
Probably because you're using the array version, make another plugin, but use the single version for each and set one for cat 1 and one for cat 112.

You lost me.

Zowners
11-30-2006, 07:19 PM
I have it set to "No" and it works fine ..

Saying that, I started using the module a few versions back so while I've updated the .php file I've not touched the module within the CMPS admin area .. which might make a difference?

Zowners - do you have "adv_portal_custom_ldm_new, links_vbalinks" within the "Templates Used" box within the module edit screen?

I do indeed, I think I gave a full description of what I had in a previous post. But it works fine with module set to yes and doesnt when set to no.

imranbaig
11-30-2006, 07:31 PM
I'll try to post answers this weekend.

Thanks, apart from this, I got another issue when registered user's are trying to upload files, it gives error saying max file size exceeded even though the file is just 250kb got this error for 10kb file as well.

In my user groups have given them large size for attachments, in LDM max upload size is 0 unlimited (have 300gb space).
how can i fix this thanks :)

mauro1947
11-30-2006, 08:41 PM
Hi!
Please help me!!!
In my site are 2 administrators.
The other administrator can't edit my links!!!
Please, help me.
The can_edit_link is perfectly setted to Administrators can do all.
How can i fix this???
I'ts urgent!!!
Thanks!!!!!!!!!
EDITED: I'm administrator, and i can't edit some links. Please help me. Thanks!!!

chorton
11-30-2006, 08:48 PM
Thanks, apart from this, I got another issue when registered user's are trying to upload files, it gives error saying max file size exceeded even though the file is just 250kb got this error for 10kb file as well.

In my user groups have given them large size for attachments, in LDM max upload size is 0 unlimited (have 300gb space).
how can i fix this thanks :)

sounds to me like you need to increase the upload size in your php.ini file

Login to admincp>links and downloads>settings at the bottom of that page is a box with the following info
PHP 5.1.6
allow_url_fopen Yes
cURL Yes
GD2 Yes
open_basedir Unset
post_max_size 20M
upload_max_filesize 21M

what is your post_max_size and upload_max_filesize

Slave
11-30-2006, 11:40 PM
I do indeed, I think I gave a full description of what I had in a previous post. But it works fine with module set to yes and doesnt when set to no.
Sorry, I missed your post showing your settings :p

A couple of things spring to mind ..

Do you have those templates installed within the style you are using? Looking at your screen shot you're using a custom style, perhaps it didn't update correctly?

How did you install the module? Not sure if it's been fixed in v2.2.1 but in earlier versions of CMPS if you didn't put in the template names first, before picking other options on that page, CMPS would ignore them. Not sure why TBH. Perhaps recreate the module and see what happens?

Ipuck
12-01-2006, 12:38 AM
Hello

I have tried many times to used the Mod_Rewrite and use the seo_friendly links, but I can't get it to work.

1. I have an .htaccess file and I added the 5 lines noted in the LDM manual.
RewriteEngine on
RewriteRule local_links/links/(.+)/(.+) local_links.php?catid=$1&linkid=$2 [R]
RewriteRule local_links/links/(.+) local_links.php?catid=$1 [R]
RewriteRule local_links/jump/(.+)/(.+) local_links.php?action=jump&id=$1&catid=$2 [R]
RewriteRule local_links/jump/(.+) local_links.php?action=jump&id=$1 [R]
2. Then I turn to YES the seo_friendly.

but is not working, when I click one of the categories it takes me back to LDM index page.

What am doing wrong?

My forum has vBSEO, do you think that is interfering with the mod?

mauro1947
12-01-2006, 02:10 AM
Hi!
Can any one help me please?
I really apreciate your help
Thanks a lot!!!!!!!

obmob
12-01-2006, 03:35 AM
Hi!
Please help me!!!
In my site are 2 administrators.
The other administrator can't edit my links!!!
Please, help me.
The can_edit_link is perfectly setted to Administrators can do all.
How can i fix this???
I'ts urgent!!!
Thanks!!!!!!!!!
EDITED: I'm administrator, and i can't edit some links. Please help me. Thanks!!!Hmm... all i can think is, did you gave enough permissions to the admin group, maybe you moved something.

Or, did the second admin has administrator as primary group? :surprised:

Sure Andrew will have more ideas, wait for him to go online... remember he is in Europe :D

Time to kick my pillow :)

AndrewD
12-01-2006, 04:09 AM
Hi!
Please help me!!!
In my site are 2 administrators.
The other administrator can't edit my links!!!
Please, help me.
The can_edit_link is perfectly setted to Administrators can do all.
How can i fix this???
I'ts urgent!!!
Thanks!!!!!!!!!
EDITED: I'm administrator, and i can't edit some links. Please help me. Thanks!!!

Happy to help you - it's much easier if I can take a look at your site - send me a PM with a username and password that has admin privs for your board and I'll gladly take a look.

AndrewD
12-01-2006, 04:11 AM
Sure Andrew will have more ideas, wait for him to go online... remember he is in Europe :D


Andrew's problem is that he is in too many parts of Europe :knockedout: seems to spend his life on trains and planes. As a result, the number of ideas is dropping sharply.

AndrewD
12-01-2006, 04:12 AM
Hello

I have tried many times to used the Mod_Rewrite and use the seo_friendly links, but I can't get it to work.

1. I have an .htaccess file and I added the 5 lines noted in the LDM manual.

2. Then I turn to YES the seo_friendly.

but is not working, when I click one of the categories it takes me back to LDM index page.

What am doing wrong?

My forum has vBSEO, do you think that is interfering with the mod?


Almost certainly, you have two hacks interfering with each other. I've not looked at VBSEO - has anyone else any advice?

AndrewD
12-01-2006, 04:15 AM
You lost me.

I think he was trying to say that you need to make copies of the ldm_new module. Edit each of them to display entries from only one of your categories of interest, then install them separately into vba.

If you use only one module with the filter (ltoc IN (a,b,c)), then it will group all the categories into one display group.

I'll try to go through the whole vba installation process this weekend to get to the bottom of the other discussion.

AndrewD
12-01-2006, 04:18 AM
My MIME types are defined correctly in the vbulletin attachments table, that never fixed it. I had to add the mimetypes into my .htaccess file and have force_redirect set to 1 for the mp3s to download correctly. Some times audio files work. But video files never work...

Now if the files were renamed in a way that they do not have any spaces, nor in their parent directories, will that fix it?

Can I take a look at your site? - I'm concerned that you are having to set force_redirect to 1 to get downloads to work properly. If so, send me a PM with an admin username/password.

imranbaig
12-01-2006, 10:43 AM
sounds to me like you need to increase the upload size in your php.ini file

Login to admincp>links and downloads>settings at the bottom of that page is a box with the following info
PHP 5.1.6
allow_url_fopen Yes
cURL Yes
GD2 Yes
open_basedir Unset
post_max_size 20M
upload_max_filesize 21M

what is your post_max_size and upload_max_filesize

PHP (php.ini) 4.3.11
allow_url_fopen Yes
cURL Yes
GD2 Yes
open_basedir (not set)
post_max_size 8M
upload_max_filesize 2M

I think 2mb is enough, the problem is even 10kb file is not being able to upload from LDM, it works from attachments, downloadsII and wallpapers.

Alfa1
12-01-2006, 10:49 AM
Where do I place my .htaccess? I have been trying to get the rewrite to work without success.

AndrewD
12-01-2006, 11:44 AM
PHP (php.ini) 4.3.11
allow_url_fopen Yes
cURL Yes
GD2 Yes
open_basedir (not set)
post_max_size 8M
upload_max_filesize 2M

I think 2mb is enough, the problem is even 10kb file is not being able to upload from LDM, it works from attachments, downloadsII and wallpapers.

2mb is definitely enough. Can I take a look at your site, please. (send me a PM)

AndrewD
12-01-2006, 11:45 AM
Where do I place my .htaccess? I have been trying to get the rewrite to work without success.

Usually this goes in the forum directory, but I think it depends on the web server software you are using.

Alfa1
12-01-2006, 12:58 PM
I have sent you this info by PM.
Is there an add on to vBSEO site map (https://vborg.vbsupport.ru/showthread.php?t=100435&page=89) for LDM?

obmob
12-02-2006, 02:11 AM
Andrew's problem is that he is in too many parts of Europe :knockedout: seems to spend his life on trains and planes. As a result, the number of ideas is dropping sharply.:confused: no, no, don't let ideas drop down... ideas move and change the world!!!

You can also have a long nap from time to time. :D

AndrewD
12-02-2006, 05:16 AM
Thanks, apart from this, I got another issue when registered user's are trying to upload files, it gives error saying max file size exceeded even though the file is just 250kb got this error for 10kb file as well.

In my user groups have given them large size for attachments, in LDM max upload size is 0 unlimited (have 300gb space).
how can i fix this thanks :)

You have probably set the maximum filesize for every filetype to 5000 bytes in your vb/admincp/attachments/attachment manager information.

On your site, I can see that this limit is being set explicitly to 5000 (log on to LDM as a registered user, do 'add entry', and click on the drop down 'uploadable filetypes and size limits). This is only possible if the vb attachment table says this or if the one of the php.ini variables upload_max_filesize and post_max_size is set to 5000. You've told us that the second is not the case, so it must be the first.

Get back to me if this does not resolve the problem - you'll need to change my account to 'admin' for me to do any more.

AndrewD
12-02-2006, 06:10 AM
Wanted to Have a Standalone player, which opens as a popup, and along with links such as send to friend, close, a option to save/download would be nice.

I attach modified versions of the link_play_standalone and link_play_embedded templates, with the save/email/etc links included. Just import these via the VB admincp.

There are templates like photo_album, modren, etc I liked the one which is photo album but it does not have save option.

You can edit any of the main linkbit templates to include a 'save' option. You need to place the following code:
<if condition="$linksavebit">$linkurlsave</if> where you want it to appear.

The templates are as follows:

modern - links_linkbit
photo - links_linkbit_photo
table - links_linkbit_table
bold - links_linkbit_greg

Also Is there a option to have sis files? i.e mobile phone themes? I have this in attachment table as Content-type: application/vnd.symbian.install, and add a screen shot for the themes?

If sis files are defined in the vb attachment table, then LDM will handle them automatically as downloadable files. However, there's no means to automatically display a screen shot - the standard utility libraries do not know how to extract the graphics. What you could do is create separate jpg files as screen shots and upload these as the accompanying 'image' in the LDM add entry form.

chorton
12-02-2006, 07:13 PM
thanks andrew for your great support on this

NathanMc
12-02-2006, 08:52 PM
What about integrating the newly uploaded file into a podcast xml file directly ? that'd be nice.


that'd be real nice.

Zowners
12-03-2006, 01:37 AM
I think he was trying to say that you need to make copies of the ldm_new module. Edit each of them to display entries from only one of your categories of interest, then install them separately into vba.

If you use only one module with the filter (ltoc IN (a,b,c)), then it will group all the categories into one display group.

I'll try to go through the whole vba installation process this weekend to get to the bottom of the other discussion.

I tried this but it seems that using a copy of ldm_new module doesnt show any links. I renamed the second copy of ldm_new to ldm_new_manga and uploaded it then made a new modul in vbadvanced using the different copy but it doesnt show anything in it.

imranbaig
12-03-2006, 06:53 AM
You have probably set the maximum filesize for every filetype to 5000 bytes in your vb/admincp/attachments/attachment manager information.

On your site, I can see that this limit is being set explicitly to 5000 (log on to LDM as a registered user, do 'add entry', and click on the drop down 'uploadable filetypes and size limits). This is only possible if the vb attachment table says this or if the one of the php.ini variables upload_max_filesize and post_max_size is set to 5000. You've told us that the second is not the case, so it must be the first.

Get back to me if this does not resolve the problem - you'll need to change my account to 'admin' for me to do any more.

Thanks That was the error, that fixed uploading files :) https://vborg.vbsupport.ru/external/2011/01/19.gif

caliman
12-03-2006, 05:46 PM
Thanks. New version upgraded flawlessly!

Zowners
12-04-2006, 09:46 PM
Any news on my request

ma7room
12-04-2006, 09:57 PM
is it work with 3.6.4 ?

mauro1947
12-04-2006, 09:58 PM
Yes, works fine on vB 3.6.4.
Bye!

smoknz28
12-04-2006, 10:53 PM
Just installed and now going through the settings in my control panel.

Is there suppose to be a link in the navbar for my members to use this program? I have a custom navbar and am worried that maybe the xml didn't install the code in the navbar if that's the case.

Thanks,
Gonzo

sunnycher
12-04-2006, 11:48 PM
Anyone using this on their forumhome? I'd like to see it if so.

The instructions to do this is confusing me.

chorton
12-05-2006, 12:25 AM
<a href="http://www.versionist.com" target="_blank">www.versionist.com</a> ..its a vbadvanced home though

sunnycher
12-05-2006, 12:35 AM
thanks chorton!

smoknz28
12-05-2006, 02:32 AM
Am I understanding that I need to add a link on my navbar for my users pointing to: http://nameofmysite/forums/local_links.php

Thanks,
Gonzo

AndrewD
12-05-2006, 04:21 AM
Am I understanding that I need to add a link on my navbar for my users pointing to: http://nameofmysite/forums/local_links.php

Thanks,
Gonzo

You need a link somewhere. Most people do this by editing their navbar. Another option is to have a single link on your home page, for example using a vbadvanced module. In either case, the url you have given is correct.

It's explained in the documentation wiki at http://www.eirma.org/wikis/index.php/Installing_LDM#Integrating_LDM_within_your_board

AndrewD
12-05-2006, 04:39 AM
Any news on my request

I worked on this over the weekend, and turned the current ldm/vba interfaces into .module files. This means that the adjustable parameters can now be set via vbadvanced's admincp page (Edit Modules), rather than by patching the code.

I think everything is working correctly, so perhaps you can give it a try. For your purpose, upload the ldm_new.module into vba, set its title and category (categories), then use vba to copy the module and set a new title/category.

Let me know that this works ok.

nexus851
12-05-2006, 07:53 AM
FEATURE REQUEST:

Can you add .FLV / FLA extensions to your medialist?

Zoon
12-05-2006, 10:43 PM
Hello,

I have just installed LDM on VBB 3.6.3 on a fresh install. When I click "add category" via the admin page it takes me to an error message saying that the category does not exist.

This is exactly what I did to cause the fault:

- Fresh install of VBB
- Installed vbAdvanced
- Installed LDM
- Went into admin cp and added one top level category which added correctly
- Attempted to add another top level category which did not add correctly

When trying to add the top level category this is the page it goes to:

mydomain.com/local_links.php?action=addcat&catid=-1

And this is the error message:

Category does not exist.

Go Back

I know the category does not exist; its supposed to be adding a new top level category :D I would appreciate any insight anyone could give.

Should I try a full remove and reinstall and see if that does it? Using the "Kill LDM totally" script mentioned here http://www.eirma.org/wikis/index.php/Installing_LDM#Removing ?

Thanks in advance!

Tyegurl
12-06-2006, 01:48 AM
have a request andrewd can we add a few little link icons?

need .exe .tar .avi .wmv and torrent

i have all but the tar image and i am not sure where to find one, the others i found here on this forum, obviouosly avi/wmv are the same image ;)

can we add them so they show up in the links and download manager?

for everyone who doesn't know

1st is avi/wmv
2nd is exe
3rd is torrent
4th should be tar but i don't have it ;) and i need it

AndrewD
12-06-2006, 03:50 AM
Hello,

I have just installed LDM on VBB 3.6.3 on a fresh install. When I click "add category" via the admin page it takes me to an error message saying that the category does not exist.

This is exactly what I did to cause the fault:

- Fresh install of VBB
- Installed vbAdvanced
- Installed LDM
- Went into admin cp and added one top level category which added correctly
- Attempted to add another top level category which did not add correctly

When trying to add the top level category this is the page it goes to:

mydomain.com/local_links.php?action=addcat&catid=-1

And this is the error message:

Category does not exist.

Go Back

I know the category does not exist; its supposed to be adding a new top level category :D I would appreciate any insight anyone could give.

Should I try a full remove and reinstall and see if that does it? Using the "Kill LDM totally" script mentioned here http://www.eirma.org/wikis/index.php/Installing_LDM#Removing ?

Thanks in advance!

Thanks for the detailed report, and sorry to learn of your problems. I cannot reproduce this error on my test system - I set up a empty database and followed your path, but everything seemed to work fine.

It really shouldn't be necessary to uninstall and reinstall - this should just work out of the box. Any chance of taking a look at your site? I'd like to get to the bottom of this. Send me a PM.

AndrewD
12-06-2006, 03:56 AM
have a request andrewd can we add a few little link icons?

need .exe .tar .avi .wmv and torrent

i have all but the tar image and i am not sure where to find one, the others i found here on this forum, obviouosly avi/wmv are the same image ;)

can we add them so they show up in the links and download manager?

for everyone who doesn't know

1st is avi/wmv
2nd is exe
3rd is torrent
4th should be tar but i don't have it ;) and i need it

What you do is put these into the LDM icons directory with filename "filetype.gif" (.png should also work). LDM will automatically pick them up. So you need to create avi.gif, wmv.gif, exe.gif and tar.gif.

On my PC, tar files use the same icon as zips - I suppose that is because winzip has associated the extension with itself. You could just copy zip.gif to tar.gif.

If you like, I'll add your three icons to the main release next time round?

Tyegurl
12-06-2006, 10:05 AM
i added them but they don't show.....that why i was asking. i figured they would show if i did that.

Zoon
12-06-2006, 03:22 PM
Thanks for the detailed report, and sorry to learn of your problems. I cannot reproduce this error on my test system - I set up a empty database and followed your path, but everything seemed to work fine.

It really shouldn't be necessary to uninstall and reinstall - this should just work out of the box. Any chance of taking a look at your site? I'd like to get to the bottom of this. Send me a PM.I've sent you a PM with an admin account and my email address, in case you need FTP.

Thanks so much for offering to look into this; the website in question I am writing this vbulletin / vbadvanced / LDM site for is currently up to 4 million hits a month on a dodgy phpNuke install, so I'm quite desperate to get it working right :D

PS - Assuming between us we can get it fixed, I'd be happy for you to link to my site from yours as an example site for using LDM :)

AndrewD
12-06-2006, 04:12 PM
i added them but they don't show.....that why i was asking. i figured they would show if i did that.

I followed my own instructions, uploaded an exe file onto my own test site, and this is what I see...

Not sure what's happening on your site - I can see that you have (e.g.) the exe.gif in the correct directory.

Zoon
12-07-2006, 09:04 AM
Thanks for your help AndrewD!

Turns out one of my rewrite rules was misbehaving, and matching a URL it shouldn't do. I've amended rewrite rules and its working fine now :)

Tyegurl
12-07-2006, 10:15 AM
okay i got it working....forgot i didn't have an .exe file on there anymore....

but tar isn't working....nothing for it....

AndrewD
12-07-2006, 10:22 AM
okay i got it working....forgot i didn't have an .exe file on there anymore....

but tar isn't working....nothing for it....

Why not just copy the zip.gif file as tar.gif?

Slave
12-07-2006, 02:30 PM
How about this .. ?

:)

robihot
12-10-2006, 02:32 PM
Hello AndrewD
I would like to use a free Thumbail-service (websitethumbnails.com) to display the "Thumbnail" of a Link.
I know how to add a IMG as Thumbnail, but how can I use a URL to display the Link Thumbnail?

Thanks for help.
Robihot

AndrewD
12-10-2006, 03:37 PM
Hello AndrewD
I would like to use a free Thumbail-service (websitethumbnails.com) to display the "Thumbnail" of a Link.
I know how to add a IMG as Thumbnail, but how can I use a URL to display the Link Thumbnail?

Thanks for help.
Robihot

http://site/forum/local_resize.php?linkid=N&size=M

where N is the linkid of the link (hover the mouse over the link to find it out) and M is the size you want it to display at (e.g. 200)

xadoa
12-10-2006, 09:24 PM
come to this thread everyday and peek at this mod .. waiting for a next release badly.. still haven't got good news from AndrewD :) .. i still can't view files in multiple colums .. the old one i could, but not this this one :( .. wait till the next release hopefully it work for me ... AndrewD, i think this mod is one of the best one for me .. on my 240K member forums.. it can be controlled greatfully ..

XD

AndrewD
12-11-2006, 03:57 AM
come to this thread everyday and peek at this mod .. waiting for a next release badly.. still haven't got good news from AndrewD :) .. i still can't view files in multiple colums .. the old one i could, but not this this one :( .. wait till the next release hopefully it work for me ... AndrewD, i think this mod is one of the best one for me .. on my 240K member forums.. it can be controlled greatfully ..

XD

Can you remind me of the problem - I didn't realise there were some outstanding bugs.

AndrewD
12-11-2006, 04:15 AM
I've packaged the available code for VBadvanced into a set of importable modules, which are easier to use and more controllable that the 'hard coded' php files in the current release. These will form part of the next standard release, but for the present, I make them available in the first post of this thread. Simply use the download/upload feature on the vbadvanced admin page.

NB: if you have already installed the previous version manually, delete them from vbadvanced and delete their php files before installing the modules.

Lyte
12-11-2006, 08:48 PM
Okay, I'm reading through the posts and I just want to be double sure that LDM will support software files. I'm thinking of having a "one stop shop" page where members can download software such as freeware (AVG, Zone Alarm, etc), or maybe skins/templates... basically, a variety of applications.

Maybe the easier question is... what type of files will LDM not take??

Thanks in advance for your help! :cool:

Lyte

EDIT: And, is it possible to limit access by posts? Meaning, I can set it so just those who have posed "X" number of times can access the download page? Thanks! :)

nexus851
12-12-2006, 01:34 AM
Can this updated version play flash files FLV,FLA, SWF???

J

AndrewD
12-12-2006, 03:52 AM
Okay, I'm reading through the posts and I just want to be double sure that LDM will support software files. I'm thinking of having a "one stop shop" page where members can download software such as freeware (AVG, Zone Alarm, etc), or maybe skins/templates... basically, a variety of applications.

Maybe the easier question is... what type of files will LDM not take??

Thanks in advance for your help! :cool:

Lyte



LDM will "manage" *any* sort of file with a filetype (i.e. filenames of the form xx.typ). How it manages the file depends on whether or not mimetype information for that filetype has been added to the main vbulletin/admincp attachments table. If so, all of LDM's capabilites are available; if not, it will still manage the file but some features (like uploading, keeping track of download bandwidth, etc) are not available.

You will need to be careful with some filetypes (e.g. exe's) as the user may not accept these, because of the virus risk, etc. Particularly, if you enable other users to upload the files on to you system the first place.

And, is it possible to limit access by posts? Meaning, I can set it so just those who have posed "X" number of times can access the download page? Thanks! :)

There is a feature built into LDM to limit the number of files and total bandwidth a user can access per day. This feature can be adjusted using a plugin (supplied as an "extra") which over-rides that feature depending on the number of posts the use has made. The "extra" is quite easy to adjust.

AndrewD
12-12-2006, 04:04 AM
Is it possible to change the size of Jukebox player?
It's a bit too small for watch some funny clips. Obviously , we can make it full screen but.....there are a lot of low quality video clips, i just want to make a certain size for jukebox player. Maybe, a little bit bigger....

Yes, these really should be adjustable parameters on the admin page.

The attached plugin will do the job for you. Edit it, find and change these lines:


// Set these to the desired size
$player_width = 400;
$player_height = 400;
// Set these to the desired size


then install the plugin (vb/admincp/plugins and products/download upload plugins)

AndrewD
12-12-2006, 04:09 AM
Can this updated version play flash files FLV,FLA, SWF???


J

You keep asking...

I wrote a new plugin for flv and swf at the weekend. I used the wimpy wasp player - it works fine. But you have to buy wimpy. If you want, I will post the code. There are quite a lot of flash players avaialble on the web - I don't want to code for lots of these.

zellvnn
12-12-2006, 05:22 AM
Thanks for the jukebox resize plug in. It worked like charm.
About the player for FLV.....it'd be nice if we download some flv files from youtube and be able to play it in LDM.
However, let Adrew rest a bit...he will support this hack when he's free.

nexus851
12-12-2006, 08:35 AM
You keep asking...

I wrote a new plugin for flv and swf at the weekend. I used the wimpy wasp player - it works fine. But you have to buy wimpy. If you want, I will post the code. There are quite a lot of flash players avaialble on the web - I don't want to code for lots of these.

thanks, yes, please post the code, i'll get that wimpy player so that i can use your code. Thanks Andrew!

J

chorton
12-12-2006, 11:31 AM
Thanks for the jukebox resize plug in. It worked like charm.
About the player for FLV.....it'd be nice if we download some flv files from youtube and be able to play it in LDM.
However, let Adrew rest a bit...he will support this hack when he's free.

How do you download videos from youtube?


I put this hack in my ldm
https://vborg.vbsupport.ru/showthread.php?t=132702

It streams the youtube videos just fine.
http://www.versionist.com/local_links.php?catid=22

Would be nice to have the same thing for google..but my members seem to enjoy the new videos.

chorton
12-12-2006, 11:33 AM
Wimpy player.
I tried all weekend to get wimpy to work on my server. It appears there is an issue with wimpy and php 5.

robihot
12-12-2006, 01:13 PM
http://site/forum/local_resize.php?linkid=N&size=M

where N is the linkid of the link (hover the mouse over the link to find it out) and M is the size you want it to display at (e.g. 200)

Sorry, guess my question was not exact enough.
I want to have a thumbnail with every Link I add in DLM. As I understand, I can only add an image manually to my links.

But I like to use a service to "create an thumbnail" on the fly, based on the URL which is stored in the DLM.

Or have I overseen something and DLM is able to do this somehow?

Thanks for your help.
Kind regards, Robihot

zellvnn
12-12-2006, 01:39 PM
How do you download videos from youtube?


I put this hack in my ldm
https://vborg.vbsupport.ru/showthread.php?t=132702

It streams the youtube videos just fine.
http://www.versionist.com/local_links.php?catid=22

Would be nice to have the same thing for google..but my members seem to enjoy the new videos.

Just go to Google. Type keywords " How to download movies from youtube"
U can do it easily.

AndrewD
12-12-2006, 03:47 PM
Sorry, guess my question was not exact enough.
I want to have a thumbnail with every Link I add in DLM. As I understand, I can only add an image manually to my links.

But I like to use a service to "create an thumbnail" on the fly, based on the URL which is stored in the DLM.

Or have I overseen something and DLM is able to do this somehow?

Thanks for your help.
Kind regards, Robihot

If the file points to an image, then LDM auto-generates the thumbnail without entering anything into the image url field. It will also do so for mp3s with embedded cover art, povided you have uploaded the getid3 code in the jukebox-enhancements 'extra'.

If you want to do something fancier (e.g. autolink a jpg to an avi or create a thumbnail by referring to an external source), then this needs a plugin. Maybe I missed something in your question?

AndrewD
12-12-2006, 03:57 PM
Wimpy player.
I tried all weekend to get wimpy to work on my server. It appears there is an issue with wimpy and php 5.

Well, I've just uploaded the full wimpy files to my test site which is running php 5 and it all ran straight away without difficulty. Not sure what to say.

AndrewD
12-12-2006, 04:27 PM
thanks, yes, please post the code, i'll get that wimpy player so that i can use your code. Thanks Andrew!

J

Here you go. should be self-explanatory. the zip file contains the same directory structure as the normal ldm release, with only those files you need. Reinstall the product xml, upload the various bits of extras/wimpy and then install the wimply-player-flash plugin. The zip contains the demo version of the wimpy wasp player, so you can see how it works.

chorton
12-12-2006, 05:01 PM
Well, I've just uploaded the full wimpy files to my test site which is running php 5 and it all ran straight away without difficulty. Not sure what to say.


what version are you using? I know there is issues prior to 5.2
I guess i need to patch my site.

AndrewD
12-12-2006, 06:40 PM
what version are you using? I know there is issues prior to 5.2
I guess i need to patch my site.

My home (coding) site is running windows/apache/php 5.1.6. My live site is running linux/apache/php 5.2.0 Both run wimpy just fine. With a black screen, I wonder if you've uploaded the swf?

chorton
12-12-2006, 07:07 PM
My home (coding) site is running windows/apache/php 5.1.6. My live site is running linux/apache/php 5.2.0 Both run wimpy just fine. With a black screen, I wonder if you've uploaded the swf?

I tried it 10 different times.
Do you want to try it for me?
I have win03/php 5.1.6 with IIS 6

smoknz28
12-12-2006, 07:43 PM
Hi gang...I'm slowly getting this hack together....and I would like to see some of your all's layouts and categories.

If you don't mind...please post up a link to your site so I can get some ideas of where to go with my setup.

Also, when I go into adding categories...I don't see all of my Parent Forums. Attached is a screen shot of what I'm refering to. Any help on this is appreciated.

Thank you ;)

Zowners
12-13-2006, 12:19 AM
Well you can check out http://www.mangahunter.com

Andrew is there a way to change the start of every link. At the moment im hosting alot of files and want to change the location to a different server. Which is going to cause a pain if I cant simply add a http://www.address.com in front of what ive already got. Is there a way to do this? And can it be done to certain categories only?

xadoa
12-13-2006, 04:01 AM
Can you remind me of the problem - I didn't realise there were some outstanding bugs.

Hi AndrewD,
it's a small thing. it's just that, i used to use the old version, and I had no problem of setting the item listing in multi colums, like i used to set it as 3 colums listing of my movies and now, it can only list one column, doesn't matter how i set it. I set it as 2 cols or 3 cols still not working. since my files don't have the descriptions that's why i want to list them in 3 columns, so the images would feel in the screen nicely with this kinda listing, otherwise, it looks empty with one columt and without description.

THanks AndrewD,
xd

AndrewD
12-13-2006, 04:01 AM
Well you can check out http://www.mangahunter.com

Andrew is there a way to change the start of every link. At the moment im hosting alot of files and want to change the location to a different server. Which is going to cause a pain if I cant simply add a http://www.address.com in front of what ive already got. Is there a way to do this? And can it be done to certain categories only?

To do this per category, go into ldm/admin/categories; find the category of interest; select mass edit.

Depending on the number of entries in the category, you might need to change the number in the top right hand box on the screen (which is the number of entries displayed) and select 'view'.

Go down towards the bottom of the screen, click 'select all', then click 'edit url'

The two boxes s/this/that/ are what does the work. Put the '^' symbol in the first box (without quotes) and put http://www.address.com in the second. Then select submit

Be careful, as there's no 'undo' facility - probably a good idea to take a backup first (ldm/admin/import and export/xml)

If you want to do this on your whole database, you can either do it a category at a time - alternatively, if you've not made much use of the 'forums' protection mechanism, you can short cut the process on the ldm/admin/categories screen by going right to the bottom of the page, to the 'forums permissions' section, and choosing the mass edit links there.

AndrewD
12-13-2006, 04:07 AM
Also, when I go into adding categories...I don't see all of my Parent Forums. Attached is a screen shot of what I'm refering to. Any help on this is appreciated.


It's probably either a css styling problem or something I've missed with forum settings. Please can you go to 'add category', use your browser to do 'view source', save the html into a text file, and post the file here for me to look at. Alternatively, send me a pm with your forum details plus an account and password with vb admin permissions.

AndrewD
12-13-2006, 04:10 AM
Hi AndrewD,
it's a small thing. it's just that, i used to use the old version, and I had no problem of setting the item listing in multi colums, like i used to set it as 3 colums listing of my movies and now, it can only list one column, doesn't matter how i set it. I set it as 2 cols or 3 cols still not working. since my files don't have the descriptions that's why i want to list them in 3 columns, so the images would feel in the screen nicely with this kinda listing, otherwise, it looks empty with one columt and without description.

THanks AndrewD,
xd

Which linkbit are you using?

AndrewD
12-13-2006, 04:12 AM
Do you want to try it for me?

Not really! - I don't understand IIS and I'm not sure I want to learn. But am willing to have a go at the weekend. I'll need ftp access - can't recall if you told me how.

chorton
12-13-2006, 12:57 PM
Not really! - I don't understand IIS and I'm not sure I want to learn. But am willing to have a go at the weekend. I'll need ftp access - can't recall if you told me how.


Might be the vbSeo causing this.

smoknz28
12-13-2006, 02:08 PM
It's probably either a css styling problem or something I've missed with forum settings. Please can you go to 'add category', use your browser to do 'view source', save the html into a text file, and post the file here for me to look at.

Thanks Andrew. Here it is.

Thanks for your help on this one.

AndrewD
12-13-2006, 02:29 PM
Thanks Andrew. Here it is.

Thanks for your help on this one.

Thanks - it's not a css problem, but I'm not sure what it is. For some reason, all the forums except those that are visible are being picked up as having no name.

However, you have exactly the same problem with the 'forum jump' menus throughout your site. Take a look for example at the forum jum down the bottom right of http://www.f-bodyhideout.com/forums/forumdisplay.php?f=13 - you'll see that the same forums are visible or invisible in the menu.

I can't tell you any more without having admin access to your site.

AndrewD
12-13-2006, 03:13 PM
Might be the vbSeo causing this.

I just tested wimpy on IIS/php 5.1.6 - works fine.

smoknz28
12-13-2006, 03:37 PM
I can't tell you any more without having admin access to your site.

Andrew, PM sent...

robihot
12-13-2006, 07:25 PM
If the file points to an image, then LDM auto-generates the thumbnail without entering anything into the image url field. It will also do so for mp3s with embedded cover art, povided you have uploaded the getid3 code in the jukebox-enhancements 'extra'.

If you want to do something fancier (e.g. autolink a jpg to an avi or create a thumbnail by referring to an external source), then this needs a plugin. Maybe I missed something in your question?

Hi AndrewD.
Yes, this works, I know. But I like to use a Thumbnail Service to create the image (of the linked Webside). The idea is, that the thumbnail is created automatically if I enter a URL.

AndrewD
12-14-2006, 04:16 AM
Hi AndrewD.
Yes, this works, I know. But I like to use a Thumbnail Service to create the image (of the linked Webside). The idea is, that the thumbnail is created automatically if I enter a URL.

Now I understand. This is (I think) easy to do with a plugin. Send me a pm with details of the thumbnail service you want to use and I'll take a look.

sam anders
12-14-2006, 10:37 AM
installed this hack as per instructions and all loaded up all ok but when i go to update any settings in the admin section of local links the following is displayed:

The following setting(s) are invalid
upload_dir : forums/ldm_upload
Directory forums/ldm_upload (/var/www/vhosts/mydomain.com/httpdocs/_ldm/forums/ldm_upload) doesn't exist and I can't create it

i have the ldm_upload in the correct place but noticed in the full location the file says

httpdocs/_ldm/forums/ldm_upload

but the address should be

httpdocs/forums/ldm_upload which file do i edit to change this line?

AndrewD
12-14-2006, 03:43 PM
installed this hack as per instructions and all loaded up all ok but when i go to update any settings in the admin section of local links the following is displayed:

The following setting(s) are invalid
upload_dir : forums/ldm_upload
Directory forums/ldm_upload (/var/www/vhosts/mydomain.com/httpdocs/_ldm/forums/ldm_upload) doesn't exist and I can't create it

i have the ldm_upload in the correct place but noticed in the full location the file says

httpdocs/_ldm/forums/ldm_upload

but the address should be

httpdocs/forums/ldm_upload which file do i edit to change this line?

That particular piece of code is using this logic:

-> if you've set the LDM/admin setting 'local_file_root', then it's simply concatenating 'local_file_root_prefix and 'upload_dir', both set on the LDM admin/settings page

-> Alternatively, it's concatenating LDM_DOCUMENT_ROOT, 'local_file_root_prefix' and 'upload_dir', where

LDM_DOCUMENT_ROOT is either:
-> taken from your php.ini' $_SERVER["DOCUMENT_ROOT"]
or
-> set in includes/local_init.php

My guess is that you've set local_file_root_prefix to _ldm on the ldm admin settings page.

sam anders
12-14-2006, 08:36 PM
thanks for the info makes sense about concatenating will reinstall and try again

Mr_Devlin
12-14-2006, 10:05 PM
Searched this forum but didn't find a solution or hint on an error.
When trying to access ldm I will get this error message:


Datenbankfehler in vBulletin 3.6.4:

Invalid SQL:

SELECT link.linkid AS linkid, link.linkname AS linkname, link.linkdoi AS linkdoi, link.linkuserid AS linkuserid,
link.linkusername AS linkusername, link.linkurl AS linkurl, link.linkimg AS linkimg,
link.linkimgthumb AS linkimgthumb, link.linkforum AS linkforum,
link.linkdesc AS linkdesc, link.numrate AS numrate, link.totrate AS totrate,
link.linkhits AS linkhits, link.linksize AS linksize, link.linkstatus AS linkstatus,
link.linkdate AS linkdate, link.linkmoderate AS linkmoderate,
ltoc.catid AS linkcatid, ltoc.displayorder AS linkdorder
, user.*, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight

, COUNT(lhits.linkid) AS linkrecenthits

FROM local_linkslink AS link
LEFT JOIN local_linksltoc AS ltoc ON link.linkid = ltoc.linkid
LEFT JOIN user AS user ON (user.userid = link.linkuserid)
LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar AS customavatar ON (customavatar.userid = user.userid)

LEFT JOIN local_linksdownloads AS lhits
ON link.linkid = lhits.linkid
WHERE lhits.usertime>=1163547774
GROUP BY linkid, linkcatid

ORDER BY linkhits DESC;

MySQL-Fehler : Got error 28 from storage engine
Fehler-Nr. : 1030
Datum : Thursday, December 14th 2006 @ 06:42:54 PM
Skript : http://www.*****.com/forum/local_links.php?
Referrer : http://www.*****.com/forum/showthread.php?p=13082#post13082
IP-Adresse : **.***.***.***
Benutzername : ******
Klassenname : vb_database


ldm version: 2.2.6
MySQL: 4.1.10a
PHP: 4.4.3

Changing MySQL or PHP is not possible,
Any suggestions how to solve this problem?

#################

EDIT: OK, Problem solved by repairing tables...

|oR|Greg
12-15-2006, 02:06 PM
Request.

Andrew, I know you had a reason for this, but i'd love to see it as an option.

I'd like for the synchronization to be able to create threads. I don't add stuff all that often, but if you could specify an account, and then have it create based off that userid, it would be uber-sweet.

AndrewD
12-15-2006, 07:04 PM
Request.

Andrew, I know you had a reason for this, but i'd love to see it as an option.

I'd like for the synchronization to be able to create threads. I don't add stuff all that often, but if you could specify an account, and then have it create based off that userid, it would be uber-sweet.

No problem, will sort out how to make this an option.

Rouzbeh1
12-15-2006, 07:24 PM
hi,

i am using ldm_new.module, everything is perfect. the only thing is that, i have sub categories and when i specify the main category, it wont list the entries in the subcategories.
i need this for 3 levels subcategories (i.e. main cat-->sub cat 1-->sub cat 2-->entry)

could you please help me do this?

thanks in advance

ADD*: which template should i use to show thumbnails instead of text links. i am currently using links_vbathumbs, but Category Strips are not shown correctly. image attached

|oR|Greg
12-15-2006, 07:31 PM
No problem, will sort out how to make this an option.
Who's better than you?

WebmasterSimds
12-15-2006, 07:33 PM
Andrew

Sir, I am having a small problem. I have had this running for a long while. I upgraded the LDM system to the latest one when it came out. now i get weird messages. I think I remember how to correct this. but I cant remember. here is the message after somone posts a download.

"This page is not designed to be access directly."

if you can, or know how to fix this, can you please give me a clue how to fix this.

There is 1 more thing. and didnt notice this till someone pointed this out to me today. it seems every time we upgrade this LDM for some reason all of the pictures of the download has dissapeared on all of them.

the only way to correct it, is to go and press edit, and then just scroll down to the bottm and press submit and it will fix it. without any edits. its a weird weird one, I tried to look for a way to make sure the paths are ok, and other tings, but it seems that its a weird problem

Just in case for your FYI

VB Version is the latest release
Your version is the lates release

also my server stats

Kernel version 2.4.21-32.0.1.EL
Machine Type i686
Apache version 1.3.33 (Unix)
PERL version 5.8.0
PHP version 4.3.11
MySQL version 4.0.27-standard

Thanks in advance.

Ray

WebmasterSimds
12-16-2006, 12:06 AM
Update..

After Re - Installing the Product xml it took out the message "This page is not designed to be access directly."

That took care of it, but the problem is that it keeps doing it after so many weeks. I carry a large load of downloads in Your program like over 2500 and growing. I am wondering if that may or may not have anyting to do with it??

I remember when I had a other junk portal "xoops" it could not handle the large downloads, hence the reason I had to change. but they could not come up with a solution for larger type database for downloads.

Again I am wondering if that may or may not be a problem

Thanks again

xadoa
12-16-2006, 03:51 AM
Which linkbit are you using?

HI AndrewD,

hehe good question Andrew, i am a code sucker .. hehe i don't know what linkbit i am using, can u show me which one is that? ..

XD

AndrewD
12-16-2006, 05:09 AM
Andrew

Sir, I am having a small problem. I have had this running for a long while. I upgraded the LDM system to the latest one when it came out. now i get weird messages. I think I remember how to correct this. but I cant remember. here is the message after somone posts a download.

"This page is not designed to be access directly."

if you can, or know how to fix this, can you please give me a clue how to fix this.

I recall your report in October. I've never seen this message - there is no such message in LDM and I can't find it in the VBulletin code anywhere either.

I did a search on Google for the text "This page is not designed to be access directly." There are two hits, your report fror LDM and this report in the VB Events Forum archive (https://vborg.vbsupport.ru/archive/index.php/t-123416.html)


Lionel11. Oct 2006, 05:54
When I submit the Save Event button, I am getting this error:

link: http://www.mysite.com/forums/calendar.php?do=update&e=

This page is not designed to be access directly.


It looks is missing the info on the link, any idea what could casue this problem.

--------------------------------------------------------------------------------

Lionel11. Oct 2006, 06:21
Anyway, Gerakus I solved my issue. It was caused by the Talker Bot hack.



edited: - I took a look at the talker bot code. The message "This page is not designed to be access directly" appears at the start of one of its files. The code reads as follows:


if (!defined("THIS_SCRIPT") || (THIS_SCRIPT!="newreply" && THIS_SCRIPT!="newthread") )
{
die("This page is not designed to be access directly.");
}


The code is called from at least one plugin called "Talkerbot - Include The Bot", which hooks into the newpost_complete hook in VB. The newpost_complete hook is used in the code to create new posts, which is called when LDM 'autocreates' threads.

So what I think is happening is the following:
- you've installed talker bot
- you've also installed the autocreate_threads extra for LDM
talker_bot is not expecting this and gives you the error message you see.

Unfortunately, it's not a problem that I can fix - you'll have to take this up with the author of talker_bot


There is 1 more thing. and didnt notice this till someone pointed this out to me today. it seems every time we upgrade this LDM for some reason all of the pictures of the download has dissapeared on all of them.

the only way to correct it, is to go and press edit, and then just scroll down to the bottm and press submit and it will fix it. without any edits. its a weird weird one, I tried to look for a way to make sure the paths are ok, and other tings, but it seems that its a weird problem



LDM creates a thumbnail whenever it thinks it needs one. If you've set up a 'thumbs_dir' on the admin page, it saves the thumbnail as a file in 'thumbs_dir' and keeps a record in the database. The problem you describe occurs when the record in the database points to a file which no longer exists, for example if the file structure for the website changes or (perhaps :)) I have made a change in the logic. I don't know which is the case for your situation.

When you edit and save an entry, LDM always recreates the thumb, in case there are any changes.

One way to fix this for all entries is to go to LDM/admin/statistics/reset thumbs

AndrewD
12-16-2006, 05:53 AM
HI AndrewD,

hehe good question Andrew, i am a code sucker .. hehe i don't know what linkbit i am using, can u show me which one is that? ..

XD

I tried to find out for myself, but your site is rather interesting to say the least, and protected :)

Go to LDM/admin/settings and look for the entry called "template_linkbit" (Style used for displaying groups of entries)

Or if you've changed the configuration in any of your categories, do ldm/edit category/control settings/template linkbit

WebmasterSimds
12-16-2006, 09:04 AM
Andrew,

Your a fantastic help. Yes it was the stupid talker bot (thats now Un Installed) and hopefully no one will want it back LOL

As for the second part the thumbs, it only happend when I upgraded this script. so you may have addidently added someting to it, or changed a piece of coding. but I went to the re set thumbs part and looked at it, it had like
(1211 [1199 cached]) so I reset it and hopefully that solved that part.

I do have the thumbs set to /images/thumbs so I know thats ok. thats why it puzzeled me in why it went and did that to the thumbs for all the downloads itself.

So basically should I always keep an eye on the cache for the thumbs? or not worry about it seeing i did a reset of it?

Thanks In Advance

Tyegurl
12-16-2006, 10:13 AM
Why not just copy the zip.gif file as tar.gif?

because then people would think it was a rar file, not a tar zip file. I wanted it to be different than the rest.

How about this .. ?

:)

thanks so much I am giving it a shot now. well now tar and rar look the same but tar is bigger. Appreciate the help guys thanks.

Sorry took me so long to post.

ansuk
12-16-2006, 12:32 PM
Is there any chance of a paid installation service?

AndrewD
12-16-2006, 01:25 PM
Is there any chance of a paid installation service?

Plenty of chance of a free service, if you send me a PM with site details, an ftp account and a vb admin userid...

Just as long as it's not too strange a site

smoknz28
12-16-2006, 03:13 PM
Gotta tell ya....Andrew definitely goes out of his way. :up: Speaking from personal experience.

AndrewD
12-16-2006, 04:04 PM
So basically should I always keep an eye on the cache for the thumbs? or not worry about it seeing i did a reset of it?

Thanks In Advance

If the reset has worked, everything should be ok. If it ever goes wrong again, just repeat the cache reset.

Rouzbeh1
12-16-2006, 06:46 PM
hi,

i am using ldm_new.module, everything is perfect. the only thing is that, i have sub categories and when i specify the main category, it wont list the entries in the subcategories.
i need this for 3 levels subcategories (i.e. main cat-->sub cat 1-->sub cat 2-->entry)

could you please help me do this?

thanks in advance

ADD*: which template should i use to show thumbnails instead of text links. i am currently using links_vbathumbs, but Category Strips are not shown correctly. image attached
any suggestions?

ansuk
12-16-2006, 08:42 PM
Plenty of chance of a free service, if you send me a PM with site details, an ftp account and a vb admin userid...

Just as long as it's not too strange a site

Thanks very much Andrew, i'll give you a shout next week :) Perhaps i can atleast give you a donation towards continued development :alien:

AndrewD
12-17-2006, 12:10 PM
i am using ldm_new.module, everything is perfect. the only thing is that, i have sub categories and when i specify the main category, it wont list the entries in the subcategories.
i need this for 3 levels subcategories (i.e. main cat-->sub cat 1-->sub cat 2-->entry)

could you please help me do this?

thanks in advance


I have uploaded new versions of the vba modules (see start of thread). The hot and new modules now have an extra parameter - subcategories. If set, the code searches all subcategories (children, grandchildren, etc) or the categories specified.

Bear in mind that you can always specify a comma-separated list of categories if you want to restrict the module to those, e.g. "1,3,5,6".

which template should i use to show thumbnails instead of text links. i am currently using links_vbathumbs, but Category Strips are not shown correctly. image attached

If you have installed the new module versions of the vba code, the important templates are adv_portal_custom_ldm_new_one and adv_portal_custom_ldm_new.

To get the effect of a row of thumbs instead of the normal text links, you need to edit both of these. For adv_portal_custom_ldm_new_one, use the following:

<td class="alt1" align="center" <if condition="$links_defaults[cellsize]">width="$links_defaults[cellsize]"</if>>
<if condition="$linkimg">
<a href="$LINKS_SCRIPT.php?catid=$catid&amp;linkid=$linkid" title="$title">
<img src="$RESIZE_SCRIPT.php?linkid=$linkid&amp;size=$links_defa ults[link_imagesize]" border="0" alt="$linkname_clean" />
</a>
<else />
<span class="smallfont">$linktypebit<if condition="$linkstatus<=0">$linkname<else />$linkurllink</if></span>
</if>
</if>
</td>


For adv_portal_custom_ldm_new, use this:


<tr><td><table width="100%" cellpadding="0" cellspacing="0"><tr>$links</tr></table></td></tr>

Rouzbeh1
12-17-2006, 05:57 PM
thanks you Andrew

is it possible to extract the entries to 2 rows?
for example i have set this module to show 8 Entries. but i want to show 4 entries per row....

BTW. the other modification is exactly what i needed. since i have TOO MANY subcategories (about 550 in each main category), this was the better way to handle that. thanks again

i have also one suggestion :
for people who have more than 500 entries in LDM, and also too many sub categories, it would be useful to have an EDIT button near each entry (for admins or ppl with permission to edit)

robihot
12-17-2006, 06:17 PM
Now I understand. This is (I think) easy to do with a plugin. Send me a pm with details of the thumbnail service you want to use and I'll take a look.

Hi Andrew

I would like to use the ArtViper Thumbnail Service.
To create a thumbnail, the url has to be parsed as parameter like this:
http://www.artviper.net/screenshots/screener.php?&url={URL}

Thanks for your help!

Regards, robihot

josiespencer
12-17-2006, 06:49 PM
This is probably a duh! but I did search and could not find the answer. Is there a demo site for LDM? I have the product installed and have tried to get started with it but I am having some kind of synaptic gap black out or something. I can't figure out the logic for linking the files I load into LDM to a post or thread or directory.

AndrewD
12-17-2006, 07:49 PM
Hi Andrew

I would like to use the ArtViper Thumbnail Service.
To create a thumbnail, the url has to be parsed as parameter like this:
http://www.artviper.net/screenshots/screener.php?&url={URL}

Thanks for your help!

Regards, robihot


The only tiny problem with artviper is that it returns a .bmp format file, which the standard php libraries don't handle.

Will think about this.

AndrewD
12-17-2006, 07:55 PM
This is probably a duh! but I did search and could not find the answer. Is there a demo site for LDM? I have the product installed and have tried to get started with it but I am having some kind of synaptic gap black out or something. I can't figure out the logic for linking the files I load into LDM to a post or thread or directory.

Which way round? An LDM entry which points to a post/thread, or a post which contains a pointer to an entry in LDM, or a post that announces that there's a new entry in LDM

For the first. I set up a custom bbcode [link=id], as follows:

<a href="local_links.php?action=jump&amp;id=577" target="_new">Statute</a>

where you would replace 577 by the linkid of the entry in question (get it by hovering the mouse over the entry)

For the second, you would create an LDM entry which points to http://yoursite/forum/showthread.php?t=threadid, etc

For the third, there's an autocreate_thread extra in the release extras directory.

josiespencer
12-17-2006, 08:36 PM
I want the second method. And I have added the document to the LDM database. I already have a post which refers a pre-existing link at http://<download server>.com/Documents/Basis/testdocument.pdf. How do I change that link to http://<my site>.com/forums/local_links.php?action=jump&id=1&catid=3? When I do this, simply opens the file with no options to download and not open, etc. And doing a right-click on the link no longer offers Save as Target...

bigdaddyforums
12-17-2006, 08:45 PM
Great Modification, just wonder if it's possible so that each download link has it's own unique page title? At the moment each link has the same page title at the category it's in.

Any help is appreciated!

nexus851
12-18-2006, 12:45 AM
Here you go. should be self-explanatory. the zip file contains the same directory structure as the normal ldm release, with only those files you need. Reinstall the product xml, upload the various bits of extras/wimpy and then install the wimply-player-flash plugin. The zip contains the demo version of the wimpy wasp player, so you can see how it works.

tried to install,but didnt work when i loadup the flash files... where do i upload the getid3 and clientscript directories at? i uploaded them at my "/forum/" and upload the product too... did i do anything wrong?


J

xadoa
12-18-2006, 01:55 AM
I tried to find out for myself, but your site is rather interesting to say the least, and protected :)

Go to LDM/admin/settings and look for the entry called "template_linkbit" (Style used for displaying groups of entries)

Or if you've changed the configuration in any of your categories, do ldm/edit category/control settings/template linkbit
Hi AndrewD,

hahaha, THANK YOU .. and yet, now it know what's the linkbit is which u were talking about .. hehe i got it sorted out by choosing "Featured" as my LINKBIT :D

btw, if you see anything that is not protected, please let me know .. as i said earlier, i'm a code suxker. and yet, a worst in graphics or designing ... hehe.. had never learn how to draw since 3 years old :D well, i did when i was 1 and 2, that's about it.. :D

thanks
XD

AndrewD
12-18-2006, 04:01 AM
tried to install,but didnt work when i loadup the flash files... where do i upload the getid3 and clientscript directories at? i uploaded them at my "/forum/" and upload the product too... did i do anything wrong?


J

copy the contents of the clientscript directory into your existing forums/clientscript

create a new forum subdirectory getid3 and copy the contents of getid3 into this

install the wimpyplayer-flash via vb/admincp/products and plugins/download and upload

set up mimetype info for swf and flv in vb/admin/attachments/manage attachments

you should be there.

If not, I'll take a look.

AndrewD
12-18-2006, 04:11 AM
I want the second method. And I have added the document to the LDM database. I already have a post which refers a pre-existing link at http://<download server>.com/Documents/Basis/testdocument.pdf. How do I change that link to http://<my site>.com/forums/local_links.php?action=jump&id=1&catid=3? When I do this, simply opens the file with no options to download and not open, etc. And doing a right-click on the link no longer offers Save as Target...

For an LDM entry in category id N with linkid M, these are the urls:

yoursite/yourforum/local_link.php?catid=N&linkid=M - takes you into LDM and displays the description of that single entry

yoursite/yourforum/local_link.php?action=play&catid=N&linkid=M - for a jukebox-enabled filetype, takes you straight into the jukebox and starts playing the track

yoursite/yourforum/local_link.php?action=jump&catid=N&id=M - NB id, not linkid - downloads the file, with right click offering the usual open/save as/etc, according to the browser

AndrewD
12-18-2006, 04:16 AM
Great Modification, just wonder if it's possible so that each download link has it's own unique page title? At the moment each link has the same page title at the category it's in.

Any help is appreciated!

Sorry, I don't quite understand your question.

Do you mean the title bar at the top of the browser? - maybe you could post a screen shot to show me.

nexus851
12-18-2006, 05:02 AM
copy the contents of the clientscript directory into your existing forums/clientscript

create a new forum subdirectory getid3 and copy the contents of getid3 into this

install the wimpyplayer-flash via vb/admincp/products and plugins/download and upload

set up mimetype info for swf and flv in vb/admin/attachments/manage attachments

you should be there.

If not, I'll take a look.


i did all that, however not working.. please check it out.. ill PM you website info with admin access. Thanks

AndrewD
12-18-2006, 05:05 AM
i did all that, however, one thing i think you left out is the actual wimpy player files that i havent downloaded yet from wimpyplayer.com. Do i have to download the trial and upload the contents to my /forum to work also along with the rest of the instructions?

J

The getid3 directory contains the trial versions of the required wimpy files, specifically wasp.swf, which plays only the first few seconds. Once you've got things working and are satisfied, you simply replace this file with the full version.

AndrewD
12-18-2006, 06:11 PM
Nexus asked for a means to autogenerate web site thumbnails for use within the LDM linkbits. Here are some plugins that give you three ways to do it:

- using ArtViper (http://www.artviper.net/)
- using snap.com (http://www.snap.com/about/spa1B.php)
- using webthumbs (http://bluga.net/webthumb/)

Each has its strengths and weaknesses. ArtViper is free and needs no registration; Snap needs registration but is free; and webthumbs need registration, is free for 250 images a month and is the most configurable. The webthumbs plugin requires php 5.

Installation - choose your plugin, go to the appropriate subdirectory and follow the instructions. (Possibly upload code, then upload the chosen xml plugin). You should only install one of these at a time. The ArtViper and WebThumb plugins autocreate an image within the linkbit; the Snap plugin creates a pop-up window over the link title.

Happy Christmas...

Alfa1
12-18-2006, 08:33 PM
Does this add on work well with PHP5.2?

AndrewD
12-19-2006, 04:19 AM
Does this add on work well with PHP5.2?

yes

|oR|Greg
12-19-2006, 11:47 AM
So I guess this is just useful for a website links directory then?

AndrewD
12-19-2006, 12:27 PM
So I guess this is just useful for a website links directory then?

I read your original message, but you seem to have edited it.

The LDM data entry form includes a field for an image. If this is filled in, the linkbit then displays a thumbnail. In a few cases, LDM will 'auto-complete' that field, e.g. if the main entry points to an image, or if it points to an mp3 file and the getid3 code available as an extra has been uploaded.

When LDM is being used as a links directory, the request was to 'auto-create' a thumbnail image of the site itself, using one of the available web services.

There are quite a number of these services - I picked three, just to try out the range of possibilities.

obmob
12-19-2006, 03:42 PM
Plenty of chance of a free service, if you send me a PM with site details, an ftp account and a vb admin userid...

Just as long as it's not too strange a siteAndrew is the man or what? :D

Sorry, I don't quite understand your question.

Do you mean the title bar at the top of the browser? - maybe you could post a screen shot to show me.Oh, i think he want's to display the title of the file in the browser title bar.

So far, if you enter to the details of an entry, you see "LDM - Category - Website Name"

He wants to show something like "LDM - File Title - Website Name" o think so :p

Zowners
12-20-2006, 07:59 PM
Hey andrew when I create a new usergroup and change a users primary usergroup to it users get an error when viewing the downloads pages. Error is shown below.

Warning: Invalid argument supplied for foreach() in /includes/local_links_include.php on line 1792

Doesnt show for the default usergroups i.e registerd users and if I make the created usergroup and additional usergroup to a member the problem doesnt appear.

|oR|Greg
12-20-2006, 09:08 PM
Andrew!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I got a new JukeBox image for you. I made it approx same size. 1 is a GIF, and 1 is an alpha transparent PNG.

Enjoy!

AndrewD
12-21-2006, 03:55 AM
Andrew!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I got a new JukeBox image for you. I made it approx same size. 1 is a GIF, and 1 is an alpha transparent PNG.

Enjoy!

Thanks - that's just great :)

AndrewD
12-21-2006, 04:05 AM
Hey andrew when I create a new usergroup and change a users primary usergroup to it users get an error when viewing the downloads pages. Error is shown below.

Warning: Invalid argument supplied for foreach() in /includes/local_links_include.php on line 1792


Doesnt show for the default usergroups i.e registerd users and if I make the created usergroup and additional usergroup to a member the problem doesnt appear.

Thanks for the report. It's triggered by the bandwidh/downloads code, which works on a per-usergroup basis.

You can fix the problem by doing LDM->admin->download and bandwidth quotas->go which will re-size the relevant information array. I'm put a proper fix into the next upload.

WebmasterSimds
12-25-2006, 02:04 AM
Andrew,

I think I may have found a small problem with someting, that you may want to look into, for some reason, Some people who were crazy enough to download IE& because Microsuck said so. I have found that some people are having problems with downloads, they get a extensive code. Here are a few screenshot for ya

https://vborg.vbsupport.ru/external/2006/12/6.jpg

No looking at that it almost looks like its a IE problem. or some settings. what do you think??

AndrewD
12-25-2006, 05:31 AM
Andrew,

I think I may have found a small problem with someting, that you may want to look into, for some reason, Some people who were crazy enough to download IE& because Microsuck said so. I have found that some people are having problems with downloads, they get a extensive code. Here are a few screenshot for ya

No looking at that it almost looks like its a IE problem. or some settings. what do you think??

Funny thing is that these problems seem to travel in twos - bit like buses. I think you are reporting the same problem as two posts up. It's an LDM bug, not an IE bug.

Probably, you have added new vbulletin usergroups after installing LDM. As a result, one of the LDM tables (which stores bandwidth allowances) is the wrong size.

Easy to solve - until I correct the code

- go to LDM/admin/download and bandwidth
- click on the 'Go' button next to the update message

that should fix things. Sorry about that.

Slave
12-25-2006, 12:16 PM
Merry Christmas Andrew :)

You shouldn't be looking at this thread on Christmas :p .. saying that, nor should I for that matter heh :)

* Slave gets back to setting out the table :D

AndrewD
12-25-2006, 12:37 PM
Merry Christmas Andrew :)

You shouldn't be looking at this thread on Christmas :p .. saying that, nor should I for that matter heh :)

* Slave gets back to setting out the table :D

AndrewD sits down after eating his turkey and pudding

How kind of you - thanks - and to another successful year.

obmob
12-26-2006, 12:45 AM
YAWN! so tired... xmas can be so nice... but i'm so tired! XD

Merry Xmas to everyone!

zellvnn
12-26-2006, 12:26 PM
Merry Xmas to Andrew and everyone....... :knockedout:

CSS59
12-27-2006, 12:38 PM
Hi Andrew,
Any way to make this easier to look at?
Perhaps set it up more like a directory?
like http://linkageplus.com

I am willing to pay for this. Please let me know

Slave
12-27-2006, 04:42 PM
I would think all that's needed is a different catbit used in conjunction with cat_cols_display set at "3" ..

I don't think you can set a different catbit via the admin pages so you'll need to have a play with the category templates, links_catbit I think :)

AndrewD
12-27-2006, 06:40 PM
I would think all that's needed is a different catbit used in conjunction with cat_cols_display set at "3" ..

I don't think you can set a different catbit via the admin pages so you'll need to have a play with the category templates, links_catbit I think :)

Way ahead of me :)

Selectable catbits are coming in 2.2.7...

Slave
12-27-2006, 09:29 PM
Way ahead of me :)

Selectable catbits are coming in 2.2.7...
Ahh .. cool .. thanks Andrew :)

TheHeartSmasher
12-28-2006, 12:54 AM
Just wondering if this will be made to have a force download ling appear for downloads.

Ophelia
12-28-2006, 02:55 AM
Gotta tell ya....Andrew definitely goes out of his way. :up: Speaking from personal experience.

Yes he is :) Many on my staff have offered their hands in marriage for all that he's done!

TheWhite
12-28-2006, 03:53 AM
Great

AndrewD
12-28-2006, 04:57 AM
Just wondering if this will be made to have a force download ling appear for downloads.

Not sure I understand?

SherryG
12-28-2006, 12:05 PM
Hi guys,

My links & Download manager used to work just fine until I changed servers 2 days ago. Now my users are getting the following error message:

Warning: Invalid argument supplied for foreach() in /includes/local_links_include.php on line 1636

I, as administrator, do not get this error message and everything appears fine on my end. Can someone tell me what I can do to fix this?

Thanks so much!
Sherry

|oR|Greg
12-28-2006, 12:36 PM
Nexus asked for a means to autogenerate web site thumbnails for use within the LDM linkbits. Here are some plugins that give you three ways to do it:

- using ArtViper (http://www.artviper.net/)
- using snap.com (http://www.snap.com/about/spa1B.php)
- using webthumbs (http://bluga.net/webthumb/)

Each has its strengths and weaknesses. ArtViper is free and needs no registration; Snap needs registration but is free; and webthumbs need registration, is free for 250 images a month and is the most configurable.

Installation - choose your plugin, go to the appropriate subdirectory and follow the instructions. (Possibly upload code, then upload the chosen xml plugin). You should only install one of these at a time. The ArtViper and WebThumb plugins autocreate an image within the linkbit; the Snap plugin creates a pop-up window over the link title.

Happy Christmas...

Not working for me. I used webthumbs, followed all the directions.

AndrewD
12-28-2006, 12:51 PM
Hi guys,

My links & Download manager used to work just fine until I changed servers 2 days ago. Now my users are getting the following error message:

Warning: Invalid argument supplied for foreach() in /includes/local_links_include.php on line 1636

I, as administrator, do not get this error message and everything appears fine on my end. Can someone tell me what I can do to fix this?

Thanks so much!
Sherry

Sorry about this - third report of this problem this week ;)

I think you've added new usergroups *after* installing LDM. As a result, one of the LDM tables is the wrong size, and users in the new groups get the message you are seeing.

Easy to fix - go to LDM/admin/download quotas - then just click on the 'Go' button. That should fix it. Please let me know.

AndrewD
12-28-2006, 01:23 PM
Not working for me. I used webthumbs, followed all the directions.

Are you running php4? I just realised that the interface script assumes php5

|oR|Greg
12-28-2006, 01:26 PM
Php 4.4.4

AndrewD
12-28-2006, 01:36 PM
Php 4.4.4

Sorry, then this 'extra' isn't going to work for you

|oR|Greg
12-28-2006, 01:47 PM
Wrong answer cowboy! Now I'm on a quest to get BlueHost to upgrade to 5.2.0

|oR|Greg
12-28-2006, 02:01 PM
Site will be upgraded in 48 hours.

AndrewD
12-28-2006, 02:39 PM
Site will be upgraded in 48 hours.


I'm shuddering and shaking in my cowboy boots, Tonto...

SherryG
12-28-2006, 02:53 PM
Sorry about this - third report of this problem this week ;)

I think you've added new usergroups *after* installing LDM. As a result, one of the LDM tables is the wrong size, and users in the new groups get the message you are seeing.

Easy to fix - go to LDM/admin/download quotas - then just click on the 'Go' button. That should fix it. Please let me know.


Thank you - you are correct, I did add a new usergroup. I did what you asked and it got rid of that pesky error however, I'm still having a bit of trouble.

Even though I have permissions set for the new usergroup, they can see the link but cannot access it. It also does not show file hits or the comments section. I've done just about everything I can think of.

AndrewD
12-28-2006, 03:01 PM
Thank you - you are correct, I did add a new usergroup. I did what you asked and it got rid of that pesky error however, I'm still having a bit of trouble.

Even though I have permissions set for the new usergroup, they can see the link but cannot access it. It also does not show file hits or the comments section. I've done just about everything I can think of.

Take a look in LDM/admin/permissions. Whenever registered users are allowed to do something, you should also give your new usergroup the same permission. (By default they will not have it.)

SherryG
12-28-2006, 03:09 PM
Take a look in LDM/admin/permissions. Whenever registered users are allowed to do something, you should also give your new usergroup the same permission. (By default they will not have it.)

The new usergroup has exactly the same permissions as registered users and moderators. Perhaps you could log in as a member of the new usergroup and tell me what you see on your end?

Link: http://www.stamp-shack.com/forum/local_links.php?catid=12

User: testergal
PW: happyday

AndrewD
12-28-2006, 03:28 PM
The new usergroup has exactly the same permissions as registered users and moderators. Perhaps you could log in as a member of the new usergroup and tell me what you see on your end?

Link: http://www.stamp-shack.com/forum/local_links.php?catid=12

User: testergal
PW: happyday

I see your problem. Can you send me a PM with an admin account, so that I can look inside?

AndrewD
12-28-2006, 03:58 PM
The new usergroup has exactly the same permissions as registered users and moderators. Perhaps you could log in as a member of the new usergroup and tell me what you see on your end?

Link: http://www.stamp-shack.com/forum/local_links.php?catid=12

User: testergal
PW: happyday

See PM for the fix

Ucla74
12-29-2006, 02:09 AM
Andrew, I'm very new to vB and vBA. I really want to use LDM as a links manager for my site, but I've been struggling for 3 days with this problem: Unregistered visitors can see the vBA homepage just fine -- 3 columns. But once you log in, everything is in one column.

Here are screenshots to illustrate what I mean: http://oops-hq.us

http://tkfu.com/beibhinn/oops2.gif

http://tkfu.com/beibhinn/oops3.gif

At the moment, I've uninstalled LDM (but I did export my links in an xml file). I wonder if you would mind looking at the site to see what I'm doing wrong. (I suspect I need to change some php code somewhere, but I am very confused by php, where to find files, etc.)

I've taken the liberty of sending you an admin logon name & password, if you want to take a shot at fixing things.

Thanks very much!

Brew
12-29-2006, 03:57 AM
Andrew, I'm very new to vB and vBA. I really want to use LDM as a links manager for my site, but I've been struggling for 3 days with this problem: Unregistered visitors can see the vBA homepage just fine -- 3 columns. But once you log in, everything is in one column.

Here are screenshots to illustrate what I mean: http://oops-hq.us

http://tkfu.com/beibhinn/oops2.gif

http://tkfu.com/beibhinn/oops3.gif

At the moment, I've uninstalled LDM (but I did export my links in an xml file). I wonder if you would mind looking at the site to see what I'm doing wrong. (I suspect I need to change some php code somewhere, but I am very confused by php, where to find files, etc.)

I've taken the liberty of sending you an admin logon name & password, if you want to take a shot at fixing things.

Thanks very much!

I was looking into installing this but I think I'll wait to see if there is a fix with this problem. My DB is way to large to keep making backups and reinstalls.

:cool:

Brew

AndrewD
12-29-2006, 06:38 AM
Andrew, I'm very new to vB and vBA. I really want to use LDM as a links manager for my site, but I've been struggling for 3 days with this problem: Unregistered visitors can see the vBA homepage just fine -- 3 columns. But once you log in, everything is in one column.

Here are screenshots to illustrate what I mean: http://oops-hq.us

http://tkfu.com/beibhinn/oops2.gif

http://tkfu.com/beibhinn/oops3.gif

At the moment, I've uninstalled LDM (but I did export my links in an xml file). I wonder if you would mind looking at the site to see what I'm doing wrong. (I suspect I need to change some php code somewhere, but I am very confused by php, where to find files, etc.)

I've taken the liberty of sending you an admin logon name & password, if you want to take a shot at fixing things.

Thanks very much!

I think you had probably installed something the wrong way - the broken column layout was caused by a faulty mix of html commands. Anyway, I've reinstalled two LDM VBA modules on your site (category list and what's new) just to show that things are working correctly. If you want to add/change these, I recommend you use the 'vba_modules.zip' in the top post of this thread, rather than the files that are actually in the LDM release zip, which have not been properly 'module'ised.

Get back to me if you still have problems.

AndrewD
12-29-2006, 06:40 AM
I was looking into installing this but I think I'll wait to see if there is a fix with this problem. My DB is way to large to keep making backups and reinstalls.

:cool:

Brew

A cautious man, indeed....

I don't think I've destroyed many databases recently, but perhaps the victims are out on the streets of Paris today, waiting to gain their revenge on me.

Seriously, am happy to be of help to you.

Ucla74
12-29-2006, 02:31 PM
I think you had probably installed something the wrong way - the broken column layout was caused by a faulty mix of html commands. Anyway, I've reinstalled two LDM VBA modules on your site (category list and what's new) just to show that things are working correctly. If you want to add/change these, I recommend you use the 'vba_modules.zip' in the top post of this thread, rather than the files that are actually in the LDM release zip, which have not been properly 'module'ised.

Get back to me if you still have problems.

Ahhh...no doubt, that's what I did. Thank you very much for the help--that's perfect! I doubt I'll need more than those two modules for quite awhile.

Thanks again, and Happy New Year!

AndrewD
12-29-2006, 06:01 PM
Hi Andrew,
Any way to make this easier to look at?
Perhaps set it up more like a directory?
like http://linkageplus.com

I am willing to pay for this. Please let me know

Something like this?

Slave
12-30-2006, 01:41 AM
Looking good so far Andrew :)

my 2d .. make the top level categories a larger font and limit the subcats to a user nominated number. Perhaps allow the picking of which subcats to show, although this would increase the amount of coding needed.

Final thing would be to limit the amount of text per subcat to enable a clean look over however many columns chosen.

Hope that helps :)

zellvnn
12-30-2006, 07:23 PM
avi extension isn't working in Jukebox sir

Zowners
12-31-2006, 02:17 AM
Hey Andrew just asking about that additional extra you gave me to limit downloads by posts. I want to add usergroup id 17 to the exceptions so that they dont require posts to download, im having difficulty finding where to add it in the code.

AndrewD
12-31-2006, 04:22 AM
Hey Andrew just asking about that additional extra you gave me to limit downloads by posts. I want to add usergroup id 17 to the exceptions so that they dont require posts to download, im having difficulty finding where to add it in the code.

Take a look in the plugin code and find the line


$exclude_groups = array(6);


Change this to, e.g.


$exclude_groups = array(6, 17);

AndrewD
12-31-2006, 04:55 AM
avi extension isn't working in Jukebox sir

I assumne you've added mimetype info (video/avi) for the avi filetype to the vbulletin file attachments table. (I.e. does the player open but then not play anything?)

I've set up LDM to use WMP to handle the avi filetype by default. However, avi files come in different formats. Windows Media Player only handles some of them. (It depends on the video codec used to produce the file.)

DivX is another player which works better. Try switching to this - LDM/admin/settings, find the Media File and Jukebox Settings section, and remove avi from the musicbox_filetypes list and add it to the musicbox_filetypes_divx
list.

The DivX player has to be downloaded from the divx web site. It should auto download when you try to play a file through it, but you can also pre-install it by going to http://www.divx.com/divx/webplayer/

Zowners
12-31-2006, 06:34 AM
Thanks worked perfectly lets all bow down to your fast responses.

mike the mix
12-31-2006, 04:54 PM
I am an absolute Newbie and struggling. I have a simple vB running very well (latest release) and wish to add a simple "web site" on the same server containing some html pages which link to pdf files. I want to control access to the "web site" using vB, so that only registered users get access. I have uploaded the web site and its files (via ftp) to a new directory (with 777 rights) on the same level as public_html (so it is not visible or accessible to internet browsers).
I have installed LDM and have sucessfully got it to link to the "index" page of my web site. However, when I then attempt to follow a link into the site, it attempts to use the normal url - which cannot be resolved. What am i doing wrong? Do i need to upload the site and its linked files using LDM? How?

Thanks and regards,
Mike

AndrewD
12-31-2006, 06:18 PM
I am an absolute Newbie and struggling. I have a simple vB running very well (latest release) and wish to add a simple "web site" on the same server containing some html pages which link to pdf files. I want to control access to the "web site" using vB, so that only registered users get access. I have uploaded the web site and its files (via ftp) to a new directory (with 777 rights) on the same level as public_html (so it is not visible or accessible to internet browsers).
I have installed LDM and have sucessfully got it to link to the "index" page of my web site. However, when I then attempt to follow a link into the site, it attempts to use the normal url - which cannot be resolved. What am i doing wrong? Do i need to upload the site and its linked files using LDM? How?

Thanks and regards,
Mike

Not sure what you've done wrong, but you don't need the separate html page to manage access to these pdf files. LDM does this directly. This is what you do:

- Create (or choose) one of your VB forums that is only available to your registered users
- Create an LDM category, and on the category creation form, select the protected VB forum.
- Create entries in that forum pointing to each of your pdf files.

These are then accessible only to your registered users.

Happy to give more help if needed.

Spinball
12-31-2006, 10:15 PM
Andrew is it possible to put a limit on the size of the description?
Companies are taking the mickey a bit and putting over long adverts in there.

AndrewD
01-01-2007, 04:17 AM
Andrew is it possible to put a limit on the size of the description?
Companies are taking the mickey a bit and putting over long adverts in there.

<max_textlength> in LDM/admin/settings - the security and user access section - that should do the trick. Currently, this is an 'all or nothing' setting - you can't place different limits on entries in different categories. You might also give people a gentle encouragement in the message you put in <use_instructions> in the same part of the LDM admin/settings page.

Ucla74
01-01-2007, 05:59 PM
Site: http://oops-hq.us If using the Default style, clicking the "What's New" button at the bottom of the center column opens the list. However, if using any other style, you can see about a 1 or 2px line change, but no list. What do I need to change to correct this?

AndrewD
01-01-2007, 07:11 PM
Site: http://oops-hq.us If using the Default style, clicking the "What's New" button at the bottom of the center column opens the list. However, if using any other style, you can see about a 1 or 2px line change, but no list. What do I need to change to correct this?

Can't say without looking, and you seem to have changed the password you sent me...

Ucla74
01-01-2007, 10:30 PM
Can't say without looking, and you seem to have changed the password you sent me...

Sorry...forgot I'd reset that. Fixed. :) Thanks, Andrew!

bigdaddyforums
01-02-2007, 03:04 AM
Sorry, I don't quite understand your question.

Do you mean the title bar at the top of the browser? - maybe you could post a screen shot to show me.

Hi Andrew posted a screenshot there for you, what I meant by the question is that all the page titles in the <title> tag are the same.

So you can see in the screenshot that I'm viewing a file called Stuart Mckeown - Stucast003

Therefore the title tag should be something like:

<title>Stuart McKeown - Stucast003 - Category Name - Board Name</title>

It puts the category names in the title tag fine, just doesn't include the actual file name. Does this help explain it a bit better? :)

Also I'd quite like to see FTP upload with a Progress Bar. I've got people trying to upload 200mb sets but it just times out on them after an hour or so. So it'd be nice to see how long you have left to upload with a nice progress bar etc :)

Keep up the good work!

Stuart

AndrewD
01-02-2007, 04:22 AM
Hi Andrew posted a screenshot there for you, what I meant by the question is that all the page titles in the <title> tag are the same.

So you can see in the screenshot that I'm viewing a file called Stuart Mckeown - Stucast003

Therefore the title tag should be something like:

<title>Stuart McKeown - Stucast003 - Category Name - Board Name</title>

It puts the category names in the title tag fine, just doesn't include the actual file name. Does this help explain it a bit better? :)

Thanks - this will be in 2.2.7 when available (alpha 1 in a few days, I hope)

Also I'd quite like to see FTP upload with a Progress Bar. I've got people trying to upload 200mb sets but it just times out on them after an hour or so. So it'd be nice to see how long you have left to upload with a nice progress bar etc :)


Yes, I know what you mean... I gave this som ethought before - probably the easiest and most robust solution is to offer an optional addon to one of the Java uploader scripts

butty
01-02-2007, 11:35 AM
hi andrew. first up thanks for a great release. i dont like installing too many addons to my forums. esp large changes as if the support and updates went from then id be basically screwed lol

from what ive seen of your plugin and the eager to help people out with there problems i didnt think twice before sticking it on. it definetley is one of the finest additions to vbulletin so well done :)

now to my problem lol

i have bought wimpy player for my forum and im hoping to have the ldm system working as a simple mp3 streamer for mp3 files.

the problem i have is that for one the wimpy player flash button is great but it doesnt stop playing when another one is clicked on the same page can u think of a way to solve this?. also if u navigate from the page it stops altho the nature of flash i can understand having to live with that.

the other issue is that if you have over about 15/20 entries per page or more the page loading and scrolling etc slows down to a crawl you can see what i mean here

http://www.oldskoolanthemz.com/forum/local_links.php?catid=13

id rather not have only 15 per page as my archive is going to be full of hundreds of mp3's, is there a way of solving these problems

of course i understand if because of wimpy and constraints with the flash buttons etc this isnt possible.

if this is the case could ya let me know as i will change it over to non wimpy buttons and then explain and show you some of the problems i have doing things with the built in player, hopefully ya will be able to give me some advise on how i can get it functioning as i would like

many thanks andrew and keep up the good work :D

AndrewD
01-02-2007, 11:46 AM
hi andrew. first up thanks for a great release. i dont like installing too many addons to my forums. esp large changes as if the support and updates went from then id be basically screwed lol

from what ive seen of your plugin and the eager to help people out with there problems i didnt think twice before sticking it on. it definetley is one of the finest additions to vbulletin so well done :)

now to my problem lol

i have bought wimpy player for my forum and im hoping to have the ldm system working as a simple mp3 streamer for mp3 files.

the problem i have is that for one the wimpy player flash button is great but it doesnt stop playing when another one is clicked on the same page can u think of a way to solve this?. also if u navigate from the page it stops altho the nature of flash i can understand having to live with that.

the other issue is that if you have over about 15/20 entries per page or more the page loading and scrolling etc slows down to a crawl you can see what i mean here

http://www.oldskoolanthemz.com/forum/local_links.php?catid=13

id rather not have only 15 per page as my archive is going to be full of hundreds of mp3's, is there a way of solving these problems

of course i understand if because of wimpy and constraints with the flash buttons etc this isnt possible.

if this is the case could ya let me know as i will change it over to non wimpy buttons and then explain and show you some of the problems i have doing things with the built in player, hopefully ya will be able to give me some advise on how i can get it functioning as i would like

many thanks andrew and keep up the good work :D

I see what you mean - I think the page load speed is probably because of all the wimpy buttons - I'll take a look into it and see if there's a way of overcoming this and your other problem.

Ucla74
01-02-2007, 12:13 PM
Sorry...forgot I'd reset that. Fixed. :) Thanks, Andrew!

Just so it's clear--I fixed the password, not the problem. :)

chorton
01-02-2007, 12:40 PM
Is it possible on the ratings to make it mandatory that they leave STARS as well? My members complain that the rating sytem devalue's some of the songs if the person letting a review/comment forgets to let stars.
I would like it to be required they they pick a star rating.

|oR|Greg
01-02-2007, 12:42 PM
Andrew, have you considered using an FLV player for locally hosted FLV videos?

I'm using one, and it's pretty sweet.

AndrewD
01-02-2007, 01:00 PM
Just so it's clear--I fixed the password, not the problem. :)

Yes, I'd realised - am back at work now, so will take a look this evening...

AndrewD
01-02-2007, 01:01 PM
Andrew, have you considered using an FLV player for locally hosted FLV videos?

I'm using one, and it's pretty sweet.

Wimpy Flash makes my life easiest...

AndrewD
01-02-2007, 01:04 PM
Is it possible on the ratings to make it mandatory that they leave STARS as well? My members complain that the rating sytem devalue's some of the songs if the person letting a review/comment forgets to let stars.
I would like it to be required they they pick a star rating.

OK, will add a switch.

I've been thinking for some time about Slave's idea for tag clouds. He'd suggested using keywords as the markers of proximity. I'm wondering about using people's collective "hit" and "rating" patterns - rather like in Amazon, you get suggestions of things you may like based on what you buy and others buy. What would you think about an add-on that helped people find other music they might like?

|oR|Greg
01-02-2007, 01:23 PM
Is there anyway to make the comments system post to the discussion thread if you're using the auto-thread-create plugin?

chorton
01-02-2007, 01:30 PM
What would you think about an add-on that helped people find other music they might like?

I think that would be a great idea.

butty
01-02-2007, 01:34 PM
I think that would be a great idea.

what he said! :)

AndrewD
01-02-2007, 05:37 PM
Second question first.

the other issue is that if you have over about 15/20 entries per page or more the page loading and scrolling etc slows down to a crawl you can see what i mean here

http://www.oldskoolanthemz.com/forum/local_links.php?catid=13

id rather not have only 15 per page as my archive is going to be full of hundreds of mp3's, is there a way of solving these problems

of course i understand if because of wimpy and constraints with the flash buttons etc this isnt possible.


As far as I can tell, this is a problem with dear old Internet Explorer. The scrolling problem does not occur with either Firefox or Opera. I wondered if this was possibly due to IE using the <object> tags and the others using the <embed> tags for Flash, but this seems not to make any difference - as soon as you load up 20+ flash tags on the same page, IE slows to a crawl.


the problem i have is that for one the wimpy player flash button is great but it doesnt stop playing when another one is clicked on the same page can u think of a way to solve this?. also if u navigate from the page it stops altho the nature of flash i can understand having to live with that.

Yes, this is down to the coding of the wimpy button.

Have you tried using the other wimpy addin I've supplied, which uses the regular wimpy player inside the jukebox? This would solve both your problems at the same time - there would only be one flash object at a time, and any request to play a new trac would automatically stop the earlier one.

AndrewD
01-02-2007, 06:30 PM
Site: http://oops-hq.us If using the Default style, clicking the "What's New" button at the bottom of the center column opens the list. However, if using any other style, you can see about a 1 or 2px line change, but no list. What do I need to change to correct this?

This one was weird, but I think I know the reason, although I can't duplicate your problem exactly.

On your site, showing "what's new" produces a list in which the first entry - Mithan's Burning Crusade Starter Guide and Starter FAQ - uses a QUOTE bbcode. This expands into some html which LDM "mistreats". As a result, the page that is thrown at the user's browser contains illegal html, which will probably break some browsers.

The attached update of local_links_search.php should fix the problem. Upload it into your main forums directory. Please let me know if it works.

Ucla74
01-02-2007, 06:38 PM
This one was weird, but I think I know the reason, although I can't duplicate your problem exactly.

On your site, showing "what's new" produces a list in which the first entry - Mithan's Burning Crusade Starter Guide and Starter FAQ - uses a QUOTE bbcode. This expands into some html which LDM "mistreats". As a result, the page that is thrown at the user's browser contains illegal html, which will probably break some browsers.

The attached update of local_links_search.php should fix the problem. Upload it into your main forums directory. Please let me know if it works.

I'll give that a try when I get home tonight (no FTP from my office :(). However, the problem existed before I added that link--not sure if that info makes any difference. Will update you after I upload that file. I just don't understand why changing from the default style affects the display of "What's New".

AndrewD
01-02-2007, 07:12 PM
I'll give that a try when I get home tonight (no FTP from my office :(). However, the problem existed before I added that link--not sure if that info makes any difference. Will update you after I upload that file. I just don't understand why changing from the default style affects the display of "What's New".

If this isn't the solution, then I'm not sure I'm understanding your problem - I can't reproduce the symptoms you described, so you'll need to spell out what you're doing to trigger the problem.

Slave
01-02-2007, 08:28 PM
I've been thinking for some time about Slave's idea for tag clouds. He'd suggested using keywords as the markers of proximity. I'm wondering about using people's collective "hit" and "rating" patterns - rather like in Amazon, you get suggestions of things you may like based on what you buy and others buy. What would you think about an add-on that helped people find other music they might like?
Whoop! .. I thought you'd forgotten ;) .. heh .. glad i could give you something to think about :)

I'm looking forward to the next release :D

58D
01-03-2007, 01:09 AM
Would it be possible to get a couple of links to some working sites with this mod? The screen shots aren't doing it for me. Thanks!

Jake

butty
01-03-2007, 01:45 AM
Second question first.



As far as I can tell, this is a problem with dear old Internet Explorer. The scrolling problem does not occur with either Firefox or Opera. I wondered if this was possibly due to IE using the <object> tags and the others using the <embed> tags for Flash, but this seems not to make any difference - as soon as you load up 20+ flash tags on the same page, IE slows to a crawl.




Yes, this is down to the coding of the wimpy button.

Have you tried using the other wimpy addin I've supplied, which uses the regular wimpy player inside the jukebox? This would solve both your problems at the same time - there would only be one flash object at a time, and any request to play a new trac would automatically stop the earlier one.


many thanks for the reply andrew and for looking into this for us. i have tried the wimpy jukebox already but i was hitting problems with that too. il explain these problems to you as it may be something you will be able to help me with as its more to do with ldm rather than wimpy

basically i have my vbadvanced set so that it shows my left vbadvanced column to the left of the ldm. i have done this by adding this to the top of local_links.php as instructed by vbadvanced

<?php
define('VBA_PORTAL', true);
define('VBA_PAGE', 'tunearchive');

and then i added the page in vbadvanced named tunearchive and specified it to show the left navigation column - this is something i need to have on my forum or i can see people getting awfulley confused while navigating the link directory

and so this brings with it its own problem. when you click a link to play it in the jukebox it opens another window. when it opens this new window it also adds the navigation panel and so opens pretty much a full size screen. ive changed it over now so you can see for yourself what its doing.

http://www.oldskoolanthemz.com/forum/local_links.php?catid=13

if i could get it going so that it opened another small window with the player in it then that would be great.

the other problem with this way of having the links is that i would like the jukebox to open up when the mp3 is clicked on from the list of mp3's in the archive. the way the ldm system currently works in this state is that you click the link then go to another page and click the link again to open in the jukebox. i would rather it have a play button (like the wimpy button system) from the main list of mp3's in that category that would then open the jukebox and play the file.

i hope this makes sense as its hard to explain lol. many thanks once again andrew for your time its greatly appreciated :)

AndrewD
01-03-2007, 04:01 AM
Would it be possible to get a couple of links to some working sites with this mod? The screen shots aren't doing it for me. Thanks!

Jake

The online manual contains links to three sample sites

http://www.eirma.org/wikis/index.php/Links_and_Downloads_Manager#Screenshots_and_Exampl e_Sites

Ucla74
01-03-2007, 04:01 AM
If this isn't the solution, then I'm not sure I'm understanding your problem - I can't reproduce the symptoms you described, so you'll need to spell out what you're doing to trigger the problem.

Here is the problem I'm seeing (your file didn't help, unfortunately):
Using the Default Style, clicking &quot;What's New&quot; properly opens the dropdown list of 5 latest items.
Using any other style (for instance, Black and Gray), clicking &quot;What's New&quot; does not open the dropdown.
I don't know enough about php to know whether the problem is actually in LDM, or is a CSS issue, or what.

AndrewD
01-03-2007, 04:09 AM
many thanks for the reply andrew and for looking into this for us. i have tried the wimpy jukebox already but i was hitting problems with that too. il explain these problems to you as it may be something you will be able to help me with as its more to do with ldm rather than wimpy

basically i have my vbadvanced set so that it shows my left vbadvanced column to the left of the ldm. i have done this by adding this to the top of local_links.php as instructed by vbadvanced

<?php
define('VBA_PORTAL', true);
define('VBA_PAGE', 'tunearchive');

and then i added the page in vbadvanced named tunearchive and specified it to show the left navigation column - this is something i need to have on my forum or i can see people getting awfulley confused while navigating the link directory

and so this brings with it its own problem. when you click a link to play it in the jukebox it opens another window. when it opens this new window it also adds the navigation panel and so opens pretty much a full size screen. ive changed it over now so you can see for yourself what its doing.

http://www.oldskoolanthemz.com/forum/local_links.php?catid=13

if i could get it going so that it opened another small window with the player in it then that would be great.

the other problem with this way of having the links is that i would like the jukebox to open up when the mp3 is clicked on from the list of mp3's in the archive. the way the ldm system currently works in this state is that you click the link then go to another page and click the link again to open in the jukebox. i would rather it have a play button (like the wimpy button system) from the main list of mp3's in that category that would then open the jukebox and play the file.

i hope this makes sense as its hard to explain lol. many thanks once again andrew for your time its greatly appreciated :)

Makes sense (mostly :tired: ) - probably the solution is to have some sort of javascripted solution within the same page - wimpy can certainly handle this - let's think about it.

AndrewD
01-03-2007, 04:15 AM
Here is the problem I'm seeing (your file didn't help, unfortunately):
Using the Default Style, clicking &quot;What's New&quot; properly opens the dropdown list of 5 latest items.
Using any other style (for instance, Black and Gray), clicking &quot;What's New&quot; does not open the dropdown.
I don't know enough about php to know whether the problem is actually in LDM, or is a CSS issue, or what.

I'm really getting lost. Just to be clear - are we talking about this sequence:

http://oops-hq.us/vbforums/local_links.php

-> select menu item Show -> reveals drop down - select What's New

This works fine for me whatever styles I select. But you've got your styling instructions set up in LDM so that any *show* or *search* command is going to go back to the *Default Style* style

Spinball
01-03-2007, 11:27 AM
Andrew in the Adminster/Statistics page, I get a message at the bottom:
MySQL timeout 15
Low value for MySQL wait_timeou
This is the setting advised by the optimisation bods on vBulletin.com.
What is considered a normal value?

chorton
01-03-2007, 11:30 AM
Would it be possible to get a couple of links to some working sites with this mod? The screen shots aren't doing it for me. Thanks!

Jake

www.versionist.com is using this mod and vbadvanced.

AndrewD
01-03-2007, 11:38 AM
Andrew in the Adminster/Statistics page, I get a message at the bottom:

This is the setting advised by the optimisation bods on vBulletin.com.
What is considered a normal value?

15 seconds is not necessaily bad - but when sites offer very large files for downloaded, I've seen situations where the connection to the database is being disconnected before the transfer has completed. This value is being flagged by LDM when it's less than 1 hour, even though that would normally be an unnecessarily high value.

I think the default setting is something enormous.

|oR|Greg
01-03-2007, 12:13 PM
<a href="https://vborg.vbsupport.ru/showpost.php?p=1149134&postcount=947" target="_blank">cough</a>

AndrewD
01-03-2007, 12:17 PM
cough (https://vborg.vbsupport.ru/showpost.php?p=1149134&postcount=947)

sneeze - noted

Ucla74
01-03-2007, 12:21 PM
I'm really getting lost. Just to be clear - are we talking about this sequence:

http://oops-hq.us/vbforums/local_links.php

-> select menu item Show -> reveals drop down - select What's New

This works fine for me whatever styles I select. But you've got your styling instructions set up in LDM so that any *show* or *search* command is going to go back to the *Default Style* style

No, that's not the sequence I'm talking about. When you go to http://oops-hq.us, you get the vBA portal. At the bottom of the center column is the "What's New" listing--which ONLY drops down from the default style--on the portal page.

As for this--"But you've got your styling instructions set up in LDM so that any *show* or *search* command is going to go back to the *Default Style*" -- how do I change that?

|oR|Greg
01-03-2007, 02:05 PM
sneeze - noted
You make me feel so special... like a celebrity, or royalty... or ... or ... a :pirate:

p.s. God Bless You, A vos souhaits, Gesundheit

AndrewD
01-03-2007, 02:51 PM
No, that's not the sequence I'm talking about. When you go to http://oops-hq.us, you get the vBA portal. At the bottom of the center column is the "What's New" listing--which ONLY drops down from the default style--on the portal page.

Sorry about that - misunderstood you.

I think you'll find that the "adv_portal_custom_ldm_new_one" template has not been installed in all your styles. I don't have access to that part of your admincp, so I can't check. Not sure if this was my mistake or yours - vbadvanced is not something I use on a day to day basis. Simply go into your main admincp, and copy the template over to the other styles.


As for this--"But you've got your styling instructions set up in LDM so that any *show* or *search* command is going to go back to the *Default Style*" -- how do I change that?

LDM can be told to use specific styles or to use the current default. This can be done at the LDM admin level or per category. Whatever you tell it to use, the instruction is inherited by all child categories, unless they have been told to use something else. Does that make sense so far?

In setting up your LDM, you've set the main admin style setting(LDM/admin/settings/default_style) to the one you've called "Default Style". Consequently, LDM will use this, regardless of what the user selects.

If you want LDM to follow the user's choice and the general site default, then set LDM/admin/settings/default_style to "Use default"

Ucla74
01-03-2007, 03:09 PM
Andrew, that all makes perfect sense! Thanks so very much! I'll take care of all that ASAP. Thanks again--I can only echo what so many others have said here: You go above and beyond any user's reasonable expectation, and it's greatly appreciated.

AndrewD
01-03-2007, 04:10 PM
Is there anyway to make the comments system post to the discussion thread if you're using the auto-thread-create plugin?

this is do-able. will post the add-on soon.

|oR|Greg
01-03-2007, 04:26 PM
this is do-able. will post the add-on soon.

WAHOOOOOOOOO!

MythoLogy
01-03-2007, 05:35 PM
Awesome job AndrewD - this mod is simply amazing. So much to it.

AndrewD
01-03-2007, 06:15 PM
WAHOOOOOOOOO!

Try this if you dare...

Upload as a new plugin - you need the existing autocreate extra installed.

If someone adds a comment/rating
- to an entry which has already had a thread autocreated
- and the thread still exists and is correctly identified in the entry's description
- and the commenting user has permission to post in that thread
- and a few other things

then the new comment/rating will also be posted to the thread

Let me know if it works ok.

|oR|Greg
01-03-2007, 06:40 PM
Can't. Host decided to start my upgrade without informing me. Sigh. So.. I'm down for 4-24 hours, until DNS updates. Thanks in advance though!

Slave
01-03-2007, 07:58 PM
Try this if you dare...

Upload as a new plugin - you need the existing autocreate extra installed.

If someone adds a comment/rating
- to an entry which has already had a thread autocreated
- and the thread still exists and is correctly identified in the entry's description
- and the commenting user has permission to post in that thread
- and a few other things

then the new comment/rating will also be posted to the thread

Let me know if it works ok.
Andrew .. Does this work as per the wish list entry .. ?

Integrate comments system with forums - plug in provided to autocreate threads - Couldn't the autocreate-threads extra be changed to just create a thread once a comment had been made. At which point LDM would know the thread id and then be able to keep an eye on things like the amount of posts/comments as well as the rating the thread has been given (and therefore the rating for the entry) .. ?

If it doesn't could you explain the differences please? Thanks :)

|oR|Greg
01-03-2007, 08:02 PM
Site is upgraded, and DNS is up to date for me. Trying it now. In the mean time... the thingy for the auto-thumbnail website whatever (the reason I moved servers PHP version 5.1.6) is still not working. Sigh.

|oR|Greg
01-03-2007, 08:16 PM
The Thread/Comment works, however I noticed it's a 1 way thing. Anyway to parse the thread and have it's comments pulled into LDM as well, so it's 2-way?

Also, I had a bad IMG when it tried to pull in the RATING.
Because I use full paths for my image paths (since I use vBA and it solves a lot of problems) I had to eliminate this in the plugin.

.$vbulletin->options['bburl']."/"

|oR|Greg
01-03-2007, 09:07 PM
Something else I noticed, the ratings don't actually count toward the post, they're just a GIF in the reply. Can these be sync'd, or optionally eliminated per category or something?

Andrew what I'm looking for is like... well... nothing short of a miracle. Total integration of LDM... so get to it already!

|oR|Greg
01-03-2007, 11:23 PM
<a href="https://vborg.vbsupport.ru/showpost.php?p=1150248&postcount=32" target="_blank">https://vborg.vbsupport.ru/showp...8&postcount=32</a>

AndrewD
01-04-2007, 04:30 AM
Something else I noticed, the ratings don't actually count toward the post, they're just a GIF in the reply. Can these be sync'd, or optionally eliminated per category or something?

Andrew what I'm looking for is like... well... nothing short of a miracle. Total integration of LDM... so get to it already!

I've tried to avoid total integration with the vb posting system, as it makes ldm very sensitive to changes in the vb code. The vb guys are good about about keeping the guts of vb stable, but there are often changes within the layers on top, like posts, ratings, etc.

I'll add these things you suggest to the list - I think they are all do-able- but they are not an immediate priority to work on.

AndrewD
01-04-2007, 04:36 AM
Andrew .. Does this work as per the wish list entry .. ?

Couldn't the autocreate-threads extra be changed to just create a thread once a comment had been made. At which point LDM would know the thread id and then be able to keep an eye on things like the amount of posts/comments as well as the rating the thread has been given (and therefore the rating for the entry) .. ?

If it doesn't could you explain the differences please? Thanks :)

It's the first step:

- the thread is created when the entry is actually submitted (or accepted by the moderator)
- when someone adds a comment, a post is appended to the thread, reflecting the comment and rating, i.e. the comments appear in two places (in LDM and in VB)

To go further (e.g. greg's suggestions to have new posts place comments back into ldm), I need to change the LDM data structure to track the threadid, etc, and I also need to find out a safe and simple way of tracking everything else in the vb post system.

|oR|Greg
01-04-2007, 02:19 PM
Tried SNAP plugin too... doesn't work.

AndrewD
01-04-2007, 02:26 PM
Tried SNAP plugin too... doesn't work.

They worked fine when they left me - let's sort this out this evening (my time) - I'll be home in about an hour from now.

|oR|Greg
01-04-2007, 02:31 PM
It's probably a java scripting issue since that's what it always seems to be on my end. OH, I can't WAIT till you're home, I'll put the kettle on! :smiles with glee:

AndrewD
01-04-2007, 04:07 PM
It's probably a java scripting issue since that's what it always seems to be on my end. OH, I can't WAIT till you're home, I'll put the kettle on! :smiles with glee:

No, it's not a javascripting issue (not quite).

You're using a vbadvanced wraparound for LDM, and as a result you never use the standard LDM header template. Consequently, the tags for snap were not being included.

Unfortunately, vba doesn't provide any hooks, and it sets up its header template *before* vb gets going, so there's no simple way to patch into the vba header template by a hook.

So - proof of concept - I've edited your adv_portal template in your AMAC midnight style and hard coded the javascript to load snap. All your LDM links which point to an external url now have a popup over the title which gives a snap image.

Now we take a look at the other plugins and see what's wrong...

AndrewD
01-04-2007, 04:32 PM
No, it's not a javascripting issue (not quite).

You're using a vbadvanced wraparound for LDM, and as a result you never use the standard LDM header template. Consequently, the tags for snap were not being included.

Unfortunately, vba doesn't provide any hooks, and it sets up its header template *before* vb gets going, so there's no simple way to patch into the vba header template by a hook.

So - proof of concept - I've edited your adv_portal template in your AMAC midnight style and hard coded the javascript to load snap. All your LDM links which point to an external url now have a popup over the title which gives a snap image.

Now we take a look at the other plugins and see what's wrong...

And for the artviper and webthumbs, I admit to being a complete wally..

These require my bug-fixed 2.2.6, which I hadn't uploaded for the rest of you to use. (This is what happens when I try to bring Christmas cheer.)

Let me know if you want these, or if you are happy to wait for 2.2.7

|oR|Greg
01-04-2007, 04:33 PM
I've gotten rid of the vba wrap around actually, but not fully cleaned out the code for it, just disabled the modules it was calling.

As for the other plugins, which ones are you referring to?

|oR|Greg
01-04-2007, 04:36 PM
Whoops, just read about webthumbs, I'm perfectly ok with Snap for now then. When 2.2.7 comes along it'll be great.

|oR|Greg
01-05-2007, 04:10 PM
Whatever changes you made, I had to disable the SNAP plugins. It was causing ALL links to open in a new window, even though I don't have LDM set in that way. And it was also causing any links people put in posts, or in signatures to use SNAP.

AndrewD
01-05-2007, 04:24 PM
Whatever changes you made, I had to disable the SNAP plugins. It was causing ALL links to open in a new window, even though I don't have LDM set in that way. And it was also causing any links people put in posts, or in signatures to use SNAP.

Looks like a project that needs some more thinking....

If necessary, take a look at your adv_portal template. I added a line of javascript in there also.

|oR|Greg
01-05-2007, 05:07 PM
Yeah, I'm just going to wait till 2.2.7 then I can use webthumbs which is what I wanted to begin with.

Ophelia
01-07-2007, 01:27 PM
Okay... newbie question :)

How do I set it up so that all usergroups (save one) can view the downloads, but not download them?

I know it can be done, and had it set up like that once, but for the life of me, can't remember how!

AndrewD
01-07-2007, 01:42 PM
Okay... newbie question :)

How do I set it up so that all usergroups (save one) can view the downloads, but not download them?

I know it can be done, and had it set up like that once, but for the life of me, can't remember how!

Stacy, it's the *can_access_link* permission. Give it and deny it as you wish.

You can do this for the whole board - LDM/admin/permissions - or per category - Go to category - edit category - select permissions tab

I've got the auto-move expired links to another category coded and tested - it will be available shortly when the 2.2.7 is made available for alpha tests.

Ophelia
01-07-2007, 02:25 PM
Stacy, it's the *can_access_link* permission. Give it and deny it as you wish.

You can do this for the whole board - LDM/admin/permissions - or per category - Go to category - edit category - select permissions tab

I've got the auto-move expired links to another category coded and tested - it will be available shortly when the 2.2.7 is made available for alpha tests.

Andrew, thank you :) It worked perfectly!

And we are very excited about the auto move function. I've been keeping my team up to date on what changes they might be able to expect, and they are tickled pink about this one, and have totally fallen in love with the schedule function!

|oR|Greg
01-07-2007, 03:17 PM
schedule?

AndrewD
01-07-2007, 03:51 PM
schedule?

You can have it now, if you want something that silently destroys your database :alien:

Or you can have it quite soon when I've done some more testing ...:tired:

|oR|Greg
01-07-2007, 06:15 PM
Destroys DB? Uhhh no thank you?

icemanic
01-07-2007, 06:35 PM
is it possible to have local_links.php and other files in its own directory?

i wish to have it like this: http://forum.com/forum/directory

so it is in its own directory subdirectory....

58D
01-08-2007, 01:10 AM
The online manual contains links to three sample sites
Don't know how I missed them.....Oh wait, yeah I do....Im an Idiot! :D

Anyway, I was also wondering if the file upload and download can be turned off? I only need a simple links manager at the moment. Is this the right plug-in for me? Thanks.

Jake

Zowners
01-08-2007, 02:56 AM
Is it possible to make a mirror link for for any links added, which will show for certain member groups.

Or possibly making it so different usergroups get a different link for example. registered user clicks on music.wmv and downloads from a public server where as a premimum member clicks it and downloads from a private server.