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)

Nam 11-01-2007 07:25 PM

I already asked this but I guess you missed it, is it possible to enable both link protection on some categories and no protections on some file/categories?

The second question is that does LDM keep sleeping mySQL connections? My host says sometimes the server on a high load because of that reason. I'm not sure what's that mean but I wonder if it's necessary to keep those connections.

32k hits in 3 days :)

albibak 11-01-2007 09:28 PM

Quote:

Originally Posted by PitchouneN64ngc (Post 1373662)
Hey AndrewD, there is the French translation with this post ;)

Thanks for this translation Pitchoune :)

AndrewD 11-02-2007 05:04 AM

Quote:

Originally Posted by PitchouneN64ngc (Post 1373662)
Hey AndrewD, there is the French translation with this post ;)

Thanks!

AndrewD 11-02-2007 05:32 AM

Quote:

Originally Posted by Nam (Post 1373701)
I already asked this but I guess you missed it, is it possible to enable both link protection on some categories and no protections on some file/categories?

The second question is that does LDM keep sleeping mySQL connections? My host says sometimes the server on a high load because of that reason. I'm not sure what's that mean but I wonder if it's necessary to keep those connections.

32k hits in 3 days :)

1) Yes.

As background, you can find out which settings/permissions can be set per-category as follows: a) Go to any of your categories, do edit/category, and look at the control settings and permissions tabs. If the setting/permission is listed on these pages, then the value for that category will override the global value in that category and in any child categories that do not set their own value. b) Alternatively, from version 2.2.8-post 1, look at the admin/settings and admin/permissions pages. If the setting/permission is colour coded yellow, then it is configurable per-category.

*force_redirect* is one such setting, so the answer to your first question is 'yes'.

2) LDM does nothing special with database connections. As far as I know, I'm using standard vbulletin procedures, including when LDM shuts down. However, I don't know what your site is using LDM to deliver - if you are supplying large video files, then there is likely to be be a long delay between starting to deliver the video and eventually closing down (and ? releasing the database connection). Consequently, if lots of people are using the site at once, then the number of simultaneous connections may be equally large.

As I've mentioned, I'm not an expert on MySQL, but I also wonder if your problem is related to the way your site is configured to handle so-called 'persistent connections'. This is a particular method for using the database. It is configured in (at least) two places - in the php.ini file and in the vbulletin config.php file - it's not something that LDM knows about or tries to do anything with. I suggest that you ask for help on the subject on vb.com or in the main vb.org programming/mysql forum.

Willygsm 11-02-2007 02:09 PM

Quote:

Originally Posted by AndrewD (Post 1372903)
Try the following.

Go to your vb admincp, products and plugins.

Add new plugin

product - Links and Downloads manager

hook - ldm_admin_start

code: @ini_set('max_execution_time', 300);

plugin is active: yes

Now you should be able to get at ldm/admin/categories and tidy up.

Remember to turn off/delete the plugin when you've finished.

hi andrewD thanks for reply, problem still no solve.. after i click categories now it show only blanks. and i use latest LDM. Have anyway to delete the whole categories and resync again??

AndrewD 11-02-2007 02:19 PM

Quote:

Originally Posted by Willygsm (Post 1374183)
hi andrewD thanks for reply, problem still no solve.. after i click categories now it show only blanks. and i use latest LDM. Have anyway to delete the whole categories and resync again??

I suspect that you are trying to sync a directory structure that is simply too large and complex for LDM to handle within the limits of resources that your web server will permit. When I took a look at your site, you had lots and lots of categories.

Unless you are already using LDM to offer a production service, I suggest that you simply delete all the LDM database tables (use phpmyadmin, etc) and start again by reinstalling the product via VB - it will automatically recreate these tables.

Alfa1 11-04-2007 01:40 PM

The phrase ldm_thread_create_body currently has the following content:
Quote:

{5}
A new entry has been added to {4}

Description:
{2}

To check it out, rate it or add comments, visit {1}
The comments you make there will appear in the posts below.
What other variables can I use?

- Entries that are approved by a moderator, do not get a discussion thread posted by the member that entered the entry, but the discussion thread is posted in the name of the moderator approving the entry instead. How can I change this?

- Discussion Threads are not automatically added as subscribed threads.

- It would be great if a automatic thread prefix be set for discussion threads.

- Currently discussion threads are flooding my forums. More control on autocreate would be great. What do you think of a 'create discussion thread' button for entries that do not have discussion threads yet?
Another idea that i like is to send all discussion threads through vb's moderation queue, for approval by the moderator.

yahoooh 11-04-2007 02:06 PM

i still wait the features tha i requist and i think this great product need this new feature :
work in folder other than forum
so if the forum in folder www.site.com/forum
we can put this product in www.site.com/directory for example or any other folder
so this will make us using subdomain for it

thanks for this product and plz keep on

Alfa1 11-04-2007 02:55 PM

Quote:

Originally Posted by AndrewD (Post 1353913)
When you are on the LDM main page, $viewcatid will be equal to -1
When you are viewing the results of a search, the variable $this_action will be equal to "show"
When you are inside LDM, $this_action is always set, and I imagine it's not set when you are in a forum

So I suggest you modify your forum tab code to say something like
PHP Code:

if condition="!$this_action and (THIS_SCRIPT=='index'  or in_array(..))">...</if> 


Thanks a lot! This works.

Quote:

Originally Posted by AndrewD (Post 1353913)
Your LDM search check could be

PHP Code:

if condition="$this_action=='show')">...</if> 


If I add this including the
PHP Code:



then vb gives me an error because there is no opening ( in the code. I can not leave it out either as that doesn't work. Can you please elaborate?

Quote:

Originally Posted by AndrewD (Post 1353913)
Your LDM main page check could be

PHP Code:

if condition="$this_action=='links') and $viewcatid<0">...</if> 


I encounter the same problem here.

SuperTaz 11-05-2007 04:13 AM

Andrew, I get this error when I try to set the path for the images:

Quote:

The following setting(s) are invalid
file_icons_dir : http://www.global-gamers.net/forums/images/icons/
Cannot find/read directory http://www.global-gamers.net/forums/images/icons/
Do I have to load them individually or load them all in a single folder to the icons folder?

AndrewD 11-05-2007 03:28 PM

Quote:

Originally Posted by Warden-B- (Post 1376023)
Andrew, I get this error when I try to set the path for the images:

Do I have to load them individually or load them all in a single folder to the icons folder?

Have you uploaded the icons? (Look in the zip file /release/icon) - Decide where you want to store them, ftp upload the directory, then set the icon path.

AndrewD 11-05-2007 03:35 PM

Quote:

Originally Posted by yahoooh (Post 1375593)
i still wait the features tha i requist and i think this great product need this new feature :
work in folder other than forum
so if the forum in folder www.site.com/forum
we can put this product in www.site.com/directory for example or any other folder
so this will make us using subdomain for it

thanks for this product and plz keep on

Noted - I'm grateful for your enthusiasm. I'm just a little short of time :)

AndrewD 11-05-2007 03:47 PM

Quote:

Originally Posted by Alfa1 (Post 1375575)
The phrase ldm_thread_create_body currently has the following content:


What other variables can I use?

Unfortunately, this is not the way that vb works - when the code uses this phrase, it is given precisely the right variables to complete it. You would have to start modifying includes/local_face.php, around line 207.

Quote:

Originally Posted by Alfa1 (Post 1375575)
- Entries that are approved by a moderator, do not get a discussion thread posted by the member that entered the entry, but the discussion thread is posted in the name of the moderator approving the entry instead. How can I change this?

- Discussion Threads are not automatically added as subscribed threads.

- It would be great if a automatic thread prefix be set for discussion threads.

- Currently discussion threads are flooding my forums. More control on autocreate would be great. What do you think of a 'create discussion thread' button for entries that do not have discussion threads yet?
Another idea that i like is to send all discussion threads through vb's moderation queue, for approval by the moderator.

Noted - these are all bugs/suggetsions which will need some thought.

AndrewD 11-05-2007 03:49 PM

Quote:

Originally Posted by Alfa1 (Post 1375629)
Thanks a lot! This works.


If I add this including the
PHP Code:



then vb gives me an error because there is no opening ( in the code. I can not leave it out either as that doesn't work. Can you please elaborate?


I encounter the same problem here.

I'm sorry, the closing parenthesis was a typo in both cases - are you saying that the test doesn't work when you leave it out?

SuperTaz 11-05-2007 09:46 PM

Quote:

Originally Posted by AndrewD (Post 1376360)
Have you uploaded the icons? (Look in the zip file /release/icon) - Decide where you want to store them, ftp upload the directory, then set the icon path.


Yes, I uploaded the icons to that specified directory and that did not work. I gave the exact full path and I also tried the local path and both did not work. So, then I tried to put the icons in another folder and it still says the same.

Like I said, everything is done exactly how your directions say to do it and it does not work.

Ipuck 11-05-2007 10:56 PM

Hello Andrew!

Thanks for the mod and for the latest update.

I just did the upgrade to 2.2.8 post1. All the links and categories are working fine, but I notice that in the administer are, many of the options settings are turned yellow, like I have override in the categories, when in fact I have only two categories that I have override the settings. Here is an example:

AndrewD 11-06-2007 03:02 AM

Quote:

Originally Posted by Ipuck (Post 1376655)
Hello Andrew!

Thanks for the mod and for the latest update.

I just did the upgrade to 2.2.8 post1. All the links and categories are working fine, but I notice that in the administer are, many of the options settings are turned yellow, like I have override in the categories, when in fact I have only two categories that I have override the settings. Here is an example:

This is a modification in behaviour in 2.2.8 post 1 - yellow now shows that the setting *can* be changed, not that it *has* been changed.

AndrewD 11-06-2007 03:05 AM

Quote:

Originally Posted by Warden-B- (Post 1376593)
Yes, I uploaded the icons to that specified directory and that did not work. I gave the exact full path and I also tried the local path and both did not work. So, then I tried to put the icons in another folder and it still says the same.

Like I said, everything is done exactly how your directions say to do it and it does not work.

Check whether your site php has open_basedir set (vb/admin/maintenance/phpinfo) and that the icon directory is within the allowed space. If that's ok send me a PM and I'll gladly take a look.

SuperTaz 11-06-2007 04:02 AM

open_basedir - no value - no value

yahoooh 11-06-2007 04:39 AM

AndrewD

i see some sites that has put links for download files that in my site by just paste link of files , so people can download without visit my site

i do not need to prevent unregistered user from download but i need to make captcha for them to prevent hot linking

and this captch should only for downloading files not for veiw juke box player because people have to visit my site but in download they will download directly so i need captcha for that

thanks

benjaminkramer 11-06-2007 05:48 AM

Hi,

is it possible, that when I am uploading data into Links and Downloads Manager in a specific category that automatic a thread is created in a specific forum?

For example:

Links and Downloads Manager:

For students - University Leipzig - Anatomy -> create one file for downloading

-> Then new thread should be created in:

Forum

Students of Germany - University Leipzig -> [New Thread] - New Download available...


Hope that is possible to set up, that would save a lot of time :-)

Ipuck 11-06-2007 09:50 PM

Quote:

This is a modification in behaviour in 2.2.8 post 1 - yellow now shows that the setting *can* be changed, not that it *has* been changed.
Thanks Andrew!

csavern 11-07-2007 12:50 AM

I have had this mod installed for sometime now and i asked a question a while back but never got a answer on it but can understand there is a lot of people that ask questions it might have gotten over looked.

I enter and link and everything is fine shows up no problems
now i have installed webthumbs i fill out all the info for the link i click sumit at the bottom and then i get a page that says this

Internet Explorer cannot display the webpage

Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.

What you can try:
Diagnose Connection Problems

More information

This problem can be caused by a variety of issues, including:

Internet connectivity has been lost.
The website is temporarily unavailable.
The Domain Name Server (DNS) is not reachable.
The Domain Name Server (DNS) does not have a listing for the website's domain.
If this is an HTTPS (secure) address, click Tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.

For offline users

You can still view subscribed feeds and some recently viewed webpages.
To view subscribed feeds

Click the Favorites Center button , click Feeds, and then click the feed you want to view.

To view recently visited webpages (might not work on all pages)

Click Tools , and then click Work Offline.
Click the Favorites Center button , click History, and then click the page you want to view.


but it still post the link but i got people thinking it didnt that something went wrong and sumitting it over and over again

AndrewD 11-07-2007 05:10 AM

Quote:

Originally Posted by benjaminkramer (Post 1376821)
Hi,

is it possible, that when I am uploading data into Links and Downloads Manager in a specific category that automatic a thread is created in a specific forum?

For example:

Links and Downloads Manager:

For students - University Leipzig - Anatomy -> create one file for downloading

-> Then new thread should be created in:

Forum

Students of Germany - University Leipzig -> [New Thread] - New Download available...


Hope that is possible to set up, that would save a lot of time :-)

Yes, this is available. You use the autothreadcreate options which can be set up on the LDM/admin/settings page on a global basis, or on edit category/control settings on a per category basis

AndrewD 11-07-2007 05:12 AM

Quote:

Originally Posted by csavern (Post 1377423)
I have had this mod installed for sometime now and i asked a question a while back but never got a answer on it but can understand there is a lot of people that ask questions it might have gotten over looked.

I enter and link and everything is fine shows up no problems
now i have installed webthumbs i fill out all the info for the link i click sumit at the bottom and then i get a page that says this

Internet Explorer cannot display the webpage

Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.

What you can try:
Diagnose Connection Problems

More information

This problem can be caused by a variety of issues, including:

Internet connectivity has been lost.
The website is temporarily unavailable.
The Domain Name Server (DNS) is not reachable.
The Domain Name Server (DNS) does not have a listing for the website's domain.
If this is an HTTPS (secure) address, click Tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.

For offline users

You can still view subscribed feeds and some recently viewed webpages.
To view subscribed feeds

Click the Favorites Center button , click Feeds, and then click the feed you want to view.

To view recently visited webpages (might not work on all pages)

Click Tools , and then click Work Offline.
Click the Favorites Center button , click History, and then click the page you want to view.


but it still post the link but i got people thinking it didnt that something went wrong and sumitting it over and over again

Apologies for missing this. Please bear with me for a couple of days - I'm not at home at present, so can't easily diagnose this problem.

csavern 11-07-2007 01:19 PM

Not a problem
If ya would just let me know when you might know what it is

Nam 11-07-2007 06:34 PM

Andrew, I found add multiple link is very useful, however, I don't see the display order appear. I tried to add 20 link and the link order was messed up and I had to manually edit the individual link again to correct the display order.

Is there anyway to make the display order field show up in add multiple entry? Thank you.

AndrewD 11-08-2007 04:06 AM

Quote:

Originally Posted by Nam (Post 1377933)
Andrew, I found add multiple link is very useful, however, I don't see the display order appear. I tried to add 20 link and the link order was messed up and I had to manually edit the individual link again to correct the display order.

Is there anyway to make the display order field show up in add multiple entry? Thank you.

The display order does appear in the add multiple entry form - it's in the top part of the form - the same display order value is applied to all the new entries rather than being set on an entry by entry basis. As far as I can tell it works. Maybe it should be availableto be set for each individual new entry - I tried to make the add multiple form as easy as possible for people to complete?

AndrewD 11-08-2007 04:21 AM

Quote:

Originally Posted by csavern (Post 1377423)
I have had this mod installed for sometime now and i asked a question a while back but never got a answer on it but can understand there is a lot of people that ask questions it might have gotten over looked.

I enter and link and everything is fine shows up no problems
now i have installed webthumbs i fill out all the info for the link i click sumit at the bottom and then i get a page that says this

Internet Explorer cannot display the webpage

Just to be clear, can you confirm:

a) LDM works ok without webthumbs, and
b) LDM always fails to work with webthumbs

or is the problem intermittent with webthumbs? or does the problem happen even without webthumbs?

Nam 11-08-2007 04:29 AM

Quote:

Originally Posted by AndrewD (Post 1378207)
The display order does appear in the add multiple entry form - it's in the top part of the form - the same display order value is applied to all the new entries rather than being set on an entry by entry basis. As far as I can tell it works. Maybe it should be availableto be set for each individual new entry - I tried to make the add multiple form as easy as possible for people to complete?

Yes I noticed that it does appear on top of the form, however it's apply to all entries. Like you said, it'd be better to be able to to set each entry individually. Otherwise, I have to set most of them individually anyway.

Hopefully you'll release it in the next version, cheers :).

coolgus 11-08-2007 07:13 PM

Congrats for this amazing product. Two questions though

1. Can I disable the keyword function ? I am trying to edit some files and asks me for a keyword everytime even though I didn't give one when I created the entry

2. Is there any easy way to add a new field when create/editing an entry so I can give a url with the official site of it ? If it's easier, keyword function could be changed so I have the source url instead

Thank you in advance

AndrewD 11-08-2007 07:49 PM

Quote:

Originally Posted by coolgus (Post 1378591)
Congrats for this amazing product. Two questions though

1. Can I disable the keyword function ? I am trying to edit some files and asks me for a keyword everytime even though I didn't give one when I created the entry

2. Is there any easy way to add a new field when create/editing an entry so I can give a url with the official site of it ? If it's easier, keyword function could be changed so I have the source url instead

Thank you in advance

1) This should be disabled by default. Check whether you've inadvertently enabled the *must_add_keyword* permission.

2) Not currently. Additional fields is something that has been requested for some time but has not been implemented yet - I'm waiting for proper inspiration! But it stays on the list.

AndrewD 11-10-2007 07:32 AM

I was sorry to discover that the online wiki for LDM got hacked this week. So I've decided to disable new account creation on the site, as well as anonymous editing. This will make it harder to improve the manual, but that's life.

saltvattensakva 11-11-2007 06:07 PM

hard to uninstall and the uninstall script does not delete all changes and files.
aint possible to remove from admin cp->plugin/product manager.
++++ing terrible to uninstall.

coolgus 11-11-2007 09:48 PM

Andrew I try to have latest "Show What's New" in joomla. I'm only interested for the titles of links and nothing more. Also I would like to being able to exlude some categories.

Could you tell me which is the query which is needed ? I had a look at ldm_new.module but couldn't find anything

AndrewD 11-12-2007 04:05 AM

Quote:

Originally Posted by saltvattensakva (Post 1380494)
hard to uninstall and the uninstall script does not delete all changes and files.
aint possible to remove from admin cp->plugin/product manager.
++++ing terrible to uninstall.

Thank you for your polite description. It's perfectly possible to do what you want, and quite straightforward too. If you take a look at the on-line documentation, you'll find an explanation of what to do.

The reason why the uninstall script does not simply delete all the database tables and files is because it is too easy to have accidents - either of one's own causing or because someone vandalises your board.

AndrewD 11-12-2007 04:12 AM

Quote:

Originally Posted by coolgus (Post 1380601)
Andrew I try to have latest "Show What's New" in joomla. I'm only interested for the titles of links and nothing more. Also I would like to being able to exlude some categories.

Could you tell me which is the query which is needed ? I had a look at ldm_new.module but couldn't find anything

you need something like the following:
Code:

select links.linkname as linkname, links.linkdate as linkdate, ltoc.catid as catid
from local_linkslink as links
left join local_linksltoc as ltoc
on links.linkid = ltoc.linkid
where ltoc.catid NOT IN (10,11,12)
order by linkdate desc

replace 10,11,12 by the catids you want to omit

GTRyan 11-12-2007 04:30 AM

On my statistics hit parade menu on the LDM main page one of my downloads for a video .wmv file started going down when it got to about 2500 hits, the counter on the download info itself is correct though, using 3.6.8 post 1.

http://alamoride.com/forum/local_links.php look at the file alamoride_murillo_star_car_2_fab2startup info

AndrewD 11-12-2007 05:23 AM

Quote:

Originally Posted by GTRyan (Post 1380810)
On my statistics hit parade menu on the LDM main page one of my downloads for a video .wmv file started going down when it got to about 2500 hits, the counter on the download info itself is correct though, using 3.6.8 post 1.

http://alamoride.com/forum/local_links.php look at the file alamoride_murillo_star_car_2_fab2startup info

There are two records of hits inside LDM. The entry itself keeps a record of the total number of hits (but nothing more - no information on who/when/etc). This information is kept permanently. The downloads table keeps a full record of all accesses, but, because the table can become very large, you have the option to 'prune' it after a certain length of time (LDM/admin/settings/prune_downloadtable).

The hit parade is produced by reading the downloads table, so, if you have told LDM to prune this table, you will eventually start losing hits off the beginning. I suspect this is the source of your problem.

GTRyan 11-12-2007 06:13 AM

ah one thing I was thinking, does the hit parade only show the downloads counts for the last 30 days? Then so its not showing the total since the file has been there right? Then if so that cool then cause its been dropping daily as the video is getting older.


All times are GMT. The time now is 09:36 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.04084 seconds
  • Memory Usage 1,906KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_php_printable
  • (28)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