vb.org Archive

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

AndrewD 02-14-2010 08:15 AM

I've uploaded an update to this version, which corrects the reported error with PHP 5.2.12 and a few other minor bug fixes. No major changes made, and none planned - development has switched to the vb4.0 code.

Zookie 02-14-2010 02:55 PM

Thanks for responding so fast!
Quote:

Originally Posted by AndrewD (Post 1981878)
These are both done via the ldm admin/settings page.

1) You either have (or have had) installed the "add-page-information" 'extra' which gives you a group on controls and a the text box (pageinfo_message) to set this message.

I'm pretty sure I haven't added any special add-ons to LDM nor to vB besides LDM. When I go to the LDM admin console I can't find any reference to "pageinfo_message". If I do have it installed then where would I find the value to edit it?

Quote:

2) This is done with the "use_instructions" box on the settings page.
The "use_instructions" box is empty.

Quote:

The first of these messages can be modified on a per-category basis (using the edit category/control settings page) but the second can only be set globally.
None of the existing custom text I'm wanting to change appears anywhere in any box in the LDM admin console. I'm not sure I've accurately described the text areas I want to change. Don't know why I didn't think to give links before.

The first area I want to edit can be viewed at http://www.spellquizzer.com/communit...ks.php?catid=1. The text area I want to edit is the light blue inside box that has the following text"
SpellQuizzer spelling lists that have been exported to an .sqexp file and can be imported into SpellQuizzer. Only one spelling list per export file please.
- Click the "Upload a Spelling File" menu link in the blue menu bar above to upload an exported spelling list of your own.
- Click the "How to Import Spelling Lists" link in the Pencil menu above for help on how to import a list into SpellQuizzer.
The second text area I want to change is at http://www.spellquizzer.com/communit...ddlink&catid=1. Unfortunately, you need to be signed in to my forum to view that page. But the text I want to change is the heading of the form for uploading files. The current text reads "User Uploaded Spelling Lists" which isn't really right since this is a form for uploading lists, not browsing existing lists. I'm thinking this may be a category title I somehow set previously and that it has to be the same for both the page where existing entries are listed as well as the upload form. It would be nice if I could have different headings for those two pages since they are functionally different (one for browsing/downloading while the other is for uploading). Feel free to register with the forum to be able to view the page (though I'll of course understand if you don't want to) I'm referring to here.

AndrewD 02-15-2010 04:29 AM

Sorry, I jumped to conclusions too quickly.

Quote:

Originally Posted by Zookie (Post 1982180)
The first area I want to edit can be viewed at http://www.spellquizzer.com/communit...ks.php?catid=1. The text area I want to edit is the light blue inside box that has the following text"
SpellQuizzer spelling lists that have been exported to an .sqexp file and can be imported into SpellQuizzer. Only one spelling list per export file please.
- Click the "Upload a Spelling File" menu link in the blue menu bar above to upload an exported spelling list of your own.
- Click the "How to Import Spelling Lists" link in the Pencil menu above for help on how to import a list into SpellQuizzer.

This is the "extended description" for the category, which is changed by going into "Edit Category".

Quote:

Originally Posted by Zookie (Post 1982180)
The second text area I want to change is at http://www.spellquizzer.com/communit...ddlink&catid=1. Unfortunately, you need to be signed in to my forum to view that page. But the text I want to change is the heading of the form for uploading files. The current text reads "User Uploaded Spelling Lists" which isn't really right since this is a form for uploading lists, not browsing existing lists. I'm thinking this may be a category title I somehow set previously and that it has to be the same for both the page where existing entries are listed as well as the upload form. It would be nice if I could have different headings for those two pages since they are functionally different (one for browsing/downloading while the other is for uploading). Feel free to register with the forum to be able to view the page (though I'll of course understand if you don't want to) I'm referring to here.

As you say, this header is simply the category name. You could change it (if you really want to - beware that you will then need to remember you made the change if you upgrade) by editing the links_addnewlink template. Find the sequence that reads:
Code:

<tr align="center">
        <td class="tcat" align="center" colspan="2">
        $viewcatname
        </td>
</tr>

and replace $viewcatname by whatever text you want.

I think that a better (cleaner) solution will be to leave this title alone and set the "use_instructions" for the category by going to Edit Category/Control Settings. The text you enter there will appear immediately under the title.

Zookie 02-15-2010 02:58 PM

Thank you Andrew! I'm all set now!

obmob 02-17-2010 12:18 AM

Quote:

Originally Posted by AndrewD (Post 1938474)
This turns out to be a warning generated in php version 5.2.12 but not in earlier versions, which explains why it is only just being reported.

You can fix the problem (I think) by editing one of the code files, includes/local_links_include.php. If you are not comfortable making edits, get back to me.

a) Make a backup copy of that file, in case something goes wrong
b) Find function ldm_catcmp, which is between lines 1543 and 1571 in your version of LDM
c) Replace all these lines by the contents of the attached.

Let me know if that fixes things.

That helped, i was having that issue after moving another site :D

j1mmy 03-06-2010 07:33 PM

Very interesting, I might change from my current file manager to this.

However, as I have about 700 or so files to transfer, does this offer some sort of import feature which I can use to avoid having to enter in each file 700 times? If not, what other alternatives is there within this mod that will help me achieve this?

Also, is it possible to have one directory for each category on the server?

AndrewD 03-07-2010 11:33 AM

Quote:

Originally Posted by j1mmy (Post 1998682)
Very interesting, I might change from my current file manager to this.

However, as I have about 700 or so files to transfer, does this offer some sort of import feature which I can use to avoid having to enter in each file 700 times? If not, what other alternatives is there within this mod that will help me achieve this?

Also, is it possible to have one directory for each category on the server?

There are several options that you may find useful:

a) You can set up LDM to carry out automatic synchronisations of directories and categories. This will bring in all your existing entries and maintain the directory/category alignment. It will not automatically name/describe all your entries, but see c).

b) You can create and import an xml file describing the database you want to set up, including entry names, descriptions, urls, etc.

c) You can also update the names/descriptions of a synchronised database via an xml file.

There is some explanation of these steps in the online wiki.

Alfa1 03-23-2010 12:44 AM

In my forum, I have subforums that are really links to a LDM category. These subforums list the latest entry. The width of this listing is very narrow, which makes titles to be spread over several lines. This looks very ugly.
Is there a way to control this and make it wider? Or alternatively turn it off?

A small bug/inconsistency: the number of files in a category are listed, but not the number of comments. It seems that the number of files belongs in the 'threads' column, while the number of comments belongs in the 'posts' column. Currently the number of files is listed in the 'posts' column.

CThiessen 03-30-2010 07:01 AM

Hi,
I do have problems to get webthumbs runnig.

Easywebthumbs is working.
Normal Upload is working
Thumbnails for Uploaded Photos is working.
Directory is set to 777

But whatever i edit with the webthumbs plug in enabled give me a error:
Code:

Parse error: syntax error, unexpected ')' in /x/x/x/x/home/forum/includes/local_links_include.php(1932) : eval()'d code on line 642
Or have anyone an Idea how to use http://fadeout.de/ for that.
They have very nice screen shots and it for free.

Thanks
Christian

AndrewD 03-30-2010 07:38 AM

Quote:

Originally Posted by CThiessen (Post 2012701)
Hi,
I do have problems to get webthumbs runnig.

Easywebthumbs is working.
Normal Upload is working
Thumbnails for Uploaded Photos is working.
Directory is set to 777

But whatever i edit with the webthumbs plug in enabled give me a error:
Code:

Parse error: syntax error, unexpected ')' in /x/x/x/x/home/forum/includes/local_links_include.php(1932) : eval()'d code on line 642
Or have anyone an Idea how to use http://fadeout.de/ for that.
They have very nice screen shots and it for free.

Thanks
Christian

Christian, there's a coding bug in the plugin, which had been there for some time but no-one had noticed.

You can fix it easily as follows:

- go to vb/admincp/products and plugins/manage plugins
- edit the plugin called "Links and Downloads Manager - Use BlugaNet WebThumb to autoimage a site" which is atached to hook ldm_link_autoimage
- go almost to the end of the code (it's quite long) and find the sequence:

Code:

                $path = ldm_make_filename($links_defaults['upload_dir'], $my_webdir);
                $fullpath = ldm_get_local_filename($path);
                require_once(DIR . '/includes/functions_file.php');
                ldm_create_directory($fullpath, $links_defaults['secure_nullindexfile'])) {

and change the last of these lines to

Code:

                ldm_create_directory($fullpath, $links_defaults['secure_nullindexfile']);
- Save

That should do it.

CThiessen 03-30-2010 08:33 AM

Hi,
thanks for the fast response.

I am not a coder but if I take out the beginning "{" should i take out everything until the closing "}"?

I took out only the second ")".
At least i do have not an error but also no thumbnail.

Christian

AndrewD 03-30-2010 09:12 AM

Quote:

Originally Posted by CThiessen (Post 2012745)
Hi,
thanks for the fast response.

I am not a coder but if I take out the beginning "{" should i take out everything until the closing "}"?

I took out only the second ")".
At least i do have not an error but also no thumbnail.

Christian

If you're not getting an error, you've probably got the fix right. Just to be clear, on the last of the lines, you're changing ")) {" to ");".

I've just retested the plugi on my test site and it seems to work fine. The thumbnail is created at the moment you add or edit the entry.

If you want, I'll take a look at your site to check if I can see any problem - will need an account with vb admin privileges.

Ipuck 04-06-2010 12:45 AM

Hello Andrew

I have used LDM for years and I love it, now I have a couple of questions

How do I know if notifications are sent to the users (who have downloaded the link) when the link is edited?

If I have created the link and downloaded the file afterwards, do I get an email notification as well?

AndrewD 04-07-2010 03:58 AM

Quote:

Originally Posted by Ipuck (Post 2016530)
Hello Andrew

I have used LDM for years and I love it, now I have a couple of questions

How do I know if notifications are sent to the users (who have downloaded the link) when the link is edited?

If I have created the link and downloaded the file afterwards, do I get an email notification as well?

Hi there - good to hear from you again :)

LDM does not send email announcements when a link is edited. Is this an important feature? (it might get added in the vb 4 version if there is a real need) - but be aware that this could cause a serious performance hit with sites where there is a lot of user access, because it can only work if LDM's records of downloads are kept permanently in the database.

Ipuck 04-07-2010 05:10 AM

Quote:

Originally Posted by AndrewD (Post 2017229)
Hi there - good to hear from you again :)

LDM does not send email announcements when a link is edited. Is this an important feature? (it might get added in the vb 4 version if there is a real need) - but be aware that this could cause a serious performance hit with sites where there is a lot of user access, because it can only work if LDM's records of downloads are kept permanently in the database.

Hello Andrew

Thank you for taking the time to response.

I get it now.

Since the number of hits gets very large (over 10,000 every week) I erase all the hits weekly and that's the reason LDM is no longer sending the notifications. Hit erase=no notification.

I wasn't sure how LDM worked and I was worry it was going to overload my server every time a link was updated. I only have 1k emails per day.

Thanks again and I hope you feeling better now.

Alfa1 05-15-2010 09:43 PM

Andrew has passed away on April 22nd after a long illness.
His obituary can be found here:
http://www.eirma.org/activities/Obituary.pdf

I assume that this likely means the end of his popular Links and Downloads Manager. It has always been my impression that LDM was a work of art that Andrew devoted a substantial amount of time/years to. He was quite dedicated to the creation and development of LDM.

ctrlbrk 05-15-2010 09:55 PM

Oh wow, that is so sad. Andrew was a fantastic guy, always so willing to help anyone and spend so much of his own time to help others.

My condolences to his family, his wife and son. He will be missed.

Mike

Simon Lloyd 05-16-2010 06:56 AM

Quote:

Originally Posted by ctrlbrk (Post 2037601)
Oh wow, that is so sad. Andrew was a fantastic guy, always so willing to help anyone and spend so much of his own time to help others.

My condolences to his family, his wife and son. He will be missed.

Mike

Couldn't have said it better myself, he was very selfless, always seemed to put others first.

A great guy, sadly missed!

maasland 05-16-2010 09:39 PM

Very sad indeed. Fare thee well, AndrewD...

TheLastSuperman 05-19-2010 06:00 PM

Quote:

Originally Posted by Alfa1 (Post 2037596)
Andrew has passed away on April 22nd after a long illness.
His obituary can be found here:
http://www.eirma.org/activities/Obituary.pdf

I assume that this likely means the end of his popular Links and Downloads Manager. It has always been my impression that LDM was a work of art that Andrew devoted a substantial amount of time/years to. He was quite dedicated to the creation and development of LDM.

What?! Sad... he was online last month and now... what a mess, I too feel very sorry for his Wife and Son.

However, Re-usable Code is listed up above so someone can carry on the work and honor his name!

Can I request vb.org admins make an announcement on this? Give him some credit, honor his name a little? Not often a good coder passes, I hope to never see this again for a while tbo. - Thoughts, Admins?

whitetigergrowl 05-19-2010 07:57 PM

This is sad. :(

Eric 05-27-2010 07:17 AM

My condolences to his family, friends, and everyone who knew him. I never got the chance to speak with him, or actually use this wonderful modification - but it seems like he was a great guy. Such a shame, and such a big loss.

As far as LDM is concerned, unless someone else has plans to do this, since it's marked re-usable - I would love to work on this modification. I realize there is already a version for vBulletin 4 - but maybe some work could be done on the 3.8 version (bug fixes, new features, etc.), since not everyone will be in a hurry to upgrade to vB 4.

obmob 05-27-2010 10:01 PM

Andrew dedicated all his efforts on the vb4 version, and usually only left older versions for support and no furthere development.

He was indeed a great person, and some of us had a chance to help him a little, still, not much.

biome.pat 08-24-2010 08:01 PM

Oh wow. I literally gasped when I read that line of the description... I'd just been thinking about the time he helped me out, and went into my setup and fixed things for me, just because he could. I can't say I knew him, but even before I read about his passing, I was thinking about what a genuinely nice person he seemed to be.

Honestly, I don't deserve to be this sad over someone I've never had the pleasure of meeting, but... just wow... :(

I'm just really sorry to hear this.

Zookie 12-15-2010 02:05 AM

Quote:

Originally Posted by Eric (Post 2043972)
As far as LDM is concerned, unless someone else has plans to do this, since it's marked re-usable - I would love to work on this modification. I realize there is already a version for vBulletin 4 - but maybe some work could be done on the 3.8 version (bug fixes, new features, etc.), since not everyone will be in a hurry to upgrade to vB 4.

I know you posted this months ago but I wanted to ask if you were still interested in pursuing this? As others have said, it would indeed be a shame if LDM died. My dependence on it is one of the reasons I'm not planning to ever upgrade beyond vB 3.8.

Zookie 12-15-2010 02:26 AM

I've run into a small problem with LDM. I'm using it on a vB 3.8.4 installation. When an IE user signs in to my forum without checking the "Remember Me?" checkbox, they are sent to the site's sign-in page when they try to submit an uploaded file. If they check the Remember Me box when they sign in there's no problem.

This problem only seems to be with Internet Explorer. I've tested Firefox, Chrome, Opera, Safari and Netscape and none of them have this problem.

Simon Lloyd 12-15-2010 02:26 PM

it could be down to your forums environments i.e expired passwords ro a custom feild in the users details/options that needs to be filled in?

Zookie 12-15-2010 03:15 PM

Quote:

Originally Posted by Simon Lloyd (Post 2134281)
it could be down to your forums environments i.e expired passwords ro a custom feild in the users details/options that needs to be filled in?

I don't think so. I've tested this with two standard user accounts (and old one and a new one) as well as my own admin account. Same bug manifests in IE for all accounts. No bug manifests when using any other browser with any other account. No problem with posting to existing threads or creating new threads. But the user gets signed out when they try to upload a list if they didn't check the "Remember Me?" box when they signed in. This is definitely an IE related bug in LDM or at least a problem with my installation.

If you are using LDM then try it yourself. Sign into your forum using IE8 without checking the "Remember Me?" box and see what happens when you submit a file for upload. If you don't experience the bug then it's something wrong with my installation. If you do then it's a bug in LDM (or something wrong with both of our installations - which seems an unlikely coincidence).

Simon Lloyd 12-15-2010 05:01 PM

I did as you ask, logged out, logged back in without remember me, i downloaded a file no problem and created an entry and uploaded a file no problem, i didn't get redirected at all, i could export my product and you could upload and overwrite to your site and see how you go? (you would need to export your product first so you can revert later)

Alfa1 12-17-2010 05:52 PM

Quote:

Originally Posted by Zookie (Post 2134080)
I've run into a small problem with LDM. I'm using it on a vB 3.8.4 installation. When an IE user signs in to my forum without checking the "Remember Me?" checkbox, they are sent to the site's sign-in page when they try to submit an uploaded file. If they check the Remember Me box when they sign in there's no problem.

This problem only seems to be with Internet Explorer. I've tested Firefox, Chrome, Opera, Safari and Netscape and none of them have this problem.

Im not experiencing this issue either. I am on vb3.8.6
Could it be a hack conflicting?

You can also consider to add a hack to activate the remember me box at all times.

Quote:

Originally Posted by Zookie (Post 2134077)
I know you posted this months ago but I wanted to ask if you were still interested in pursuing this? As others have said, it would indeed be a shame if LDM died. My dependence on it is one of the reasons I'm not planning to ever upgrade beyond vB 3.8.

I doubt that I will upgrade to vb4 anytime soon, so I'd be very happy with updates.

One thing I would be very, very happy with, is if someone would fix the vbadvanced module to show the latest files in vba. (ldm_new.php) This module adds 8 bizarre queries and adds 0.73706 seconds to page load. I'd like to display that module 3 times on my homepage. Unfortunately it brings my server down.

viper357 04-20-2011 07:56 AM

Does anyone run this with the thread autocreate option turned on? It works fine, but I have also enabled the autocreate_require_userok option, but when adding a link I see no option where I can choose whether or not to create a thread when adding a link.

Simon Lloyd 04-20-2011 09:53 AM

I have it turned on but do not allow the user to choose if they want the thread creating, so it works fine for me :)

viper357 04-21-2011 06:17 AM

Quote:

but do not allow the user to choose if they want the thread creating
Is there another setting for that somewhere? That is the part I am struggling with, I want the users to have the option to choose whether or not to create a thread, but I just can't figure it out. Thanks.

Simon Lloyd 04-21-2011 05:16 PM

It's in AdminCp>Links and Downloads>Settings>Thread and Post Creation
autocreate_require_userok If enabled, threads are only created when explictly requested by the submitting user. By default, if autocreate_active is active and a valid forum is provided, all new entries will trigger the creation of a new thread.

I have never switched it on but the user has to choose a parent forum that they have permission to post to and set this
Hide EntryIf set, entry is only visible to users with can_view_hidden privilege. Other permissions and settings can further restrict visibility.

To no (i believe) so that the entry can be seen.

viper357 04-22-2011 05:53 AM

Thanks, I'll give that a try.

Alfa1 05-19-2011 10:38 AM

Does anyone know if LDM works well on MySQL 5.5 and php 5.3?

Simon Lloyd 05-19-2011 01:36 PM

Alfa1 the MySql shouldn't be a problem however the PHP might i had it working fine on PHP 5.2.16

Alfa1 05-19-2011 10:51 PM

Thanks!

I am specifically wondering about this: http://tracker.vbulletin.com/browse/VBIV-12134

Simon Lloyd 05-20-2011 05:35 AM

I see what you mean, will if thats the case it will be a labourious job to check all the queries that Andrew had written and change them.

Alfa1 05-29-2011 05:48 PM

I wonder if anyone has this running with php 5.3


All times are GMT. The time now is 04:44 PM.

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.01667 seconds
  • Memory Usage 1,881KB
  • 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
  • (5)bbcode_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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