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)

dpkm 10-04-2006 05:17 PM

I'm having some issues which I only recently discovered. I suspect they started when I updated to vb3.6 a month and a half or so ago.

Previously added links work fine, as do the counters.

However, whenever I (as a forum admin) or someone else tries to add a link, nothing gets inserted. I get the small bit about "processing" after hitting submit, but nothing happens after that. I've checked my permissions (which I hadn't altered from before, I'm fairly sure), so I don't think that's the problem, though I suppose it could be - even if it is a problem though, I can only imagine an error message would be thrown if I didn't have permissions to do this.

Any thoughts?

AndrewD 10-05-2006 07:47 AM

Quote:

Originally Posted by obmob
Another question.

You know? in vb 3.6.1 when i click on LDMs config inside control panel... i'm taken out of it and config is open in the whole page... is this supposed to happen? Oo

I made an early decision (maybe right, maybe wrong) not to do full integration with the vb admincp, so the 'look and feel' is different.

However, I think the problem of vb cp pages taking over the whole screen is actually a 'cookie' or 'cache' problem. I've had this on and off over the years with all parts of the VB admincp, and the only way to solve it is to clear the cache, close the browser and start again.

AndrewD 10-05-2006 07:58 AM

Quote:

Originally Posted by dpkm
I'm having some issues which I only recently discovered. I suspect they started when I updated to vb3.6 a month and a half or so ago.

Previously added links work fine, as do the counters.

However, whenever I (as a forum admin) or someone else tries to add a link, nothing gets inserted. I get the small bit about "processing" after hitting submit, but nothing happens after that. I've checked my permissions (which I hadn't altered from before, I'm fairly sure), so I don't think that's the problem, though I suppose it could be - even if it is a problem though, I can only imagine an error message would be thrown if I didn't have permissions to do this.

Any thoughts?

Am sorry to hear this. Should I take a look at your site to check things out? Happy to do so - PM me with an admin username and pwd.

obmob 10-06-2006 12:03 AM

Quote:

Originally Posted by AndrewD
I made an early decision (maybe right, maybe wrong) not to do full integration with the vb admincp, so the 'look and feel' is different.

However, I think the problem of vb cp pages taking over the whole screen is actually a 'cookie' or 'cache' problem. I've had this on and off over the years with all parts of the VB admincp, and the only way to solve it is to clear the cache, close the browser and start again.

:rolleyes: oh... ok, had no idea, thanks Andrew.

The Chief 10-06-2006 09:43 PM

I will be installing this very soon on a new board, thanks and looking forward to it :D

Der Sauger1 10-07-2006 08:17 PM

Quote:

Originally Posted by Der Sauger1
Okey it add the Link,but not Add this in Client :confused:
That search for the file on my Server???
Thx for to do this

2. i want implantet this Links and Downloads Manager - Patch forumhome to display thumbs of new links/hot linksin cmps 2.2.0 Portal,is ther any modul for to do??

Hi can anybody Help ???

obmob 10-08-2006 12:44 AM

Check your LDM zip package there are several addons in it.

Now... i have a petition for future LDMs!!! ^^

OK, here is the idea, when you are adding a new file manually, there is no option to select keywords... you think it's possible to add a select box for this?

A similar box as the one that allows you to choose a category, but with a multioption. An maybe this could also be useful in mass edit options.

That would save a lot of time ^_^

Thanks Andrew! As Always ^^,

AndrewD 10-08-2006 04:32 AM

Quote:

Originally Posted by obmob
Now... i have a petition for future LDMs!!! ^^

OK, here is the idea, when you are adding a new file manually, there is no option to select keywords... you think it's possible to add a select box for this?

A similar box as the one that allows you to choose a category, but with a multioption. An maybe this could also be useful in mass edit options.

That would save a lot of time ^_^

Thanks Andrew! As Always ^^,

Thanks. Currently, the 'add entry' form includes a text box for associating keywords with the new entry. This text box is 'Ajax' enabled, so you will be shown which matching keywords are already available when you start typing. You can choose to ignore this list, and any new words you specify are 'auto added' to the database.

As I understand, you would prefer a select box which lists the currently available keywords.

So, I have these questions:

a) Is this what you are asking for?

b) What happens if there are a lot of keywords defined - the risk is that the select box will be so long that the page will never finish being displayed.

c) How will you add new words to the list?

AndrewD 10-08-2006 04:33 AM

Quote:

Originally Posted by Der Sauger1
Hi can anybody Help ???

pls see my PM

AndrewD 10-08-2006 04:34 AM

Quote:

Originally Posted by dpkm
I'm having some issues which I only recently discovered. I suspect they started when I updated to vb3.6 a month and a half or so ago.

Previously added links work fine, as do the counters.

However, whenever I (as a forum admin) or someone else tries to add a link, nothing gets inserted. I get the small bit about "processing" after hitting submit, but nothing happens after that. I've checked my permissions (which I hadn't altered from before, I'm fairly sure), so I don't think that's the problem, though I suppose it could be - even if it is a problem though, I can only imagine an error message would be thrown if I didn't have permissions to do this.

Any thoughts?


pls see my PM - the problem is (I think) that you have an old, modified LDM template stored in your database

Barteken 10-08-2006 04:19 PM

got a problem with ldm 2.2.5.
When I place an external link to a AVI file (that users can download) ldm shows the url to the external domain. Although this happens only with Internet Explorer. With Firefox everything works fine. But when they click on the link with internet explorer the real path is given and instead of saving/opening the file IE just shows the code of the file (a page full of charachters)
how can I solve this?

AndrewD 10-08-2006 05:50 PM

Quote:

Originally Posted by Barteken
got a problem with ldm 2.2.5.
When I place an external link to a AVI file (that users can download) ldm shows the url to the external domain. Although this happens only with Internet Explorer. With Firefox everything works fine. But when they click on the link with internet explorer the real path is given and instead of saving/opening the file IE just shows the code of the file (a page full of charachters)
how can I solve this?

Have you set up mimetype information for avi files (VB/admincp/attachments/attachment manager -> Content-type: video/avi)?

obmob 10-09-2006 04:06 PM

Quote:

Originally Posted by AndrewD
Thanks. Currently, the 'add entry' form includes a text box for associating keywords with the new entry. This text box is 'Ajax' enabled, so you will be shown which matching keywords are already available when you start typing. You can choose to ignore this list, and any new words you specify are 'auto added' to the database.

As I understand, you would prefer a select box which lists the currently available keywords.

So, I have these questions:

a) Is this what you are asking for?

b) What happens if there are a lot of keywords defined - the risk is that the select box will be so long that the page will never finish being displayed.

c) How will you add new words to the list?

Oh... well, you are right, ajax could be a lot better, all i need is to be able to add kewywords while adding a new file or while editing a single entry. :D

Thanks Andrew

amnesia623 10-10-2006 03:31 AM

gotta love the wimpy integration!!!

I got it workin on my site and it's pretty sweet

dpkm 10-10-2006 04:31 PM

Quote:

Originally Posted by AndrewD
pls see my PM - the problem is (I think) that you have an old, modified LDM template stored in your database

Thank you very much! This was exactly the problem - not sure why I had that template modified, though.

Sparky_s 10-10-2006 09:48 PM

I'm not sure if it my settings, but any uploaded WMA or WMV file goes ahead to load the embedded media player, but does not play.

I have the Mimes set properly to
Content-type: video/x-ms-wmv
Content-type: audio/x-ms-wma

Any ideas?

Ophelia 10-10-2006 11:22 PM

I apologize if this has been posted, I searched, couldn't find anything, but that never means anything.

We are having an issue with our Links & Download manager, but we don't know if it's related to another issue we are having so I went into admin and closed all the categories. I assumed this would shut everything down so that no one could download anything else.

When I go into the actual Links & Download Manager area on the site, on the top it shows:

Allowances: 20 files/1 used
[Closed]

But all the downloads are there to download.

Did I misunderstand what the close feature was, or is it just not working right?

AndrewD 10-11-2006 04:37 AM

Quote:

Originally Posted by Ophelia
I apologize if this has been posted, I searched, couldn't find anything, but that never means anything.

We are having an issue with our Links & Download manager, but we don't know if it's related to another issue we are having so I went into admin and closed all the categories. I assumed this would shut everything down so that no one could download anything else.

When I go into the actual Links & Download Manager area on the site, on the top it shows:

Allowances: 20 files/1 used
[Closed]

But all the downloads are there to download.

Did I misunderstand what the close feature was, or is it just not working right?


Closed means closed for adding new entries. Everything that is already there remains there and accessible, and admins can also add new entries.

If you want to temporarily prevent downloads from the category, use Edit Category/User Group Permissions. You can set permissions which over-ride the master set. Be aware that these will also apply to any subcategories in the category concerned, unless you re-override them there.

AndrewD 10-11-2006 04:50 AM

Quote:

Originally Posted by Sparky_s
I'm not sure if it my settings, but any uploaded WMA or WMV file goes ahead to load the embedded media player, but does not play.

I have the Mimes set properly to
Content-type: video/x-ms-wmv
Content-type: audio/x-ms-wma

Any ideas?

Will try to think about this

myplacidcasual 10-11-2006 12:45 PM

I've looked everywhere for this setting but it won't allow me (THE ADMIN) to upload files bigger than 2 megs. Where do I change this.

I have upload space set to unlimited (0) and my understanding is that is just the room on the server.

Ophelia 10-11-2006 02:45 PM

Quote:

Originally Posted by AndrewD
Closed means closed for adding new entries. Everything that is already there remains there and accessible, and admins can also add new entries.

If you want to temporarily prevent downloads from the category, use Edit Category/User Group Permissions. You can set permissions which over-ride the master set. Be aware that these will also apply to any subcategories in the category concerned, unless you re-override them there.

Thank you so much for clarifying this :) Having a "close entire thing" option would be heaven by the way :) Thank you again for such a wonderful addon to vBulletin. It has been a huge asset to our site.

rasun 10-11-2006 05:37 PM

Great Addon, thank you!

I have two questions.


First the BBCode for Images doesn?t appear if you create a new entry. allow_images is set to "yes". If you write the bbcode https://vborg.vbsupport.ru/ .... Any ideas? I have created my own spoiler bbcode in my forum, can it be the reason?


If you create or edit an entry the is a option for:

Notification
Email those users who have already accessed this entry?

I want to disable this completely so nobody can choose it. How can I make it?

Ophelia 10-11-2006 07:55 PM

Stupid question ...

Where/how can I edit the text that appears in the terms of use screen? I tried to search in templates, but it didn't find anything. Would love to fine tune this :)

Also, is there a way to tell it how often to show this term? We have a daily download, and like to remind folks of the rules :)

nighthalk 10-11-2006 09:42 PM

Is there a way to turn off the downloads side of this manager?
I only wants the links part.

chorton 10-12-2006 12:04 AM

Quote:

Originally Posted by myplacidcasual
I've looked everywhere for this setting but it won't allow me (THE ADMIN) to upload files bigger than 2 megs. Where do I change this.

I have upload space set to unlimited (0) and my understanding is that is just the room on the server.

you need to fix this in your php.ini
if you check the key settings at the bottom of the ldm setting page you will see these settings
post_max_size 20M
upload_max_filesize 21M

it is suggested to make the upload max size a bit bigger

Rouzbeh1 10-12-2006 01:05 AM

hi
i have two problems with LDM.
1 - when forum is turned OFF LDM doesn't work how it should or i may have forgotten to turn on some options. (entry thumb can't be shown in portal and also thread. it can not find the image somehow....)
if you need some more details or access to my site, please let me know.

2 - Bandwidth Usage is not working for me at all ( per file & per size in Bytes)

feature request for new versions:
1 - adding 2 or more links for each entry (mirror choose)

thanks in advance

maroceve 10-12-2006 09:25 AM

guys here is an error i get when i have both the link manager and the Photopost random cmps block enabled on the same page.

Fatal error: Cannot redeclare empty_category() (previously declared in /home/maroceve/public_html/forums/includes/local_links_include.php:2935) in /home/maroceve/public_html/forums/includes/functions_gallery.php on line 2069

Anyone have a fix ? thanks :)

AndrewD 10-12-2006 12:06 PM

Quote:

Originally Posted by maroceve
guys here is an error i get when i have both the link manager and the Photopost random cmps block enabled on the same page.

Fatal error: Cannot redeclare empty_category() (previously declared in /home/maroceve/public_html/forums/includes/local_links_include.php:2935) in /home/maroceve/public_html/forums/includes/functions_gallery.php on line 2069

Anyone have a fix ? thanks :)

Yes, known problem, fixed in the 2.2.6 beta. If you want to get your hands dirty, you need to change definitions of/calls to empty_category() and delete_category() throughout the code. From 2.2.6 these will be named empty_ldm_category, etc.

Sorry for the unintended conflict.

EasyTarget 10-12-2006 12:28 PM

I have a bit of an odd issue. I just moved domains but I kept the same exact file structure. I had all my files linked to /forum/files/filefolder/filename.ext but now when I click on a download it says link not available.

It then provides a link to the file and asks me to accept or modify. Clicking on the link here will get you to the file.

Is there a way I can mass update all the files or something to get it to accept the new domain?

maroceve 10-12-2006 01:09 PM

Ah :) Stupid me I didn't have the latest version installed..

Thanks Andrew :)

nighthalk 10-12-2006 08:19 PM

Quote:

Originally Posted by nighthalk
Is there a way to turn off the downloads side of this manager?
I only wants the links part.

is this question that hard to answer that noone using it can answer?

fringehead 10-13-2006 12:20 AM

I have vbdrupal installed on my forum and I recently upgraded my LDM. Now I am getting this error when I try to run the program:

Fatal error: Cannot redeclare check_url() (previously declared in /var/www/html/blogs/includes/common.inc:693) in /var/www/html/forums/includes/local_links_include.php on line 1171

What can I do about this?

Thanks,

Sean

EasyTarget 10-13-2006 01:07 AM

Quote:

Originally Posted by nighthalk
is this question that hard to answer that noone using it can answer?

its only been 1 day since your first post has it not?

anyways, maybe set:
can_upload_files
Usergroups [with *can_add_link* permission] that can upload files for storage on the server

to no for all groups. I use this for both links and downloads though so I'm probably not the best person to answer.

AndrewD 10-13-2006 04:00 AM

Quote:

Originally Posted by nighthalk
is this question that hard to answer that noone using it can answer?

It's not hard to answer. The problem is that I have other things to do, like a full time job :knockedout:

Answer depends partly on what we both mean by "turn off downloads".

Basic behaviour of LDM:

- If an entry has a filetype that appears in your VB/attachments/filetypes table, it is considered a "download". Otherwise it is considered a "link". By default, LDM accesses links by triggering a browser "redirect", and manages downloads by internally reading the contents of the entry and then transmitting the contents to the user, together with the correct control information so that the user's browser does something sensible.

- The entries that LDM manages can be created either by specifying URLs or as uploads. Uploads always turn into downloads. URLs may be links or downloads depending on the filetype. e.g. xxx.html is probably a link, and xxx.pdf is probably a download

So:

- If you do not want your users uploading onto your server, the answer is to turn off uploads. But, by default, these are turned off anyway. Take a look at the LDM/admin/settings/Controls on File Uploads

- If you mean you do not want LDM to internally manage the transfer of 'download' files, then set LDM/admin/settings/force_redirect to 1.

- If you want to 'fine tune' which users can create entries, use the combination of LDM/admin/permissions/can_add_link, can_link_files, can_upload_files

- If you want to limit which file types are treated as 'downloads', take a look at your VB/admincp/attachments/filetypes

AndrewD 10-13-2006 04:08 AM

Quote:

Originally Posted by fringehead
I have vbdrupal installed on my forum and I recently upgraded my LDM. Now I am getting this error when I try to run the program:

Fatal error: Cannot redeclare check_url() (previously declared in /var/www/html/blogs/includes/common.inc:693) in /var/www/html/forums/includes/local_links_include.php on line 1171

What can I do about this?

Thanks,

Sean

Sean, you will have to edit one or other piece of code to rename function check_url to something else.

The difficulty is one has no control over the ways users combine pieces of software, and it is not straightorward in php to keep function definitions localised.

I've started working on this problem for 2.2.7 by introducing a new naming scheme, but it will be sometime before I am confident that nothing has been broken in the process.

If you are running v 2.2.5, this is where check_url is defined/used:

check_url (local_links_include.php)
local_links_include.php(1171)
local_links_actions.php(412)
local_links_actions.php(445)
local_links_actions.php(702)
local_links_actions.php(837)
local_links_actions.php(875)
local_links_admin.php(849)

If you are running 2.2.6 beta, these are the locations:

check_url (local_links_include.php)
local_links_include.php(1185)
local_links_actions.php(412)
local_links_actions.php(445)
local_links_actions.php(702)
local_links_actions.php(837)
local_links_actions.php(875)
local_links_admin.php(849)

AndrewD 10-13-2006 04:14 AM

Quote:

Originally Posted by Ophelia
Stupid question ...

Where/how can I edit the text that appears in the terms of use screen? I tried to search in templates, but it didn't find anything. Would love to fine tune this :)

Also, is there a way to tell it how often to show this term? We have a daily download, and like to remind folks of the rules :)

The text is defined in the phrases, not in the templates. Take a look at the ll_agreement phrase, for example, so do a search/languages for the words of interest.

If the code is working correctly (!!), then acceptance is stored in a cookie and has a lifetime of 1 day plus 1 hour. If you want to change this, I'm afraid it's hard coded at present. Take a look at local_links.php. Early in the code (about line 220), there is this line:

Code:

$expires = TIMENOW+86400+3600;
Just change the line to the frequency with which users must confirm acceptance

AndrewD 10-13-2006 04:17 AM

Quote:

Originally Posted by EasyTarget
I have a bit of an odd issue. I just moved domains but I kept the same exact file structure. I had all my files linked to /forum/files/filefolder/filename.ext but now when I click on a download it says link not available.

It then provides a link to the file and asks me to accept or modify. Clicking on the link here will get you to the file.

Is there a way I can mass update all the files or something to get it to accept the new domain?

Off the top of my head, I can't see why this problem exists. I'd like to understand more before suggesting how to fix. Can you PM me board details plus admin u/name and pwd or find a way of sending me a backup of the LDM database tables.

There are mass edit features in LDM/admin/categories and you can use full regular expression edits on the urls

AndrewD 10-13-2006 04:23 AM

Quote:

Originally Posted by rasun
Great Addon, thank you!

I have two questions.


First the BBCode for Images doesn?t appear if you create a new entry. allow_images is set to "yes". If you write the bbcode https://vborg.vbsupport.ru/ .... Any ideas? I have created my own spoiler bbcode in my forum, can it be the reason?

I'll get back to you on this.


Quote:

If you create or edit an entry the is a option for:

Notification
Email those users who have already accessed this entry?

I want to disable this completely so nobody can choose it. How can I make it?
This is only shown to users who have 'can_moderate_link' LDM permission, so if you don't use moderation, just take away that permission.

Otherwise, edit the links_addnewlink template, and find this sequence:

Code:

<if condition="$links_permissions['can_moderate_links']">
<tr>
        <td class="alt1" width="20%">
        <b>$vbphrase[ll_notify]</b><br />
        <span class="smallfont">
        $vbphrase[ll_notify_text]
        </span>
        </td>
        <td class="alt1">
        <input type="radio" name="notify" value="1" /> $vbphrase[ll_yes]
        <input type="radio" name="notify" value="0"  checked="checked" /> $vbphrase[ll_no]
        </td>
</tr>
<else />
<tr style="display:none;">
        <td class="alt1" colspan="2">
        <input type="hidden" name="notify" value="0" />
        </td>
</tr>
</if>

and change to

Code:

<tr style="display:none;">
        <td class="alt1" colspan="2">
        <input type="hidden" name="notify" value="0" />
        </td>
</tr>


AndrewD 10-13-2006 04:28 AM

Quote:

Originally Posted by Sparky_s
I'm not sure if it my settings, but any uploaded WMA or WMV file goes ahead to load the embedded media player, but does not play.

I have the Mimes set properly to
Content-type: video/x-ms-wmv
Content-type: audio/x-ms-wma

Any ideas?


I played around with this and could not make things go wrong with wmas or wmvs. However, I could get WMP to behave the way you say for mp3s (fires the jukebox and then just stalls), but it seemed to be a problem inside the WMP browser control - basically, if I clicked the WMP video window, clicked on 'stop' a few times, then closed all browser windows and restarted, then things would work ok again. Not a very good answer, I know.

AndrewD 10-13-2006 02:20 PM

Quote:

Originally Posted by rasun
First the BBCode for Images doesn?t appear if you create a new entry. allow_images is set to "yes". If you write the bbcode [img] manually it works fine, but you can?t see the icon https://vborg.vbsupport.ru/images/ed...nsertimage.gif .... Any ideas? I have created my own spoiler bbcode in my forum, can it be the reason?

Thanks for reporting this - it is a bug in 2.2.5 and 2.2.6 beta. It will be fixed soon.


All times are GMT. The time now is 08:54 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.05389 seconds
  • Memory Usage 1,896KB
  • 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
  • (3)bbcode_code_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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