View Full Version : Major Additions - Links and Downloads Manager
Pages :
1
2
3
4
5
6
7
[
8]
9
10
11
12
13
AndrewD
05-19-2007, 12:02 PM
Hi,
I'm very new to the whole forum world so please bear with me here...
I'm having trouble with the installation of the mod as I'm not sure where to upload into 'the corresponding forum directories.'
Here's what I did:
- I put the content of the includes and the clientscript folders in the appropriate forum directories.
- I wasn't sure where to put the release/forums/local php files, though, so I put them under the main forum directory. (?)
- I did the same with the release/vba_modules folder.
Not sure where to upload the release/extras folder and the tests folder.
When I tried to install the xml files via vB, I got the following messages:
Warning: Unknown(/home/rawfree/public_html/forum/includes/local_links_init.php): failed to open stream: No such file or directory in /admincp/plugin.php(1941) : eval()'d code on line 3
Fatal error: (null)() [function.require]: Failed opening required '/home/rawfree/public_html/forum/includes/local_links_init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rawfree/public_html/forum/admincp/plugin.php(1941) : eval()'d code on line 3
Please advice!
Thanks,
Carmella
Happy to help.
The error message is telling you that it can't find the file local_links_init.php in the forum/includes directory.
The directory structure in the release/ part of the zip file is *exactly* the same as the directory structure for vbulletin. This is where things should go:
- in your main forums directory:
local_links.php
local_links_actions.php
local_links_admin..php
local_links_ajax.php
local_links_search.php
local_resize.php
local_stream.php
- in your forums/clientscript directory
ldm_ajax_doisugg.js
ldm_ajax_keysugg.js
ldm_global.js
- in your forum/includes directory
local_links_admininclude.php
local_links_include.php
local_links_misc.php
local_links_players.php
local_links_resize.php
- in your forums/include/xml directory
cpnav_xlinks.xml
hooks_ldm.xml
There's then one decision you need to make yourself - where to put the contents of the release/icons directory. I suggest you create a directory called forum/ldmicon
You do not upload the vba_modules directory - you only need these if you are using vbadvanced, and vbadvanced modules are installed via the vba installation process, not uploaded.
If you still have problems, send me a PM and I'll be glad to help.
AndrewD
05-19-2007, 12:04 PM
Not many that do maybe it is something built in that forces it to act this way :D
Now I am wondering if there is a way to incorporate limited the download rate for users.
Example Administrators get unlimited download rate
Guest get 100kbs with 1 Parallel Downloads
Registered users get 500kbs with 3 Parallel Downloads (Drops down to 166.66kbs if they download three at a time for each download)
Premium or Long Time Members get Unlimited
If this was possible this would be even better.
As I have seen dedicated software but they are really buggy and don't integrate with vbulletin very well.
will think about this.
Also a flv player
there is one already - take a look in the extras directory of the release.
AndrewD
05-19-2007, 12:09 PM
hello. i currently have my ldm in my public_html/media folder.
i have found out that it is possible for people to find out that the contents are there and download the files when i dont have this option available under the settings
what i want to know is can i move the media folder below the public_html folder and will it still work. would this then stop people being able to download the files andhow would i go about moving it?
many thanks for your time
yes, this is explained in the online wiki, see http://www.eirma.org/wikis/index.php/Speed%2C_Security_and_Server_Load
You use the local_file_root and local_file_root_prefix settings on the ldm admin page. Set local_file_root *on* so that LDM refers to files in terms of the server root directory rather than the website root directory, and set local_file_root_prefix to the name of the base directory you want to use - ** it's important that you do this, otherwise you are potentially opening up your whole server directory structure to LDM users **
If you move your current files cleverly into the same directory relative to ..local_file_root_prefix/, everything will continue to work unchanged, but be totally hidden from people who try to leech the files. If you have problems, you can always do a mass edit of the entries via the admin/categories page.
It's a good idea to take a backup...
AndrewD
05-19-2007, 06:33 PM
Hello Andrew!
We want to create an area that is password protected so that only those we pm w/ the password can access it. Is this possible?
I think that I have to change the way LDM handles forum association. It seems straightforward to ask for the password when the user tries to view a category that is associated with a password protected forum, in the same way as the user is asked for the password when trying to view the forum itself.
What is less obvious is what to do about entries that are associated with such a forum. Remember that entries can be associated with different forums than the category they are in.
I think that the logical approach is to ask for the password when trying to access the entry, not when trying to view it in its category.
So this would suggest :
- categories associated with password protected forums would trigger a password request when the user tries to view the category
- entries associated with password protected forums would be visible in the category listing (assuming the user has the normal can_view_ privs to that forum) and would trigger the password request when the user tries to download/jump to the entry's url.
Does that make sense?
obmob
05-20-2007, 01:06 AM
yes, this is explained in the online wiki, see http://www.eirma.org/wikis/index.php/Speed%2C_Security_and_Server_Load
You use the local_file_root and local_file_root_prefix settings on the ldm admin page. Set local_file_root *on* so that LDM refers to files in terms of the server root directory rather than the website root directory, and set local_file_root_prefix to the name of the base directory you want to use - ** it's important that you do this, otherwise you are potentially opening up your whole server directory structure to LDM users **
If you move your current files cleverly into the same directory relative to ..local_file_root_prefix/, everything will continue to work unchanged, but be totally hidden from people who try to leech the files. If you have problems, you can always do a mass edit of the entries via the admin/categories page.
It's a good idea to take a backup...If i have none enabled, am I in troubles? OO
obmob
05-20-2007, 02:50 AM
vB 3.6.7 killed my LDM! u.u
=======================================
Unexpected critical failure
Critical Error: Cannot find Links and Downloads Manager database tables
=======================================
EDIT: NOOO! o.O
Geez, I'm tired... i forgot to change the database prefix ^^,
Now everything looks fine!
AndrewD
05-20-2007, 04:21 AM
If i have none enabled, am I in troubles? OO
No.
GrendelKhan{TSU
05-20-2007, 06:10 PM
woot! andrew still pwning all mods with his support! :D Andrew for vb mod president! :p
there is one already - take a look in the extras directory of the release.
how about one where ppl can upload regular movie files and it converts them to play in the flash player...
ie: that would give us all our own youtube, google vid etc site instantly!! :D awww yahh... user contributed movie content here we come!! that wold be sooo leet.
(sorry, I know that might not be possiboe...but it was a thought. :))
also, may LDM is producing weird letters when post comments to threads....
ie: make a comment to a video, it posts to thread... the comment comes out with weird text:
namely: " \r\n\r\n" appears :confused:
eg:
http://www.clantsu.org/forums/anime/8213-naruto-shippuden-episode-14-english-subtitled.html
still can't figure out why the thumbnail viewer isn't working for our music upload section. :( I have not changed any templates of LDM.
GrendelKhan{TSU
05-20-2007, 06:32 PM
ps. sorry forgot a question...
is there a way to find out what the actually link to the file is? like if want to hotlink to an uploaded video or music file (mp3) to stream somewhere else (like another site or part of the forums)...
could I?
specifially I want to:
-upload a mp3 to LDM.
-link and/or stream it elswehre, like a separate xeon flash jukebox (https://vborg.vbsupport.ru/showthread.php?p=1251490#post1251490) thingy or a separate site.
but I can't figure out what the url would be(much less whether it'd work). :( me stooopid.
kandip
05-21-2007, 12:40 AM
Hello, can someone please help me with the local_stream.php?action=stream&linkid=3&catid=1
What happens is this... (when i try to stream a video file)
I have my local_files_root_prefix set as "home/username/
and the upload dir is set at "home/username/uploads/
local_files_root is set to yes
now when i try to stream a video file.. it loads a player but it does not stream. Now I dont know why it does that. I went through this entire thread, like 118 pages to find the solution.. but no luck...
It streams MP3 files just fine.
So someone please help me.. .thanks in advance.
AndrewD
05-21-2007, 03:58 AM
how about one where ppl can upload regular movie files and it converts them to play in the flash player...
ie: that would give us all our own youtube, google vid etc site instantly!! :D awww yahh... user contributed movie content here we come!! that wold be sooo leet.
(sorry, I know that might not be possiboe...but it was a thought. :))
Nice but as you say..
also, may LDM is producing weird letters when post comments to threads....
ie: make a comment to a video, it posts to thread... the comment comes out with weird text:
namely: " \r\n\r\n" appears :confused:
eg:
http://www.clantsu.org/forums/anime/8213-naruto-shippuden-episode-14-english-subtitled.html
Yes, I'd spotted that - it's fixed in the next version (they all say that, don't they...) backslash r and backslash n are the codes for a new line, and shoould come out as such.
still can't figure out why the thumbnail viewer isn't working for our music upload section. :( I have not changed any templates of LDM.
Do you want me to take a look? Send me a PM with site details and an admin pwd if so.
AndrewD
05-21-2007, 04:16 AM
ps. sorry forgot a question...
is there a way to find out what the actually link to the file is? like if want to hotlink to an uploaded video or music file (mp3) to stream somewhere else (like another site or part of the forums)...
could I?
specifially I want to:
-upload a mp3 to LDM.
-link and/or stream it elswehre, like a separate xeon flash jukebox (https://vborg.vbsupport.ru/showthread.php?p=1251490#post1251490) thingy or a separate site.
but I can't figure out what the url would be(much less whether it'd work). :( me stooopid.
Funny thing is that the next question on the forum points to the answer.
The url you need to play entry XX in category YY is the following
http://url-to-your-forum/forum/local_stream.php?action=stream&linkid=XX&catid=YY
Be aware that the remote player will seem to LDM as if it is an unregistered user, so you must set up things so that unregistered users have access.
AndrewD
05-21-2007, 04:17 AM
Hello, can someone please help me with the local_stream.php?action=stream&linkid=3&catid=1
What happens is this... (when i try to stream a video file)
I have my local_files_root_prefix set as "home/username/
and the upload dir is set at "home/username/uploads/
local_files_root is set to yes
now when i try to stream a video file.. it loads a player but it does not stream. Now I dont know why it does that. I went through this entire thread, like 118 pages to find the solution.. but no luck...
It streams MP3 files just fine.
So someone please help me.. .thanks in advance.
What format video file and which player is it launching?
Happy to lend a hand - send me a PM with site details if you want.
Alfa1
05-21-2007, 04:42 PM
local_links_admin.php?set=permissions is really mixed up in my LDM. This is the first time I have noticed this. I am using the vb standard style. Is this a bug of 2.2.7?
AndrewD
05-21-2007, 05:37 PM
local_links_admin.php?set=permissions is really mixed up in my LDM. This is the first time I have noticed this. I am using the vb standard style. Is this a bug of 2.2.7?
I've forgotten your site details - send me a PM
Alfa1
05-21-2007, 06:16 PM
I've sent you a pm.
Is there software somewhere that allows me to create thumbs of video's?
obmob
05-22-2007, 03:45 PM
Thanks for answering Andrew! :D
kandip
05-22-2007, 04:55 PM
What format video file and which player is it launching?
Happy to lend a hand - send me a PM with site details if you want.
im tryin to stream mpeg or mpg files and the windows media player launches.. but i also tried with quicktime and real player. :( :( but no luck.
AndrewD
05-23-2007, 03:24 AM
im tryin to stream mpeg or mpg files and the windows media player launches.. but i also tried with quicktime and real player. :( :( but no luck.
Are you using full urls to the video files or local file names? With full urls, the resources needed to read the file are *much* larger than with local files. Depending on the precise video format, the media player sometimes expects to be given the entire file before starting to play. With large files on a remote site, it never gets everything - LDM uses all its allowed resources.
The problem may be somewhere else but I would need to access your site to find out.
wolfe
05-23-2007, 09:23 AM
how would i import my cats and downloads off downloadsII into LDM.
also
how would i make this code show random thumbs
// This shows "What's new"
$filter = array("link.linkmoderate=0");
$order = "linkdate DESC ";
list ($links['new'], $nhits, $q) = get_links($filter, $order, "links_forumhome_thumbs");
kandip
05-23-2007, 02:52 PM
Are you using full urls to the video files or local file names? With full urls, the resources needed to read the file are *much* larger than with local files. Depending on the precise video format, the media player sometimes expects to be given the entire file before starting to play. With large files on a remote site, it never gets everything - LDM uses all its allowed resources.
The problem may be somewhere else but I would need to access your site to find out.
ok i am trying to stream it with the stream feature, not the full url.. the full url works. But even streaming using the stream feature (so that the actual url of the file is not located on the web), dont work either.. will shoot you a PM with my site details.. thanks.
jiffy
05-24-2007, 04:46 PM
Sorry I searched but didn't see anything other than another person asking the same question. After upgrading to 3.6.7 I get Sorry - link is not currently available when I try to click a link to download. I was running 2.2.5 and just upgraded to 2.2.7 thinking that might fix it but I'm getting the same message. Everything worked fine on 3.6.4 a few days ago. Is this a simple fix?
aloha
05-24-2007, 08:34 PM
How do I make it so that I can set no restrictions on certain user groups downloads and uploads?
mauro1947
05-25-2007, 07:04 PM
Can anyone help me to reset a user downloaded files history?
Thanks a lot.
Regards!
Rouzbeh1
05-26-2007, 07:23 AM
Can anyone help me to reset a user downloaded files history?
Thanks a lot.
Regards!
http://www.yoursite.com/local_links_admin.php?set=logjumps
Select "Tidy hits table" and the date range you want to delete hits for. don't forget to archive it before (if you like!)
Rouzbeh1
05-26-2007, 07:27 AM
How do I make it so that I can set no restrictions on certain user groups downloads and uploads?
http://www.yoursite.com/local_links_admin.php?set=permissions (go to LDM-->Administer-->Permissions)
can_access_link--> make a check mark near each usergroup that should get access to download files....
Rouzbeh1
05-26-2007, 09:13 AM
now i have a question :d
what does this option in vba_modules/ldm_new_thumb.module do?
i have selected YES for Show Category Name but it doesn't change anything in display!
in portal i get these links for thumbs...
http://www.site.com/local_links.php?catid=&linkid=3518 where no CATID is shown!
mauro1947
05-26-2007, 01:12 PM
http://www.yoursite.com/local_links_admin.php?set=logjumps
Select "Tidy hits table" and the date range you want to delete hits for. don't forget to archive it before (if you like!)
Thanks for your reply, but i need to delete the history of ONE user.
For example, i need to delete all the download history from user "test".
Do you understand?
Can you help me?
Thanks a lot.
Regards!
Is there a way to restrict certain groups from downloading based on the time of the day?
Rouzbeh1
05-26-2007, 08:40 PM
Thanks for your reply, but i need to delete the history of ONE user.
For example, i need to delete all the download history from user "test".
Do you understand?
Can you help me?
Thanks a lot.
Regards!
i am not sure, but as far as i could see, there was no option for this. you should wait until Andrew reads you post
AndrewD
05-27-2007, 12:11 PM
how would i import my cats and downloads off downloadsII into LDM.
Without playing around with DownloadsII, I can't tell you in detail.
LDM has three key database tables that you need to fill -
- linkslink - one entry per download
- linkscat - one entry per category
- one entry per download per category in which you've placed it
You can write some code to transcribe the relevant tables from DownloadsII to this format.
Alternatively, you can try dumping the downloads and categories tables from DownloadsII and reformating them into the .xml or ,csv formats (.xml is better) that LDM can import
also
how would i make this code show random thumbs
// This shows "What's new"
$filter = array("link.linkmoderate=0");
$order = "linkdate DESC ";
list ($links['new'], $nhits, $q) = get_links($filter, $order, "links_forumhome_thumbs");
This is from the patch-forumhome-thumbs plugin, right?
Attached is the modified version which shows random selections. Basically, you just change "linkdate DESC" to "RAND()"
AndrewD
05-27-2007, 12:14 PM
Sorry I searched but didn't see anything other than another person asking the same question. After upgrading to 3.6.7 I get when I try to click a link to download. I was running 2.2.5 and just upgraded to 2.2.7 thinking that might fix it but I'm getting the same message. Everything worked fine on 3.6.4 a few days ago. Is this a simple fix?
This message is produced when LDM fails to access the underlying url/file when you try to start a jump/download. It usually means that there's an error in the url, for example something's moved.
wolfe
05-27-2007, 12:15 PM
thx alot m8 just what i needed but also none of the vbadvanced modules work im using vbadvanced 3.0 i tried altering the code so far i got the box showing just no info in it like the cats list.
AndrewD
05-27-2007, 12:19 PM
Can anyone help me to reset a user downloaded files history?
Thanks a lot.
Regards!
This isn't built in - I'll add it to the 'to do' list.
Meanwhile you can achieve this by executing the following SQL (vb admincp or phpmyadmin, etc):
DELETE FROM local_linksdownloads WHERE userid=N
where you replace N by the relevant userid
(if you've change the LDM table prefix, replace local_ by the appropriate prefix)
AndrewD
05-27-2007, 12:19 PM
thx alot m8 just what i needed but also none of the vbadvanced modules work im using vbadvanced 3.0 i tried altering the code so far i got the box showing just no info in it like the cats list.
I'll look into this - I did a quick test with vbadvanced 3.0 yesterday and things seemed ok.
AndrewD
05-27-2007, 12:21 PM
Is there a way to restrict certain groups from downloading based on the time of the day?
Not built in. It is easy to achieve this with a plugin, and I will add it to the next release if you need it.
AndrewD
05-27-2007, 01:33 PM
now i have a question :d
what does this option in vba_modules/ldm_new_thumb.module do?
i have selected YES for Show Category Name but it doesn't change anything in display!
My oversight... As far as I can see (will check), I failed to implement this parameter in the code for this module. It's supposed to be consistent with the other modules.
in portal i get these links for thumbs...
http://www.site.com/local_links.php?catid=&linkid=3518 where no CATID is shown!
Bug in the adv_portal_custom_ldm_new_thumb_one template, sorry.
$catid should be $linkcatid
wolfe
05-27-2007, 02:23 PM
i have imported the vba modules and nothings showing up on the index page they are active but nothings there
also the plugin to post newthread on forums on new listing is not posting anything any ideas ?
AndrewD
05-27-2007, 03:39 PM
i have imported the vba modules and nothings showing up on the index page they are active but nothings there
also the plugin to post newthread on forums on new listing is not posting anything any ideas ?
Can I take a look at your board - there's probably something obvious but I'm not thinking very clearly. Send me a PM if you want.
wolfe
05-27-2007, 03:41 PM
m8 its a private board i dont give out url its invite only sorry can u just add a module to vbadvance 3.0 with vb3.6.7 running and download and attach i will try that file :P sorry.
Alfa1
05-27-2007, 04:06 PM
Hi Andrew,
How do I find the url to link to a search query? I'd like to use keywords to generate forum topic specific links to relating files in LDM. i.e. use the url of a search query result and post that as a link.
Many thanks for your support.
AndrewD
05-27-2007, 04:23 PM
m8 its a private board i dont give out url its invite only sorry can u just add a module to vbadvance 3.0 with vb3.6.7 running and download and attach i will try that file :P sorry.
I'll add it to the list of things to do.
wolfe
05-27-2007, 05:34 PM
also m8 is it possible to add a different icon per cat like for php there is a php image like the attahcment images. :P
Rouzbeh1
05-27-2007, 06:34 PM
My oversight... As far as I can see (will check), I failed to implement this parameter in the code for this module. It's supposed to be consistent with the other modules.
Bug in the adv_portal_custom_ldm_new_thumb_one template, sorry.
$catid should be $linkcatid
thank you very much
i just needed that bugfix in template, because i have set seo_friendly to yes.
btw. how do i change local_links to download in this url (using mod_rewrite & vbSEO)
http://www.domain.com/local_links/links/99/3527
thanks
AndrewD
05-28-2007, 04:20 AM
thank you very much
i just needed that bugfix in template, because i have set seo_friendly to yes.
btw. how do i change local_links to download in this url (using mod_rewrite & vbSEO)
http://www.domain.com/local_links/links/99/3527
thanks
This is explained in http://www.eirma.org/wikis/index.php/Search_Engine_Optimisation
AndrewD
05-28-2007, 04:27 AM
also m8 is it possible to add a different icon per cat like for php there is a php image like the attahcment images. :P
You can have different category icons (standard cat, cat with new entries, subcategories) on a per-category basis. Edit the category of interest, select the second tab on the top (Control settings) and find cat_icon, etc.
You (re)set these by providing the name of the icon you want to use, which has to be in the LDM icons directory.
This works hierarchically - any subcategories in that category will use the new settings unless over-ridden there.
You can't change the file type icons on a per-category basis, but you can add any new filetype icons you want, simply by dropping a file called filetype.gif/jpg/png into the icons directory. So if you added a file asf.gif, then downloads which are .asf file will be illustrated with that icon.
Have I understood your question correctly?
wolfe
05-28-2007, 12:08 PM
thx m8 will give it ago also the descriptions of my downloads are sending the content right off the page because its not wrapping whys this m8.
Alfa1
05-28-2007, 05:16 PM
I see this description of RSS feeds in your wish list:Link to RSS feeds .. everything would be the same, apart from when you click on the feed link which would direct you to a LDM page where you would see content of the feed. I know we have "XML/RSS feeds in" in the wish list, but I see that more as an automated process of pulling in links from other LDMs.
Does this cover implementing the RSS feeds of flash video sites(google video et al) to get the video's in the desired feeds to play in the jukebox, with the flash video add on?
If not, can you please add this request to your wish list?
Slave
05-29-2007, 01:21 AM
I see this description of RSS feeds in your wish list:
Does this cover implementing the RSS feeds of flash video sites(google video et al) to get the video's in the desired feeds to play in the jukebox, with the flash video add on?
If not, can you please add this request to your wish list?
That was one of my wishes Alfa1 :)
I was thinking more along the lines of just links ..
Not built in. It is easy to achieve this with a plugin, and I will add it to the next release if you need it.
Yes thank you. It is essential for my site. Any idea when this feature will be available? I don't want to sound pushy, merely inquiring.
AndrewD
05-29-2007, 04:23 AM
Yes thank you. It is essential for my site. Any idea when this feature will be available? I don't want to sound pushy, merely inquiring.
I'm part way through with 2.2.8, but am in the busiest part of the year as far as my main job is concerned. I can probably code your request this weekend - but will have to decide whether to honour the commitment to add some other features in 2.2.8 (in which case, release of everything is a few weeks away) or not (in which case I can probably do an update in a couple of weeks).
Please please pelase :-)
Even if only a patch.
AndrewD
05-29-2007, 05:15 AM
Please please pelase :-)
Even if only a patch.
I'll do my best.
itsblack
05-29-2007, 07:14 AM
Hi Andrew, do you remember the download allowance problem I mentioned before?
I edited local_links.php file, moved these codes // Use filesize recorded in database to check that user has sufficient allowance to complete the download
$allow = check_user_allowances($linksize, $linkid);
if (!$allow['can_download']) {
eval(standard_error($allow['errormessage']));
exit;
}
before these codes
if (!$links_permissions["can_access_link"]) {
ldmjump_access_error();
exit;
}
now everything goes OK.
AndrewD
05-29-2007, 04:04 PM
Early days with vba 3.0, but it seems that the release LDM modules do not work by default with a new installation of vba 3.0. You get a funny page.
I find that if you turn off vba/options/main options/Process PHP File Modules Within A Function
that everything works ok.
Will investigate further.
wolfe
05-29-2007, 06:21 PM
m8 why wont it wrap the descriptions of the download files
Alfa1
05-29-2007, 07:45 PM
I see this description of RSS feeds in your wish list:
Does this cover implementing the RSS feeds of flash video sites(google video et al) to get the video's in the desired feeds to play in the jukebox, with the flash video add on?
If not, can you please add this request to your wish list?
That was one of my wishes Alfa1 :)
I was thinking more along the lines of just links ..
It would use the RSS feeds of flash sites in a similar way that vbulletin's RSS Feed Manager turns feeds into threads. But instead video entries in LDM would be created.
Andrew, Could you please consider adding this feature to the wish list?
obmob
05-29-2007, 11:04 PM
Pushie, pushie!!! XD
No, no patches... can't we just wait for the next release? u.u
AndrewD
05-30-2007, 04:09 AM
m8 why wont it wrap the descriptions of the download files
It's very difficult to fix problems with only a partial description of what's going wrong, without access to your site. Sorry. Maybe you want to got to LDM/admin/imprt and export and do an xml export of your LDM database? I could take a look at that.
AndrewD
05-30-2007, 04:10 AM
Pushie, pushie!!! XD
No, no patches... can't we just wait for the next release? u.u
It won't be a patch - it will be a plugin, an 'extra'.
I'm having some difficulties with the next release - I made a commitment to a) multiple urls and b) metadata, and they're hard to retrofit!
wolfe
05-30-2007, 12:22 PM
is it possible to make it post threads for downloads already in system. before the patch was added.
obmob
05-31-2007, 01:55 AM
It won't be a patch - it will be a plugin, an 'extra'.
I'm having some difficulties with the next release - I made a commitment to a) multiple urls and b) metadata, and they're hard to retrofit!Take your time! :D
AndrewD
05-31-2007, 03:58 AM
Hi Andrew, do you remember the download allowance problem I mentioned before?
I edited local_links.php file, moved these codes // Use filesize recorded in database to check that user has sufficient allowance to complete the download
$allow = check_user_allowances($linksize, $linkid);
if (!$allow['can_download']) {
eval(standard_error($allow['errormessage']));
exit;
}
before these codes
if (!$links_permissions["can_access_link"]) {
ldmjump_access_error();
exit;
}
now everything goes OK.
Thanks - glad you've got things going how you want - but I don't think that that is a proper fix. You've moved the test to before the point where the code has worked out the size of the download. It's correct for links, but not for downloads.
digital3
05-31-2007, 10:06 PM
Why is it that when I create a new usergroup based off of "Administrators" usergroup and set the permissions in the LDM admin area to match those of Administrators, that usergroup cannot access the LDM Admin area (they can only access the moderator area). I REALLY need to deny forum admins access to this area and only grant it to the webmaster usergroup I created. A rogue admin could go in there and delete *everything* in the LDM database the way it's currently configured. I searched the LDM admin file for some reference to usergroup numbers but could find nowhere to add this new usergroup. Just to clarify, the webmaster usergroup is configured properly and "can_set_permissions" is checked for this group. However, when trying to access the LDM admin area I am getting the ol' "Insufficient Permissions" error.
How can I configure this?
What I can't figure out is why you're so paranoid about Admin access to LDM when the rest of your board is obviously twice as vulnerable due to this factor. You might wanna rethink your permissions strategy, period.
digital3
06-01-2007, 12:14 AM
What I can't figure out is why you're so paranoid about Admin access to LDM when the rest of your board is obviously twice as vulnerable due to this factor. You might wanna rethink your permissions strategy, period.Well the only part of it which concerns me (forum wise) is an admins ability to hard delete posts. I have a friend who owns a 1.3 million post board and he had a rogue admin delete 10,000 posts on him. That's kind of scary. I've never had such incident myself but his situation made me very aware of how easily one person can screw a board up. With my site, it's doubly critical because my LDM has around 100 GB of content hosted and growing daily. I'd say it's pretty reasonable for me to not want every admin to have access to it.
AndrewD
06-01-2007, 04:10 AM
Well the only part of it which concerns me (forum wise) is an admins ability to hard delete posts. I have a friend who owns a 1.3 million post board and he had a rogue admin delete 10,000 posts on him. That's kind of scary. I've never had such incident myself but his situation made me very aware of how easily one person can screw a board up. With my site, it's doubly critical because my LDM has around 100 GB of content hosted and growing daily. I'd say it's pretty reasonable for me to not want every admin to have access to it.
Access to the LDM admin page is given to users who are members of the ADMIN_USER_GROUP usergroup, where ADMIN_USER_GROUP is defined in the file includes/local_links_init.php. In the standard release, ADMIN_USER_GROUP has the value 6. You can edit that as you like. It's hard coded into the init file to avoid the situation where you completely lock yourself out.
The code looks for extended group membership, so all you need to do (I did a quick test, seems ok) is to create a new user group, give the authorised admins extended right to that group via the vb admincp, and edit the ldm init file
Zaguzin
06-01-2007, 08:30 AM
Thanks! Mark as Installed.
Ipuck
06-02-2007, 01:48 AM
Hello
Is there any way I can remove the section: "See also", I have links that are included in many categories and is getting very crowded with links.
Thank you :-)
AndrewD
06-02-2007, 04:10 AM
Hello
Is there any way I can remove the section: "See also", I have links that are included in many categories and is getting very crowded with links.
Thank you :-)
Three of the linkbit templates (the templates that create the main layout for displaying an entry in your LDM database) contain the line:
<if condition="$linkshowothercatbit>0"><br /><br />$vbphrase[ll_seealso] $linkothercatsbit</if>
You can get rid of the "See also:" lines by editing these templates (vb/admincp/styles and templates) and deleting that line.
The templates concerned are:
links_linkbit (used for the normal display)
links_linkbit_featured (used for featured entries)
links_linkbit_table (used for the tabular layout)
Ipuck
06-02-2007, 04:17 AM
Thank you Andrew!!
I'll try that tomorrow.
AndrewD
06-02-2007, 09:41 AM
Yes thank you. It is essential for my site. Any idea when this feature will be available? I don't want to sound pushy, merely inquiring.
Here is a new plugin to restrict user downloads/media plays according to time of day. After installation, you will find a new section on the LDM admin/settings page, where you can set the controls as you wish.
Pls let me know if this works/meets your needs, and I will make it part of the next release.
Gwendolin
06-02-2007, 07:45 PM
Sorry, if my question is double, but I don't find it.
Is it possible the upload directory set up to another server?
AndrewD
06-03-2007, 04:53 AM
Sorry, if my question is double, but I don't find it.
Is it possible the upload directory set up to another server?
LDM itself cannot handle uploads to another server - the php routines it uses only work on the same server. However, if you use another tool (e.g. FP) to upload to the second server, LDM can certainly manage the downloads.
AndrewD
06-03-2007, 05:08 AM
That was one of my wishes Alfa1 :)
I was thinking more along the lines of just links ..
Slave, my friend - I got round to writing a vbadvanced module to do a tagcloud. See attached. I'd like your thoughts.
The module has a few settings:
- words size based on (keyword frequency) or (keyword frquency*total hits)
- linear scaling within the specified range of text sizes or logarithmic scaling within that range
- options for the number of keywords to display
- no colour coding as yet
Suggestions?
Slave
06-03-2007, 09:28 AM
Nice one Andrew :)
Hmm .. I think the only things missing, from the options you mention, is the ability to deny some words from showing and for it to be able to cope with being either in the centre or side columns.
I think that as well as the vba module it would be very nice to have this as an option for the front/any page of LDM at the top/bottom etc. Just give people as much customisation as possible. In respect of the vba module where it shows is already covered via the vba options.
If it currently goes with the amount of times a keyword is used. Perhaps also have an option to go via the amount of times a keywords links are clicked? - Ah ha, you've already said that :)
Looks very good so far :)
Here is a new plugin to restrict user downloads/media plays according to time of day. After installation, you will find a new section on the LDM admin/settings page, where you can set the controls as you wish.
Pls let me know if this works/meets your needs, and I will make it part of the next release.
Andrew thank you very very much. Will install it and if I don't post back it is working perfectly.
Excellent support bro.
obmob
06-04-2007, 04:03 PM
Hmm... tagcloud is a good idea :)
Ipuck
06-05-2007, 12:05 AM
Hello Andrew
What template is the one that shows the php information in the main administration menu?
I think is missing some <br> and is stretching the left column. see picture attached.
AndrewD
06-05-2007, 04:57 AM
Hello Andrew
What template is the one that shows the php information in the main administration menu?
I think is missing some <br> and is stretching the left column. see picture attached.
I recall someone else also asked this question. Problem is that your open_basedir setting is very long, and it's forcing the table to spread.
Edit the links_admin_environment template, and find and remove the lines
<br />
<em>open_basedir</em> <if condition="$open_basedir">$open_basedir<else />$vbphrase[ll_unset]</if>
There is supposed to be a CSS styling feature that will automatically wrap long text (style="word-break: break-all") but it only seems to work with internet explorer, not Mozilla or Opera.
obmob
06-05-2007, 03:55 PM
I recall someone else also asked this question. Problem is that your open_basedir setting is very long, and it's forcing the table to spread.
Edit the links_admin_environment template, and find and remove the lines
<br />
<em>open_basedir</em> <if condition="$open_basedir">$open_basedir<else />$vbphrase[ll_unset]</if>
There is supposed to be a CSS styling feature that will automatically wrap long text (style="word-break: break-all") but it only seems to work with internet explorer, not Mozilla or Opera.AHA!, I had that problem too... i just put a comment tag on it :D
Ipuck
06-05-2007, 08:31 PM
Thank you Andrew!!
This is the best supported mod ever. :up:
Faizal G
06-06-2007, 05:01 PM
Is it me or does it take a long long time for it to install the product file?
AndrewD
06-06-2007, 06:26 PM
Is it me or does it take a long long time for it to install the product file?
Someone else reported the same problem a few weeks ago. It seemed that they had not uploaded all the files into the correct directories.
Let me know if you still have problems.
itsblack
06-06-2007, 11:06 PM
Thanks - glad you've got things going how you want - but I don't think that that is a proper fix. You've moved the test to before the point where the code has worked out the size of the download. It's correct for links, but not for downloads.
Yes, you are right. But that's all what I can do -- even so I also spent much time to find it out. :p I'm still waiting for you new version, I hope you have add this to the todo list.
Now I have another question. When I check the hit records in the admin page, the number of the records per page use the links_per_page by default. Can you assign a single variable so that I can set it with a relatively bigger number?
Thank you in advance.
AndrewD
06-07-2007, 04:31 AM
Yes, you are right. But that's all what I can do -- even so I also spent much time to find it out. :p I'm still waiting for you new version, I hope you have add this to the todo list.
Now I have another question. When I check the hit records in the admin page, the number of the records per page use the links_per_page by default. Can you assign a single variable so that I can set it with a relatively bigger number?
Thank you in advance.
I'm stll waiting for the new version too :)
Seriously, I believe that I have fixed this problem in 2.2.8.
I'll also give you a variable/hook to set the number of hits per page on the admin page.
The news on the next version is as follows: I've done quite a number of changes and fixes, but the 'big ones' that I promised (mirror urls, multiple urls and metadata) are currently 'in hand' and require careful coding. I hope to be able to release all of these at one time.
Ren? Kunze
06-07-2007, 06:25 AM
Hallo,
leider is mein english so schlecht das ich es lieber in Deutsch probiere.
Ich versuche gerade f?r die Linkliste die Vorschaubilder zu machen aber leider komme ich mit der englischen Beschreibung nicht klar.
** Requires php5 - php4 will not work
Plugin to use Joshua Eichorn's web thumbnail service to autocreate thumb images for entries in LDM.
You need an account, which is free for less than 250 webthumbs a month, and very cheap for more than that. See http://bluga.net/webthumb/.
Copy WebThumb.class.php into your forums directory and install webthumbs-plugin in the usual way.
Visit your LDM admin/settings page. You will find a new section of settings for webthumbs.
Update webthumb_key to the (long) hex character sequence for your account.
If you wish, modify the webthumb_dir subdirectory setting (relative to your LDM uploads directory). By default, the image is
saved in the /webthumbs subdirectory of the uploads directory
When you add or edit in entry in LDM, and:
a) the image field on the add/edit entry form is left blank;
b) the url points to a web site;
c) the web site validates correctly;
d) the url *does not* point to a file with a filetype that exists in the VB mimetype table;
e) LDM admin setting link_imagesize has been set to a value greater than non-zero
the plugin will visit the web thumbnail service and attempt to generate an image of the page.
This takes a few seconds to complete.
Also ich habe das Plugin installiert und es ist auch was neues in den Einstellungen drin.
Dann habe ich mich auf genannten Seite registriert und auch einen API KEY: mit User ID bekommen.
Habe es nun bei der neuen Option so eingetragen: 65313
Bei Bilder und Icon habe ich das drin stehen: 65314
Aber leider habe ich das Problem das die Bilder nicht da sind.
Wie man sieht speichert er Bilder aber es ist ein leeres Bild: 65315
Was habe ich da denn nun falsch gemacht.
W?re klasse wenn mir da jemand hilft.
AndrewD
06-07-2007, 06:37 AM
Hallo,
leider is mein english so schlecht das ich es lieber in Deutsch probiere.
Ich versuche gerade f?r die Linkliste die Vorschaubilder zu machen aber leider komme ich mit der englischen Beschreibung nicht klar.
Also ich habe das Plugin installiert und es ist auch was neues in den Einstellungen drin.
Dann habe ich mich auf genannten Seite registriert und auch einen API KEY: mit User ID bekommen.
Habe es nun bei der neuen Option so eingetragen: 65313
Bei Bilder und Icon habe ich das drin stehen: 65314
Aber leider habe ich das Problem das die Bilder nicht da sind.
Wie man sieht speichert er Bilder aber es ist ein leeres Bild: 65315
Was habe ich da denn nun falsch gemacht.
W?re klasse wenn mir da jemand hilft.
I will take another look at this 'extra' and see if I can help.
Ren? Kunze
06-07-2007, 06:42 AM
Das wäre klasse wenn Du das tun würdest.
Ich finde diese extra sehr gut.
stwilson
06-08-2007, 01:23 AM
I have run into an issue that I was not able to find a fix for in this thread. I am getting this error on the bottom of the list of links. It happens when logged in as Admin or a registered user. I know it is a permissions issue but cannot, for the life of me, figure it out. Here is the error:
Sorry - there is nothing here to show you (no permission, all entries hidden, etc)
Any suggestions??
Mrdby
06-08-2007, 01:26 AM
can i see a demo?
stwilson
06-08-2007, 02:36 AM
PM sent.
AndrewD
06-08-2007, 03:58 AM
I have run into an issue that I was not able to find a fix for in this thread. I am getting this error on the bottom of the list of links. It happens when logged in as Admin or a registered user. I know it is a permissions issue but cannot, for the life of me, figure it out. Here is the error:
Sorry - there is nothing here to show you (no permission, all entries hidden, etc)
Any suggestions??
Sorry about that - I think it's a bug.
The message is only supposed to be shown when there is nothing that the user is allowed to see. However, I just realised that the message is also created in the following situation:
- when *featured_user_favs* and *featured_sites* are both set, but
- there are no featured sites visible in the current category
Assuming this is your situation, then it's my bug, not yours.
AndrewD
06-08-2007, 04:23 AM
the important thing is that i need this kind of links handling to lower the load on my servers
what i want is, to be able to add different Mirror Base Links in the Administrative Interface, and then ppl who add the entries would get 1 field for each mirror, where he must complete the remaining rest of the link
example :
Base URL for mirror 1 : http://mirror1.mysite.com/some_directory/
Base URL for mirror 2 : http://mirror2.mysite.com/a_directory/
I've given a lot of thought to this to see how to implement this cleanly, and this is my proposal.
Instead of having multiple url fields on the 'add entry' form, I've written an 'extra' that works alongside the LDM 'mod_rewrite' feature. This extra adds several new options to the LDM admin/settings page:
a) a url string to look for
b) one to five url strings to replace by
plus a couple of other switches.
When the extra is active, all LDM entries will be tested against the 'look for' string immediately before jumping/downloading. If they match, the 'look for' will be randomly replaced by one of the 'replace by' strings, in other words balancing the downloads across multiple servers.
This allows the admin to change the settings 'on the fly' withough having to edit all the entries.
This is, in effect, the same as the 'mod_rewrite' feature, except that it allows you to have a randomly-selected replacement. (If you are familiar with the Apache mod_rewrite moules, this is the effect of the ReplaceMap and rnd: options).
Please let me know if this is sufficient for your needs, so that I can finalise it.
Ren? Kunze
06-08-2007, 11:47 AM
There is already new of webthumb, why that does not function.
Rouzbeh1
06-08-2007, 03:58 PM
I've given a lot of thought to this to see how to implement this cleanly, and this is my proposal.
Instead of having multiple url fields on the 'add entry' form, I've written an 'extra' that works alongside the LDM 'mod_rewrite' feature. This extra adds several new options to the LDM admin/settings page:
a) a url string to look for
b) one to five url strings to replace by
plus a couple of other switches.
When the extra is active, all LDM entries will be tested against the 'look for' string immediately before jumping/downloading. If they match, the 'look for' will be randomly replaced by one of the 'replace by' strings, in other words balancing the downloads across multiple servers.
This allows the admin to change the settings 'on the fly' withough having to edit all the entries.
This is, in effect, the same as the 'mod_rewrite' feature, except that it allows you to have a randomly-selected replacement. (If you are familiar with the Apache mod_rewrite moules, this is the effect of the ReplaceMap and rnd: options).
Please let me know if this is sufficient for your needs, so that I can finalise it.
thank you very much
to understand it clearly, is there any option too add per entry or they will be set in admin panel and the rest work exactly as the concept of mirroring....?
the second question is: for example i have set my apache to allow ONLY 1 connection per IP at the same time (second connection gets error page 503 displayed)or in another case, the file doesn't exist on that mirror.... would there be any option (if possible) to check the error code on the server (like 404 error if file doesn't exist on that mirror.....) i know that this option could be meaning for you to spend much time, so ONLY IF you have the time, it would be perfect to have this option, to avoid users get forwarded to broken links etc.
thanks again for the awesome work here :)
Ren? Kunze
06-08-2007, 06:41 PM
For Webthumbs of pictures one can take however different things without itself somewhere to registering.
Like these for example:
http://www.m-software.de/thumbshots.html
http://www.artviper.com/tools.php
The only one is with those then obligation which one completely down in the Foter a left sets.
One can integrate that not somehow into the system.
Epic Mike
06-08-2007, 07:46 PM
I saw a few references to this but I'm not sure that I completely understand. I am getting this warning
- upload_max_filesize 10M > post_max_size 8M in php.ini file - Large uploads may fail without warning
For the life of me I can't find where to change either one or even where to locate the php.ini file. I'm on a shared server so can I still change that.
Sorry for the noob question.
stwilson
06-09-2007, 04:51 AM
Sorry about that - I think it's a bug.
The message is only supposed to be shown when there is nothing that the user is allowed to see. However, I just realised that the message is also created in the following situation:
- when *featured_user_favs* and *featured_sites* are both set, but
- there are no featured sites visible in the current category
Assuming this is your situation, then it's my bug, not yours.
Andrew,
That was it! Glad I could help you find a bug. :D
AndrewD
06-09-2007, 06:10 AM
I saw a few references to this but I'm not sure that I completely understand. I am getting this warning
- upload_max_filesize 10M > post_max_size 8M in php.ini file - Large uploads may fail without warning
For the life of me I can't find where to change either one or even where to locate the php.ini file. I'm on a shared server so can I still change that.
Sorry for the noob question.
These are two parameters which control php's handling of uploads. If you are on a shared server, you probably cannot change the settings directly, so you may want to speak to your hosting company.
At least with some versions of php, if *upload_max_filesize* has a larger value than *post_max_size*, file uploads bigger than *post_max_size* but smaller than *upload_max_filesize* fail without triggering a helpful error message for php to detect and report. (This may be fixed in recent versions of php - I'm not sure.) So the general advice is to set up php with the two values the same or make upload_max_filesize smaller.
AndrewD
06-09-2007, 06:39 AM
thank you very much
to understand it clearly, is there any option too add per entry or they will be set in admin panel and the rest work exactly as the concept of mirroring....?
the second question is: for example i have set my apache to allow ONLY 1 connection per IP at the same time (second connection gets error page 503 displayed)or in another case, the file doesn't exist on that mirror.... would there be any option (if possible) to check the error code on the server (like 404 error if file doesn't exist on that mirror.....) i know that this option could be meaning for you to spend much time, so ONLY IF you have the time, it would be perfect to have this option, to avoid users get forwarded to broken links etc.
thanks again for the awesome work here :)
The idea is that the mirrors will only be set on the admin page. It seems much more logical that way, much more straightforward for the submitting user, and also straightforward to reconfigure at a later stage if you want to add another mirror.
The find and replace features that I will use can be straightforward or very sophisticated - basically they use the regular expression pattern matching code that is built into php.
Concerning your next point, I will take a look at what is involved. I agree it makes sense to pick up the error code, if any, when trying to retrieve a file, and respond appropriately. I suspect that it's straightforward when using the cURL module to access files.
As an aside, I'm wondering if this may be why some people have difficulties with the LDM jukebox from remote sites. At least, the windows media player plugin sends two or three separate requests to the server, depending on which browser is being used. It doesn't bother reading the full file each time - just picks up the headers and first bytes - but this may be why it hangs on the remote server but not on a local server.
Rouzbeh1
06-09-2007, 01:49 PM
The idea is that the mirrors will only be set on the admin page. It seems much more logical that way, much more straightforward for the submitting user, and also straightforward to reconfigure at a later stage if you want to add another mirror.
The find and replace features that I will use can be straightforward or very sophisticated - basically they use the regular expression pattern matching code that is built into php.
Concerning your next point, I will take a look at what is involved. I agree it makes sense to pick up the error code, if any, when trying to retrieve a file, and respond appropriately. I suspect that it's straightforward when using the cURL module to access files.
As an aside, I'm wondering if this may be why some people have difficulties with the LDM jukebox from remote sites. At least, the windows media player plugin sends two or three separate requests to the server, depending on which browser is being used. It doesn't bother reading the full file each time - just picks up the headers and first bytes - but this may be why it hangs on the remote server but not on a local server.
it would be very handy not being forced to edit each single entry, to add an additional download link, but for my conditions, i am getting out of space on my servers, so one mirror may not include a complete list of all files added to LDM.
so it may lead too many broken links if we don't control the error codes....
FYI: 3507 Entries with avg. size of 85 MB per each file
i think i was not completely right when speaking of mirrors, because a mirror is a COPY of the original server with different base url.... what i was talking about was alternative download locations.
is there a possibility to chat with you in messengers so that i could explain what i exactly need before you spend your time on implementing this feature?
thanks:)
Ren? Kunze
06-09-2007, 03:29 PM
If I would find a Coder to that make, you would have which against it. Thus one that of http://www.m-software.de/thumbshots.html tries to integrate into the system.
obmob
06-09-2007, 03:59 PM
The idea is that the mirrors will only be set on the admin page. It seems much more logical that way, much more straightforward for the submitting user, and also straightforward to reconfigure at a later stage if you want to add another mirror.
The find and replace features that I will use can be straightforward or very sophisticated - basically they use the regular expression pattern matching code that is built into php.
Concerning your next point, I will take a look at what is involved. I agree it makes sense to pick up the error code, if any, when trying to retrieve a file, and respond appropriately. I suspect that it's straightforward when using the cURL module to access files.
As an aside, I'm wondering if this may be why some people have difficulties with the LDM jukebox from remote sites. At least, the windows media player plugin sends two or three separate requests to the server, depending on which browser is being used. It doesn't bother reading the full file each time - just picks up the headers and first bytes - but this may be why it hangs on the remote server but not on a local server.This means we could have different versions of one file?
Maybe i can add different sizes for my wallpapers? :D
Epic Mike
06-09-2007, 11:38 PM
These are two parameters which control php's handling of uploads. If you are on a shared server, you probably cannot change the settings directly, so you may want to speak to your hosting company.
At least with some versions of php, if *upload_max_filesize* has a larger value than *post_max_size*, file uploads bigger than *post_max_size* but smaller than *upload_max_filesize* fail without triggering a helpful error message for php to detect and report. (This may be fixed in recent versions of php - I'm not sure.) So the general advice is to set up php with the two values the same or make upload_max_filesize smaller.
Andrew, Thanks for taking the time to explain that a little more for me.
Mike
AndrewD
06-10-2007, 05:29 AM
If I would find a Coder to that make, you would have which against it. Thus one that of http://www.m-software.de/thumbshots.html tries to integrate into the system.
I took a look at the webthumbs 'extra' and it seems to work ok for me. There are three thngs to check a) is your site using php5 (webthumbs doesn't work with php4); b) have you uploaded the WebThumb.class.php file into your forums directory; c) is the webthumbs directory that you specified writeable (i.e. in linux, does it have 777 permissions).
I'll take a look at the other sites you mentioned. m-software's webshots looks easy, but my german is not good enough to understand everything on the page. I had problems in the past with artviper's code.
Ren? Kunze
06-10-2007, 05:59 AM
There are three thngs to check
a) is your site using php5 (webthumbs doesn't work with php4);
My PHP Version is 5.2.1
b) have you uploaded the WebThumb.class.php file into your forums directory;
Yes it is
c) is the webthumbs directory that you specified writeable (i.e. in linux, does it have 777 permissions).
Yes it is.
If you liked can I you times the entrance data give, so that you can look at it you.
stwilson
06-10-2007, 05:37 PM
I took a look at the webthumbs 'extra' and it seems to work ok for me. There are three thngs to check a) is your site using php5 (webthumbs doesn't work with php4); b) have you uploaded the WebThumb.class.php file into your forums directory; c) is the webthumbs directory that you specified writeable (i.e. in linux, does it have 777 permissions).
Andrew,
I have tried to make the web thumbs piece work for a couple of months now with no success. I have everything setup as you describe (PHP5, class file in directory and directory is writable) but still nothing. Any suggestions on what I could try next?
AndrewD
06-11-2007, 03:42 AM
Andrew,
I have tried to make the web thumbs piece work for a couple of months now with no success. I have everything setup as you describe (PHP5, class file in directory and directory is writable) but still nothing. Any suggestions on what I could try next?
Yes, indeed - this was my bug - I imagine you are using a Linux server? I had tested on Windows. I will post the fix this evening.
stwilson
06-11-2007, 04:10 AM
Yes, indeed - this was my bug - I imagine you are using a Linux server? I had tested on Windows. I will post the fix this evening.
Actualy, I'm on NT.
AndrewD
06-11-2007, 06:14 PM
Actualy, I'm on NT.
Whatever...
Could you try these.
In order to avoid messing up your LDM admin, proceed as follows:
- if necessary, use the vb admincp to delete the current webthumbs plugins (there should be two, attached to the ldm_start and ldm_link_autoimage hooks)
- go to the ldm admin/settnigs page, go down to the webthumb settings and select the checkbox to delete the settings
- reinstall the new code, attached
- reset your webthumbs key
Bear in mind that the webthumbs directory is a subdirectory of the upload dir
Ipuck
06-13-2007, 03:20 AM
Hello AndrewD
I have a small problem. I need to change the display order and when I go to "edit" it shows me the the fields to edit the category, but when I select "Control Setting" it redirect me to the forum index page.
I don't remember having this problem before because I never used it. I upgraded about 15 days ago, but when I discover the problem I upgraded again just in case I did something wrong.
I'm using the exact same settings in my other two sites and I do not have that problem.
I check the "Control Settings" link and it shows: http://mysite.com/forum/#
while in my other site the "Control Settings" link shows: http://mysite.com/forums/local_links.php?action=editcat&catid=253#
The only thing I can think I have different between the sites is: In the one with with the problem I have "Zoints SEO" while in the other one I have "VBSEO"
Any help will be appreciated.
PS If can tell me where to manually change it in the database I can do that, because I'm not planning to change it again.
AndrewD
06-13-2007, 04:17 AM
Hello AndrewD
I have a small problem. I need to change the display order and when I go to "edit" it shows me the the fields to edit the category, but when I select "Control Setting" it redirect me to the forum index page.
I don't remember having this problem before because I never used it. I upgraded about 15 days ago, but when I discover the problem I upgraded again just in case I did something wrong.
I'm using the exact same settings in my other two sites and I do not have that problem.
I check the "Control Settings" link and it shows: http://mysite.com/forum/#
while in my other site the "Control Settings" link shows: http://mysite.com/forums/local_links.php?action=editcat&catid=253#
The only thing I can think I have different between the sites is: In the one with with the problem I have "Zoints SEO" while in the other one I have "VBSEO"
Any help will be appreciated.
PS If can tell me where to manually change it in the database I can do that, because I'm not planning to change it again.
This is certainly caused by your new SEO hack.
I think you can get work around the problem by editing the *links_addnewcat* template (VB/adminc/styles/edit template).
I attach the replacement template.
Basically, this replaces the 'click to change display' by 'hover mouse over' to change display, and should be safe against your SEO hack.
There are a number of other places in this/other templates where the same problem is likely to occur - in situations where there are little shrink me/grow me buttons to contract/expand dialogue boxes.
You might want to raise problem with the SEO author.
Ipuck
06-13-2007, 05:02 AM
Thank you AndrewD!!
Works perfect, you are really good and provide a great support for the mod.
CamJM
06-13-2007, 05:26 AM
Hi,
I was very keen on developing the vbA modules for this add-on. Having a bit of trouble getting them to display. Not really sure what the problem is but if I make them active in a column there is a response in that the column is created just no content displayed.
One thing I have noticed is that the edit module screen still has a ldm_(module name).php in the file to include. There are no php files, only the .module files were included
Because I am using the up-to-date version of vbA (v3.0 RC1) I have set the 'Process PHP File Modules Within A Function' to no as mention in the wiki.
Anyway i thought i'd post as much info as possible. Hope someone can help. It would be hugely appreciated, cause I really think I'm going to have fun with this addon.:D
Thanks, Cam
AndrewD
06-13-2007, 04:12 PM
Hi,
I was very keen on developing the vbA modules for this add-on. Having a bit of trouble getting them to display. Not really sure what the problem is but if I make them active in a column there is a response in that the column is created just no content displayed.
One thing I have noticed is that the edit module screen still has a ldm_(module name).php in the file to include. There are no php files, only the .module files were included
Because I am using the up-to-date version of vbA (v3.0 RC1) I have set the 'Process PHP File Modules Within A Function' to no as mention in the wiki.
Anyway i thought i'd post as much info as possible. Hope someone can help. It would be hugely appreciated, cause I really think I'm going to have fun with this addon.:D
Thanks, Cam
Not sure what problem you're experiencing. I found that the modules as supplied do work for me with vbA3.0 as long as 'process in a module' is turned off. I fixed that for the next release - it's basically a matter of wrapping the initialisation code into a function so that everything gets properly globalised.
If you want to share a bit more off line - e.g. by PM, feel free to contact me.
CamJM
06-14-2007, 12:01 AM
Haha, got it working.:D Just needed to set 'clean file output' to no.
obmob
06-14-2007, 02:49 PM
Hello, hello, i was reading about synchronisation... i'm setting up a new forum and was wondering if it's a good idea to use this feature... how does this work?
If i create categories and subcategories, does this create folders and subfolders automatically?
How are the files added? I should upload them to the folders using ftp... or using the upload system in LDM? O.o
I'm confused... x.x
Thanks
Hello,
I've tried searching without luck. Is it possible to install this hack inside another directory (such as www.forum.com/links/)?
Thanks!
AndrewD
06-16-2007, 04:38 AM
Hello,
I've tried searching without luck. Is it possible to install this hack inside another directory (such as www.forum.com/links/)?
Thanks!
Not without patching the code. I haven't made any effort to try this and document how to do it.
AndrewD
06-16-2007, 05:49 AM
Hello, hello, i was reading about synchronisation... i'm setting up a new forum and was wondering if it's a good idea to use this feature... how does this work?
If i create categories and subcategories, does this create folders and subfolders automatically?
How are the files added? I should upload them to the folders using ftp... or using the upload system in LDM? O.o
I'm confused... x.x
Thanks
The synchronisation features are intended for the situation where you maintain a large library of files on your server, neatly organised into directories and subdirectories, and you want LDM to translate that directory/file structure into the corresponding category/entry structure, and automatically create/delete categories and entries as necessary.
Two examples:
a) you are running your web server directly on a PC where you also maintain your personal photo library or music library. Rather than using LDM to upload and enter the files one at a time, you can use it to monitor the contents of the directories where you are storing these photo/music files.
b) you have a group of support staff who provide files to you by ftp upload. You don't want them to bother adding them to LDM; instead you can use the LDM synchronisation features to add them automatically.
What the synchronisation feature can't do is provide descriptive entries for the categories or entries, but you can do this yourself after these have been created.
Hope that's clear.
obmob
06-16-2007, 10:40 PM
The synchronisation features are intended for the situation where you maintain a large library of files on your server, neatly organised into directories and subdirectories, and you want LDM to translate that directory/file structure into the corresponding category/entry structure, and automatically create/delete categories and entries as necessary.
Two examples:
a) you are running your web server directly on a PC where you also maintain your personal photo library or music library. Rather than using LDM to upload and enter the files one at a time, you can use it to monitor the contents of the directories where you are storing these photo/music files.
b) you have a group of support staff who provide files to you by ftp upload. You don't want them to bother adding them to LDM; instead you can use the LDM synchronisation features to add them automatically.
What the synchronisation feature can't do is provide descriptive entries for the categories or entries, but you can do this yourself after these have been created.
Hope that's clear.Oh, ok, but what if i use thumnails or a second image, does this search for the thumbnail or i should also add it later? :)
Thanks Andrew!
AndrewD
06-17-2007, 05:01 AM
Oh, ok, but what if i use thumnails or a second image, does this search for the thumbnail or i should also add it later? :)
Thanks Andrew!
If the thumbnail comes from the entry itself, then it's created automatically. If you use a second image, then you have to add it later.
The Realist
06-17-2007, 03:21 PM
Installed ok as far as I can see but when I try and upload say a short movie clip it goes through the upload process ok, then it just says its ok but nothing shows in the catagory?
Also sometimes it just says its finished uploading and it just repeats the same white page over and over again and if I refresh it nothing has uploaded?
Any ideas?
AndrewD
06-17-2007, 04:30 PM
Installed ok as far as I can see but when I try and upload say a short movie clip it goes through the upload process ok, then it just says its ok but nothing shows in the catagory?
Also sometimes it just says its finished uploading and it just repeats the same white page over and over again and if I refresh it nothing has uploaded?
Any ideas?
Take a look at your php.ini settings (ldm/admin/settings or vb/admincp/maintenance/phpinfo) and see if you are actually able to upload files of the size you are trying (post_max_size, upload_max_filesize). Check that post_max_size has a larger value than upload_max_filesize.
Try uploading a small pdf file just to check that the basic upload process is working ok.
The Realist
06-17-2007, 05:15 PM
Tried a small upload and that failed, it said "The page cannot be displayed".
Any ideas?
obmob
06-17-2007, 11:28 PM
If the thumbnail comes from the entry itself, then it's created automatically. If you use a second image, then you have to add it later.Good, i'll test this feature, thanks Andrew! :D
Ren? Kunze
06-18-2007, 06:43 AM
Hello,
unfortunately I have a small problem and must you again trouble.
I changed and now can the server I unfortunately no new left with me more enter.
If I enter everything and on send press then come after approximately 3 min a white side, or he says procedure worked on, please to wait.
There it remains hanging then.
You can help me please.
Greeting Rene
The Realist
06-18-2007, 01:09 PM
Same sort of problem here.
Hello,
unfortunately I have a small problem and must you again trouble.
I changed and now can the server I unfortunately no new left with me more enter.
If I enter everything and on send press then come after approximately 3 min a white side, or he says procedure worked on, please to wait.
There it remains hanging then.
You can help me please.
Greeting Rene
The Realist
06-18-2007, 01:42 PM
When I click on _http://www.xxxxxxxxxx.com/local_links_admin.php and in there I click Settings then I click Update I get the following error:
Website found.
White page
Done
Then The page cannot be displayed Cannot find server or DNS Error
If I then refresh the page, then I see the page ok but nothing has changed.
Any ideas?
Have re uploded all files and still getting the same error?
AndrewD
06-18-2007, 03:49 PM
When I click on _http://www.xxxxxxxxxx.com/local_links_admin.php and in there I click Settings then I click Update I get the following error:
Website found.
White page
Done
Then The page cannot be displayed Cannot find server or DNS Error
If I then refresh the page, then I see the page ok but nothing has changed.
Any ideas?
Have re uploded all files and still getting the same error?
I think we've seen this before.
Two possibilities:
a) Caused by php running out of memory, often because the site has a whole series of hacks overloaded onto vbulletin.
b) Caused by the php.ini open_basedir being set and the new admin settings are in conflict with the part of the web directory tree that php has access to.
If one of these is the case, it's easy enough to fix - am happy to take a look at your site if you want - will need an account with admin privs.
The Realist
06-18-2007, 04:03 PM
Just solved my problem by removing the database entries and re uploading the product file, all looks ok apart from a small problem.
Which is.........
If I create a category and within this category I create a forum thats linked to the local_links.php file. As soon as I click the forum it takes me back to the forums main page and not showing me the contents of the forum.
Or am I doing something wrong?
Regards,
Brian
AndrewD
06-19-2007, 03:59 PM
Hello,
unfortunately I have a small problem and must you again trouble.
I changed and now can the server I unfortunately no new left with me more enter.
If I enter everything and on send press then come after approximately 3 min a white side, or he says procedure worked on, please to wait.
There it remains hanging then.
You can help me please.
Greeting Rene
I took a look at your site, and made a small modification to the webthumbs addin, so that it cannot get stuck in a loop.
I created a test category and put five new entries in it, all of which now work fine.
Let me know if you still have problems.
yaoren
06-19-2007, 04:43 PM
I'm having some difficulty uploading some attachments. Didn't really ever try to do this and did some moderations to the board and found I can't. Deleated the mods in hope to fix this issue but still have the same problem. Every time I try to upload certain file types, for example .zip or .mpg I then get
Internet Explorer cannot display the webpage
( no error message or anything else..just straight to the page )
Although jpg seems to work fine. Any ideas on what this could be? I have double checked the MIME settings, set permissions for usergroups and while viewing other threads to troubleshoot myself I have attempted to run a upload dianostic which took me to the exact same page.
Not sure if there's some .php file that I can reupload from VB before I made changes. Any help is appreciated.
Version 3.6.7
Mods I Installed were Downloads II and Links and Download Manager
Tried with the hooks on and off.
In 'file suspect' diagnostics, doesn't report any customized files. Only thing different was
.includes
functions_forumlist.php (states: file does not contain expected contents)
As far as I know all users...since we really don't have too many users....just other Admin and I are using forum at this point in time.
Happens in Firefox as well.
All styles were always set to no parent.
Attachments are stored in database.
Tried working on all of these possible scenarios but still no luck and it only seems to be on new attachment files that we manually add or fix.
:confused:
AndrewD
06-19-2007, 05:19 PM
I'm having some difficulty uploading some attachments. Didn't really ever try to do this and did some moderations to the board and found I can't. Deleated the mods in hope to fix this issue but still have the same problem. Every time I try to upload certain file types, for example .zip or .mpg I then get
Internet Explorer cannot display the webpage
( no error message or anything else..just straight to the page )
Although jpg seems to work fine. Any ideas on what this could be? I have double checked the MIME settings, set permissions for usergroups and while viewing other threads to troubleshoot myself I have attempted to run a upload dianostic which took me to the exact same page.
Not sure if there's some .php file that I can reupload from VB before I made changes. Any help is appreciated.
Version 3.6.7
Mods I Installed were Downloads II and Links and Download Manager
Tried with the hooks on and off.
In 'file suspect' diagnostics, doesn't report any customized files. Only thing different was
.includes
functions_forumlist.php (states: file does not contain expected contents)
As far as I know all users...since we really don't have too many users....just other Admin and I are using forum at this point in time.
Happens in Firefox as well.
All styles were always set to no parent.
Attachments are stored in database.
Tried working on all of these possible scenarios but still no luck and it only seems to be on new attachment files that we manually add or fix.
:confused:
This is a general problem with vb? Not specifically with LDM?
Are you sure that it's certain file types, and not files bigger than a certain size? If it's big files, then the problem will be caused by the upload settings in your php.ini.
Ren? Kunze
06-19-2007, 11:42 PM
I took a look at your site, and made a small modification to the webthumbs addin, so that it cannot get stuck in a loop.
I created a test category and put five new entries in it, all of which now work fine.
Let me know if you still have problems.
Beautifully, now everything functions to thanks again to 100 per cent.
yaoren
06-20-2007, 12:20 AM
This is a general problem with vb? Not specifically with LDM?
Are you sure that it's certain file types, and not files bigger than a certain size? If it's big files, then the problem will be caused by the upload settings in your php.ini.
Yes i'm sure it's the file types.
I tried with a zipped small text document and it still wouldn't work.
I can upload a large pdf file no problem or text document without fail.
I was on Vbulletin.com and they suggested I try over here to see if anyone else had this problem with this mod...so here I am.
Any other ideas or suggestions?
Thank you.
AndrewD
06-20-2007, 04:06 AM
Yes i'm sure it's the file types.
I tried with a zipped small text document and it still wouldn't work.
I can upload a large pdf file no problem or text document without fail.
I was on Vbulletin.com and they suggested I try over here to see if anyone else had this problem with this mod...so here I am.
Any other ideas or suggestions?
Thank you.
If you like, send me a PM with site details and an admin account (full access to the vb admincp) - am happy to take a quick look. I guess it will turn out to be something with the server settings.
yaoren
06-20-2007, 11:06 AM
If you like, send me a PM with site details and an admin account (full access to the vb admincp) - am happy to take a quick look. I guess it will turn out to be something with the server settings.
PM sent... thanks
tamborinegal
06-21-2007, 05:21 AM
Hi Andrew, this is such a great add-on, thank you again for putting it together.
I just have a couple of questions. I've looked through the instructions and searched through this thread but can't seem to find the answer.
Popular Entries During Last (so many) days - where do I go to make it say 7 or 14 days. I haven't got it up and running on my forum yet so that my members are using it, but everytime I look at it, it just says Popular Entries During Last 0 days. How does that work.
Also, is there a way to only allow one category to be selected when a user submits a link. I don't want my members posting under more than one category. I have looked in the user permissions and in the settings and I can't see where I can only allow one category selection. Is this able to be done?
Thanks again,
Clancy
Eccentricity
06-21-2007, 05:50 AM
How can I set the windows media player to allow my members to jump forward in movies by dragging the bar. Many of my members are annoyed because there's no fast forwarding.
Eccentricity
06-21-2007, 05:51 AM
hmm quadruple posted: edited
Eccentricity
06-21-2007, 05:51 AM
edited again...
Eccentricity
06-21-2007, 05:52 AM
and could a mod please delete the last 3. Thank you. The server was telling me it was down for maintenance and wouldn't let me submit the post (or so it seemed).
GrendelKhan{TSU
06-21-2007, 11:25 AM
hey hey ..quick question (sorry as I am sure this was asked but couldn't find it in a search):
-- Is there a way to limit usage by user's post count?
(ie: can't view or download links or download until have X posts in forums?)
jayunsplanet
06-21-2007, 01:02 PM
Hi,
Is there a way to NOT even allow people to view links/sections if they aren't part of a particular group. I have it set that they can't download, but I'd rather them not even be able to see that the file is there..
Thanks!
obmob
06-21-2007, 02:25 PM
hey hey ..quick question (sorry as I am sure this was asked but couldn't find it in a search):
-- Is there a way to limit usage by user's post count?
(ie: can't view or download links or download until have X posts in forums?)links 2.2.7-post2\release\extras\block-useraccess
There you'll find a plugin for that purpose.
Hi,
Is there a way to NOT even allow people to view links/sections if they aren't part of a particular group. I have it set that they can't download, but I'd rather them not even be able to see that the file is there..
Thanks!You can set limits on downloads using the admin panel in LDM... to restrict users visiting some categories, I think you must set this using one of your existing forum permissions.
AndrewD
06-21-2007, 02:29 PM
Hi,
Is there a way to NOT even allow people to view links/sections if they aren't part of a particular group. I have it set that they can't download, but I'd rather them not even be able to see that the file is there..
Thanks!
As ObMob says, this is done using the forums protection system.
Choose (or set up) one of your forums that has the same usergroup permissions that you want for your LDM category/entries.
Edit the category
Find the section 'Parent Forum'
Select the relevant forum, and check the 'also make this forum the parent of all links'
Submit.
This will do the trick.
AndrewD
06-21-2007, 02:32 PM
How can I set the windows media player to allow my members to jump forward in movies by dragging the bar. Many of my members are annoyed because there's no fast forwarding.
I would be irritated also.
Technically, this is about getting windows media player to use the 'partial content http 206' features that are built into the web and into LDM. I'm not sure why it's not already working for you, but will invetsigate.
AndrewD
06-21-2007, 02:56 PM
Hi, Clancy
Popular Entries During Last (so many) days - where do I go to make it say 7 or 14 days. I haven't got it up and running on my forum yet so that my members are using it, but everytime I look at it, it just says Popular Entries During Last 0 days. How does that work.
LDM/admin/settings/days_seen_on_portal should do it.
Also, is there a way to only allow one category to be selected when a user submits a link. I don't want my members posting under more than one category. I have looked in the user permissions and in the settings and I can't see where I can only allow one category selection. Is this able to be done?
This is not built in, but it's easy to achieve with a template edit.
First, I assume you want to give your users the ability to choose a category in the first place - you can take this decision away from them by removing their 'can_select_category' permission, in which case they will always post the entry in the category they are viewing when they click 'add entry'.
Second, I assume you are using the category *select* menu method, rather than the alternative long list of check boxes.
Edit the *links_addnewlink_catselect_multi* template and replace by the attached.
After you have done this, users who have *can_set_permissions* permission will still be able to select multiple categories. Others will only be able to select one.
Eccentricity
06-21-2007, 05:16 PM
I would be irritated also.
Technically, this is about getting windows media player to use the 'partial content http 206' features that are built into the web and into LDM. I'm not sure why it's not already working for you, but will invetsigate.If you need admin access to the site just PM me.
msalman
06-22-2007, 04:53 PM
i just installed this mod and i have an issue with settings i suppose. Whenever i try to click on new added category. It takes me to following page which doesn't exits
http://www.mysite.com/forums/local_links/links/1
Can someone help me, thanks?
AndrewD
06-22-2007, 05:56 PM
i just installed this mod and i have an issue with settings i suppose. Whenever i try to click on new added category. It takes me to following page which doesn't exits
http://www.mysite.com/forums/local_links/links/1
Can someone help me, thanks?
you've enabled the 'search engine friendly' option on the ldm admin settings page, but you have not configured your web server to recognise the urls. disable seo_friendly
jayunsplanet
06-22-2007, 09:07 PM
As ObMob says, this is done using the forums protection system.
Choose (or set up) one of your forums that has the same usergroup permissions that you want for your LDM category/entries.
Edit the category
Find the section 'Parent Forum'
Select the relevant forum, and check the 'also make this forum the parent of all links'
Submit.
This will do the trick.
Worked like a charm. Thanks Andrew! :p
AndrewD
06-24-2007, 11:37 AM
it would be very handy not being forced to edit each single entry, to add an additional download link, but for my conditions, i am getting out of space on my servers, so one mirror may not include a complete list of all files added to LDM.
so it may lead too many broken links if we don't control the error codes....
FYI: 3507 Entries with avg. size of 85 MB per each file
i think i was not completely right when speaking of mirrors, because a mirror is a COPY of the original server with different base url.... what i was talking about was alternative download locations.
is there a possibility to chat with you in messengers so that i could explain what i exactly need before you spend your time on implementing this feature?
thanks:)
Please see the attached screenshots which show how I've implemented the mirror in 2.2.8.
I've added a new admin page where you define a list of mirrors by specifying the partial url to be matched and the replacement.
When a user tries to download a url and the url matches a mirror test, LDM visits each of the available mirrors and obtains a response code for the url of interest. If more than one mirror is able and willing to satisfy the request, LDM invites the user to select one. If only one is available, it accesses that automatically.
For the jukebox, I think I will simply select a mirror at random.
This feature only works if your server has the php cURL module installed.
Please confirm that this is what you had in mind, and if you have any more suggestions before I finalise this.
obmob
06-25-2007, 02:39 PM
Interesting sutff Andrew... this means 2.2.8 is coming soon?
AndrewD
06-25-2007, 03:08 PM
Interesting sutff Andrew... this means 2.2.8 is coming soon?
very soon, but there's sooo much to test each time...
Your wish for a filmstrip display is included
obmob
06-25-2007, 03:33 PM
WOW! Awesome! :D
OK... now it's a good day, thanks! :p
tamborinegal
06-26-2007, 03:08 AM
Second, I assume you are using the category *select* menu method, rather than the alternative long list of check boxes.
Edit the *links_addnewlink_catselect_multi* template and replace by the attached.
After you have done this, users who have *can_set_permissions* permission will still be able to select multiple categories. Others will only be able to select one.
Thanks Andrew, that worked perfectly. I'm off to donate, this is such a great add on and I've been meaning to support all the work you put into it for some time now.
Thank you
Clancy
Rouzbeh1
06-26-2007, 11:00 AM
Please see the attached screenshots which show how I've implemented the mirror in 2.2.8.
I've added a new admin page where you define a list of mirrors by specifying the partial url to be matched and the replacement.
When a user tries to download a url and the url matches a mirror test, LDM visits each of the available mirrors and obtains a response code for the url of interest. If more than one mirror is able and willing to satisfy the request, LDM invites the user to select one. If only one is available, it accesses that automatically.
For the jukebox, I think I will simply select a mirror at random.
This feature only works if your server has the php cURL module installed.
Please confirm that this is what you had in mind, and if you have any more suggestions before I finalise this.
it's PERFECT, no more suggestions :)
only the server on which LDM is running should have mod_cURL? or mirrors need this too
thank you very much
powerful_rogue
06-26-2007, 06:14 PM
Installed this, but for some reason I keep getting the "You do not have permission" page. Im the site admin and cant access any of the LDM options to set this up.
Any ideas what may be casuing this?
Ipuck
06-27-2007, 01:56 AM
Hello AndrewD!
I would like to link (from a page outside of the forum) to a page showing just the link and the description and not a particular category. I tried using (for example) this: http://mysite.com/forums/local_links.php?linkid=867 but still show a category (The first category listed for that link). Do you know if there is a way to do that?
Thanks for your time
AndrewD
06-27-2007, 03:58 AM
Installed this, but for some reason I keep getting the "You do not have permission" page. Im the site admin and cant access any of the LDM options to set this up.
Any ideas what may be casuing this?
Have you changed the admin usergroup, which is normally usergroupid 6? The code checks whether you are a member of this group and will not let you into the admin pages otherwise.
If this is the case, edit includes/local_links_init.php and change
define('ADMIN_USER_GROUP', 6); // Assume usergroup 6 is admin - apparently safe?
AndrewD
06-27-2007, 04:10 AM
Hello AndrewD!
I would like to link (from a page outside of the forum) to a page showing just the link and the description and not a particular category. I tried using (for example) this: http://mysite.com/forums/local_links.php?linkid=867 but still show a category (The first category listed for that link). Do you know if there is a way to do that?
Thanks for your time
URLs of the form http://site/forum/local_links.php?catid=MM&linkid=MM will take you to the category page but show you only the single entry.
Currently, there is no in-built way to display just the entry without the category information. You can achieve this by editing the links_main template.
If you take a look at that template, you'll find that it consists of several groups, which all follow the same structure:
<if condition="test">
display somthing
</if>
[code]
It should be fairly self-evident what each of these groups does - there's a category title, subcategory list, featured sites list, main entry list and category statistics, interspersed with some 'holding variables' which are used by extras to insert additional information into the page display.
By slightly changing the test, you can eliminate any of these blocks when showing only one entry. For example, the second block in the template (the first big block, for the category title) starts out
[code]
<if condition="$viewcatname">
If you change this to
<if condition="$viewcatname and !$viewlinkid">
then it will only be displayed when the user has not asked to look at a single entry. Then you can use the url given above.
tamborinegal
06-27-2007, 07:34 AM
Hi again Andrew,
I have a couple of questions relating to the autocreate thread plugin.
As admin, I can submit a link and select a parent forum and the link will be posted to the forum ... but when I login as a normal member and try this, it doesn't post to the forum. The member has permission to post to the forum and I have the category set so that it has a parent forum, but no go... do you know what I could be doing wrong? I'd like to have it so that when a member submits a link it autocreates a thread in just one forum. I just can't work out why it isn't working.
Also, I guess there's no way to have the link back from the linkbit to the thread to not use the bbcode and use a link instead. I have not allowed bbcode and it shows as [ thread=14196 ]Discussion Thread[ / thread ] in the linkbit.
I hope that all made sense.
Thanks again for a great addon.
Cheers
Clancy
AndrewD
06-27-2007, 08:50 AM
Hi again Andrew,
I have a couple of questions relating to the autocreate thread plugin.
As admin, I can submit a link and select a parent forum and the link will be posted to the forum ... but when I login as a normal member and try this, it doesn't post to the forum. The member has permission to post to the forum and I have the category set so that it has a parent forum, but no go... do you know what I could be doing wrong? I'd like to have it so that when a member submits a link it autocreates a thread in just one forum. I just can't work out why it isn't working.
Also, I guess there's no way to have the link back from the linkbit to the thread to not use the bbcode and use a link instead. I have not allowed bbcode and it shows as [ thread=14196 ]Discussion Thread[ / thread ] in the linkbit.
I hope that all made sense.
Thanks again for a great addon.
Cheers
Clancy
Just a quick check - have you got moderation turned on for your forums? If so, the thread creation is delayed until the moderator accepts the entry.
For your second question, try editing the ldm_thread_create_relink and ldm_thread_create_body phrases. By default, these read:
====
Discussion Thread
====
A new entry has been added to {4}
Description: {2}
To check it out, rate it or add comments, visit [ url = {3} ]{1}[ / url]
The comments you make there will appear in the posts below.
====
But if you don't allow bbcodes, you presumably also don't allow html, so a direct link won't work either? Am I missing something
tamborinegal
06-27-2007, 09:11 AM
Just a quick check - have you got moderation turned on for your forums? If so, the thread creation is delayed until the moderator accepts the entry.
For your second question, try editing the ldm_thread_create_relink and ldm_thread_create_body phrases. By default, these read:
====
Discussion Thread
====
A new entry has been added to {4}
Description: {2}
To check it out, rate it or add comments, visit [ url = {3} ]{1}[ / url]
The comments you make there will appear in the posts below.
====
But if you don't allow bbcodes, you presumably also don't allow html, so a direct link won't work either? Am I missing something
Hi Andrew,
No I don't have moderation turned on. The link is posted to the appropriate category, it just doesn't post to the forum for some reason.
Yeah, you're right about not allowing html or BBcode. I guess there is no way around this. That's what I thought. Just checking.
Thanks again,
Clancy
AndrewD
06-27-2007, 09:17 AM
Hi Andrew,
No I don't have moderation turned on. The link is posted to the appropriate category, it just doesn't post to the forum for some reason.
Yeah, you're right about not allowing html or BBcode. I guess there is no way around this. That's what I thought. Just checking.
Thanks again,
Clancy
OK, will check. I've rewritten the autocreate code for 2.2.8 (it's integrated into the main code), so the problem may already be gone.
obmob
06-27-2007, 10:54 PM
Those changes to 2.2.8 seems awesome. Thanks Andrew!
Will start testing :D
Are there any more phrases to be translated? :p
AndrewD
06-28-2007, 05:21 AM
Hi Andrew,
No I don't have moderation turned on. The link is posted to the appropriate category, it just doesn't post to the forum for some reason.
Clancy
Clancy, I took another look at the code that does the thread creation. I can't see the reason why it should work for an admin but not for a registered user, provided the forum is ok.
These are the checks that are made before creating the thread:
- has a valid forum been chosen (for registered user, this probably means the forum identified by default_forumid or by the category in which she is posting)
- is that forum currently open for posting
- is it a real forum, i.e. not a forum link
- does the user have permission to post in it
Is there a 'fail to create thread' message given when you try this, or does it just go quietly on its way?
tamborinegal
06-28-2007, 06:26 AM
Clancy, I took another look at the code that does the thread creation. I can't see the reason why it should work for an admin but not for a registered user, provided the forum is ok.
I'm sorry Andrew, it was my fault that this was happening. :o I was using a link that I had manually put in my template ?action=addlink - without the category id at the end... this was allowing the link to be submitted but it didn't autocreate the thread - your code works perfectly. Again, sorry.
Clancy
PitchouneN64ngc
06-28-2007, 11:05 AM
AndrewD, thanks for 2.2.8 alpha release, I'm going to check phrases added or modified for translate again in French ;)
Rouzbeh1
06-28-2007, 09:22 PM
thanks for 2.2.8 Andrew
installed without any problems.
would it be possible to update to 2.2.8 official release from 2.2.8-alpha?
awesome job
AndrewD
06-29-2007, 05:53 AM
thanks for 2.2.8 Andrew
installed without any problems.
would it be possible to update to 2.2.8 official release from 2.2.8-alpha?
awesome job
That's good. There will be no problems in updating to 2.2.8 official - it will work the same way as any upgrade. Let me know of any problems you encounter.
I have, by the way, already found one bug in the alpha code, which messes up attempts to change certain settings on the LDM/admin/settings page. If you hit an php error concerning a call to ldm_can_accesdir, just redownload the zip file and upload the new includes/local_links_misc.php in it.
Slave
06-29-2007, 03:13 PM
Re-uploaded 29/7/07 - fixed bug on admin/settings page
I think it's time to post the first alpha release of LDM 2.2.8. All the usual warnings apply - this is alpha, back everything up, don't use it on a live board, particularly if you want to provide gigabytes of downloads every day. However, I've been using it/developing it for some time and nothing has gone too badly wrong.
These are the main changes - there may be others which I've forgotten to list:
Lots of wonderful stuff :)
I welcome early remarks! - am taking a week's vacation next week, so please be patient for my reply.
Play play play!
I'll install 2.2.8 alpha and let you know if I find any bugs Andrew :)
Rouzbeh1
06-29-2007, 07:45 PM
i have found a problem with one of extras. when i install Tag Cloud, table structure of admin settings gets messed....
and after i uninstalled it, it didn't remove it from admin settings....
mirror sites works PERFECT
about setting manual file size (to be able to manually add file size, if force_redirect is set to 1), will it be too much work to implement it into LDM? or make it available as an extra?
thanks for everything
PlymWS
06-29-2007, 10:53 PM
Excellent product !
The only thing I can't see how you do is upload more than one image to a new thread.
I have only just installed the product so forgive me if I'm missing the obvious.:)
Alfa1
06-30-2007, 01:39 AM
I have these forum tabs (https://vborg.vbsupport.ru/showthread.php?t=148933) on my site. I apply conditionals to them, so that the tab that corresponds to the section of the site you are on gets highlighted.
To do this for LDM, I need to define what the cat id variables of LDM are.
I tried this, but this didn't work:
<if condition="in_array($foruminfo[catid], array(126,39, 43))"><li id="active"><a href="http://www.mysite.com/forum/local_links.php?catid=126" id="active">Videos</a></li><else /><li><a href="http://www.mysite.com/forum/local_links.php?catid=126">Video</a></li></if>
Andrew, could you please inform me of the cat id variables?
Eccentricity
06-30-2007, 07:56 PM
Will 2.2.8 fix my fast forwarding issues?
Eccentricity
06-30-2007, 09:28 PM
OK I upgraded and now I have an issue I didn't have before:
This shows up when I enter the admin area:
Possible inconsistencies between LDM and its environment
- Parameter upload_dir points to a non-existent or inaccessible directory /attachments (maybe check open_basedir?)
- Parameter file_icons_dir points to a non-existent or inaccessible directory images/ldm_icons/ (maybe check open_basedir?)
- Parameter thumbs_dir points to a non-existent or inaccessible directory /images/thumbs (maybe check open_basedir?)
When I try to save my settings changes I get this:
The following setting(s) are invalid
upload_dir : /attachments
Unable to find/create subdirectories in /attachments (trying /var/www/vhosts/my-domain.com/httpdocs/attachments) - check permissions
I went to php.ini and set open_basedir to: /var/www/vhosts/my-domain.com/httpdocs/
I did the same in httpd.conf:
<Directory /var/www/vhosts/my-domain.com/httpdocs/>
php_admin_value open_basedir /var/www/vhosts/my-domain.com/httpdocs/
</Directory>
I then restarted apache and after all this...it still gives me this error message when trying to save my settings.
Oddly enough, it still allows me to upload files and images and creates the thumbnails exactly as before. The front end seems to be working fine. I just can't alter and save my settings because of the error.
On a side note, the lack of fast forwarding in Windows Media persists.
neopet001
07-02-2007, 12:01 AM
Although I 've read the topic carefully, I still don't know how to use the Media Player!
I just saw the blank box to enter the media url , can't see anywhere a function to turn media player on (I've already turned can_play_media on for all users). And when view the links&download section, I clicked on the items' titles and it just download, no media player appear! (my computer can view most of online films easily)
Thanks for your support!
Eccentricity
07-02-2007, 02:33 AM
Have you also configured it under media players? Make sure the "enabled" box is checked at the top right of each player you want to use. I can't remember if these are checked by default.
CamJM
07-02-2007, 05:40 AM
Hi Andrew, was wondering if it's possible to set up links categories as rss feeds?
Gwendolin
07-02-2007, 07:57 AM
If this is the case, edit includes/local_links_init.php and change
define('ADMIN_USER_GROUP', 6); // Assume usergroup 6 is admin - apparently safe?
And how can I change it, if I want 2 usergroups give access to administer LDM?
obmob
07-02-2007, 03:35 PM
Hmm... i'm testing vbadvanced 3.0... have you been able to install the modules on this? .
So far no luck x.x
Rouzbeh1
07-02-2007, 11:11 PM
i have installed ldm_new_thumb without any problems ;)
TheHeartSmasher
07-03-2007, 01:58 AM
AndrewD Best Mod Support of the Year Award
EDIT
This is really good work AndrewD
TheHeartSmasher
07-03-2007, 02:52 AM
I am trying to use the mirror function of 2.8.8
Let's say I don't host any files on http://www.website.com
But all files are hosted at these external mirros instead:
east1.website.com
central1.website.com
west1.website.com
I would like to give the users a choice of which one to download from.
how would I properly set this up as I put the location of the file as east1.website.com/file
Would I put http://website.com/file instead?
Rouzbeh1
07-03-2007, 12:55 PM
I am trying to use the mirror function of 2.8.8
Let's say I don't host any files on http://www.website.com
But all files are hosted at these external mirros instead:
east1.website.com
central1.website.com
west1.website.com
I would like to give the users a choice of which one to download from.
how would I properly set this up as I put the location of the file as east1.website.com/file
Would I put http://website.com/file instead?
any entry gets a primary link as always.
to use mirror sites feature you MUST have the same directory structure on your other servers.
example:
main server base url: http://server1.com/some_folder/your/directory/structure/file.name
the part "your/directory/structure/file.name" should always remain. the only thing which changes, is: http://server1.com/some_folder/
you can rewrite it with http://server2.com/some_other_folder/your/directory/structure/file.name
to have the primary link in the list, you should rewrite it with itself....
i hope it would help you ;)
obmob
07-03-2007, 03:56 PM
i have installed ldm_new_thumb without any problems ;)With vbA 3.0? :eek:
Any instructions to make it work? :D
Thanks!
Rouzbeh1
07-03-2007, 05:45 PM
i use vba 3.0 RC1
i have simply imported the module and it began to work...
maybe it will help to delete the older one before you import the new module
add: if it still doesn't work, delete the templates added by the older module and import will add them again ;)
obmob
07-03-2007, 10:03 PM
Hmm... i've done that... it's strange, all my styles send me a blank page trying to show a vbulleting message, but nothing else is displayed.
Doesn't matter if the style has or nor the new templates. :(
Edit: added the error page i got. it's still ldm 2.2.7
Rouzbeh1
07-04-2007, 12:46 AM
and did you also delete the .php file in modules directory? i mean php file related to the old module. i can now remember that i have had something like this as i tried to update, because the php file didn't get overwritten ....
TheHeartSmasher
07-04-2007, 01:22 PM
Can you paste a screenshot of you mirror setup?
Rouzbeh1
07-04-2007, 04:17 PM
i have replaced my domain name.
the first line replaces the URL you have entered as you have added the entry.
second line: to avoid forwarding traffic ONLY to neptune, i have replaced Pluto's URL with itself
this way you can have separate mirrors for different file types like music, movies, etc...
https://vborg.vbsupport.ru/external/2007/07/45.jpg
obmob
07-04-2007, 08:24 PM
and did you also delete the .php file in modules directory? i mean php file related to the old module. i can now remember that i have had something like this as i tried to update, because the php file didn't get overwritten ....Yeah, i did, it, i even tried a fresh install on my test server... no luck so far. :mad:
Eccentricity
07-04-2007, 09:34 PM
I guess I'm going to have to try to go back down to 2.2.7. Not being able to change my settings because of this error is annoying.
tamborinegal
07-05-2007, 07:11 AM
Hi again Andrew,
I was just wondering if there is a way to have the members avatars appear in the comments or is it only available for the linkbit?
Thanks
Clancy
jluerken
07-05-2007, 11:11 AM
I have an area where uploads are moderated. Now I checked the new uploads and marked one for deletion. I used the drop down field to select DELETE and got this:
Fatal error: Call to undefined function: delete_ldm_entry() in /path/local_links_actions.php on line 584
btw. Andrew, you should request a Premium Modification Board here. This thread is much to long to read it or to find anything.
digitalJE5U5
07-05-2007, 03:33 PM
Great mod but a quick question? How do I "moderate" posts/links/uploads etc? For instance, someone added a link to the inappropriate folder. How can I move it to another folder?
When I click on the "moderate" button, I get
[There are no entries to moderate.]
Also, where (besides database) would I go to delete a file?
Thanks and great product! [installed]
Rouzbeh1
07-05-2007, 05:41 PM
Yeah, i did, it, i even tried a fresh install on my test server... no luck so far. :mad:
then i think you should wait until Andrew is back. ;)
Rouzbeh1
07-05-2007, 05:45 PM
Great mod but a quick question? How do I "moderate" posts/links/uploads etc? For instance, someone added a link to the inappropriate folder. How can I move it to another folder?
When I click on the "moderate" button, I get
[There are no entries to moderate.]
Also, where (besides database) would I go to delete a file?
Thanks and great product! [installed]
right near each entry, there is a link to edit it. just change it's category....
to delete it, go to edit entry again and make a checkmark near delete, then submit
obmob
07-05-2007, 07:51 PM
I guess I'm going to have to try to go back down to 2.2.7. Not being able to change my settings because of this error is annoying.2.2.8 is alpha... so, there might be a lot of buggies around! :eek:
then i think you should wait until Andrew is back. ;):( I know... thanks Rouzbeh1.
Eccentricity
07-05-2007, 08:45 PM
I haven't downgraded yet because 1.) I'm not sure how it will affect the database and 2.) The front end still works ok. I'm hoping Andrew will show up soon with a fix.
TheHeartSmasher
07-06-2007, 01:46 PM
Thank You Rouzbeh1 I will have to try this out
What do the download links look like when there are multiple mirrors available?
TheHeartSmasher
07-06-2007, 05:55 PM
Just tested everything out after having a dns change for one of the mirrors and everything works great. Thank you for helping me get it setup correctly.
Rouzbeh1
07-06-2007, 10:43 PM
you're welcome :)
obmob
07-08-2007, 03:31 AM
Don't rush installing 2.2.8... and don't forget to make a good back-up of your database. :D
AndrewD
07-08-2007, 07:41 AM
OK I upgraded and now I have an issue I didn't have before:
This shows up when I enter the admin area:
Possible inconsistencies between LDM and its environment
- Parameter upload_dir points to a non-existent or inaccessible directory /attachments (maybe check open_basedir?)
- Parameter file_icons_dir points to a non-existent or inaccessible directory images/ldm_icons/ (maybe check open_basedir?)
- Parameter thumbs_dir points to a non-existent or inaccessible directory /images/thumbs (maybe check open_basedir?)
When I try to save my settings changes I get this:
The following setting(s) are invalid
upload_dir : /attachments
Unable to find/create subdirectories in /attachments (trying /var/www/vhosts/my-domain.com/httpdocs/attachments) - check permissions
I went to php.ini and set open_basedir to: /var/www/vhosts/my-domain.com/httpdocs/
I did the same in httpd.conf:
<Directory /var/www/vhosts/my-domain.com/httpdocs/>
php_admin_value open_basedir /var/www/vhosts/my-domain.com/httpdocs/
</Directory>
I then restarted apache and after all this...it still gives me this error message when trying to save my settings.
Oddly enough, it still allows me to upload files and images and creates the thumbnails exactly as before. The front end seems to be working fine. I just can't alter and save my settings because of the error.
On a side note, the lack of fast forwarding in Windows Media persists.
Back from holiday....
Sorry about this - there had been a spate of reports from people who were receiving 'difficult' error messages, which were related to their setting of open_basedir, so I tried to improve the error checking. Obviously I got something wrong.
As you are the only person who has reported this, there must be something in your site configuration that I'm failing to check properly. I think the only way to sort it out is to take a look at your site - for which I will need full admin access to your board. Can you send me a PM with details?
Concerning the windows media player track bar, I had not made any changes in 2.2.8 alpha. I know what is causing the problem, but haven't been able to fix it yet. WMP is (to me at least) a bit of a black hole.
AndrewD
07-08-2007, 07:44 AM
Although I 've read the topic carefully, I still don't know how to use the Media Player!
I just saw the blank box to enter the media url , can't see anywhere a function to turn media player on (I've already turned can_play_media on for all users). And when view the links&download section, I clicked on the items' titles and it just download, no media player appear! (my computer can view most of online films easily)
Thanks for your support!
Just a simple question - have you added mimetype information for media files to your VBulletin admincp/attachments table? If not, LDM will not recognise media files as being 'playable'.
You can either do this manually, or there is an 'extra' (add_mimetypes) in the LDM extras subdirectory. See the online manual http://www.eirma.org/wikis/index.php/LDM_Quick_Tutorial#The_Jukebox and http://www.eirma.org/wikis/index.php/Configuring_Filetypes_in_vBulletin
AndrewD
07-08-2007, 07:45 AM
Hi Andrew, was wondering if it's possible to set up links categories as rss feeds?
There's a simple addon in the extras/rss2 directory which does this.
AndrewD
07-08-2007, 07:49 AM
And how can I change it, if I want 2 usergroups give access to administer LDM?
In 2.2.7/2.2.8 alpha, you have to create an additional usergroup, use that group's usergroupid as the test, and put everyone in your two groups of interest also into the new group.
I'll change the code in 2.2.8 final to make this more straightforward.
AndrewD
07-08-2007, 07:52 AM
Hmm... i've done that... it's strange, all my styles send me a blank page trying to show a vbulleting message, but nothing else is displayed.
Doesn't matter if the style has or nor the new templates. :(
Edit: added the error page i got. it's still ldm 2.2.7
With 2.2.7 and vba 3.0, you have to turn off the vbadvanced option "Process PHP file modules within a function" (vb/admincp/vba/default settings/main options)
This is fixed in 2.2.8
AndrewD
07-08-2007, 08:07 AM
Hi again Andrew,
I was just wondering if there is a way to have the members avatars appear in the comments or is it only available for the linkbit?
Thanks
Clancy
Clancy, it's currently only available in the main linkbit. I'll extend the 2.2.8 code so that it can be displayed in the comments also.
AndrewD
07-08-2007, 08:16 AM
I have an area where uploads are moderated. Now I checked the new uploads and marked one for deletion. I used the drop down field to select DELETE and got this:
Fatal error: Call to undefined function: delete_ldm_entry() in /path/local_links_actions.php on line 584
btw. Andrew, you should request a Premium Modification Board here. This thread is much to long to read it or to find anything.
Yes, sorry about that. This was a bug in the original 2.2.7 code. It's fixed (I hope) in the 2.2.7-post 2 release. Alternatively, you can edit local_links_actions.php, go to line 584 and replace delete_ldm_entry() by delete_link().
I did ask for a premium board some time ago. The vb.org people did not want to give me one for some reason. I understand the difficulties in finding things in the long thread.
obmob
07-08-2007, 06:05 PM
With 2.2.7 and vba 3.0, you have to turn off the vbadvanced option "Process PHP file modules within a function" (vb/admincp/vba/default settings/main options)
This is fixed in 2.2.8O.o wow, never thought that would be the problem... thanks for answering.
Hope you had a great holiday! ^^
tamborinegal
07-10-2007, 05:58 AM
Clancy, it's currently only available in the main linkbit. I'll extend the 2.2.8 code so that it can be displayed in the comments also.
Thanks Andrew, that would be great!
It would also be nice to be able to show the members name in the standalone jukebox. An avatar there would also be great but just the members name would even do. I don't think at this stage that can be done can it?
Thanks again Andrew,
Cheers
Clancy
Rouzbeh1
07-10-2007, 04:57 PM
hi Andrew,
i think i have found a bug in ldm 2.2.8-alpha
when some user adds an entry, it doesn't set linkuserID. and when i registered a new user via admincp, all entries made after the update to 2.2.8 where set to be added by this user....
can someone confirm this?
AndrewD
07-10-2007, 05:09 PM
hi Andrew,
i think i have found a bug in ldm 2.2.8-alpha
when some user adds an entry, it doesn't set linkuserID. and when i registered a new user via admincp, all entries made after the update to 2.2.8 where set to be added by this user....
can someone confirm this?
I think I discovered this too. I think the problem is actually when you edit an entry - the userid gets set to 0.
I'll put some checks into the installation code with the next release to fix any problems in the database.
SeanE
07-11-2007, 08:06 PM
Hello -
I'm working towards installing your hack on my vBulletin installation - and was wondering if it is possible to keep all the LDM files in their own file - or if they have to be kept in the corresponding 'clientscripts', 'includes', and 'xml' folders, etc.
I ask as I assume that each time I have to upgrade vBulletin, I have to wipe out all files and upload the new ones - and in the absence of an 'LDM' folder that I can choose not to delete, I'm trying to figure out what new VB upgrades will be like...
Thanks,
-Sean
obmob
07-11-2007, 08:46 PM
O.o Don't wipe everything... you can always compare and overwrite.
Well... that's what i do. ^^,
SeanE
07-11-2007, 08:54 PM
I installed the files in the corresponding files as noted - not all in one ldm file as I asked earlier - and the installation appears to have worked - except:
The initial file 'local_links_admin.php' was not created in my forums directory - so I cannot configure the application... I've uninstalled/reinstalled (checked 'overwrite') just to be sure - but nothing....
Any ideas? :confused:
Thanks,
- Sean
AndrewD
07-12-2007, 04:22 AM
I installed the files in the corresponding files as noted - not all in one ldm file as I asked earlier - and the installation appears to have worked - except:
The initial file 'local_links_admin.php' was not created in my forums directory - so I cannot configure the application... I've uninstalled/reinstalled (checked 'overwrite') just to be sure - but nothing....
Any ideas? :confused:
Thanks,
- Sean
The FTP upload of local_links_admin.php into your forums directory must have failed - this is done manually, not automatically. Just re-upload the file and everything should be ok.
There isn't a problem when upgrading VBulletin - if you choose to create a clean directory for the new version of VB, you simply reupload the LDM files into the new directory. LDM does not need reinstalling in that situation, as its configuration is already stored in the database.
SeanE
07-12-2007, 04:35 PM
Thanks Andrew -
I re-uploaded the files into that directory, and reinstalled the plug in. It finds it now, but I get a 'no access message':
SeanE, you do not have permission to access this page. This could be due to one of several reasons:
Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Log Out Home
Any ideas on this? :confused:
Thanks,
-Sean
SeanE
07-12-2007, 04:40 PM
Actually, I'm thinking this goes back to to the location of the files. I had placed them within the 'includes' file originally (and down into the associated subfolders as well). Is it possible I've placed these files at the wrong level?
Could you provide specific placement info on where these files are supposed to be within the forums folder? I suspect this is causing the issue...
Thanks,
-Sean
SeanE
07-12-2007, 04:47 PM
Sorry for all these posts... I've figured it out:
Apparently, when you guys do the authorities, you're looking for the basic 'Administrator' user class - and we institutued a new naming scheme. Once I added that to my titles, it rolled right over to it... :D
Ok - I've got it up and running - I'll configure it now, etc... Thanks for your help! :)
--Sean
aryapsh
07-12-2007, 08:40 PM
We are having a problem with this program. When we want to download a file from download manager, the file downloads halfway and then it stops. What are we supposed to do when this happens?
AndrewD
07-13-2007, 04:16 AM
We are having a problem with this program. When we want to download a file from download manager, the file downloads halfway and then it stops. What are we supposed to do when this happens?
I suspect that you are running out of allowed cpu time on your server.
Several questions:
a) how large are the files you are trying to download?
b) where are these files stored (locally or on another server?
c) how are you setting up the entries (as poiners to local files (e.g. /dir/file.typ) or as full urls (http : // site / dir / file.typ)
d) what setting have you given for the LDM admin setting force_redirect?
e) is your board running in safe mode?
In its default settings, LDM provides secure file management so that people can't find out where the files are held. Unfortunately this comes at a cost - particularly if you set up entries using full urls - and you can easily burn up all the allowed cpu.
This is explained in the on line manual = see http://www.eirma.org/wikis/index.php/Speed%2C_Security_and_Server_Load.
For secure file management, fastest/best is to have files on your local server, with the entries set up as local file names, not as full urls.
If you can't accommodate your files that way, you may need to set LDM's setting force_redirect to 1, which is not as secure but far less cpu intensive.
Let me know if this is not the problem.
viper357
07-13-2007, 05:43 PM
Hi
I am having a problem with the date and also the hits, on vbAdvanced 3 the hits do not show up, they are all on 0. Also when I click on HITS, the dates are at 1969 and 1970, I don't know if this is why the hits are not showing up? Any ideas on how to fix the dates? I am running 3.6.5
Thanks.
AndrewD
07-14-2007, 05:18 AM
Hi
I am having a problem with the date and also the hits, on vbAdvanced 3 the hits do not show up, they are all on 0. Also when I click on HITS, the dates are at 1969 and 1970, I don't know if this is why the hits are not showing up? Any ideas on how to fix the dates? I am running 3.6.5
Thanks.
Sorry, you're not giving me enough information to work out what's going on. Dates showing up in 1969 or 1970 sound like they are also being read as 0 (date=0 is 1/1/1970).
I've just checked versions 2.2.7 and 2.2.8 alpha with vbadvanced 3.0 and I can't get it to behave the way you are describing. Can I take a look at your board? Send me a PM if you wish. (I'll need admin privs)
MadKad
07-14-2007, 10:52 AM
well I just upgraded and wow the changes are well better than the old version nice work and looks like some good thinking and hard work has been added welldone :)
viper357
07-14-2007, 10:59 AM
What did you upgrade to - 2.2.8?
@ AndrewD - pm sent
Hi,
When a member make post or rate a download video in LDm i get double autocreate-threads in the forum.
TrickyD
07-14-2007, 07:11 PM
I'm hoping someone can let me know if this mod or another on here would fulfill what I want to do within my community.
I want to allow a usergroups to basically have FTP like ability on my forum so that they can upload videos and images and turn around and place those files in their posts just as if they were posting an image from imageshack or photobucket or embedding a video like they can with a youTube custom BB Code.
I'd want the ability to give one usergroup up to 10mb of upload space while restricting others to only 1mb.
Is this that type of mod? (and more obviously)
I just don't want to install and just hope it is what I need.
AndrewD
07-15-2007, 06:56 AM
I'm hoping someone can let me know if this mod or another on here would fulfill what I want to do within my community.
I want to allow a usergroups to basically have FTP like ability on my forum so that they can upload videos and images and turn around and place those files in their posts just as if they were posting an image from imageshack or photobucket or embedding a video like they can with a youTube custom BB Code.
I'd want the ability to give one usergroup up to 10mb of upload space while restricting others to only 1mb.
Is this that type of mod? (and more obviously)
I just don't want to install and just hope it is what I need.
This will allow you to do what you want, but not quite in the way you describe. LDM has upload capabilities, and the possibility to give members of each usergroups different upload allowances.
LDM organises files into a category/entry structure, which is separate from the VBulletin forums/threads/posts. It is straightforward to add an link between a post and an LDM entry (e.g. using a custom BBcode), or to 'autoannounce' new LDM entries in your forums. However, you cannot directly create an LDM entry from the 'new post' form.
viper357
07-15-2007, 07:13 AM
Thanks for the great support Andrew, paypal completed :D
AndrewD
07-15-2007, 08:01 AM
Hi,
When a member make post or rate a download video in LDm i get double autocreate-threads in the forum.
Sounds as if the 'autothreadcreate' plugin has been installed twice. Check your vb/admin/plugins and products/plugin manager - the plugin called "Links and Downloads Manager - Create threads/posts when entries are added/rated" should be listed five times, once each on the hooks:
ldm_start
ldm_addlink_inserted
ldm_sync_link_inserted
ldm_editlink_accept_complete
ldm_ratelink_complete
minimalize
07-15-2007, 11:14 AM
Hi,
is there a possibility to open the links in a framed window? i tried these two mods but they will only work in the forum.
https://vborg.vbsupport.ru/showthread.php?t=136333&highlight=external+frame
https://vborg.vbsupport.ru/showthread.php?t=122975&highlight=external+frame
could you tell me where to add the code in the files for the 2nd mod?
AndrewD
07-15-2007, 12:22 PM
Hi,
is there a possibility to open the links in a framed window? i tried these two mods but they will only work in the forum.
https://vborg.vbsupport.ru/showthread.php?t=136333&highlight=external+frame
https://vborg.vbsupport.ru/showthread.php?t=122975&highlight=external+frame
could you tell me where to add the code in the files for the 2nd mod?
I've taken a quick look at the 2nd mod - it will not work in its current form with LDM - I will think about this and try to suggest an answer.
edenx
07-15-2007, 01:01 PM
It is possible to grab RSS feeds for a link, like a custom field?
Example, create custom field "fotolog" for links
Member enter his fotolog.com nickname
Then the system grabs his last photos:
The link "Fotolog Pubs" Feed from http://www.fotolog.com/pubschile
http://www.fotolog.com/pubschile/feed/main/rss20
Thanks in advance.-
AndrewD
07-15-2007, 01:30 PM
It is possible to grab RSS feeds for a link, like a custom field?
Example, create custom field "fotolog" for links
Member enter his fotolog.com nickname
Then the system grabs his last photos:
The link "Fotolog Pubs" Feed from http://www.fotolog.com/pubschile
http://www.fotolog.com/pubschile/feed/main/rss20
Thanks in advance.-
Not currently, but several people have asked for this. It's on the list of things to think about.
Sounds as if the 'autothreadcreate' plugin has been installed twice. Check your vb/admin/plugins and products/plugin manager - the plugin called "Links and Downloads Manager - Create threads/posts when entries are added/rated" should be listed five times, once each on the hooks:
ldm_start
ldm_addlink_inserted
ldm_sync_link_inserted
ldm_editlink_accept_complete
ldm_ratelink_complete
Thank you!
That was the problem.
SeanE
07-15-2007, 07:11 PM
This is a small thing - but if it's easy to deal with, I would love to know where the switch is...
Is there a way when the file 'local_links.php' is loaded that the name "Links and Download Manager" can be changed to another name? I would like to give the product a name of something that reflects its role on our site, rather than the software's actual name (showing it's name at the bottom is ok - like the vBulletin name, etc)...
Is it possible to change the name that's displayed to the users?
Thanks,
-Sean
SeanE
07-16-2007, 01:57 AM
This is a small thing - but if it's easy to deal with, I would love to know where the switch is...
Is there a way when the file 'local_links.php' is loaded that the name "Links and Download Manager" can be changed to another name? I would like to give the product a name of something that reflects its role on our site, rather than the software's actual name (showing it's name at the bottom is ok - like the vBulletin name, etc)...
Is it possible to change the name that's displayed to the users?
Thanks,
-Sean
Once again, nevermind... I found it....
Thanks for a great product - I'll finish our upgrade and hit paypal this fall!
-Sean
AndrewD
07-16-2007, 04:50 AM
Beta 1 release of 2.2.8, uploaded 16/7/07.
withdrawn - release candidate uploaded in later post
Rouzbeh1
07-16-2007, 08:31 AM
nice, thank you.
will give it a test :D
Rouzbeh1
07-16-2007, 09:16 AM
update successful! everything seems fine.
will post report if there are any problems
thanks again
obmob
07-16-2007, 04:18 PM
Thanks, will check this in a couple of hours! :D
PitchouneN64ngc
07-16-2007, 04:32 PM
Thanks too, I'll see for update french language file for the final release ;)
minimalize
07-16-2007, 04:52 PM
Hey, i´ve got another Question. Is there a possibility to get the comments on the links in a forum?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.