PDA

View Full Version : Links and Downloads Manager


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

Alfa1
06-08-2006, 02:26 PM
I have used the search function for this, but could not find an answers:

I want to display the total LDM as a block in vBadvanced. How do I do that. Is there a plug in or module for this?

Another question: I use the LDM_new.php module. How can I make it display icons as well?

redlabour
06-08-2006, 03:47 PM
Will it work in the Future with vBulletin 3.6 (http://www.vbulletin.com/forum/showthread.php?t=187654) ?

sonicBeagle
06-09-2006, 01:17 AM
Will Links and Downloads Manager improve download stability?

By this I mean that many of my users report aborted and incomplete downloads when trying to pull 100Mb attachments from posts in my forums. The folks at vBulletin have suggested that their product was never intended for that purpose, and who am I to argue with them? All I know is that I need to be able to reliably download large files from my forums.

If LDM is not the answer, and anyone knows what is, I would greatly appreciate some guidance. Money is not the issue here - reliable downloading is the issue and I can pay for a solution.

Mike

GrendelKhan{TSU
06-09-2006, 04:07 AM
couldn't find this answe in the admin options or in this massive thread (don't kill me!!)...
--------------

is it possible to have people ONLY be able to open the jukebox, but NOT launch the Visit/Download link via the title link and thumbnail? (enable/disalbe for each category individuslly.)

almost no one clicks the launch icon (as first instinct) and keep clicking the thumbnail or link... after a delay this launches either embedded QTime in the same window or launches standonline real player (on my system and few others). so its really confusing what's goign on for people. esp if they WANT to launch the jukebox but accidently/naturally go for the link or thumbnail first.

is this normal behavior? I figured it was supposed to launch a download file thingy (like right click).

if this is normal, I want to be able to disable the view/download for some of the categories and have them only be able to right-click download or luanch the Jukebox.

AndrewD
06-10-2006, 06:17 AM
Another thing I noticed is that a file had 30 downloads yesterday (webalizer report), and only 2 hits inside the manager???

The code checks for multiple clicks in close succession from a given user, and reports them once, since it usually means that the user is mouse-happy. Furthermore, it only records the hit when the download is complete. 30 compared to 2 seems a bit extreme, so it suggests that the transfer had problems going through to completion.

AndrewD
06-10-2006, 06:21 AM
do you know anything about this

I'm sorry - are you asking a question or telling me that something doesn't work?

There is an 'extra' (id3_handles) available with LDM, which autocreate thumbnails for mp3 files from the file's tag information.

AndrewD
06-10-2006, 06:46 AM
I have used the search function for this, but could not find an answers:

I want to display the total LDM as a block in vBadvanced. How do I do that. Is there a plug in or module for this?

Sorry, I don't understand the question. What do you want the vba module to do?

Another question: I use the LDM_new.php module. How can I make it display icons as well?

Currently, this needs a few changes in the code as well as in a template. I attach a file containing a modified version of the function get_link2(), which you can find in local_links_include.php. With that change, the following version of the links_vbalinks template will do the trick:

<tr>
<td class="alt1">
<div style="float:right"><span class="smallfont">$linkhits</span></div>
<span class="smallfont">$linktypebit<if condition="$linkstatus<=0">$linkname<else />$linkurllink</if></span>
</td>
</tr>

I will include the code change in the next upload of LDM, version 2.2.2, when this goes live.

AndrewD
06-10-2006, 06:48 AM
Will it work in the Future with vBulletin 3.6 (http://www.vbulletin.com/forum/showthread.php?t=187654) ?

There is no reason why not, but I have not yet tested it. I will give an answer as soon as possible. If changes are needed, they will be made available.

AndrewD
06-10-2006, 06:52 AM
Will Links and Downloads Manager improve download stability?

By this I mean that many of my users report aborted and incomplete downloads when trying to pull 100Mb attachments from posts in my forums. The folks at vBulletin have suggested that their product was never intended for that purpose, and who am I to argue with them? All I know is that I need to be able to reliably download large files from my forums.

If LDM is not the answer, and anyone knows what is, I would greatly appreciate some guidance. Money is not the issue here - reliable downloading is the issue and I can pay for a solution.

Mike

LDM is only part of the answer. The problem with very large downloads is really on the client side - the user's browser can drop the connection. This is one reason for using a download manager on the user's machine.

LDM supports what is called 'partial file transfer'. Client-side download managers tend to use this mechanism to speed up downloads and to recover from dropped connections.

I have tested LDM with a couple of download managers and it works fine. I can't guarantee that it will work with them all. I tested, for example, flashget and Download Accelerator Plus.

AndrewD
06-10-2006, 07:01 AM
couldn't find this answe in the admin options or in this massive thread (don't kill me!!)...
--------------

is it possible to have people ONLY be able to open the jukebox, but NOT launch the Visit/Download link via the title link and thumbnail? (enable/disalbe for each category individuslly.)

almost no one clicks the launch icon (as first instinct) and keep clicking the thumbnail or link... after a delay this launches either embedded QTime in the same window or launches standonline real player (on my system and few others). so its really confusing what's goign on for people. esp if they WANT to launch the jukebox but accidently/naturally go for the link or thumbnail first.

is this normal behavior? I figured it was supposed to launch a download file thingy (like right click).

if this is normal, I want to be able to disable the view/download for some of the categories and have them only be able to right-click download or luanch the Jukebox.

If you set the *can_play_musicbox* permission but unset the *can_save_musicbox* permission for usergroup (LDM/admin/permissions), then both the icon and the title become urls to the jukebox.

Currently, this is an all or nothing setting - it applies to all musicbox entries in all categories. It is easy enough to make available on a a per-category basis, if this has any value to you.

AndrewD
06-10-2006, 09:46 AM
Just to let everyone know -

Main LDM features work ok with vb36, but some recoding is needed before it will be fit for release. There is also a bug in the VB36 product importer itself.

MissKalunji
06-10-2006, 10:59 AM
got any plans for 3.6 :)?

lexx27
06-10-2006, 11:24 AM
Sorry if I wasnt clear. When I link an mp3 file the code generates a broken thumbnail.

Alfa1
06-10-2006, 11:29 AM
Sorry, I don't understand the question. What do you want the vba module to do?
I want the module to show the total LDM. All categories. So, LDM would be fully integrated with vBadvanced. So that members can browse the LDM within vBadvanced, viewing multiple vBadvanced blocks/modules, of which LDM is one. A total integration if you will.

I will include the code change in the next upload of LDM, version 2.2.2, when this goes live.
You are giving the best support I have seen anywhere.

lexx27
06-10-2006, 12:15 PM
You are giving the best support I have seen anywhere.I agree! He is a pro!

rogersnm
06-10-2006, 02:10 PM
ah well L&D does not work on v3.6 it says:
=======================================
Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.1 requires VBulletin version 3.5
=======================================

AndrewD
06-10-2006, 03:34 PM
ah well L&D does not work on v3.6 it says:
=======================================
Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.1 requires VBulletin version 3.5
=======================================

Actually this is the easy one to fix - it's simply a check on the version.

More tricky is that the VB people have changed the profilefields table, so all the integration with user profiles has to be rethought

stonner
06-10-2006, 09:20 PM
Hi Andrew!

First I wanna thank for this great hack!

I receive the same error message as Alfa1 once received:
Error - unable to move uploaded file on server

your answer to Alfa1 was:
The error mesage is triggered in two situations:

- If the code is unable to create a subdirectory in your uploads directory corresponding to the user who is making the upload
or
- If the code cannot move the uploaded file into that directory once it has created it.

You can check which case is causing the problem by looked in the directory you have specified as your uploads directory. It should contain subdirectories and sub-sub-directories with single digit names, e.g. for a user with userid 36, there should be a directory tree /uploads/3/6, etc.

If these exist, upload a file under your own admin id and check that a new file (it will have a random filename) appears where you expect. If it does, then check that you have given proper permissions to your uploads directory. If not, then try to discover where the files are actually being placed.

Have you, for example, changed the setting of local_file_root (LDM admin page)?

Let me know what you find out, in case there's a bug in LDM.

in my case, it's the second situation. It creates the subfolder with my userid in the upload-folder (CHMOD777).

But what else is wrong? How can I fix this?

thank you!

obmob
06-11-2006, 02:21 AM
o.o ok, i'm struggling with the CVS importer, is there a way to add more info into this?

As an example, creation date... or current hits, i have all this info in my old script, and would love to paste it directly and not modify every file induvidually u.u

Or... i'd love to know if there is some tool to create sql queries out of CVS files? Oo

I remember once trying to do this with excel, but when i exported as text, there were some spaces between variables and the code never ran into phpmyadmin ><

AndrewD
06-11-2006, 04:55 AM
Hi Andrew!

First I wanna thank for this great hack!

I receive the same error message as Alfa1 once received:
Error - unable to move uploaded file on server

your answer to Alfa1 was:


in my case, it's the second situation. It creates the subfolder with my userid in the upload-folder (CHMOD777).

But what else is wrong? How can I fix this?

thank you!

I've found it easiest to answer these questions by taking a look at the site. Pls can you send me a PM with your site details + a username/pwd with admin privs.

AndrewD
06-11-2006, 04:59 AM
o.o ok, i'm struggling with the CVS importer, is there a way to add more info into this?

As an example, creation date... or current hits, i have all this info in my old script, and would love to paste it directly and not modify every file induvidually u.u

Or... i'd love to know if there is some tool to create sql queries out of CVS files? Oo

I remember once trying to do this with excel, but when i exported as text, there were some spaces between variables and the code never ran into phpmyadmin ><

The csv import/export code is very old - it was more or less the first thing written for LDM before it was even called LDM. There is also XML import/export code, which handles everything in the LDM database, I'd recommend, if you need to make changes, that you start with that code.

The XML exporter in built in as LDM/admin/import and export
The importer is in the 'extras' directory in the release

AndrewD
06-11-2006, 05:09 AM
Sorry if I wasnt clear. When I link an mp3 file the code generates a broken thumbnail.

In case this is the same problem just solved on another site - have you installed the LDM 'id3-handles' extra in order to tag/scan mp3s?

If so - if you upload the getid3 code into the wrong place, you get this 'blank screen' bug when uploading files.

The getid3 subdirectory has to be directly in the forums directory:
yoursite->forums->getid3
Not, e.g.
yoursite->forums->getid3->getid3

For what it's worth!

lexx27
06-11-2006, 12:43 PM
ok, I ll try it and tell you. Thank you very much

rogersnm
06-11-2006, 12:44 PM
when do you think a vb3.6 compatible version will be out? and will it keep all the listings all ready entered?

AndrewD
06-11-2006, 01:29 PM
when do you think a vb3.6 compatible version will be out? and will it keep all the listings all ready entered?

I guarantee (;)) that you will not lose anything.

As for when it will be ready, that all depends on how much of the base code I discover that the VB guys have changed. These things tend to be buried in the undergrowth. I hope that it's not going to be anything like as big a job as the move from vb3.0 to 3.5.

lexx27
06-11-2006, 01:33 PM
Its working. Thank you! :)

rogersnm
06-11-2006, 01:34 PM
it shouldn't be becuase it's "mainly a feature feast" :D

Axl-Rose
06-13-2006, 09:38 AM
got a problem with LDM...

I've got 2 servers! one with the forum on it and the other with the files...
my forum server is daly out of traffic...

but if i set force_redirect to 2 (a standard html hyperlink is shown) no traffic comes up....

what can i do, to use the link protection?

AndrewD
06-13-2006, 09:55 AM
got a problem with LDM...

I've got 2 servers! one with the forum on it and the other with the files...
my forum server is daly out of traffic...

but if i set force_redirect to 2 (a standard html hyperlink is shown) no traffic comes up....

what can i do, to use the link protection?

Bit of a problem, this one...

If you want to keep the file location completely hidden, then the LDM script has to handle file reading and writing. There is no alternative, as far as I know.

It is reasonably efficient to do this provided the script can use built in file handling routines. However, if you put LDM and the files on different servers (using http as channel of access between the two), then the reading/rewriting process becomes expensive.

By setting force_redirect to 2, you remove all the server load at a price of making the file location visible.

Why do you want to place the files on a different server?

maroceve
06-13-2006, 10:02 AM
i am really having troubles seting up for people to upload the files ..they can oly link :( ...

if anyone can please help me, my msn is hamzaalami@gmail.com

thanks.

AndrewD
06-13-2006, 10:04 AM
i am really having troubles seting up for people to upload the files ..they can oly link :( ...

if anyone can please help me, my msn is hamzaalami@gmail.com

thanks.

I am happy to help, but it is easiest to do so if you give me admin access to your site. Send me a PM if you want me to take a look.

maroceve
06-13-2006, 10:16 AM
ok done :)

obmob
06-13-2006, 02:31 PM
OMG... it was a little hard for me, but finally, i set my xml and all my files are in the database, y revalidated them and they seem to be ok... buuuut - :p - filse size wasn't calculated... what should i do?

is there a way to do this in a batch process... o i must visit and edit every file to be recognized? Oo

Also, any way to rebuild statistics... i added my download/hits ti each file, but nothing appears in fromtpage.

Thanks

AndrewD
06-13-2006, 03:34 PM
OMG... it was a little hard for me, but finally, i set my xml and all my files are in the database, y revalidated them and they seem to be ok... buuuut - :p - filse size wasn't calculated... what should i do?

is there a way to do this in a batch process... o i must visit and edit every file to be recognized? Oo

Also, any way to rebuild statistics... i added my download/hits ti each file, but nothing appears in fromtpage.

Thanks

If the xml file was in the right format, size and statistics should have been imported.

The attached version of local_links_admin.php will rebuild all the file sizes when you do an admin revalidation.

Maybe you could upload your xml file so that I could take a look at the format.

obmob
06-13-2006, 04:45 PM
oh, thanks for the file, it's just that i didn't add the size to the xml... now i have another question, is it possible to show thumbail but disable automatic creation?

Maybe i must delete the thumbs directory location?

Alfa1
06-13-2006, 05:06 PM
Hi Andrew,

Did you catch the explanation to my last question:

I want to display the total LDM as a block in vBadvanced. How do I do that. Is there a plug in or module for this?

Sorry, I don't understand the question. What do you want the vba module to do?

I want the module to show the total LDM. All categories. So, LDM would be fully integrated with vBadvanced. So that members can browse the LDM within vBadvanced, viewing multiple vBadvanced blocks/modules, of which LDM is one. A total integration if you will.

AndrewD
06-13-2006, 05:25 PM
oh, thanks for the file, it's just that i didn't add the size to the xml... now i have another question, is it possible to show thumbail but disable automatic creation?

Maybe i must delete the thumbs directory location?

That's right - with no thumbnail directory, these are regenerated 'on the fly'. This puts more load on your server, but doesn't create a large number of files.

AndrewD
06-13-2006, 05:28 PM
Hi Andrew,

Did you catch the explanation to my last question:

You mean something like this?? I coded it at the weeked, but it needs a few changes to the guts of LDM to work properly, so I haven't released it.

AndrewD
06-13-2006, 05:31 PM
it shouldn't be becuase it's "mainly a feature feast" :D

However, they have recoded some code functions and database tables (e.g. profilefields, xml parsers), and I have to discover these one by one :tired:

Alfa1
06-13-2006, 05:48 PM
I am in awe. You are really amazing. That is almost what I need. The only thing I miss is the LDM navbar. When I have LDM in vBadvanced, I will not use LDM in it's normal form any longer. Therefore all LDM functions should be available trough the vBa module.

My LDM is rather large. (and will grow a lot larger ; )
I guess, the size will automaticly adjust to have it fit in there?

AndrewD
06-13-2006, 05:51 PM
IThat is almost what I need. The only thing I miss is the LDM navbar. When I have LDM in vBadvanced, I will not use LDM in it's normal form any longer. Therefore all LDM functions should be available trough the vBa module.

OK

I guess, the size will automaticly adjust to have it fit in there?

yes

obmob
06-13-2006, 08:27 PM
That's right - with no thumbnail directory, these are regenerated 'on the fly'. This puts more load on your server, but doesn't create a large number of files.oh, but i already have my thumbs in the database... and with the xml i pointed to the linkimg, should i do the same to the linkimgthumb?

I see created thumbs are linked in there... and will this change when i revalidate links... Oo

Thanks ^^

kira
06-14-2006, 02:13 AM
Hi Andrew! Many thanks for the excellent job you've done, both as a programmer and through your support of this amazingly extensive script.

I've searched this thread umpteen times with different keywords over the past couple of days, but can't seem to find any solution to the following question (my apologies if it's already been asked several times already):

How do I put the XX most recently added entries on forumhome and/or forumdisplay?

- I already added the forumhome patch, but that just adds stats as far as I can see;

- I don't have vbadvanced and don't really wanna use it;

- I experimented in using local_links_external as an RSS feed but it never showed up.

I'd like to use this script as a link directory, but I really really need the functionality to promote the most recent listings on forumhome. Ideally I could put it in forumdisplay too, but I'll take forumhome by itself if that's all that'll work!

Thanks in advance. :)

AndrewD
06-14-2006, 05:09 AM
oh, but i already have my thumbs in the database... and with the xml i pointed to the linkimg, should i do the same to the linkimgthumb?

I see created thumbs are linked in there... and will this change when i revalidate links... Oo

Thanks ^^

I'm not sure that I'm understanding you.

linkimg should point to the original image. linkimgthumb should either be blank or point to the required thumbnail. If linkimgthumb is blank, LDM creates a new thumbnail 'on the fly'. If *thumbs_dir* is set, it then tries to save this in the specified *thumbs_dir* directory, and, if successful, updates linkimgthumb.

So, during your import process, you can do the following:
a) set linkimg correctly and leave linkimgthumb blank and let LDM do the work, or
b) set linkimg and linkimgthumb correctly

LDM attempts to recreate a thumbnail in these situations:
a) During 'Add Entry/Edit Entry'
b) During page display
and
c) During admin/rebuild thumbs

AndrewD
06-14-2006, 05:11 AM
Hi Andrew! Many thanks for the excellent job you've done, both as a programmer and through your support of this amazingly extensive script.

I've searched this thread umpteen times with different keywords over the past couple of days, but can't seem to find any solution to the following question (my apologies if it's already been asked several times already):

How do I put the XX most recently added entries on forumhome and/or forumdisplay?

- I already added the forumhome patch, but that just adds stats as far as I can see;

- I don't have vbadvanced and don't really wanna use it;

- I experimented in using local_links_external as an RSS feed but it never showed up.

I'd like to use this script as a link directory, but I really really need the functionality to promote the most recent listings on forumhome. Ideally I could put it in forumdisplay too, but I'll take forumhome by itself if that's all that'll work!

Thanks in advance. :)


Yes, the current forumhome patch only gives statistics. It is not difficult to provide another plugin to produce the most recent entries. How do you want this to look? Whereabouts on the page, what content, etc.

kira
06-14-2006, 05:32 AM
Yes, the current forumhome patch only gives statistics. It is not difficult to provide another plugin to produce the most recent entries. How do you want this to look? Whereabouts on the page, what content, etc.

Wow, thank you! Well, my setup is a two-column site, and I hope to put the list in the sidebar. To get an idea of what I mean, maybe check out the "current topics" section of the lefthand sidebar over on my test site (http://www.epiguide.com/testvb/). (It's still very much in progress, so pardon the messy appearance.) I'd love to include a section for "Newest Links" that's auto-populated.

I guess to keep it flexible so that others besides me would find such a plugin useful, maybe the best format would be a straightforward table, looking much like a vbadvanced block. Or even better, an unordered list? They're so easily styled through css, if one chooses.

As far as content goes... I guess just listing the link/resource title, date of addition (optional?) and submitter (optional?) would be useful. Some might like the option of a brief description, but that's probably too messy.

Most important would be a list in reverse chron order, but if it's at all possible, "what's popular" and/or "highest rated" lists would be terrific additions.

(I'm really surprised no one else has asked for this yet! Do most people use the vbadvanced modules?)

Thanks so much for considering this, Andrew. You're really tops in my book. I've never seen a coder who's so incredibly diligent at supporting a free mod!

Slave
06-14-2006, 08:32 AM
I am in awe. You are really amazing. That is almost what I need. The only thing I miss is the LDM navbar. When I have LDM in vBadvanced, I will not use LDM in it's normal form any longer. Therefore all LDM functions should be available trough the vBa module.

My LDM is rather large. (and will grow a lot larger ; )
I guess, the size will automatically adjust to have it fit in there?
Err .. do you mean like the following ..

http://www.yaxleyvillage.com/local_links.php

This is possible by just wrapping LDM within vBa .. If you have a look in the manual for vBa it tells you how to do it .. (and you can have as many modules as you like on the page, as well as choosing if you want a 2 or 3 column layout)

:)

obmob
06-14-2006, 04:46 PM
I'm not sure that I'm understanding you.

linkimg should point to the original image. linkimgthumb should either be blank or point to the required thumbnail. If linkimgthumb is blank, LDM creates a new thumbnail 'on the fly'. If *thumbs_dir* is set, it then tries to save this in the specified *thumbs_dir* directory, and, if successful, updates linkimgthumb.

So, during your import process, you can do the following:
a) set linkimg correctly and leave linkimgthumb blank and let LDM do the work, or
b) set linkimg and linkimgthumb correctly

LDM attempts to recreate a thumbnail in these situations:
a) During 'Add Entry/Edit Entry'
b) During page display
and
c) During admin/rebuild thumbsOh, ok, here is what i did, i set linkimg, in this case it's my thumb, then set linkimgthumb to 0.

Now image is showing, that's why i wanted a small thumb and a medium image to be shown in linkbit template.

Well, no thumbs directory set, everything seem to work... so far :p

Hits are recorded, i figured out how ratings worked and they are already in there... but i can't see stats in my main page? oO

AndrewD
06-14-2006, 07:13 PM
Err .. do you mean like the following ..

http://www.yaxleyvillage.com/local_links.php

This is possible by just wrapping LDM within vBa .. If you have a look in the manual for vBa it tells you how to do it .. (and you can have as many modules as you like on the page, as well as choosing if you want a 2 or 3 column layout)

:)

Welcome back :)

Slave
06-15-2006, 03:52 AM
Welcome back :)
* Slave waves :)

tamborinegal
06-15-2006, 04:06 AM
Hi Andrew,

Once again thank you for all the time you have put into this hack and thank you for adding in the avatar to the linkbit. It looks great now.

Just a couple of questions I'm hoping you could help me with...

I am using the create new thread plugin and was wondering if there is any way that a link to the thread created could also be included in the linkbit. (hope that makes sense).

And also, since we can use bbcode and smilies in the description field, is there any way that the standard controls could also be added to the "add a link" template? Most of my members don't know the bbcode offhand and use the controls when they need to add something in.

Thanks again for this. It's just great.

Clancy

AndrewD
06-15-2006, 04:19 AM
I am using the create new thread plugin and was wondering if there is any way that a link to the thread created could also be included in the linkbit. (hope that makes sense).

There's a small problem of timing with this - the autothread create needs to know the linkid of the new entry, so the plugin is triggered after the contents of the linkbit have already been stored in the database. We can work round this, at the cost of another database access, but it should be possible. Bear in mind that these actions are 'once and for all' - if someone subsequently deletes an entry in LDM, the autothread is not removed - so too if we provide a connection in the linkbit to the thread, that connection will 'break' if the thread gets deleted.

And also, since we can use bbcode and smilies in the description field, is there any way that the standard controls could also be added to the "add a link" template? Most of my members don't know the bbcode offhand and use the controls when they need to add something in.

I'll take a look - this is a good idea which I had never got round to.

tamborinegal
06-15-2006, 04:55 AM
Your support is incredible Andrew. Do you ever sleep? :)

There's a small problem of timing with this - the autothread create needs to know the linkid of the new entry, so the plugin is triggered after the contents of the linkbit have already been stored in the database. We can work round this, at the cost of another database access, but it should be possible. Bear in mind that these actions are 'once and for all' - if someone subsequently deletes an entry in LDM, the autothread is not removed - so too if we provide a connection in the linkbit to the thread, that connection will 'break' if the thread gets deleted.

Yeah I see what you mean. I guess this could be avoided by not allowing members to delete the links or threads created, but I guess they could always edit the link and that would cause a break. Is there any way to prevent users from editing their links altogether? If not, that's ok. I could live with the odd break here and there. I don't think it would be a major problem.

I would just use the comment system if it was set up with the standard controls and if it had the same "auto-notification" sent if a new post "comment" was added to all users subscribed to a thread (link)... but that would make it more like a forum and I'm not sure if that makes sense to do especially since the auto-create thread is already a plugin and works really well.

I'll take a look - this is a good idea which I had never got round to.

That would be so great.

Thanks again for all your help and time.

Clancy

AndrewD
06-15-2006, 06:02 PM
I guess to keep it flexible so that others besides me would find such a plugin useful, maybe the best format would be a straightforward table, looking much like a vbadvanced block. Or even better, an unordered list? They're so easily styled through css, if one chooses.


Kira, try these for size. You need to import the xml plugin, then patch the forumhome template to display $links['new'] and $links['hot'] - these each contain tables without the top and bottom table tags. The attached forumhome.txt shows one way to do this, and the attached links_vbalinks.txt gives a modified template for the individual table rows which adds the link description to the name/number of hits.

kira
06-15-2006, 06:30 PM
You're amazing, AndrewD. I'll give it a try and report back.

Thank you so much!

EasyTarget
06-15-2006, 07:19 PM
hey kira, could you post some ss too please? :D

kira
06-15-2006, 08:51 PM
Hey Andrew, I tried it out -- works perfectly! :) I tweaked the code to use an unordered list (just so it matches the rest of my sidebar). Easy peasy. Thanks a million!

I just noticed that for some reason the hit counter isn't working on either this "top list" addon or the regular directory listings pages (http://www.epiguide.com/testvb/local_links.php). Can you think of what might cause such a problem?

hey kira, could you post some ss too please? :D

Sure thing! My setup is very different as I've moved all the "what's going on" stuff to a sidebar. So you can get a better picture of what this would look like on a standard setup, I re-added the what's going on section and took a screenshot. (See #1.)

The second screenshot shows my CSS-ized sidebar version without the description or hits.

AndrewD
06-16-2006, 04:06 AM
I just noticed that for some reason the hit counter isn't working on either this "top list" addon or the regular directory listings pages (http://www.epiguide.com/testvb/local_links.php). Can you think of what might cause such a problem?

seems to be working to me - I visited your New York Times link, used it to visit the NYT then Nature, the hit countersd went up by one and the 'Most Popular Links' box appeared on your front page with these two entries in it.

kira
06-16-2006, 04:45 AM
Oh, whoops, I didn't realize visits from admins apparently don't get counted. When I log out, or if I login as a member test account, the hits do indeed increase. Yay! :)

AndrewD
06-16-2006, 04:53 AM
Oh, whoops, I didn't realize visits from admins apparently don't get counted. When I log out, or if I login as a member test account, the hits do indeed increase. Yay! :)

Admin visits do get counted, unless you've given this group 'can_bypass_hit_recording' permission on the LDM admin/permissions page

Anyway, glad to hear that all is well.

EasyTarget
06-16-2006, 06:54 AM
cool setup kira, I like how you changed it.

speaking of, andrew you should get some ss from a few of the people with nice looking boards to add to the hack information. It might help some people realize what its all about and how powerful it is.

GrendelKhan{TSU
06-16-2006, 07:56 AM
If you set the *can_play_musicbox* permission but unset the *can_save_musicbox* permission for usergroup (LDM/admin/permissions), then both the icon and the title become urls to the jukebox.

Currently, this is an all or nothing setting - it applies to all musicbox entries in all categories. It is easy enough to make available on a a per-category basis, if this has any value to you.

definitely useful!! that would be great if you could throw that in the next versoin. :) :D

GrendelKhan{TSU
06-16-2006, 10:54 AM
There's something deeper going on, and we need to get to the bottom of it. I'd appreciate any reports of blank screens, plus details of attempts to resolve.

With the site that first flagged this problem, attempts to add a new entry to LDM which involves an upload results in a blank screen, with nothing added. It happens (as far as I can tell) with all filetypes, and with both IE and Firefox. However, uploads do work correctly, for example, if I take an existing entry and edit it to replace an existing link with an upload. Furthermore the Jukebox screen is also blank.

Each of these cases works fine on my test system, using identical commands and an identical release, so there must be something in the site configuration that's triggering this.

I'm still getting this problem. :(

other users have complained about it too. For me, seems to happen most often with MP3s. But sometimes happens with other files too. movin the file around on my harddrive before uploading didn't do anything.

http://www.clantsu.org/forums/local_links.php
to test it if you want.

I'll give ya admin (pm-ing you now)

obmob
06-16-2006, 02:16 PM
Oh, my, this is becoming the most versatile mod for vB... thanks Andrew.

MissKalunji
06-16-2006, 02:25 PM
Oh, my, this is becoming the most versatile mod for vB... thanks Andrew.

i second that i dont know how come it wasnt hack of the month :surprised:

obmob
06-16-2006, 02:48 PM
Maybe it had a slow start... maybe for vB 3.6! ^^

But no beta, please! XD

AndrewD
06-16-2006, 03:32 PM
Maybe it had a slow start... maybe for vB 3.6! ^^

But no beta, please! XD

Unfortunately, there will have to be a beta for VB36. There are some sigificant changes in the 'plumbing' of VBulletin itself, and we will need to check that everything is working correctly.

GrendelKhan{TSU
06-17-2006, 06:24 AM
Oh, my, this is becoming the most versatile mod for vB... thanks Andrew.

what do you mean "becoming"?

;) this IS the most versative mod for vb. :)

AndrewD
06-17-2006, 06:33 AM
what do you mean "becoming"?

;) this IS the most versative mod for vb. :)

How nice to have friends and allies...

Zia
06-17-2006, 08:39 AM
Unfortunately, there will have to be a beta for VB36. There are some sigificant changes in the 'plumbing' of VBulletin itself, and we will need to check that everything is working correctly.

hi AndrewD,
Do u have any idea to integrate LDM with vBux ? User can downlaod by paying points (points that earned by posting) ?

And Mass file importer from the ftp ?

it would be really nice for all of us .

Thnx.

MSJA
06-17-2006, 05:24 PM
AndrewD,

Wow, great mod, and thanks for sharing! :up:

With regards to post #1942 (https://vborg.vbsupport.ru/showpost.php?p=994932&postcount=1942), will you be implementing a 301 redirect? I think this would be best for SEO purposes.

AndrewD
06-17-2006, 06:05 PM
AndrewD,

Wow, great mod, and thanks for sharing! :up:

With regards to post #1942 (https://vborg.vbsupport.ru/showpost.php?p=994932&postcount=1942), will you be implementing a 301 redirect? I think this would be best for SEO purposes.

Thanks for the hint - I was wondering how best to deal with this suggestion

Alfa1
06-17-2006, 09:27 PM
Err .. do you mean like the following ..

http://www.yaxleyvillage.com/local_links.php

This is possible by just wrapping LDM within vBa .. If you have a look in the manual for vBa it tells you how to do it .. (and you can have as many modules as you like on the page, as well as choosing if you want a 2 or 3 column layout)

:)

Yes, that is what I mean. Now I need to get rid of the vB navbar and make LDM smaller (less wide) to fit in there.

Tyegurl
06-17-2006, 09:38 PM
andrewd,

thanks for the update on this...i see you fixed a few of my problems! not that they were mine alone but i want to thank you for the extensive time you have put into this. every time i update this manager only gets better.

i will let you know (of course) if i have problems with this update but so far its been perfect. even created the thread by itself...couldn't believe it...i have been gone so maybe it was fixed all ready but this is great!!

AndrewD
06-18-2006, 07:16 PM
Firstr beta withdrawn - second beta in main post to this thread.

I've sat on this for a while, but think it needs a bit of testing. I believe that it works correctly with VB35 and VB36 and that VB35 installations will survive the upgrade to VB36. To improve performance, I've split up the main code into new files, so possibly there will be broken command links.

What's new?

Handles VB3.5 and 3.6
Extras
- patch-forumhome-newlinks sets up list of new/hot links for forumhome
- two versions of lightbox addin, a simpler/more reliable and a fancier version
Moderation
- Can be enabled/disabled per category
WYSIWYG editor
- Available for add/edit/rate entry
Sorting
- By submitting user
User profile integration
- Lists user's latest entries as well as latest hits

Bugs fixed
- Attempts to access entries that have moved to another category trigger an HTTP 301 redirect
- Edits no longer trigger "new entry" message on category if latest date becomes earlier than user's last visit
- id3-handle plugins no longer kill LDM if getid3 subdirectory uploaded incorrectly
- Keywords can contain quotes
- Realmedia jukebox filetypes modified to avoid starting with characters 'rm '
- XHTML corrected in admin/settings pages

I would appreciate some testing from brave users who remember to back up their databases....

Slave
06-19-2006, 05:11 AM
Hi Andrew :)

Can I suggest you create a new thread for the 3.6 version in the 3.6 hacks area and then put a freeze on 3.5 development (like you did with the 3.0 thread) .. Once 3.6 goes gold mind you ;)

AndrewD
06-19-2006, 05:13 AM
Hi Andrew :)

Can I suggest you create a new thread for the 3.6 version in the 3.6 hacks area and then put a freeze on 3.5 development (like you did with the 3.0 thread) .. Once 3.6 goes gold mind you ;)

Once it goes gold....

So far, I've only caught one area where we needed parallel versions of code, which was to handle the profilefields integration

GrendelKhan{TSU
06-19-2006, 07:51 AM
I've sat on this for a while, but think it needs a bit of testing. I believe that it works correctly with VB35 and VB36 and that VB35 installations will survive the upgrade to VB36. To improve performance, I've split up the main code into new files, so possibly there will be broken command links.

What's new?

Handles VB3.5 and 3.6
Extras
- patch-forumhome-newlinks sets up list of new/hot links for forumhome
- two versions of lightbox addin, a simpler/more reliable and a fancier version
Moderation
- Can be enabled/disabled per category
WYSIWYG editor
- Available for add/edit/rate entry
Sorting
- By submitting user
User profile integration
- Lists user's latest entries as well as latest hits

Bugs fixed
- Attempts to access entries that have moved to another category trigger an HTTP 301 redirect
- Edits no longer trigger "new entry" message on category if latest date becomes earlier than user's last visit
- id3-handle plugins no longer kill LDM if getid3 subdirectory uploaded incorrectly
- Keywords can contain quotes
- Realmedia jukebox filetypes modified to avoid starting with characters 'rm '
- XHTML corrected in admin/settings pages

I would appreciate some testing from brave users who remember to back up their databases....

awesome!

does this version help deal with the BLANK SCREEN upload problem some of are getting?

anyword on that btw?

AndrewD
06-19-2006, 07:55 AM
awesome!

does this version help deal with the BLANK SCREEN upload problem some of are getting?

anyword on that btw?

I thought I had dealt with this - the other person reporting the problem had not installed the software correctly (partly my fault, because the code didn't pick up the mistake). The new version has some extra error checking built in for two situations where I could foresee problems. But it is possible that there are other problems at your site.

obmob
06-19-2006, 04:32 PM
Oo you added more phrases to this version?

Need some spanish customisations? ^^

u.u don't know if i'm that brave... i'd love to wait till 3.6 is gold.

AndrewD
06-19-2006, 06:51 PM
Oo you added more phrases to this version?

Need some spanish customisations? ^^

u.u don't know if i'm that brave... i'd love to wait till 3.6 is gold.

Thanks - I suggest waiting until VB36 is ready to go gold - that way we can do all the translation at one time.

Tyegurl
06-19-2006, 11:00 PM
i have done something stupid i think....not very urgent but still in the same sense i do need help.

I went and removed restrictions on my downloads....but restricted the file downloads by unregistered.

Now my files are downloading as numbers again...I remember fixing this once before but I can't seem to do it and I am scared I will mess everything up! Will you please help me figure out what I have done and what I need to do?

EasyTarget
06-20-2006, 03:49 AM
wasn't that an earlier version of LDM that assigned numbers when you wanted to file location or name to be hidden? I remember that all my files were assigned numbers in the early versions but then it was changed and they kept their names. I have some files with numbers now, but those are the ones I uploaded in the earlier version.. so maybe its just some old files you're looking at?

AndrewD
06-20-2006, 03:55 AM
i have done something stupid i think....not very urgent but still in the same sense i do need help.

I went and removed restrictions on my downloads....but restricted the file downloads by unregistered.

Now my files are downloading as numbers again...I remember fixing this once before but I can't seem to do it and I am scared I will mess everything up! Will you please help me figure out what I have done and what I need to do?

I took a quick look at your site and tested a few downloads - they all came down with their proper names - can you point me at a few examples that are broken?

The files do have randomly numbed names on your server, to prevent people guessing where they are stored, but the proper name is held in the database. It is easy enough to patch the database if necessary.

GrendelKhan{TSU
06-20-2006, 07:09 AM
I thought I had dealt with this - the other person reporting the problem had not installed the software correctly (partly my fault, because the code didn't pick up the mistake). The new version has some extra error checking built in for two situations where I could foresee problems. But it is possible that there are other problems at your site.

yikes. upgraded to 2.2.2 Beta.

and now uploads/add link doesn't work at all. for larger files it cops out at 37% everytime. HTTP 404 error

And even when just adding "regular" links... it doesn't even try. I just immediately get 404 error right after you hit. submit :/

The existing links and downloads work fine. Just can't add anything anymore.

help!

http://www.clantsu.org/forums/local_links.php
same id and pw and pmed you before if you can check it out. :/

AndrewD
06-20-2006, 07:13 AM
yikes. upgraded to 2.2.2 Beta.

and now uploads/add link doesn't work at all. for larger files it cops out at 37% everytime. HTTP 404 error

And even when just adding "regular" links... it doesn't even try. I just immediately get 404 error right after you hit. submit :/

The existing links and downloads work fine. Just can't add anything anymore.

help!

http://www.clantsu.org/forums/local_links.php
same id and pw and pmed you before if you can check it out. :/

The 404 error is for the file local_links_action.php. This is a new file with the 2.2.2 release. Have you correctly uploaded the files?

GrendelKhan{TSU
06-20-2006, 10:45 AM
The 404 error is for the file local_links_action.php. This is a new file with the 2.2.2 release. Have you correctly uploaded the files?

apparently not. :/

I reuploaded everything and its working now!! AWESOME!! (sorry for the n00b mistake :()

EDIT: only issue so far is that the media icon doesn't show up in the CMPS module. I "updated images" in the CMPS installer...but still no go. the file path is correct too. any ideas? >> www.clantsu.org (left column)

Tyegurl
06-20-2006, 11:45 AM
I took a quick look at your site and tested a few downloads - they all came down with their proper names - can you point me at a few examples that are broken?

The files do have randomly numbed names on your server, to prevent people guessing where they are stored, but the proper name is held in the database. It is easy enough to patch the database if necessary.


http://www.teamrespawn.com/vBulletin/local_links.php?action=jump&id=204&catid=3

http://www.teamrespawn.com/vBulletin/local_links.php?action=jump&id=206&catid=2

http://www.teamrespawn.com/vBulletin/local_links.php?action=jump&id=223&catid=3


just a few examples i found

the other question is...how do i hide the link from everybody(it was hidden before) or was I able to pull the shortcut because I am Admin?

AndrewD
06-20-2006, 11:53 AM
http://www.teamrespawn.com/vBulletin/local_links.php?action=jump&id=204&catid=3

http://www.teamrespawn.com/vBulletin/local_links.php?action=jump&id=206&catid=2

http://www.teamrespawn.com/vBulletin/local_links.php?action=jump&id=223&catid=3


just a few examples i found

the other question is...how do i hide the link from everybody(it was hidden before) or was I able to pull the shortcut because I am Admin?

Anyone can pull these links, but - if you've protected categories/links - they don't help you if you are not a registered user. Anyone trying to use these to access the files will get a "please login" message, unless there's a cookie on their PC showing that they are already logged in.

The examples you've given are quite old, so possibly they have always had broken names. However, I'll patch the main release so that you can re-define file names for uploaded files. Alternatively, if you are happy using phpmyadmin, I can explain how to do this directly.

Tyegurl
06-20-2006, 11:58 AM
okay lol i don't remember them being numbers before but they are from March.

thanks for looking. i will just reupload the files.

i was only asking cuz this link submitted the same day doesn't do it...was confused thought i did something wrong;

http://www.teamrespawn.com/vBulletin/local_links.php?action=jump&id=65&catid=3

ab420
06-20-2006, 04:07 PM
I apologize if this has been answered anywhere else, I've been reading for hours between this thread and the homepage of LDM. I am using it only for videos on my site right now, and it's working great, except for one small thing:

whenever someone watches a video in the jukebox, it logs them out of the forum, so they have to login everytime they watch a video, because I have permissions set to only allow members to watch the videos. This is obviously pretty annoying for my members, does anyone know how I can fix this? Did I do something wrong?

I also just noticed, it doesn't happen with Firefox, just IE...

ab420
06-20-2006, 04:33 PM
Ok, so this is strange...

I went into the settings, and changed the open_local_links_newwindow and open_remote_links_newwindow to NO. I thought that was referring to the jukebox popping up in a new window, but apparently not, because it still pops up in a new window, but it doesn't log me out anymore, so this solved my problem. Hopefully this will be helpful to someone! BTW, LOVE this mod!

AndrewD
06-20-2006, 06:52 PM
Ok, so this is strange...

I went into the settings, and changed the open_local_links_newwindow and open_remote_links_newwindow to NO. I thought that was referring to the jukebox popping up in a new window, but apparently not, because it still pops up in a new window, but it doesn't log me out anymore, so this solved my problem. Hopefully this will be helpful to someone! BTW, LOVE this mod!

No, the Jukebox always opens in a new window. The setting determines whether regular links (e.g. if you point to www.bbc.com) opens in the same window or a new window.

ab420
06-20-2006, 06:58 PM
No, the Jukebox always opens in a new window. The setting determines whether regular links (e.g. if you point to www.bbc.com) opens in the same window or a new window.
Yes, I'm not sure what was going on earlier, I'm guessing it was something to do with my browser, not this hack, because I turned those settings back, and everything is fine now, so it must've been an issue with my computer. Thanks!

obmob
06-20-2006, 08:53 PM
Here i go again... excuse me Andrew, any chances to allow admin to post html in image description?

I have a postcard software called vCard, i can direct link some images to send them as a postcard... so, i want to add a different sized image and point it to that program...

Also, i have a mobile feature, and also need to point it to it to allow members to send it to their mobile phones...

So, maybe adding html permission would make it easier to you :p

Thank you for the big effort you make!

GrendelKhan{TSU
06-21-2006, 02:39 AM
Any ideas on this?

apparently not. :/ only issue so far is that the media icon doesn't show up in the CMPS module. I "updated images" in the CMPS installer...but still no go. the file path is correct too. any ideas? >> www.clantsu.org (http://www.clantsu.org) (left column)

or should I be taking that up with vbadvanced (though they are terrible at dealing with mod issues, ime).

elsupremo
06-21-2006, 03:28 AM
Hey Andrew,
On my site most of my downloads are wmv files. I want to start adding .mov files. All my entries and categories are Open default permissions. However, only Admins can download the new .mov file. Registered members and unregistereds cannot access it, both of whom I would like to allow to download.

How can I fix this?

Thank you

GrendelKhan{TSU
06-21-2006, 03:58 AM
Hey Andrew,
On my site most of my downloads are wmv files. I want to start adding .mov files. All my entries and categories are Open default permissions. However, only Admins can download the new .mov file. Registered members and unregistereds cannot access it, both of whom I would like to allow to download.

How can I fix this?

Thank you

hmm.. you sure its just not your permissions setting?

LDM >> administer >> Change general usergroup permissions (add, edit, delete, etc)

AndrewD
06-21-2006, 04:14 AM
Any ideas on this?



or should I be taking that up with vbadvanced (though they are terrible at dealing with mod issues, ime).

According to the html that I'm seeing, your left column is trying to find the icons "images/mediaicons/mp3.gif", "images/mediaicons/zip.gif", etc., which is correct provided the code is running in the forums directory.

However, it seems that your VBA is running in the top level directory, so it fails to find the images, and displays the tag string instead (mp3, zip).

An immediate fix is to copy (not move) the contents of /forums/images/mediaicons into a new directory /images/mediaicons. I'll fix the code before the next release.

AndrewD
06-21-2006, 04:16 AM
Hey Andrew,
On my site most of my downloads are wmv files. I want to start adding .mov files. All my entries and categories are Open default permissions. However, only Admins can download the new .mov file. Registered members and unregistereds cannot access it, both of whom I would like to allow to download.

How can I fix this?

Thank you

Off the top of my head, I don't recall that there are any different permissions checks for different file types. Are you sure that you have not 'associated' your .movs with a forum that is locked to non-admins?

What error message is displayed?

elsupremo
06-21-2006, 04:25 AM
Grendel,
I had checked that page a million times - however, with your suggestion I went back one more time, and ta-da, I figured it out.

Previously, I removed .mov from musicbox_filetypes_quicktime in settings. However, LDM still considered .mov files (possible bug?) a Jukebox media file. This meant that it used the can_play_musicbox and can_save_musicbox permissions, both of which I had not set it up for anything other than administrator. I fixed the problem by enabling Unregistered and Registered users in can_save_musicbox.

So, Grendel, your advice saved the day. Thanks! :)

Edit - just saw your post Andrew, it came as I was writing mine. As you can see, I got it fixed. Possible bug though? Thank you for your reply! :)

AndrewD
06-21-2006, 04:28 AM
Grendel,
I had checked that page a million times - however, with your suggestion I went back one more time, and ta-da, I figured it out.

Previously, I removed .mov from musicbox_filetypes_quicktime in settings. However, LDM still considered .mov files (possible bug?) a Jukebox media file. This meant that it used the can_play_musicbox and can_save_musicbox permissions, both of which I had not set it up for anything other than administrator. I fixed the problem by enabling Unregistered and Registered users in can_save_musicbox.

So, Grendel, your advice saved the day. Thanks! :)

Edit - just saw your post Andrew, it came as I was writing mine. As you can see, I got it fixed. Possible bug though? Thank you for your reply! :)

Good - will check this part of the code again

GrendelKhan{TSU
06-21-2006, 05:15 AM
BUGS/COMMENTS/SUGGESTIONS:

1. cool! copying the mediaicons folder is simple and effective solution. not perfect...but who cares? it worked! :)

2. 2way autothread create!! AWESOME!! I still wish the comments sections was integrated with the thread created ... but a great little addition anyway. dunno why more people dont' use as standard

3. found a (possible) small bug:

--- if you add a new text to phrase "ADD LINK" and use html ... the html doesn't parse in the browser title bar. (see pic)

ie: I made my "add link" red for easy viewing...
so <font color="red>Add Link</font>


--- also I did the same thing last update... and I noticed that when I went to REDO that (as the red disappeared with the update) ....LDM had created a new duplicate phrase [ll_menu_addlink] with the Text being <font color="red>Add Link</font> . (see pic)

--- I added the html again, now I have three versions of the same phrase (it works though..so no biggy). just an fyi. :)

4. [REQ] any way to get an image to appear as an attachment or in the new thread if an image is upload with the add link?

it just be a nice touch. :)

GrendelKhan{TSU
06-21-2006, 05:32 AM
also, I had a couple question, comments, suggestions for the menu and comments...

Just my opinions but I think it would make for a much more eye-pleasing set up when there are comments. I don't know if these are even possible..but I thought I just put it out there.

It was easier to just make a screenshot and show it there.
(see attached)

basically:
how do I change the menu style?? its the same as my navbar and its hard to see. its also too close.


return button needs to be deleted or something if there is a comment...
(the comments are awkwardly disjointed/separated from the item so it looks kinda) ...bad (sorry just being straightup).


move the comments closer to the item so its all together and more streamlined.


drop the "sort by" box down so it doesnt break spacing so much.


make the default comments box a QUICK REPLY box


agian, just my 2cents.

keep up the great work. :D :D

AndrewD
06-21-2006, 05:40 AM
also, I had a couple question, comments, suggestions for the menu and comments...

Just my opinions but I think it would make for a much more eye-pleasing set up when there are comments. I don't know if these are even possible..but I thought I just put it out there.

It was easier to just make a screenshot and show it there.
(see attached)

basically:
how do I change the menu style?? its the same as my navbar and its hard to see. its also too close.


return button needs to be deleted or something if there is a comment...
(the comments are awkwardly disjointed/separated from the item so it looks kinda) ...bad (sorry just being straightup).


move the comments closer to the item so its all together and more streamlined.


drop the "sort by" box down so it doesnt break spacing so much.


make the default comments box a QUICK REPLY box


agian, just my 2cents.

keep up the great work. :D :D


Thanks - good and helpful suggestions - will take a look.

The main templates you need to look at are links_header, links_viewone_comment and links_viewall_comment

Regarding your previous question about customised text - I'll check on the handling of html in titles - there may be a problem inside VB with updating products, since VB seems to throw everything away before doing the upgrade. Maybe I'm missing something.

GrendelKhan{TSU
06-21-2006, 06:46 AM
thx!

btw... did you test the lightbox in IE or something? cause I can't get it to work at all still (v2). IE, FF, Maxthon... all nothing. :/ knowing me I must be doing SOMETHING wrong. :(

Alfa1
06-21-2006, 08:37 AM
Err .. do you mean like the following ..

http://www.yaxleyvillage.com/local_links.php

This is possible by just wrapping LDM within vBa .. If you have a look in the manual for vBa it tells you how to do it .. (and you can have as many modules as you like on the page, as well as choosing if you want a 2 or 3 column layout)

:)

Yes, that is what I mean. Now I need to get rid of the vB navbar and make LDM smaller (less wide) to fit in there.Any solution to this?

AndrewD
06-21-2006, 09:29 AM
thx!

btw... did you test the lightbox in IE or something? cause I can't get it to work at all still (v2). IE, FF, Maxthon... all nothing. :/ knowing me I must be doing SOMETHING wrong. :(

v1 should be ok - v2 was the original and more sophisticated code and I have had mixed success with it.

AndrewD
06-21-2006, 09:30 AM
Any solution to this?

Still thinking about it. Problem is to get the drop down menu code (which requires a set of div tags) loaded at the right point in vba.

GrendelKhan{TSU
06-21-2006, 09:44 AM
v1 should be ok - v2 was the original and more sophisticated code and I have had mixed success with it.

ok I'll try out v1. any specific uninstall instructions for v2 before I install? or just delete it from plugins?

AndrewD
06-21-2006, 09:56 AM
ok I'll try out v1. any specific uninstall instructions for v2 before I install? or just delete it from plugins?

Delete the plugin and remove the files (there's some javascript and a css)

GrendelKhan{TSU
06-21-2006, 11:30 AM
Delete the plugin and remove the files (there's some javascript and a css)

you know.. I tried giving it one more shot with v2 (I'm persistent like that).

deleted everything and went to reinstall....
(and this could be a coincedence but) then I noticed that the lightbox2.02 zip file had one extra js file than the v2 folder did (effects.js). so I just uploaded that with the other clientscript files and finished the install... and BAM! v2 is now working :woot:

like I said, dunno if that was the difference or I just messed up somehow the first time. but its working and I'm not making any suddent movements in case it decides to stop again. :p

dunno maybe a test to check the download file and see if the effects.js is in the clientscript and if that is what the problem is?

GrendelKhan{TSU
06-21-2006, 11:51 AM
Hey Andrew, I tried it out -- works perfectly! :) I tweaked the code to use an unordered list (just so it matches the rest of my sidebar). Easy peasy. Thanks a million!

I just noticed that for some reason the hit counter isn't working on either this "top list" addon or the regular directory listings pages (http://www.epiguide.com/testvb/local_links.php). Can you think of what might cause such a problem?



Sure thing! My setup is very different as I've moved all the "what's going on" stuff to a sidebar. So you can get a better picture of what this would look like on a standard setup, I re-added the what's going on section and took a screenshot. (See #1.)

The second screenshot shows my CSS-ized sidebar version without the description or hits.

wow! beautiful set up and site. makes me jealous AND want to throw in the towel. :iss:

I wish I knew how you implemented it so beautifully. if its ok.. I'd apprecaite and love to see the code you used to do that. (or at least some clues. :) can I at least ask what font you are using? :))
the new and hot links implemented on forumhome is GREAT but the huge list at the bottom waaay to bulky and cumbersome looking.

(anyway to control the options there andrew?)

anyway...n job kira

GrendelKhan{TSU
06-21-2006, 12:19 PM
sorry to keep buggin ya Andrew (hopefully I'm not being spammy)


question/comment:

--I noticed with video files... clicking on the image or link triggers the download. (links_linkbit)
http://www.clantsu.org/forums/local_links.php?action=ratelink&linkid=14&catid=4&lpage=1

--yet with mp3... clicking on the link or image makes quicktime plug launch in background. (doesn't launch player or download dialogue). :/
http://www.clantsu.org/forums/local_links.php?action=ratelink&linkid=15&catid=7&lpage=1&ratesort=D&page=1

this is not good as it seems like nothing is happening and browser is frozen and then 20 secs later or whatever (after download) it comes active playing the song (scaring me to death).

Is this normal? why is it different for mp3s and video files?? :confused:

I mentioned this before in the context of requesting a feature to limit users per chosen category and usergroup to only be able to launch the jukebox. I hope some solution can be reached for this. its very confusing and no one knows to click the little icon (or forget).

As always... love this hack...just doing my best to continue to offer input to keep it as the best hack around :)

AndrewD
06-21-2006, 12:26 PM
sorry to keep buggin ya Andrew (hopefully I'm not being spammy)


question/comment:

--I noticed with video files... clicking on the image or link triggers the download. (links_linkbit)
http://www.clantsu.org/forums/local_links.php?action=ratelink&linkid=14&catid=4&lpage=1

--yet with mp3... clicking on the link or image makes quicktime plug launch in background. (doesn't launch player or download dialogue). :/
http://www.clantsu.org/forums/local_links.php?action=ratelink&linkid=15&catid=7&lpage=1&ratesort=D&page=1

this is not good as it seems like nothing is happening and browser is frozen and then 20 secs later or whatever (after download) it comes active playing the song (scaring me to death).

Is this normal? why is it different for mp3s and video files?? :confused:

I mentioned this before in the context of requesting a feature to limit users per chosen category and usergroup to only be able to launch the jukebox. I hope some solution can be reached for this. its very confusing and no one knows to click the little icon (or forget).

As always... love this hack...just doing my best to continue to offer input to keep it as the best hack around :)

Different add ins (Adobe Acrobat as well as Quicktime, etc) integrate themselves with the browser in different ways. I also find it a real pain to deal with, and it cost me a lot of thought early on with pdf files (my original reason for writing this hack).

AndrewD
06-21-2006, 03:38 PM
I noticed that the lightbox2.02 zip file had one extra js file than the v2 folder did (effects.js). so I just uploaded that with the other clientscript files and finished the install... and BAM! v2 is now working :woot:



Thanks - that seems to have been the problem

sydude
06-21-2006, 06:32 PM
One of my links categories is very text intensive, and the existing linkbits don't work that well for it. Does anyone have a 'Legacy Postbit' style of linkbit? Or is it easy to make one up? Here is what I'm trying to achieve:

49778

Thanks!

Sy

AndrewD
06-21-2006, 07:08 PM
One of my links categories is very text intensive, and the existing linkbits don't work that well for it. Does anyone have a 'Legacy Postbit' style of linkbit? Or is it easy to make one up? Here is what I'm trying to achieve:

49778

Thanks!

Sy

try this

sydude
06-21-2006, 07:13 PM
try this
DAMN YOU'RE GOOD!!!! You are the MAN! :banana:

Thank you again!

sydude
06-21-2006, 07:20 PM
And here's another quick template question.. (sorry if this sounds completely dumb or if it's been covered ad nauseum..):

How do I make a new linkbit and have it selectable in the LL settings? For now I've had to delete out Greg's template with the code you gave me.

AndrewD
06-21-2006, 07:29 PM
And here's another quick template question.. (sorry if this sounds completely dumb or if it's been covered ad nauseum..):

How do I make a new linkbit and have it selectable in the LL settings? For now I've had to delete out Greg's template with the code you gave me.

Have a look in local_links_include.php, around line 238 - there's a definition of the linkbitcache array. You need to add a new row to that array.

sydude
06-21-2006, 07:30 PM
Have a look in local_links_include.php, around line 238 - there's a definition of the linkbitcache array. You need to add a new row to that array.Thank you. Again.

obmob
06-22-2006, 03:05 PM
Here i go again... excuse me Andrew, any chances to allow admin to post html in image description?

I have a postcard software called vCard, i can direct link some images to send them as a postcard... so, i want to add a different sized image and point it to that program...

Also, i have a mobile feature, and also need to point it to it to allow members to send it to their mobile phones...

So, maybe adding html permission would make it easier to you :p

Thank you for the big effort you make!u.u any comment on this?

AndrewD
06-22-2006, 03:33 PM
u.u any comment on this?

I hadn't given time to this yet - there have been other questions on my mind.

The problem with allowing html is that it is a potential security breech and needs careful handling. Is there a reason why you need to tag the pictures, and not (e.g.) add the tags inside the description field, where html is already allowed if you turn this permission on?

AndrewD
06-23-2006, 06:51 PM
is now available in first post of this thread

Main changes from 1st beta - many more hooks to help the integration with vbPlaza

directprint
06-24-2006, 06:03 AM
I get this error on top of the page.

Warning: Division by zero in /includes/local_links_include.php on line 238

A bit more on this error

Warning: Division by zero in /includes/local_links_include.php on line 238
The following setting(s) are invalid
thumbs_dir : upload_dir
Directory upload_dir (/home/username/public_html/upload_dir) doesn't exist and I can't create it
upload_dir : /upload_dir
I can't find/create subdirectories in /upload_dir (trying /home/username/public_html/upload_dir/2) - check permissions

Both these directories are 777

AndrewD
06-24-2006, 06:36 AM
I get this error on top of the page.

Warning: Division by zero in /includes/local_links_include.php on line 238

Thanks for letting me know - will fix - it's not serious and you can eliminate it by giving the setting link_image_size (on the LDM admin settings page) a positive value

directprint
06-24-2006, 06:48 AM
Thanks for letting me know - will fix - it's not serious and you can eliminate it by giving the setting link_image_size (on the LDM admin settings page) a positive value
Thank you all fixed with a simple number.

directprint
06-24-2006, 10:38 AM
I have some problems with files uploading under all access, it appears that it can't create subdirectory's, I have changed permissions to 777

Error Message
The following setting(s) are invalid
upload_dir : images
I can't create a subdirectory test file in images (trying /home/myusername/public_html/images/2) - check permissions
Return

AndrewD
06-24-2006, 12:09 PM
I have some problems with files uploading under all access, it appears that it can't create subdirectory's, I have changed permissions to 777

Error Message
The following setting(s) are invalid
upload_dir : images
I can't create a subdirectory test file in images (trying /home/myusername/public_html/images/2) - check permissions
Return

You're too helpful :) This is another bug introduced in the latest beta.

I had tried to improve the error checking for uploads and thumbs directories, but there was a bug in the new code which doesn't show up on a windows server. I'll post a new version of beta 2 in a few minutes.

Sorry.

AndrewD
06-24-2006, 12:20 PM
I've reuploaded the second beta of 2.2.2 as there were (at least) three irritating bugs.

Only two have changes since yesterday: includes/local_links_include.php and includes/local_links_misc.php

Alfa1
06-24-2006, 12:52 PM
Please delete.

obmob
06-24-2006, 04:55 PM
I hadn't given time to this yet - there have been other questions on my mind.

The problem with allowing html is that it is a potential security breech and needs careful handling. Is there a reason why you need to tag the pictures, and not (e.g.) add the tags inside the description field, where html is already allowed if you turn this permission on?Oh, well, html for admins would help me... or that's what i think. :)

Imagine some mobile content, to send it to mms i must tag an image with a certain code and then point it via a button or something else to the right URL.

Same happens with an e-card program i've on my site... would be useful if a user wants to send certain image.

Of course you know better, some advice would be useful, thanks. :)

Though... i think you are realyl busy with this new beta :(

Allan
06-24-2006, 07:24 PM
NB: The French translation is only partly complete - any volunteers?

For me, when vB 3.6 gold out ;)

directprint
06-24-2006, 08:06 PM
I've reuploaded the second beta of 2.2.2 as there were (at least) three irritating bugs.

Only two have changes since yesterday: includes/local_links_include.php and includes/local_links_misc.php

Changed both these files and still get the error...

Error Message
The following setting(s) are invalid
upload_dir : /home/username/public_html/images
I can't find/create subdirectories in /home/username/public_html/images (trying /home/username/public_html/home/username/public_html/images/2) - check permissions

I use the following for forum attachments without any problems
/home/username/attachment

All of these folders have 777 permissions.

Alfa1
06-24-2006, 09:59 PM
All LDM users!
Your attention please: Premium mod section for Links & Download Manager. (https://vborg.vbsupport.ru/showthread.php?t=119569)

AndrewD
06-25-2006, 06:42 AM
Changed both these files and still get the error...

Error Message
The following setting(s) are invalid
upload_dir : /home/username/public_html/images
I can't find/create subdirectories in /home/username/public_html/images (trying /home/username/public_html/home/username/public_html/images/2) - check permissions

I use the following for forum attachments without any problems
/home/username/attachment

All of these folders have 777 permissions.

Looking at the error message (the doubled-up directories in the "trying" path), I suspect that you still have the old version of local_links_misc.php on your site. Pls can you check that you replaced this file in your /includes directory?

In case this is not the problem, here is (yet another!) version of the local_links_misc.php file. Let me know how it goes

Nokia Tech
06-25-2006, 10:15 AM
I have installed this 3 times, Cant seem to get it to work correctly, VB 3.5.4

After adding the link to an external file, If you click on the link, it wont allow the download.
Permissions are set ok, As i am the administrator of the forum. It attempts to download a .PHP file from Local_Links.....

What am i doing wrong, I am banging my head against the wall here,

Thanks

AndrewD
06-25-2006, 10:31 AM
I have installed this 3 times, Cant seem to get it to work correctly, VB 3.5.4

After adding the link to an external file, If you click on the link, it wont allow the download.
Permissions are set ok, As i am the administrator of the forum. It attempts to download a .PHP file from Local_Links.....

What am i doing wrong, I am banging my head against the wall here,

Thanks

Sorry to hear this. Maybe you can send me a pm with details of your board - ideally an admin account?

Nokia Tech
06-25-2006, 10:48 AM
I have just only 5 minutes ago uninstalled it again,

As soon as i get chance, i will re-install it and reply again here and maybe you will be able to locate the problem. To be honest, I am sure it must be something i am doing wrong although i read the online instructions 5 times...

Dont suppose you offer an chargable installation service do you. ? Just a thought.

Basicly, I need this program to use for downloading only, I have a server packed with various service files that my members want access to. All files to be downloaded are at an external server, The uploads or the jukebox will not be used, Uploads are done manually to my external FTP

Thanks for the very fast reply, and look forward to your response

directprint
06-25-2006, 10:54 AM
I can seem to get the thumbnails to view permanantly, one minute they are there, the next they are gone?, I am lost with this one, guessing it's a cache problem or something.

AndrewD
06-25-2006, 11:02 AM
I have just only 5 minutes ago uninstalled it again,

As soon as i get chance, i will re-install it and reply again here and maybe you will be able to locate the problem. To be honest, I am sure it must be something i am doing wrong although i read the online instructions 5 times...

Dont suppose you offer an chargable installation service do you. ? Just a thought.

Basicly, I need this program to use for downloading only, I have a server packed with various service files that my members want access to. All files to be downloaded are at an external server, The uploads or the jukebox will not be used, Uploads are done manually to my external FTP

Thanks for the very fast reply, and look forward to your response

I'm very happy to take a look if you send me site details - no charge!

Be careful with files held on an external server - with its default settings, LDM will be quite costly to use, as it keeps the file location hidden. It becomes trivially cheap for these files if they are not considered as "downloads" (i.e. do not have file tpes that appear in your VB admincp mimetypes table) or (b) you set the LDM setting "force_redirect" to 1 (LDM/admin/settings)

directprint
06-25-2006, 12:25 PM
I can seem to get the thumbnails to view permanantly, one minute they are there, the next they are gone?, I am lost with this one, guessing it's a cache problem or something.
All fixed by Andrew, must say this is a great product and some top support to go with it. Well Done:)

Nokia Tech
06-25-2006, 02:45 PM
Can you please explain to me whet exactly you mean when you say

LDM will be quite costly to use, as it keeps the file location hidden. It becomes trivially cheap for these files if they are not considered as "downloads"

I am a little confused here, I assume you are refering to bandwidth usage from my hosting supplier ?

Please bear with me, as i am still fairly new to all this Vb mods etc

Thanks

AndrewD
06-25-2006, 03:04 PM
Can you please explain to me whet exactly you mean when you say



I am a little confused here, I assume you are refering to bandwidth usage from my hosting supplier ?

Please bear with me, as i am still fairly new to all this Vb mods etc

Thanks

LDM can handle documents in various ways. Sometimes, people use it because they want to keep file locations secret. This is how LDM is configured by default.

To achieve this secrecy, the user is sent a url that does not point directly to the download, but instead points to the LDM script. The script works out what it is being asked to send, reads the file and sends it on to the user, with appropriate headers and so on, so that the file behaves correctly when it reaches the user's browser (e.g. has the right name, etc).

This is very straightforward (quite cheap in cpu and identical bandwidth to providing the actual file url) when the file is actually stored on the web server that is running LDM.

However, if you have the file stored on another server and want to keep its location secret, then LDM has to read the file from the second server and then re-transmit it to the user. This is twice as costly in bandwidth (file has to pass twice through your server) and about 10-50 times as expensive in server cpu, because reading remote files is a complex process. The practical consequence is that standard php configurations (which usually allow about 30 seconds cpu) will fail to transmit remote files that are bigger than a megabyte or so.

This problem only occurs with entries that LDM 'recognises' as a 'download' - i.e. has a file type which appears in the VBulletin 'attachments' mimetype table - and only if the LDM setting 'force_redirect' is set to 0. For all other file types and when force_redirect is set to 1 or 2, LDM gets the user's browser to do the work, by telling it to redirect to the file. For files stored on a remote server, this means that there is no bandwidth load on your server and no cpu load either.

Basically, the 'hidden file' mechanism is cheap and secure provided the file is held on your own server, but a pain in the beck when it's on another server ...
LDM can

Tyegurl
06-25-2006, 03:05 PM
why do i feel like a newbie??

i can't seem to figure out why my icons don't work.....

if the path is right it doesn't work and if i add a ./ it doesn't work either....oops wrong thread? should i have put this in the 3.6.0 thread??

anyway they don't work in the modules....

Nokia Tech
06-25-2006, 03:12 PM
Ok, Thats made it a lot clearer for me, Thankyou

I am just finishing off the re-installation again, If its ok with yourself, i would like to take you up on your kind offer to check the installation for me.

Will take me about 15 mins, as i just need to finish another item first.

Thankyou, BR

AndrewD
06-25-2006, 03:15 PM
why do i feel like a newbie??

i can't seem to figure out why my icons don't work.....

if the path is right it doesn't work and if i add a ./ it doesn't work either....oops wrong thread? should i have put this in the 3.6.0 thread??

anyway they don't work in the modules....

I've had several people with this problem - let me guess, your VB installation is in a different directory than your vbadvanced script? If so, yes, there's a bug in LDM which I'm trying to fix as we speak.

Tyegurl
06-25-2006, 03:18 PM
ummm

vbadvance is installed in my vbulletin forum folder...

AndrewD
06-25-2006, 03:23 PM
ummm

vbadvance is installed in my vbulletin forum folder...

Take a look at your main VB settings - is the home url pointing at your web root (http://yoursite) or at the forum (http://yoursite/forum) or vbadvanced script (http://yoursite/forum/vbascript.php)?

Tyegurl
06-25-2006, 03:30 PM
Take a look at your main VB settings - is the home url pointing at your web root (http://yoursite) or at the forum (http://yoursite/forum) or vbadvanced script (http://yoursite/forum/vbascript.php)?



Forum URL in vB Options
http://www.mysite.com/vBulletin

sorry had a long night am i understanding what you wanted?

AndrewD
06-25-2006, 03:35 PM
Forum URL in vB Options
http://www.mysite.com/vBulletin

sorry had a long night am i understanding what you wanted?

No, there're two settings - forum url and homepage url. LDM (incorrectly, I've decided) assumes that the homepage url is pointing at your web root.

Tyegurl
06-25-2006, 03:41 PM
ahhh yes okay that is what is is doing....

icon path shows

http://www.mysite.com/images/icon/rar.gif (or whatever it is)

leaves out my vBulletin folder altogether..

sorry to have bothered you...

my 5 and 1/2 month old is teething really bad and i didn't get much sleep....really sorry

GrendelKhan{TSU
06-25-2006, 03:42 PM
sweeT!! beta 2!! :D :D
<< will install tomorrow :) don't feel like redoing the plugins again right now. :/ lol

----------

btw, first I was all excited about this:
https://vborg.vbsupport.ru/showthread.php?t=119589
http://www.boardingscene.com/videos.php
then I realized that LDM could do all that and more...
and on our own site. :)

that said, I'm going back to the old issue of look and feel...
I almost wish there was a freeze on new features and just worked on layouts or templates. vbdownload manager still looks more put together simply because of the nice hit parade displays (top 5 hot, 5 new, 5recent)...and this vidia thingy looks better just cause of the layout as well, imo (but its certainly a more FAMILIAR one).

If LDM had templates like that... it'd more "accessible" I think for people.

eg:
-- if the jukebox could play inline and a few other thumbs displayed underneath (control the number of thumbs).

-- and we got auto generate referral links to the file (I request this a few times). Share this file! type thing

-- basically LDM would benefit greatly from an individual "page" for each file/video, etc. I often want to link people to a particular uploaded video and the only way I have found to do that is to rate/add a comment to the file...then link to that page.

plenty of video distributions sites to benchmark....
vidiac, google, collegehumor, ebaums etc. but all basiclly the same.

I think that would help LDM realize its full mass potential with vb. I know I'd love it.

food for though. just my 2cents.

I'll let ya know how Beta 2 goes :)

AndrewD
06-25-2006, 05:08 PM
I almost wish there was a freeze on new features and just worked on layouts or templates.

My friend, that's up to you :)

eg:
-- if the jukebox could play inline and a few other thumbs displayed underneath (control the number of thumbs).

sounds like a new feature... :)

-- and we got auto generate referral links to the file (I request this a few times). Share this file! type thing

sounds like a new feature... :)

-- basically LDM would benefit greatly from an individual "page" for each file/video, etc. I often want to link people to a particular uploaded video and the only way I have found to do that is to rate/add a comment to the file...then link to that page.

sounds like a new feature... :)

Basically, I agree with you - I'd like to stop adding new features for a while, and would like to work on improving the user interface for some of the features - the jukebox, the photo library, and so on. I feel challenged (shall we say motivated) by flickr...

Tyegurl
06-25-2006, 05:24 PM
Basically, I agree with you - I'd like to stop adding new features for a while, and would like to work on improving the user interface for some of the features - the jukebox, the photo library, and so on. I feel challenged (shall we say motivated) by flickr...


okay i like the sound of that too...will there be a way possibly to not necessarily create a photo album but maybe to let the user create his own set of photos in an album of links? or would that be a feature lol..

AndrewD
06-25-2006, 05:26 PM
okay i like the sound of that too...will there be a way possibly to not necessarily create a photo album but maybe to let the user create his own set of photos in an album of links? or would that be a feature lol..

his/her favourites, perhaps ?

Nokia Tech
06-25-2006, 05:43 PM
Ok, I just managed to get around to re-installing it again,

Still having the same problems as before, I have a file in the database, and on an external server, I cant get either to work properly.

As you said earlier, I have set up a test admin for you, Would you mind taking a look for me. I will be only too happy to pay for your time in doing so. I really need this install badly.... Thanks

I will send you a pm with details on your reply,

BR

AndrewD
06-25-2006, 05:54 PM
Ok, I just managed to get around to re-installing it again,

Still having the same problems as before, I have a file in the database, and on an external server, I cant get either to work properly.

As you said earlier, I have set up a test admin for you, Would you mind taking a look for me. I will be only too happy to pay for your time in doing so. I really need this install badly.... Thanks

I will send you a pm with details on your reply,

BR

Send me a PM, happy to take a look

AndrewD
06-25-2006, 06:45 PM
Ok, I just managed to get around to re-installing it again,

Still having the same problems as before, I have a file in the database, and on an external server, I cant get either to work properly.

As you said earlier, I have set up a test admin for you, Would you mind taking a look for me. I will be only too happy to pay for your time in doing so. I really need this install badly.... Thanks

I will send you a pm with details on your reply,

BR

Still waiting...

Nokia Tech
06-25-2006, 06:49 PM
Sorry, Pm on its way in a few seconds

AndrewD
06-25-2006, 07:10 PM
Sorry, Pm on its way in a few seconds

See my PM reply

Nokia Tech
06-25-2006, 07:51 PM
I followed as per your PM, Did you receive my results in the reply,

No matter what file is downloaded, The filename is called. Filename: Local_Links.PHP

The downloaded file arrives as a .PHP file extension and is not the correct format. Any idea's

I really appreciate any help on this at all.... regards

EDIT !!

I have just converted some files to .zip, instead of .rar files. These download in the correct format.
The only problem is, When you try to unpack it, it says its corrupted. tried 5 different zip files and tested each before they were added to the server for use with this program.

Now i am even more confused

AndrewD
06-26-2006, 04:07 AM
No matter what file is downloaded, The filename is called. Filename: Local_Links.PHP

The downloaded file arrives as a .PHP file extension and is not the correct format. Any idea's

I have just converted some files to .zip, instead of .rar files. These download in the correct format.
The only problem is, When you try to unpack it, it says its corrupted. tried 5 different zip files and tested each before they were added to the server for use with this program.

Now i am even more confused

I am also very confused. Every file on your site is downloading correctly onto my PC, is being given the correct name and is a valid (i.e. not corrupted). This is true with both Internet Explorer and Firefox.

It seems the problem is on your PC, but to confirm this, can you ask someone/use another PC?

I've only had this report once before. On that occasion, the problem was that the person had installed a third party 'Download Manager' which was not working properly (or the two were not working together properly).

Can you also send me an email with one of the downloaded 'phps' I'd like to see what is being stored on your PC. I'll send you a PM with my email address.

Nokia Tech
06-26-2006, 07:19 AM
I have retuned your email with the requested information.


Regarding the file you attached yesterday, I have downloaded all files via 3 computers and get the same results.

The file downloads as a .PHP file, as included, Or is corrupted as a zip file.

My browser is Internet Explorer and have no download accelerators or managers installed

:confused: Should i give up at this point :confused:

AndrewD
06-27-2006, 07:05 PM
I have retuned your email with the requested information.


Regarding the file you attached yesterday, I have downloaded all files via 3 computers and get the same results.

The file downloads as a .PHP file, as included, Or is corrupted as a zip file.

My browser is Internet Explorer and have no download accelerators or managers installed

:confused: Should i give up at this point :confused:

The file you sent me (called local_links.php) is bit-for-bit identical with the original .rar file on my server. I?ve no idea whether it is a valid rar file, as this is not a format I use.

All the files on your LDM installation server download correctly onto my PC, and they keep the correct name, and are identical to the original files. I have also tried accessing your site from another PC, in another city, and I got exactly the same results. So I?m at a loss to know what is going on at your end. The web site is working correctly, but you seem to have two problems ? a) failure to store the file with the correct file name and b) corrupt file transfers.

One thing you might try is to upload one of your .rar files as an attachment to a standard post in you VB forums, and see if it downloads correctly. Another thing is to try a different browser, e.g. firefox.

Sorry, beyond that I can?t think what else to suggest,

dilbert
06-27-2006, 10:26 PM
Hi,
I just started loading files into this terrific mod.
I have some categories and subcategories.
The look I would like is:

FDA
|___ Guidance's
|______2006
|______2005
|______2004

How can I get that look?

Thanks, Cliff

aggiefan
06-27-2006, 10:45 PM
We are getting this error:

Warning: require_once(includes/local_links_init.php) [function.require-once]: failed to open stream: No such file or directory in \admincp\plugin.php(1467) : eval()'d code on line 3

Fatal error: require_once() [function.require]: Failed opening required 'includes/local_links_init.php' (include_path='.;C:\php5\pear') in C:\AGGIEFANS_WEB\forums\admincp\plugin.php(1467) : eval()'d code on line 3


This is our test server running 3.6 beta 2.... and was migrated from linux to windows (we are making a big change over to a dedicated server and in the process are moving to windows server 2003). Not sure which part its related to but my other plugins have been able to import/export fine. And I am using the 2.2.2 beta 2 script. We are upgrading from 2.1.1 which is pretty far back. Would it work better to get it to 2.2 before going to the beta?

I get that error when I try to import the xml file (and i checked the overwrite checkbox)

dilbert
06-27-2006, 11:56 PM
We are getting this error:



This is our test server running 3.6 beta 2.... and was migrated from linux to windows (we are making a big change over to a dedicated server and in the process are moving to windows server 2003). Not sure which part its related to but my other plugins have been able to import/export fine. And I am using the 2.2.2 beta 2 script. We are upgrading from 2.1.1 which is pretty far back. Would it work better to get it to 2.2 before going to the beta?

I get that error when I try to import the xml file (and i checked the overwrite checkbox)
Maybe try this one https://vborg.vbsupport.ru/showthread.php?t=119041
It's for 3.6

aggiefan
06-28-2006, 01:57 AM
im running the beta 2.2 (you still have to download it from this thread)

GrendelKhan{TSU
06-28-2006, 02:50 AM
My friend, that's up to you :)

sounds like a new feature... :)
sounds like a new feature... :)
sounds like a new feature... :)

Basically, I agree with you - I'd like to stop adding new features for a while, and would like to work on improving the user interface for some of the features - the jukebox, the photo library, and so on. I

LOL. ok ok busted. some of those I was thinking were more about look, but of course one would need new features to support the look. lol I officially rescind the freeze part... just want to upgrade the "concentrate on the look" part. :p

that said, whatcha think of those new features? :)
(fingers crossed) :p

feel challenged (shall we say motivated) by flickr...

also, interesting comment about flickr. I love that kind of slickness (I'm a picaso fan as well). BUT if I may throw out some food for thought..
why not throw that "challenge" into slickness factor of the video and jukebox presentation (like above features. ;) or other). The reason I say that is that there are tons of Photo galleries for vbulletin. Good ones. I've one of each on differetn forums!! lol. I'd be concerned with conflict with those... ie: why throw into a "saturated" hack market, so to speak.

plus, and this a big point for me, its not as much the Gallery addon features that do it for me (they are all about the same), but how well integrated they are into the forums. like cmps addon, show gallery pics on forumhome *(VERY popular), show in profile etc. ...and those are all hacks in themselves (ie: LOTS more work unless people volunteer to make the addon hacks). in orther words, you may be adding on a lot more work than just the core features since the addons are a big draw in the "gallery hack" market, so to speak. other main features for galleries: member galleries. being able to make your own. that sounds like more features too. ;) ie: since robust photo gallery addons are available, people know what they want as basics (A LOT).



On the flip side, that other new hack that uses vidiac that I posted a link to is in the right hack market "space", imo. ... There are NO decent (certianly now where near as complete and robust) as solution for video/jukebox management besides LDM (vbdownloads got you beat on look, imo, but no where near in function and flexiblity).

In fact, the video (and jukebox), links and file handling, for me, are the MAIN uses I take outta LDM. Photos wasn't even a thought for me until you put the idea out there (as I use the other photo gallery hacks) and/or I thought of only as a cool comliment via the thumbnail lightbox.

I just don't like that you actually have to host that vidiac hack elsewhere and feed someone elses ads. otherwise, I'd be all over it and worry about what to do with my LDM videos. :/

But LDM seems as those it could make an easy jump into what vidiac is doing (with what I thought were mostly template edits), and we admin get to control it. Turn us all into "funny video website" owners (or whatever). And everyone knows those are popular.

I know the design and coolness of flickr like stuff is seductive. and I suppose no reason NOT to do that too.... other than time. I'd just love to see the video and link management look and feel get its face lift way before opening up a whole quasi-new functionality (bringning it into the spotlight). again, that's just me but I maybe its some food for thought. there ARE cool video site too. :p :)

anyway, like I said, just some food for thought.

as usual, keep up the good work!! whatever you choose, I'm stickin with LDM and the best support around ;) :D

AndrewD
06-28-2006, 03:51 AM
We are getting this error:

I get that error when I try to import the xml file (and i checked the overwrite checkbox)

We are getting this error:

Quote:
Warning: require_once(includes/local_links_init.php) [function.require-once]: failed to open stream: No such file or directory in \admincp\plugin.php(1467) : eval()'d code on line 3

Fatal error: require_once() [function.require]: Failed opening required 'includes/local_links_init.php' (include_path='.;C:\php5\pear') in C:\AGGIEFANS_WEB\forums\admincp\plugin.php(1467) : eval()'d code on line 3

The message says it can't find local_links_init.php in your includes directory, so I suspect you've not uploaded all the code (or put some of it in the wrong directory).

AndrewD
06-28-2006, 03:56 AM
LOL. ok ok busted. some of those I was thinking were more about look, but of course one would need new features to support the look.

When I said 'motivated by flickr', I think I was saying the same as you. It's not so much that I want to produce a new photo gallery, rather what interests me is the way sites like that handle the user interface. What works for one filetype might work (or not) for another, and that's interesting to explore.

I know that you want to see tighter intergration with forums. I can see the value, but it isn't something that is very relevant for our needs. But more significantly, the more one codes for tight integration, the more one has to be 110% sure of what is going on inside VBulletin, to avoid doing damage and to keep the number of bugs low. So I hope you'll allow me (for the time being at least) not to go too far down that road.

Thanks for all your interest

Nokia Tech
06-28-2006, 12:16 PM
The file you sent me (called local_links.php) is bit-for-bit identical with the original .rar file on my server. I’ve no idea whether it is a valid rar file, as this is not a format I use.

All the files on your LDM installation server download correctly onto my PC, and they keep the correct name, and are identical to the original files. I have also tried accessing your site from another PC, in another city, and I got exactly the same results. So I’m at a loss to know what is going on at your end. The web site is working correctly, but you seem to have two problems – a) failure to store the file with the correct file name and b) corrupt file transfers.

One thing you might try is to upload one of your .rar files as an attachment to a standard post in you VB forums, and see if it downloads correctly. Another thing is to try a different browser, e.g. firefox.

Sorry, beyond that I can’t think what else to suggest,


If I paste the link directly into my web browser, The files all download perfect and un-corrupted. 3 other people in other locations are experiencing the exact same problem as myself, One of which usaed Firefox.
From the server direct, they are perfect downloads. Downloading through your Install, No downloads work, and the files it does download are corrupted....

Oh well. . . :confused: :confused: Time to uninstall it for the last time,

Thanks for all your help.

AndrewD
06-28-2006, 12:19 PM
If I paste the link directly into my web browser, The files all download perfect and un-corrupted. 3 other people in other locations are experiencing the exact same problem as myself, One of which usaed Firefox.
From the server direct, they are perfect downloads. Downloading through your Install, No downloads work, and the files it does download are corrupted....

Oh well. . . :confused: :confused: Time to uninstall it for the last time,

Thanks for all your help.

Sorry to hear this - but as I said, the files come down perfectly to me from your site via the LDM software.

Nokia Tech
06-28-2006, 12:36 PM
Ok, Just before i uninstall it, Is there anyone that would be willing to try downloading a test file from my site,

My site is www.multi-forums.co.uk

Test login details -

Username - HACK TESTER
Password - HACK TESTER

If someone could possible test the downloads for me, and post the result here, The link is in the navbar under SERVER.

Not sure if posting your site address breaches any rules here, Please accept appologies and edit accordingly if this is the case.

Regards,

|oR|Greg
06-28-2006, 12:59 PM
Photo Album would be great, but I think first and foremost would be multiple uploads... :D IMHO

AndrewD
06-28-2006, 04:02 PM
Hi,
I just started loading files into this terrific mod.
I have some categories and subcategories.
The look I would like is:

FDA
|___ Guidance's
|______2006
|______2005
|______2004

How can I get that look?

Thanks, Cliff

I think this look will require a minor change to a couple of templates, plus an additional variable in the code that builds those templates. Bear with me - I'll see if this can easily be added to the next release (due in a few days, I hope).

AndrewD
06-28-2006, 04:04 PM
Photo Album would be great, but I think first and foremost would be multiple uploads... :D IMHO

What size would the individual uploads be, and how many do you want to upload at once? I'm wondering if it's easier to add this to LDM directly, or simply interface LDM to a third-party Java uploader.

dilbert
06-28-2006, 08:35 PM
I think this look will require a minor change to a couple of templates, plus an additional variable in the code that builds those templates. Bear with me - I'll see if this can easily be added to the next release (due in a few days, I hope).
Wow Andrew, that would be amazing.
I presumed it was something I set wrong with the catergories and subcategories.
Thank you

|oR|Greg
06-29-2006, 01:01 PM
What size would the individual uploads be, and how many do you want to upload at once? I'm wondering if it's easier to add this to LDM directly, or simply interface LDM to a third-party Java uploader.

I always say simple is best. Anyway to tie in the current uploads that you set in vB? You know like on my site, I set 10 attachments, but to display the dialogue so only 5 at a time may be done. If you could use those same settings that would rock. I never recommend 3rd party, too many variables that can break, and then you start needing 3rd party support.

AndrewD
06-29-2006, 04:23 PM
-- basically LDM would benefit greatly from an individual "page" for each file/video, etc. I often want to link people to a particular uploaded video and the only way I have found to do that is to rate/add a comment to the file...then link to that page.


You can always link to local_links.php?catid=NN&linkid=MM. This will give you the one link on its own page. With v2.2.2 it even works if you subsequently move the entry to a new category.

wobbly
06-29-2006, 06:13 PM
Ok, Just before i uninstall it, Is there anyone that would be willing to try downloading a test file from my site,

My site is www.multi-forums.co.uk

Test login details -

Username - HACK TESTER
Password - HACK TESTER

If someone could possible test the downloads for me, and post the result here, The link is in the navbar under SERVER.

Not sure if posting your site address breaches any rules here, Please accept appologies and edit accordingly if this is the case.

Regards,

Works okay my friend :banana:

Nokia Tech
06-29-2006, 08:15 PM
Works okay my friend :banana:


So just to confirm,
You downloaded the 4 test files from the server link correctly, and they were not corrupted and they did not download as a file called Local_Links.PHP

Thanks

directprint
06-29-2006, 08:38 PM
What would be a nice feature, if the threads/posts column on the main link page had the number of categories/links.

https://vborg.vbsupport.ru/

AndrewD
06-30-2006, 04:23 AM
What would be a nice feature, if the threads/posts column on the main link page had the number of categories/links.

http://www.vpba.com.au/images/sample.jpg

If your forum url points to a specific category (i.e. local_links.php?catid=N), the 'posts' column will contain the number of entries in the category. I'd avoided including this information when the pointer is to the base category (i.e. just local_links.php), as it adds another database query. If you want to try a variation that includes the total number of entries with the base, take this file and use it to replace the "Links and Downloads Manager - Patch forumhome" plugin which is patched to the forumbit_display hook on your board (VB/admincp/plugins and products/plugin manager/edit)

Let me know what you think and I can consider making this a permanent feature.

Number of categories can also be shown, but is again another database lookup or two.

directprint
06-30-2006, 04:52 AM
I will be adding this one right now, I will let everyone know how it goe's. Thanks again Andrew, it's a pitty vbadvanced support isn't this good.

directprint
06-30-2006, 05:01 AM
If your forum url points to a specific category (i.e. local_links.php?catid=N), the 'posts' column will contain the number of entries in the category. I'd avoided including this information when the pointer is to the base category (i.e. just local_links.php), as it adds another database query. If you want to try a variation that includes the total number of entries with the base, take this file and use it to replace the "Links and Downloads Manager - Patch forumhome" plugin which is patched to the forumbit_display hook on your board (VB/admincp/plugins and products/plugin manager/edit)

Let me know what you think and I can consider making this a permanent feature.

Number of categories can also be shown, but is again another database lookup or two.
Looks great...well done, maybe the categories option might be nice also, at this stage my database is not that big. Image below of your great work Andrew.

http://www.vpba.com.au/images/sample1.jpg

Akagi
07-01-2006, 11:10 AM
Hi Andrew,

I've used LDM since 2.1.x. Been upgrading with each release and I must say, I like it a lot! It's now part of the main structure in my website.

Some feedback
- I notice that for the "Daily download and bandwidth allowances" admin setting, let's say if i set it such that unregistered usergroup can download 3 files everyday, it applies to all guest. Meaning, all the unregistered can only download 3 files in total. Would it be possible for this to be ip-specific? For example, if i set 3 files for Unregistered, each user (with unique ip) would be able to download up to 3 files per day? (hope this is not too confusing)

Featured Link/Download
- So far i haven't been able to get it working. Anyone has any screenshots/demo link for me to see how would the featured link/download look like? I'm under the impression that let's say if i set myself as the user whose favourites will be featured, the featured link/download would appear at the main page (ie. local_link.php)?

Future/Suggestions
- I'm thinking, maybe for the future versions, you might wanna consider working towards this direction - let's say if i click on the username of the user who submitted the link/download, i'll be brought to that user's dedicated page, where his uploads, downloads, and other info of that user would be listed. Something like DeviantArt without all the complexity of DA. This way, users would be encouraged to submit links/downloads.

- hooks to work with vbPlaza so that LDM can make use of the vbbux in the system. enable users to receive vbbux for each upload.

Hope you don't mind the suggestions i've thrown up. No obligation and no rush though..You've already done a tremendous job and provided great support and we truly appreciate it. *Double Thumbs up!*

@Nokia Tech, i tried and download. it works fine. no corrupted files whatsoever.

AndrewD
07-01-2006, 11:58 AM
Hi Andrew,
I've used LDM since 2.1.x. Been upgrading with each release and I must say, I like it a lot! It's now part of the main structure in my website.
Thanks!



- I notice that for the "Daily download and bandwidth allowances" admin setting, let's say if i set it such that unregistered usergroup can download 3 files everyday, it applies to all guest. Meaning, all the unregistered can only download 3 files in total. Would it be possible for this to be ip-specific? For example, if i set 3 files for Unregistered, each user (with unique ip) would be able to download up to 3 files per day? (hope this is not too confusing)

This is a good idea. I'll put it on the list.


Featured Link/Download
- So far i haven't been able to get it working. Anyone has any screenshots/demo link for me to see how would the featured link/download look like? I'm under the impression that let's say if i set myself as the user whose favourites will be featured, the featured link/download would appear at the main page (ie. local_link.php)?

You have to follow these steps on the LDM admin page:
a) specify which user(s) will provide featured links
b) specifiy how many to display, and whether they are to be 'category specific'

Then, the indicated users' favourites will be randomly selected as 'featured links'

i.e. suppose you set yourself as the featured user. Everyone will then get to see a random selection of the entries that you have chosen as "favourites". If you haven't chosen any, then none get displayed.

Clear?



Future/Suggestions
- I'm thinking, maybe for the future versions, you might wanna consider working towards this direction - let's say if i click on the username of the user who submitted the link/download, i'll be brought to that user's dedicated page, where his uploads, downloads, and other info of that user would be listed. Something like DeviantArt without all the complexity of DA. This way, users would be encouraged to submit links/downloads.

I think this is a good idea and very easy to implement. I'll add it to the list.

- hooks to work with vbPlaza so that LDM can make use of the vbbux in the system. enable users to receive vbbux for each upload.


CMX_CMGSCCC contacted me a couple of weeks ago about this and I've added the hooks I think he needs. I hope he's working on the integration, but I haven't heard back.

Alfa1
07-01-2006, 01:00 PM
It would be nice to have all the files/links added by a member in that member's vb profile.

lovevn
07-01-2006, 01:02 PM
Hi
I recently change my server where I stored my file. Now I want to change old url to the new one. I want to do this using msql but I do not know what command I should use. Could anyone help me with this. I want to change http://oldserver.com in "linkurl" to http://newserver.com

Thanks

AndrewD
07-01-2006, 01:56 PM
Hi
I recently change my server where I stored my file. Now I want to change old url to the new one. I want to do this using msql but I do not know what command I should use. Could anyone help me with this. I want to change http://oldserver.com in "linkurl" to http://newserver.com

Thanks

You can do this within LDM itself. Go to the LDM/admin/categories

For each category, select mass edit, then select all the entries, then check the 'edit url' box andtype olderserver.com in the first box and newserver.com in the second.

Depending on how many entries you have in your database, you may have to repeat this a few times.

AndrewD
07-01-2006, 01:58 PM
It would be nice to have all the files/links added by a member in that member's vb profile.

With recent versions, you have the most recent that they added, if you enable the profile_ldmactivity setting on the admin page

lovevn
07-01-2006, 02:16 PM
You can do this within LDM itself. Go to the LDM/admin/categories

For each category, select mass edit, then select all the entries, then check the 'edit url' box andtype olderserver.com in the first box and newserver.com in the second.

Depending on how many entries you have in your database, you may have to repeat this a few times.

Thanks,
I used this and it worked well

UPDATE tablename SET fieldname = replace( fieldname, "old", "new" );

MotMann
07-01-2006, 03:21 PM
Where is a Link with Screens, Demo?

AndrewD
07-01-2006, 07:32 PM
Where is a Link with Screens, Demo?

As per the first post, in http://www.eirma.org/devel/LDM/index.html

directprint
07-01-2006, 09:35 PM
Can anyone tell me what the style is for the backgound behind link and icons.

https://vborg.vbsupport.ru/

Here is a link to my new style, but parts of it don't work well with LDM
http://www.vpba.com.au/forum/local_links.php?catid=3

puregraf
07-02-2006, 03:26 AM
hi, i installed this program and i enabled upload of multimedia. i went to test it out and the file extention i wanted to upload wasnt on the list of allowed file extentions, look at sthe attatchment.

my question is, where do i go to add file extentions of multimedia such as the ones already pre listed in the default where i enabled, but its not working am i missing something?

thanks

directprint
07-02-2006, 03:49 AM
hi, i installed this program and i enabled upload of multimedia. i went to test it out and the file extention i wanted to upload wasnt on the list of allowed file extentions, look at sthe attatchment.

my question is, where do i go to add file extentions of multimedia such as the ones already pre listed in the default where i enabled, but its not working am i missing something?

thanks
You add extensions via Admin Control Panel > Attachments > Extensions & Sizes , then you just hit the button Add New Attachement Type.

AndrewD
07-02-2006, 06:14 AM
Can anyone tell me what the style is for the backgound behind link and icons.

http://www.vpba.com.au/images/sample3.jpg

Here is a link to my new style, but parts of it don't work well with LDM
http://www.vpba.com.au/forum/local_links.php?catid=3

legend

AndrewD
07-02-2006, 06:18 AM
You add extensions via Admin Control Panel > Attachments > Extensions & Sizes , then you just hit the button Add New Attachement Type.

Keep in mind that to be sure that the new filetype behaves correctly when it's downloaded, you may need to provide the "mimetype" information in VB/admincp/file types.

Yo can find mimetype information all over the internet, e.g. at http://www.utoronto.ca/ian/books/xhtml1/mime/mimetype.html

Yo specify it in VB using a string like (for jpg)
Content-type: image/jpeg

directprint
07-02-2006, 07:20 AM
legend
Thanks, you are a legend....

Do you know what the text is for the links?

AndrewD
07-02-2006, 07:50 AM
Thanks, you are a legend....

Do you know what the text is for the links?

The same, surely? If I edit the font element of the legend css, the text changes size

directprint
07-02-2006, 08:46 AM
The same, surely? If I edit the font element of the legend css, the text changes size
You are so right, thanks for that, I must be having my silly pills today.:)

Have you every thought about the category icons (folder icon) images being changable between categories, I would think this could be just another entry in the Display settings for the particular category. It this a possability?

Akagi
07-02-2006, 09:11 AM
Andrew, thanks for the fast response! I've managed to get the featured sites part working :D huge thanks!

and also, really glad that you'll consider my suggestions :D way to go!

AndrewD
07-02-2006, 09:42 AM
You are so right, thanks for that, I must be having my silly pills today.:)

Have you every thought about the category icons (folder icon) images being changable between categories, I would think this could be just another entry in the Display settings for the particular category. It this a possability?

Isn't this already there? It's the cat_icon, cat_icon_new and subcat_icon in Edit category/Display settings

directprint
07-02-2006, 09:46 AM
Isn't this already there? It's the cat_icon, cat_icon_new and subcat_icon in Edit category/Display settings
thanks, sorry I missed that option, didn't realise it was already there.

zooki
07-02-2006, 10:28 PM
Quick Question before i decide whether to install or not,

Is it possible to mass Upload like 30 files to the server to a specific folder?? or are the files each uploaded one at a time?

AndrewD
07-03-2006, 04:05 AM
Quick Question before i decide whether to install or not,

Is it possible to mass Upload like 30 files to the server to a specific folder?? or are the files each uploaded one at a time?

If you use an FTP client, you can mass upload as many files as you want, and LDM can then scan the directory and mass insert them into one of its categories. You can also rescan that directory later and add only the files that are new/omitted the previous times.

LDM itself handles uploads one at a time. There is a request to extend it to behavesthe way VB behave (e.g. a variable number of uploads) but I need to see how/if this can be achieved in a sensible way.

EasyTarget
07-03-2006, 04:54 AM
Hey guys plesae vote for LDM as the Mod of the Month. A lot of time has been put into this and its a good way to show our appreciation for Andrew's hard work.

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

GrendelKhan{TSU
07-03-2006, 05:24 AM
Hey guys plesae vote for LDM as the Mod of the Month. A lot of time has been put into this and its a good way to show our appreciation for Andrew's hard work.

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

done :) and well deserved.

Kwak
07-03-2006, 05:25 AM
I have yet to install this mod (waiting for 3.6.0 gold) but I have voted for this.
Planning on using this once it gets updated to 3.6.0. Thanks AndrewD.

AndrewD
07-03-2006, 05:26 AM
done :) and well deserved.

Thanks, guys

GrendelKhan - I mocked up an embedded Jukebox for you over the weekend. I'd like you to take a first look before I upload it in the next beta. Can you send me a PM with an email address, pls.

GrendelKhan{TSU
07-04-2006, 04:09 PM
Thanks, guys

GrendelKhan - I mocked up an embedded Jukebox for you over the weekend. I'd like you to take a first look before I upload it in the next beta. Can you send me a PM with an email address, pls.

awesome! pm-ed you :)

obmob
07-06-2006, 03:15 PM
YAY! Vote, vote!!! ^^

welo
07-06-2006, 03:27 PM
Hey guys plesae vote for LDM as the Mod of the Month. A lot of time has been put into this and its a good way to show our appreciation for Andrew's hard work.

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

It's got my vote. I haven't kept up on installing the last couple of releases though.

Derekclarke
07-06-2006, 10:24 PM
FYI 2.21 does not work with VB 6 Beta 4 however 2.2.2 Beta 2 does work with Vb 6 beta 4

suggest if going to install Beta 4 to upgrade to 2.2.2 Beta 2 first

dodjer42
07-06-2006, 11:38 PM
Just followed the install instructions but I get an error: problem with forum DB. Where does LDM pickup its sql connection details?

Akagi
07-07-2006, 02:14 PM
Hey guys plesae vote for LDM as the Mod of the Month. A lot of time has been put into this and its a good way to show our appreciation for Andrew's hard work.

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

Guys, lets vote for LDM to be the HOTM July! Please vote!

MissKalunji
07-07-2006, 02:30 PM
/me clicks vote

Thats a hard battle tho

|oR|Greg
07-07-2006, 06:28 PM
My favorite part is the "links_linkbit_greg" :D I'm spehshul!

dodjer42
07-07-2006, 11:20 PM
Hey all, this part of the install is a little murky:

Run the Product Management System (VB admincp: Plugin System/Manage Products). Select Add/Import Product.

Does that mean running <server>/forums/local_links_admin.php


When I connect to that on my site (with a functioning vb setup) I get the error

There seems to have been a problem with the Official TouchBuddy Forum database.
Please try again by clicking the Refresh button in your web browser.

An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.

We apologise for any inconvenience.



Any advice? I'd like to vote for this app as well, but something just aint happening.

dodjer42
07-07-2006, 11:23 PM
Ok sorry, figured it out :) but I have a new question relating to uploads.

I get this error on upload:
"Upload error - unable to create a user subdirectory on server. Return". I searched this forum thread and saw some mention of CHMOD for the downloads/uploads directory. Checked that and it seems fine.

I have the following settings:

local_file_root=yes
Directory Prefix=/home/username/public_html/forums/
Uploads Dir = ./downloads/

Actual PWD response from shell: /home/username/public_html/forums

From /home/username/public_html/forums: ls -la
drwxrwxr-x 2 root root 1024 Jul 7 20:44 downloads/


root@blah [/home/username/public_html/forums]# ps -ef | grep httpd
root 15820 1 0 20:23 ? 00:00:00 /usr/local/apache/bin/httpd

efil
07-08-2006, 03:49 PM
Hi.
suddenly the sorting is not working.

can any one help?

dodjer42
07-08-2006, 11:02 PM
I found that if I CHMOD 777 on my uploads directory that I could upload, but this is a big security risk. I guess I know its a permissions error at least :)

dodjer42
07-08-2006, 11:49 PM
How about adding an EDIT button on the submitted link page? Right now I am hunting how to edit the link description, and it would be intuitive if EDIT was available as with usual VB forum posts.

:)

Tyegurl
07-08-2006, 11:50 PM
click on the pencil ;)

AndrewD
07-09-2006, 06:39 PM
Been away for a few days - all questions seem to be answered?

Langly
07-09-2006, 09:35 PM
I'm using LDM v2.1.6 and want to upgrade. All I have to do is overwrite the files on my server with LDM v2.2.2b2 files and input the product-eirma_ldm.xml having it overwrite the previous files?

Will this change any of my settings or permissions I have now?

Cheers

efil
07-10-2006, 03:01 AM
Been away for a few days - all questions seem to be answered?

Hi.
suddenly the sorting is not working.

can any one help?

AndrewD
07-10-2006, 04:43 AM
I'm using LDM v2.1.6 and want to upgrade. All I have to do is overwrite the files on my server with LDM v2.2.2b2 files and input the product-eirma_ldm.xml having it overwrite the previous files?

Will this change any of my settings or permissions I have now?

Cheers

That's correct. You will not lose any settings or permissions.

It's a good idea to take a database backup before any upgrade.

AndrewD
07-10-2006, 04:45 AM
Hi.
suddenly the sorting is not working.

can any one help?

In what sense is it not working? - sorting seems fine on my test and production sites.

I tried to take a look at your site, unfortunately I'm linguistically challenged :)

steelerguy26
07-10-2006, 08:15 AM
I have two quick questions, one I see several mentions of versions higher then 2.2.2 Beta but can not find where to download the most up to date versions.

Also when I click on Catagory link I created with a test file since upgrading to 2.2.2 I get this error?


Warning: main(DIR/includes/local_links_init.php) [function.main]: failed to open stream: No such file or directory in /home/leaguegu/public_html/local_links.php on line 105

Fatal error: main() [function.require]: Failed opening required 'DIR/includes/local_links_init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leaguegu/public_html/local_links.php on line 105

Can anyone help me get this mod up and running. I want users to be able to upload files as well as download them ASAP at my site.

Thanks in advance, if this helps this is a link to my sites forums.

http://leagueguru.com/forums/index.php

Follow the files link in nav bar

AndrewD
07-10-2006, 09:50 AM
I have two quick questions, one I see several mentions of versions higher then 2.2.2 Beta but can not find where to download the most up to date versions.

Also when I click on Catagory link I created with a test file since upgrading to 2.2.2 I get this error?


Warning: main(DIR/includes/local_links_init.php) [function.main]: failed to open stream: No such file or directory in /home/leaguegu/public_html/local_links.php on line 105

Fatal error: main() [function.require]: Failed opening required 'DIR/includes/local_links_init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leaguegu/public_html/local_links.php on line 105

Can anyone help me get this mod up and running. I want users to be able to upload files as well as download them ASAP at my site.

Thanks in advance, if this helps this is a link to my sites forums.

http://leagueguru.com/forums/index.php

Follow the files link in nav bar


This error message says that the file local_links_init.php cannot be found in your includes directory. So I think you have not uploaded all the code into the correct places. Basically, the files in release/forum in the zip file need to go into the corresponding places in your forums directory/subdirectories.

** Edited = I took a look at your site, and I see the problem. Go to your main VB admincp and take a look at the setting of the Forum URL (admincp/site name) - I imagine that this is pointing to your home directory rather than your forum directory - http://leagueguru.com/forums


2.2.2 beta 2 is the latest test version and 2.2.1 is the formally supported version. 2.2.2 beta 2 seems to be working fine, but there are several items that I'm still working on before this goes 'gold'. I would expect that 2.2.2 will become the official version when vb 3.6 is also official.

efil
07-10-2006, 02:44 PM
In what sense is it not working? - sorting seems fine on my test and production sites.

I tried to take a look at your site, unfortunately I'm linguistically challenged :)

It was working until the few last days , now when I want to sort , I get always the same position.
You can test yourself :
http://www.televizia.net/vb/local_links.php?catid=5

The sort by is in the left of the screen.
You can test it and see that nothing change.

Thanks in advance,
Efil.

steelerguy26
07-10-2006, 03:01 PM
Thanks alot that was a complete "Homer" on my behalf...DOH....:banana: :banana:

Langly
07-10-2006, 11:50 PM
I have a usergroup with permission to view a forum, post to a forum, can add links in LDM, allowed to upload in LDM but when they go to and file catagory, they don't get the option to Upload Files. All my other user groups have no problem and they get this option. Any ideas?

Thanks

calgdsm
07-11-2006, 12:16 AM
Exactly so ;) - before coding this, I want to make sure people aren't expecting to be able to handle arbitrarily large files. Those who run on shared servers are often limited by a small upload_max_filesize and post_max_size, around 2M.

How does one change that?? Thats the problem i am having.

lovevn
07-11-2006, 05:48 AM
I remember that there is an option for us to let LDM find and up date or files are up loaded by ftp.

I can not file this options in version 2.2.1

calgdsm
07-12-2006, 01:41 AM
How does one change that?? Thats the problem i am having.

Anyone know this??

AndrewD
07-12-2006, 01:16 PM
It was working until the few last days , now when I want to sort , I get always the same position.
You can test yourself :
http://www.televizia.net/vb/local_links.php?catid=5

The sort by is in the left of the screen.
You can test it and see that nothing change.

Thanks in advance,
Efil.

From the look of your screens, I think you have given every entry a different value for "display_order". This over-rides the sort order, and forces entries to be shown in increasing display_order. The purpose of this setting is to let you force some entries together, then some others, etc. Entries which have the same value for display_order are sorted according to the selection you make.

If this is the case, the quickest/easiest way to correct it is with a simple SQL command on your database. Something like the following:

UPDATE local_linksltoc SET displayorder = '1'

AndrewD
07-12-2006, 01:19 PM
How does one change that?? Thats the problem i am having.

These parameters are set in the php.ini file on your web site. You need to edit that file and then restart apache/whatever web server you are running. If you do not have this level of access, you may have to ask your service provider to make the changes.

AndrewD
07-12-2006, 01:20 PM
I remember that there is an option for us to let LDM find and up date or files are up loaded by ftp.

I can not file this options in version 2.2.1

LDM/admin/categories/scan

In the next release (almost fully tested) there will be the possibility to set categories to 'autosynchronise' with specified directories. This works recursively, so you can automatically create a category structure which matches a directory structure and stays up to date..

AndrewD
07-12-2006, 01:22 PM
I have a usergroup with permission to view a forum, post to a forum, can add links in LDM, allowed to upload in LDM but when they go to and file catagory, they don't get the option to Upload Files. All my other user groups have no problem and they get this option. Any ideas?

Thanks

Not offhand. If you send me a pm with your site details + an admin username/pwd, I'm happy to take a look.

GrendelKhan{TSU
07-12-2006, 02:08 PM
ok. beta3 up! great stuff...
lots of comments and few (v. minor) issues...

want me to email em, pm or is posting em ok?

AndrewD
07-12-2006, 02:38 PM
ok. beta3 up! great stuff...
lots of comments and few (v. minor) issues...

want me to email em, pm or is posting em ok?

PM them - I haven't released the code to others, so let's not add more to this thread

efil
07-12-2006, 03:05 PM
From the look of your screens, I think you have given every entry a different value for "display_order". This over-rides the sort order, and forces entries to be shown in increasing display_order. The purpose of this setting is to let you force some entries together, then some others, etc. Entries which have the same value for display_order are sorted according to the selection you make.

If this is the case, the quickest/easiest way to correct it is with a simple SQL command on your database. Something like the following:

UPDATE local_linksltoc SET displayorder = '1'

Thank you very much!
That was the problem, Now it's working fine. :)

Efil.

GrendelKhan{TSU
07-12-2006, 04:09 PM
PM them - I haven't released the code to others, so let's not add more to this thread

done! :)

though I suspect I'm gunna need to have to screenshot ya up or something. its tough explain some stuff with text. :/

anyway...great stuff!! :D :D

dodjer42
07-13-2006, 02:15 AM
Curious, I am trying to find out where and how different user groups have been assigned different upload allowances. I have my PHP values set to 12M, but registered users are only getting 2M.

Any ideas?