vb.org Archive

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

AndrewD 05-13-2008 06:17 AM

Quote:

Originally Posted by RikiB (Post 1517931)
Everything seems great with RC2.

On a side note, I accidentally removed the file download display int he user profile. Where it shows the last files they downloaded and when. How do I get that back?

Thanks!

LDM/admin/settings/profile_ldmactivity

RikiB 05-13-2008 06:22 AM

Thanks, sorry for the dumb question :p If it was a snake it would have bit me!

Riki

AndrewD 05-13-2008 06:34 PM

2.2.9 RC2 moved to start of thread.

Will become official release in a few days if no major problems are reported.

WebmasterSimds 05-13-2008 09:03 PM

Andrew,

I hate to bother you. but when I go to edit an entry in LDM. I get this:

"Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error."

I dont understand this, and yes I just got through updating to the latest greatest verion

Thanks in Advance

obmob 05-13-2008 11:30 PM

So many phrases, so many! O__O

Will take some time to get them done into spanish ^.^'

AndrewD 05-14-2008 03:57 AM

Quote:

Originally Posted by WebmasterSimds (Post 1518747)
Andrew,

I hate to bother you. but when I go to edit an entry in LDM. I get this:

"Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error."

I dont understand this, and yes I just got through updating to the latest greatest verion

Thanks in Advance

Have you edited any of the LDM templates, e.g. with an earlier version?

The error message is being generated by the latest version of vbulletin, as part of the CSRF security checks. All templates are now supposed to include a security token to prove that they came from the site itself. As far as I know, the latest version of LDM is consistent in using these tokens.

AndrewD 05-14-2008 03:58 AM

Quote:

Originally Posted by obmob (Post 1518866)
So many phrases, so many! O__O

Will take some time to get them done into spanish ^.^'

I know - I'm sorry!

WebmasterSimds 05-14-2008 04:07 AM

Quote:

Originally Posted by AndrewD (Post 1519035)
Have you edited any of the LDM templates, e.g. with an earlier version?

The error message is being generated by the latest version of vbulletin, as part of the CSRF security checks. All templates are now supposed to include a security token to prove that they came from the site itself. As far as I know, the latest version of LDM is consistent in using these tokens.

Andrew,

No i did not edit any of the templates. i did the RC1, and beyond regular VB upgrades till it came out as 3.7 but before i did teh 3.7 version (still in RC versions) I did the 2.2.9 RC-1 of your version.

Then went after i see it said upgraded (your Mod) i did a upgrade today, thats when it started to do that, then all of a sudden (not adding any extras from your extra folder yet) suddenly it stated that the LDM was shut down by the board administration.

So as soon as I seen that happen (owning a server) I went and pulled a prior backup of the whole site to restore the LDM. so my members could use it.

I do not know aht happened. I remember another time long ago in the 3.6.x version you came over and said to (I think) delete all the plug-ins for LDM, and re install them. (I Think) cause I believe you mentioned that it would interfear with the newest version you did.

So I am stuck. I want to have this and get it upgraded so what when you are out or RC versions I can get the latest going. but worried that something may go wrong.

Any suguestions??

AndrewD 05-14-2008 04:27 AM

Quote:

Originally Posted by WebmasterSimds (Post 1519039)
Andrew,

No i did not edit any of the templates. i did the RC1, and beyond regular VB upgrades till it came out as 3.7 but before i did teh 3.7 version (still in RC versions) I did the 2.2.9 RC-1 of your version.

Then went after i see it said upgraded (your Mod) i did a upgrade today, thats when it started to do that, then all of a sudden (not adding any extras from your extra folder yet) suddenly it stated that the LDM was shut down by the board administration.

So as soon as I seen that happen (owning a server) I went and pulled a prior backup of the whole site to restore the LDM. so my members could use it.

I do not know aht happened. I remember another time long ago in the 3.6.x version you came over and said to (I think) delete all the plug-ins for LDM, and re install them. (I Think) cause I believe you mentioned that it would interfear with the newest version you did.

So I am stuck. I want to have this and get it upgraded so what when you are out or RC versions I can get the latest going. but worried that something may go wrong.

Any suguestions??

Sorry to hear this. I'm on my way to the office now, but can take a look this evening if you like - send me a PM with site details.

Vtec44 05-14-2008 11:23 PM

I updated mine from a 3.5.2 version to 3.7 and it is working great! Thanks for a very nice hack Andrew, I nominated this for MOTM.

abdelghani68 05-15-2008 12:52 PM

hi

Thank you for this super add on. Can I ask you how to do for the wimpy button and wimpy player works every 2 at the same time. Because when I instal winpy button, the wimpy player or the jukebox doesn t works.

Thank you for your help and sorry for my language

Willygsm 05-15-2008 04:55 PM

hi andrewD,

i get some problem after upgrade from 2.7.0 to 2.9.0

Now i can't set allowance to all my forum usergroup.

For e.g
moderator i can set like 1 gb for 30 days and member 500 mb for 30 days

I upload the picture here, pleaes hava a look. Thanks

Britmovie 05-16-2008 01:00 PM

Hi no links are showing on the navbar when I use a custom template any ideas please?
www.britmovie.net/forum

RikiB 05-16-2008 08:23 PM

This may sound crazy, but is there anyway to find out how fast someone is downloading a file? Perhaps LDLM can detect the speed in which the files are being downloaded?

Just curious if its possible, Thanks,
Riki

AndrewD 05-17-2008 05:22 AM

Quote:

Originally Posted by RikiB (Post 1521989)
This may sound crazy, but is there anyway to find out how fast someone is downloading a file? Perhaps LDLM can detect the speed in which the files are being downloaded?

Just curious if its possible, Thanks,
Riki

I don't think this is possible inside LDM - it's straightforward enough to calculate the time difference between when LDM itself starts to pass the file to the use and when it has finished its own work, but this does not tell you anything about other parts of the transmission process. I imagine that an accurate calculation would have to be done at the user end, e.g. with javascript, but that will also fail if the user has another download manager in place.

AndrewD 05-17-2008 05:32 AM

Quote:

Originally Posted by Britmovie (Post 1521568)
Hi no links are showing on the navbar when I use a custom template any ideas please?
www.britmovie.net/forum

Hi -I'm afraid I don't understand your question - can you give me a bit more explanation?

AndrewD 05-17-2008 05:38 AM

Quote:

Originally Posted by Willygsm (Post 1520732)
hi andrewD,

i get some problem after upgrade from 2.7.0 to 2.9.0

Now i can't set allowance to all my forum usergroup.

For e.g
moderator i can set like 1 gb for 30 days and member 500 mb for 30 days

I upload the picture here, please have a look. Thanks

Between 2.2.7 and 2.2.9, I changed the templates used for displaying the admin allowances page, so I wonder if you have modified any of the LDM template, e.g. link_admin

AndrewD 05-17-2008 06:14 AM

Quote:

Originally Posted by abdelghani68 (Post 1520441)
hi

Thank you for this super add on. Can I ask you how to do for the wimpy button and wimpy player works every 2 at the same time. Because when I instal winpy button, the wimpy player or the jukebox doesn t works.

Thank you for your help and sorry for my language

I'm not sure I understand your question - the wimpy player plays mp3s through the jukebox and the wimpy button plays them 'inline' in the linkbit. So the button is supposed to over-ride the jukebox for mp3s. The jukebox should still work for other filetypes.

Britmovie 05-18-2008 08:01 AM

Quote:

Originally Posted by AndrewD (Post 1522325)
Hi -I'm afraid I don't understand your question - can you give me a bit more explanation?

From what I understand when you install you can use a plugin to get a link in the navbar. This works for the default theme but not a custom. What do I put in the navbar to make a link to the links page?

AndrewD 05-18-2008 09:02 AM

Quote:

Originally Posted by Britmovie (Post 1523233)
From what I understand when you install you can use a plugin to get a link in the navbar. This works for the default theme but not a custom. What do I put in the navbar to make a link to the links page?

I understand :)

There's an explanation of how to include LDM in the navbar at http://www.eirma.org/wikis/index.php/Installing_LDM. If you use the manual approach, you have to apply the change in all the styles (or set the styles up as child styles).

The option to 'auto-integrate' onto the navbar was included with the latest release (2.2.9 RC2 and onwards). Installation adds two plugins called "Links and Download Manager: Add LDM to VB navbar" and "Links and Download Manager: Add LDM Quick Search to VB navbar". These are inactive by default.

If you make one/both active (either vb/admincp/products and plugins or LDM/admin/LDM plugins), the links should get included in the navbar in any style, provided the navbar template still includes $template_hook[navbar_buttons_left] (for the main ldm link) and $template_hook[navbar_search_menu] for the quick search.

Let me know if there are problems with this - it's quite possible I've made a mistake somewhere.

Britmovie 05-18-2008 10:11 PM

Nope my fault i never read the packet. Full instructions were included. This is prob the best mod I have added. So flexible etc

Britmovie 05-19-2008 07:59 PM

I nominated this as best of the month as it is fantastic and a lot of work to build it so thanks.

Just a question. To increase the size allowed for uploads i take it its in the php.ini file? Where exactly is that? Thanks...

AndrewD 05-20-2008 03:45 AM

Quote:

Originally Posted by Britmovie (Post 1525067)
I nominated this as best of the month as it is fantastic and a lot of work to build it so thanks.

Just a question. To increase the size allowed for uploads i take it its in the php.ini file? Where exactly is that? Thanks...

There are two settings in php.ini that set the overall limits on the size of uploads:

* upload_max_filesize
* post_max_size

It is important that post_max_size has the same value, or a larger value, as upload_max_filesize.

Within these limits, more restrictive settings can be applied on a per-filetype basis (vBulletin->admincp->attachments->attachment manager). These apply to all usergroups except for admins, who are always allowed to go up to the php.ini limits.

ritunb 05-23-2008 02:24 AM

Please Help!!

I've upgraded vBulletin to 3.7.0. We had LDM 2.2.7. LDM started giving error like:
'Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.7 requires VBulletin version 3.5/3.6'

So I downloaded Version 2.2.9 RC2 and installed. Now I'm getting new erroe:

"Critical error: different versions of software, templates, phrases and database.
Software: 2.2.9 database: 2.2.7
Cannot continue - ask administrator to correct."

Please help!!

AndrewD 05-23-2008 04:03 AM

Quote:

Originally Posted by ritunb (Post 1528541)
Please Help!!

I've upgraded vBulletin to 3.7.0. We had LDM 2.2.7. LDM started giving error like:
'Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.2.7 requires VBulletin version 3.5/3.6'

So I downloaded Version 2.2.9 RC2 and installed. Now I'm getting new erroe:

"Critical error: different versions of software, templates, phrases and database.
Software: 2.2.9 database: 2.2.7
Cannot continue - ask administrator to correct."

Please help!!

Version 2.2.7 does not work with vb 3.7, so that's why you got the first error.

I think you've uploaded the 2.2.9 php code without installing the LDM product xml file, so the database still thinks it's at version 2.2.7. Just go to the vb/admincp/plugins and products/manage products. Use add/import product to reinstall the LDM product xml, and be sure to check the "allow overwrite" box.

ritunb 05-23-2008 06:01 AM

Thanks. That worked.

ritunb 05-24-2008 07:42 AM

Hi Andrew,

I've installed Version: 2.2.9-RC2. Everything is fine but I do not wish to display list of Moderator Names in the Category Description. Is there a way to disable that? I can't find the option to disable that. Please advice.

Regards,

Ritun

Alfa1 05-24-2008 03:42 PM

Quote:

Originally Posted by AndrewD (Post 1500475)
Do you mean as a system cron or a VB cron? I haven't explored the first, but will think about how it could be done. The second is not a good idea - validation is a very cpu intensive task and VB crons are executed in the margin of normal page visits.

A meant a vb cron, but a system cron will be very welcome as well.

AndrewD 05-25-2008 04:29 AM

Quote:

Originally Posted by ritunb (Post 1529784)
Hi Andrew,

I've installed Version: 2.2.9-RC2. Everything is fine but I do not wish to display list of Moderator Names in the Category Description. Is there a way to disable that? I can't find the option to disable that. Please advice.

Regards,

Ritun

The feature to show this list of moderators in the category description was requested/added in this version and you are correct - I forgot to provide the option to disable it. It is a straightforward change to the code, so I will add the option as soon as possible. In the meatime, you can remove this list by editing the links_catbit_extras template (vb/admincp/styles and templates). The template contains this sequence of lines:

Code:

<if condition="$moderatorlistbit">
        $vbphrase[moderators]: $moderatorlistbit<br />
</if>

Just delete those lines.

Bear in mind that you have made this edit, because you will need to revert the template in future to take advantage of any changes that are offered in subsequent releases.

K4GAP 05-25-2008 08:50 PM

I'm trying to decide whether or not to go ahead and install this. Are there major issues to be aware of? I'm a newbie to all this so...

AndrewD 05-26-2008 04:00 AM

Quote:

Originally Posted by GaryT (Post 1531273)
I'm trying to decide whether or not to go ahead and install this. Are there major issues to be aware of? I'm a newbie to all this so...

This has been developed/supported for over four years, and, as far as I know, there have been no serious problems (touch wood!) during that time. If you want to take full advantage of its flexibility, there's a certain amount of learning required, but within reason, I will help sort out any difficulties you have at the start. There are a number of sites using this addon to handle large numbers of downloads; others which provide a small library of files.

K4GAP 05-26-2008 07:17 AM

Quote:

Originally Posted by AndrewD (Post 1531492)
This has been developed/supported for over four years, and, as far as I know, there have been no serious problems (touch wood!) during that time. If you want to take full advantage of its flexibility, there's a certain amount of learning required, but within reason, I will help sort out any difficulties you have at the start. There are a number of sites using this addon to handle large numbers of downloads; others which provide a small library of files.

After reading your instructions in the zip, I think I'll give it a go. BTW, those are the best written and easiest to understand set of instructions I've read in any products here. VGJ!

GrendelKhan{TSU 05-29-2008 12:34 AM

got this error when attempting to install extra "patch forumhome thumbs"

Quote:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/*******/public_html/*****/includes/adminfunctions_template.php(3716) : eval()'d code on line 31
:(

nvm.

but I still can't get it to appear. ;(

GrendelKhan{TSU 05-29-2008 01:52 AM

Different request and bug:

1) When using autocreate thread....
is it possible to have it post the associated image at a controlled size? (maybe there is a setting...but I couldn't find it :()

eg:
- if I upload a wallpaper to LDM and autocreate, it posts the image full size in the created thread.

This kinda defeats the purpose of thumbnails, and previews and downloading etc in LDM for images or things where the image matters. And also it breaks the size width restrictrions I have set for the forums.

so I would love if I could set the size of the image that gets posted in the autocreated thread. (maybe associate it with the enlarged thumbnail image size setting LDM? ie: link_imagemagsize )


2) BUG?
Flash Uploader with progress meter is awesome! and looks great...
I just can't get it to work. heh :(

ie: it looks like its working... but no matter what file I upload it ends in: "File rejected by server" error pop. (and red bar)

If I turn off the flash uploader plugins (disable them in plugin manager) ... uploads work fine again.
o_0;;

AndrewD 05-29-2008 03:42 AM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1534646)
Different request and bug:

1) When using autocreate thread....
is it possible to have it post the associated image at a controlled size? (maybe there is a setting...but I couldn't find it :()

eg:
- if I upload a wallpaper to LDM and autocreate, it posts the image full size in the created thread.

This kinda defeats the purpose of thumbnails, and previews and downloading etc in LDM for images or things where the image matters. And also it breaks the size width restrictrions I have set for the forums.

so I would love if I could set the size of the image that gets posted in the autocreated thread. (maybe associate it with the enlarged thumbnail image size setting LDM? ie: link_imagemagsize )

OK, will take a look

Quote:

Originally Posted by GrendelKhan{TSU (Post 1534646)
2) BUG?
Flash Uploader with progress meter is awesome! and looks great...
I just can't get it to work. heh :(

ie: it looks like its working... but no matter what file I upload it ends in: "File rejected by server" error pop. (and red bar)

If I turn off the flash uploader plugins (disable them in plugin manager) ... uploads work fine again.
o_0;;

Yes, I'd found this bug and I have the fix ready. It's releated to the new CSRF mechanisms in vBulletin. All you need to do is edit local_links_ajax.php (main forum directory)

After the line
Code:

define('CSRF_PROTECTION', true);
add
Code:

define('CSRF_SKIP_LIST', 'swfupload'); // because of problems with flash scripts assuming IE

AndrewD 05-29-2008 03:51 AM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1534594)
got this error when attempting to install extra "patch forumhome thumbs"



:(

nvm.

but I still can't get it to appear. ;(

That part of vbulletin is looking for syntax errors in templates. I imagine you edited the forumhome template? Check what you've done.

AndrewD 05-31-2008 04:32 AM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1534646)
1) When using autocreate thread....
is it possible to have it post the associated image at a controlled size? (maybe there is a setting...but I couldn't find it :()

eg:
- if I upload a wallpaper to LDM and autocreate, it posts the image full size in the created thread.

This kinda defeats the purpose of thumbnails, and previews and downloading etc in LDM for images or things where the image matters. And also it breaks the size width restrictrions I have set for the forums.

so I would love if I could set the size of the image that gets posted in the autocreated thread. (maybe associate it with the enlarged thumbnail image size setting LDM? ie: link_imagemagsize )

This isn't easy for me to fix without rewriting the interface between LDM and vb. The autocreator simply drops an img bbcode into the post, and that does not have a mechanism for resizing.

However, I tried the Image Resizer hack - see https://vborg.vbsupport.ru/showthread.php?p=1493771 - and this works fine

abdelghani68 06-01-2008 09:58 AM

I have a problem with my favourites. I can add favourites but I can not withdraw. can you help me if you like. why i can't remove my favorites ?

Thank you

AndrewD 06-01-2008 04:35 PM

Quote:

Originally Posted by abdelghani68 (Post 1537688)
I have a problem with my favourites. I can add favourites but I can not withdraw. can you help me if you like. why i can't remove my favorites ?

Thank you

Apologies for this, and thanks for the report.

There is a bug, which I introduced part way through the 2.2.9 development. I've found it, and the fix will be uploaded in the next few days.

Ian Emu-UK 06-01-2008 11:26 PM

Hi AndrewD

You probably don't remember me, but I have been a long time user of this mod and probably over a year ago now I asked you if it would be possible to make LDM automatically delete files that had been uploaded after a number of days from a category of my choosing. well since then I have fallen out of love with what my site is about and lost interest in it, but I have now got a renewed vigor for it all again and will be upgrading everything and hopefully move my site forward.

Anyway, that my little story, and obviously I am wondering if you did ever work out how to do it or is it something you would consider looking into again?

cheers
Ian


All times are GMT. The time now is 03:56 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.02723 seconds
  • Memory Usage 1,869KB
  • 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
  • (23)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