vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=119041)

obmob 04-14-2007 03:35 PM

AHA! Time to make noise XD

Well, i have a doubt, when accesing a file, link and see the details, is there a way to show the current comments as default? o.o

And also... is there a way to show some sort of filmstrip like the one available in vbgallery?

This is, a section where you can see the previous entry thumb, then the current one and finally the next entry available. I posted a screenshot ^^

I think this might be a template an one could easilly call for it adding a code in the linkbits.

Ophelia 04-14-2007 03:44 PM

Quote:

- There are currently 160914 records in the LDM Download 'Hits' table. You are likely to see reduced performance when using the LDM show_hit_parade setting to show overall statistics, and when analysing hits with LDM/Admin/Hits. Consider setting prune_downloads or use LDM/Admin/Hits to manually delete some of these records.
Andrew, the above isn't a bug, I just have a question. The above records accounts for 90 days worth of records. How badly will it affect our performance?

Also, is there a way to export this as something other than an excel sheet? Because of the amount of things that are put in, the excel sheet is to big and won't load all the way.

Ophelia 04-14-2007 03:46 PM

Also, it appears that when you tidy up the table > delete, you have to run this twice in order for it to visually show that it's deleted something.

I've dumped ours down to 30 days, and leads "There are currently 59613 records in the LDM Download 'Hits' table." Folks seriously need to stop downloading stuff! ;)

Ophelia 04-14-2007 04:00 PM

Looking at our download manager now...

04-05-2007 (expires 12-31-1969)

links_expiry_days is set to 9999999999999999

But on the other site, I have it set to 999999
and it reads 04-13-2007 (expires 04-20-2007)

---> Fix. This must have had something to do with the fact that we had the expire thing installed in the 2.2.6 beta testing it. I set the number to 0, then back to 999999 and it's showing up correctly now.

Alfa1 04-14-2007 06:06 PM

Does LDM have the option to broadcast a RSS feed?

Rouzbeh1 04-14-2007 08:01 PM

Quote:

Originally Posted by AndrewD (Post 1227471)
See email reply - my bug.

thank you Andrew, it worked!

btw. does LDM also work with Wimpy AV?

AndrewD 04-15-2007 04:52 AM

Quote:

Originally Posted by Alfa1 (Post 1227635)
Does LDM have the option to broadcast a RSS feed?

Yes. Take a look at extras/rss2/local_links_rss.php, which goes in your forum directory. It's hasn't been worked on for some months, but still seems to work properly. See image.

AndrewD 04-15-2007 09:58 AM

Quote:

Originally Posted by Ophelia (Post 1227540)
Also, it appears that when you tidy up the table > delete, you have to run this twice in order for it to visually show that it's deleted something.

I've dumped ours down to 30 days, and leads "There are currently 59613 records in the LDM Download 'Hits' table." Folks seriously need to stop downloading stuff! ;)

The main routine overhead is when you enable the 'hit parade' on the LDM home page. On my test PC with an LDM database with 33,000 hits, the sql statement required to select the hit parade entries requires 0.12 seconds CPU, an overhead that is required each time the page is displayed.

I've already taken steps to improve the efficiency of this step, and at some stage, I may make it much better (by keeping a 'day table' of hits).

Concerning the 'delete hits' page, it works correctly the first time you select it, but there's no page refresh, I realise.

Alfa1 04-15-2007 12:16 PM

Quote:

Originally Posted by AndrewD (Post 1228048)
Yes. Take a look at extras/rss2/local_links_rss.php, which goes in your forum directory. It's hasn't been worked on for some months, but still seems to work properly. See image.

Where do I place local_links_rss2.php ? Do I need to modify it in any way? Can I set it only to allow files within a certain time frame?
Is there a way to merge this RSS feed with vbulletin's rss feed?

AndrewD 04-15-2007 01:18 PM

Quote:

Originally Posted by Alfa1 (Post 1228264)
Where do I place local_links_rss2.php ? Do I need to modify it in any way? Can I set it only to allow files within a certain time frame?
Is there a way to merge this RSS feed with vbulletin's rss feed?

You place it in your forums directory.

If you point an RSS browser at this, it will by default show you the ten most recent entries added to your database.

If you point instead at local_links_rss2.php?hot=1, it will show the top ten hits

If you add parameter count=N, it will show N enties

If you add catid=N1,N2, it will restrict the list to entries in category ids N1 and N2.

It does not integrate with the vb feed, it's a separate feed.

Alfa1 04-15-2007 01:41 PM

Thanks.
Quote:

Originally Posted by AndrewD (Post 1228295)
If you add catid=N1,N2, it will restrict the list to entries in category ids N1 and N2.

Where exactly should I add this?

AndrewD 04-15-2007 01:49 PM

Quote:

Originally Posted by Alfa1 (Post 1228306)
Thanks.

Where exactly should I add this?

As command arguments, at the end of the URL, in the usual way...

A call to

http://yoursite/yourforums/local_lin...atid=1&count=5 will show the five most recent entries in category 1, and so on.

Alfa1 04-15-2007 02:00 PM

I see. So if I don't use the Nx command, then LDM will broadcast entries from categories which are restricted to certain member groups?

Strange. When going to the url http://yoursite/yourforums/local_links_rss2.php
It shows the 5 last entries, not the 10 last entries.

AndrewD 04-15-2007 02:18 PM

Quote:

Originally Posted by Alfa1 (Post 1228318)
I see. So if I don't use the Nx command, then LDM will broadcast entries from categories which are restricted to certain member groups?

Strange. When going to the url http://yoursite/yourforums/local_links_rss2.php
It shows the 5 last entries, not the 10 last entries.

Probably you've got the ldm setting links_seen_on_portal set to 5.

I'm not quite sure what it will do - whether it broadcasts them all or only those that are visible to the user who is looking at the stream. In any event, unauthorised users should not be able to access the entries, even if broadcast.

As I say, it hasn't had any work for some time.

Alfa1 04-15-2007 02:21 PM

Quote:

Probably you've got the ldm setting links_seen_on_portal set to 5.
Yes, I have.

Edit: It indeed broadcasts restricted files. Can this be resolved?

AndrewD 04-15-2007 02:34 PM

Quote:

Originally Posted by Alfa1 (Post 1228332)
Yes, I have.

Edit: It indeed broadcasts restricted files. Can this be resolved?

As I said, it hasn't had work for some time - that was a gentle hint :) I'm trying to get some other things done. The code can certainly be patched but I haven't got much time at the moment.

Alfa1 04-15-2007 02:57 PM

Quote:

Originally Posted by AndrewD (Post 1215413)
Which would you say are the main features that are missing? I'm not one for masochism, but I'd quite like to have a good photo album system myself.

Quote:

Originally Posted by Alfa1 (Post 1215432)
These features: http://www.photopost.com/featuresphp.html

A few nice functions off the top of my head, that I have with Photopost now:
  • Special lay out features for the image gallery.
  • The option to have it seem separate from the rest of LDM.
  • Recent & most popular photo's (is already possible but would need a different lay out as well.
  • Slide show.
  • User galleries.
  • Show thumbs of other pics in dir/member gallery
  • Watermark.
  • Comments with a more forum like appearance.

One thing I totally forgot to mention here, is forum integration of the gallery with the forum's attachment function. When a members adds pictures as an attachment they will not show up in the gallery. This way a massive amount of pictures gets lost. Several thousands in my case. At the same time it seems like madness to have 2 different ways to store images.

AndrewD 04-15-2007 02:58 PM

Quote:

Originally Posted by Alfa1 (Post 1228350)
One thing I totally forgot to mention here, is forum integration of the gallery with the forum's attachment function. When a members adds pictures as an attachment they will not show up in the gallery. This way a massive amount of pictures gets lost. Several thousands in my case. At the same time it seems like madness to have 2 different ways to store images.

That's something I've had on my own list for some time - smooth integration of vb attachments into LDM

AndrewD 04-15-2007 03:16 PM

Quote:

Originally Posted by unknowngiver (Post 1225921)
hey
i just added a new theme..and the download thing at the main page [vbadvanced] doesnt show :( anyway of adding it back in?

If you create a new theme after installing vbadvanced modules, you have to make the new style a child of the style into which you did the installation (I think). Otherwise, the required templates don't exist.

obmob 04-15-2007 04:05 PM

Quote:

Originally Posted by obmob (Post 1227526)
AHA! Time to make noise XD

Well, i have a doubt, when accesing a file, link and see the details, is there a way to show the current comments as default? o.o

And also... is there a way to show some sort of filmstrip like the one available in vbgallery?

This is, a section where you can see the previous entry thumb, then the current one and finally the next entry available. I posted a screenshot ^^

I think this might be a template an one could easilly call for it adding a code in the linkbits.

Please, some help for me? :(

AndrewD 04-15-2007 04:24 PM

Quote:

Originally Posted by obmob (Post 1228403)
Please, some help for me? :(

Of course....

pscyhosis 04-15-2007 05:26 PM

Hi AndrewD,

Great product! It works fine for me.
There are some problems after upgraded to the newest version. And there are some questions.
1. Cannot play media files such as mp3 and video..."cannot create directshow player"
2. It is good to have a integration of web player (wimply). If it would be possible to make a plugin for "Wimpy AV", since it would be cheaper to buy only one product to have all the functions.
3. is it possible to add a new application to open media files?

AndrewD 04-15-2007 06:24 PM

Quote:

Originally Posted by pscyhosis (Post 1228469)
Hi AndrewD,

Great product! It works fine for me.
There are some problems after upgraded to the newest version. And there are some questions.
1. Cannot play media files such as mp3 and video..."cannot create directshow player"

Seems to be a common problem with embedded windows media player - see http://www.opentechsupport.net/forum...c/37021-1.html

quote -

Posted by: ~MagicNinja~

everytime i try to view a video file online a message comes up saying, Cannot Create DirectShow Player, i use firefox if that has anything to do with it. I don't know what could be wrong with it.

Posted by: Psychotic001

Ok guys I had this problem too even posted on the Microsoft newsgroups about it got no help at all so I figured it out myself.. You have to completely uninstall Windows Media Player and than Reinstall it.. really simple made me feel dumb after I figured it out and now everythings great.

unquote
Quote:

Originally Posted by pscyhosis (Post 1228469)
2. It is good to have a integration of web player (wimply). If it would be possible to make a plugin for "Wimpy AV", since it would be cheaper to buy only one product to have all the functions.

I'll take a look at this - someone else has suggested the same

Quote:

Originally Posted by pscyhosis (Post 1228469)
3. is it possible to add a new application to open media files?

Yes, the media player functionality is encapsulated to make this as straightforward as possible. What do you want to do?

pscyhosis 04-15-2007 06:45 PM

AndrewD,

Thanks you very much for your fast response.:)
I guess that the "can not create..." is the problems of the windows media player.
I think the ultimate solution is to have a web media player (e.g. wimply), since it would be easier for the members.

I am looking forwards to a free or cheaper plugin for the Jukebox.:D

Poag 04-16-2007 10:20 AM

Hi there.

I have a relativly minor problem thats stopping me setting the mod active.

I use a seperate webserver to host my file downloads, this uses a seperate port, not matter how i try however I cannot get the mod to accept the seperate port as a "correct" host. It keeps trying to go through my file system and make new folders under :81

I upload files to /home/bob/downloads/uploads which goes to www.example.com/downloads/uploads
however i would like it to point to www.example.com:81/downloads/uploads

Any help greatly apprietiated :(

AndrewD 04-16-2007 10:54 AM

Quote:

Originally Posted by Poag (Post 1228892)
Hi there.

I have a relativly minor problem thats stopping me setting the mod active.

I use a seperate webserver to host my file downloads, this uses a seperate port, not matter how i try however I cannot get the mod to accept the seperate port as a "correct" host. It keeps trying to go through my file system and make new folders under :81

I upload files to /home/bob/downloads/uploads which goes to www.example.com/downloads/uploads
however i would like it to point to www.example.com:81/downloads/uploads

Any help greatly apprietiated :(

OK, will take a look and reply soon. Thanks for the question.

mattcaswell 04-17-2007 12:58 AM

Okay.. I guess I'm gonna win the prize for Village Idiot of the day, but I have spent all day trying to get LDM to install with the program manager. I select it just like I do any other program, but it never gets past a blue screen with
"Importing Product...please wait"


It just sits there and won't do anything. I installed a few other programs and then uninstalled them to try and eliminate that part as an issue.

Why won't it get past this point? I'm on a Mac Pro. I tried with WinXP and had the same issue so I'm sure it's not OS related. Unless it's browser related.. but I've tried Explorer, Safari, FireFox etc.

Any help is greatly appreciated,
Matt Caswell
http://www.thesabrehood.org

AndrewD 04-17-2007 03:55 AM

Quote:

Originally Posted by mattcaswell (Post 1229389)
Okay.. I guess I'm gonna win the prize for Village Idiot of the day, but I have spent all day trying to get LDM to install with the program manager. I select it just like I do any other program, but it never gets past a blue screen with
"Importing Product...please wait"


It just sits there and won't do anything. I installed a few other programs and then uninstalled them to try and eliminate that part as an issue.

Why won't it get past this point? I'm on a Mac Pro. I tried with WinXP and had the same issue so I'm sure it's not OS related. Unless it's browser related.. but I've tried Explorer, Safari, FireFox etc.

Any help is greatly appreciated,
Matt Caswell
http://www.thesabrehood.org

When very weird things happen, it often turns out that one of the code files hasn't been fully uploaded onto the server, or that there's a mix of files from different releases.

If that isn't the case, am happy to try to help if you contact me by PM with site details.

obmob 04-17-2007 08:47 PM

Quote:

Originally Posted by AndrewD (Post 1228415)
Of course....

O_o lol

mattcaswell 04-18-2007 12:19 AM

Quote:

Originally Posted by AndrewD (Post 1229457)
When very weird things happen, it often turns out that one of the code files hasn't been fully uploaded onto the server, or that there's a mix of files from different releases.

If that isn't the case, am happy to try to help if you contact me by PM with site details.

I am the weakest link! Didn't have a file where it was supposed to be. It's installed and I guess its working. Gotta figure out how to get a link on the navbar. I'll search!

Thanks for the help,
Matt

3Dx 04-18-2007 12:22 AM

v-nice work Great product! It works fine for me ;)

AndrewD 04-18-2007 04:07 AM

Quote:

Originally Posted by mattcaswell (Post 1230096)
I am the weakest link! Didn't have a file where it was supposed to be. It's installed and I guess its working. Gotta figure out how to get a link on the navbar. I'll search!

Thanks for the help,
Matt

Take a look at the on-line manual:

http://www.eirma.org/wikis/index.php/Installing_LDM

Simplest approach is to edit the navbar template

AndrewD 04-18-2007 04:16 PM

Quote:

Originally Posted by Poag (Post 1228892)
Hi there.

I have a relativly minor problem thats stopping me setting the mod active.

I use a seperate webserver to host my file downloads, this uses a seperate port, not matter how i try however I cannot get the mod to accept the seperate port as a "correct" host. It keeps trying to go through my file system and make new folders under :81

I upload files to /home/bob/downloads/uploads which goes to www.example.com/downloads/uploads
however i would like it to point to www.example.com:81/downloads/uploads

Any help greatly apprietiated :(

Hello again. Can I ask for some more information on how you are trying to make this work?

I tested the following:

- I set up a trial server on port 81, and constructed an entry in LDM on another server pointing to http://trial_server:81/myfile.pdf. This is accessed and downloaded correctly via LDM.

- However, I don't understand why you are running two servers on the same machine. When LDM accesses files via a full url, the access is *much* less efficient than a direct filestore link, even if it is on the same machine. There is an overhead in http access which does not exist when you do a direct file read

- If you want LDM to get at files that are on the same computer but in a different part of the filestore, the easiest way to deal with this is via the LDM *local_file_root* and *local_file_root_prefix* parameters, e.g.
- set local_file_root = yes
- set local_file_root_prefix to /home/bob/dowloads
- set upload_dir to /uploads

I'm missing something important, I'm sure.

itsblack 04-18-2007 05:04 PM

Hi Andrew, I find a new problem: the LDM search can't deal with unicode words.
When I search with english words, everything goes well. But when I search with chinese words, I got mysql error, like this
Quote:

Database error in vBulletin 3.6.5:

Invalid SQL:
SELECT link.linkid AS linkid
FROM local_linkslink AS link
WHERE;

MySQL error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Error Code : 1064
Date : Wednesday, April 18th 2007 @ 05:59:55 PM
Script : http://xxx.xxx.xxx/forum/local_links...&desc=1&keys=1
...

MotMann 04-18-2007 06:41 PM

Witch file i must use for a fresh install?

AndrewD 04-18-2007 06:48 PM

Quote:

Originally Posted by itsblack (Post 1230538)
Hi Andrew, I find a new problem: the LDM search can't deal with unicode words.
When I search with english words, everything goes well. But when I search with chinese words, I got mysql error, like this

OK, will try to investigate.

Does the regular vb search work with unicode?

AndrewD 04-18-2007 06:56 PM

Quote:

Originally Posted by MotMann (Post 1230634)
Witch file i must use for a fresh install?

This is explained in the online documentation, see http://www.eirma.org/wikis/index.php...nloads_Manager

If you want to completely remove an existing installation:

- first, deinstall via the vb admin/product page
- then, upload the file local_links_kill.php into your forums/admincp directory, and point your browser at it.

You'll find this file in the release/extras/kill-LDM subdirectory of the release

MotMann 04-18-2007 07:16 PM

Look at the top of these post. There are two files to download. ;)

Witch one ist the last one? Or i must use all two files?

itsblack 04-18-2007 11:18 PM

Quote:

Originally Posted by AndrewD (Post 1230650)
Does the regular vb search work with unicode?

Yes, it works.

itsblack 04-18-2007 11:21 PM

Quote:

Originally Posted by MotMann (Post 1230692)
Look at the top of these post. There are two files to download. ;)

Witch one ist the last one? Or i must use all two files?

You should use "links 2.2.7 post2.zip", it's the newest one.


All times are GMT. The time now is 03:39 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03644 seconds
  • Memory Usage 1,866KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (31)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete