View Full Version : Major Additions - Links and Downloads Manager
Pages :
1
[
2]
3
4
5
6
7
8
9
webgeek247
03-29-2008, 05:11 PM
Ok. I tried to figure out where to add or <br /> but couldnt figure out which file the moderator names were coming from. Anyway, as long as you know. ;)
AndrewD
03-30-2008, 03:28 PM
Ok. I tried to figure out where to add or <br /> but couldnt figure out which file the moderator names were coming from. Anyway, as long as you know. ;)
The alpha-4 swfuploader extra was not working with IE (actually another bug in IE). It works ok, as far as I can tell with Firefox. It also appears (as far as I can tell) to handle uploads bigger than 100MB, so the Flash documentation is inaccurate. The beta 1 release of LDM will correct these points.
webgeek247
03-30-2008, 06:56 PM
Awesome.
RikiB
03-30-2008, 07:53 PM
Im having a similar problem (I also use subdreamer). Can I simply remove those 3 dropdowns? I dont really need them anyway, and also, can I remove the Sort by?
Thanks!
RikiB
03-30-2008, 07:56 PM
I see how that bar is used for a lot of other things, Can I instead remove the bar completely for anyone but admin?
Also, I tried removing the vertical-align: codes but it didnt seem to fix it. Seems to not work in FF and IE.
AndrewD
03-31-2008, 04:20 AM
I see how that bar is used for a lot of other things, Can I instead remove the bar completely for anyone but admin?
Also, I tried removing the vertical-align: codes but it didnt seem to fix it. Seems to not work in FF and IE.
The LDM navbar is coded in the links_header template. It is actually set up to work in both a drop-down and flat style, with rather fewer items on show with the flat style.
Take a look at the template and you will find this sequence:
$header
$navbar
<if condition="$show['popups']">
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
...
</table>
</div>
<else />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
...
</table>
</if>
<br />
...
The part in the "if" clause creates the drop down, and the "else" produces the flat style. So if you replace the "if" statement by
$header
$navbar
<if condition="0==1">
...
you will always get the flat style. Similarly you can modify the code so that only admins get to see the bar by wrapping round the whole if-then-else another if statement which tests on the value of $vbulletin->usergroupid (=6 for admins).
webgeek247
03-31-2008, 10:41 PM
Hi Andrew, since removing that code my forums aren’t loading up correctly in FF2 now
http://www.djpassion.co.uk/forums/
Well im not 100% sure whether its removing that code which has caused it or not to be honest. But the last time i checked the forums in FF2 just under a year ago they loaded fine though. I remember checking. A lots been done to the forums since then though like vBulletin updates. Could you please check in case installing the ldm hack as changed anything though as im not getting a reply from vbulletin.com and subdreamer.com cant work out what the exact problem is. Would like to narrow it down as to what could be causing the problem.
Any help would be much appreciated
AndrewD
04-01-2008, 02:15 AM
Hi Andrew, since removing that code my forums aren?t loading up correctly in FF2 now
http://www.djpassion.co.uk/forums/
Well im not 100% sure whether its removing that code which has caused it or not to be honest. But the last time i checked the forums in FF2 just under a year ago they loaded fine though. I remember checking. A lots been done to the forums since then though like vBulletin updates. Could you please check in case installing the ldm hack as changed anything though as im not getting a reply from vbulletin.com and subdreamer.com cant work out what the exact problem is. Would like to narrow it down as to what could be causing the problem.
Any help would be much appreciated
Rgw problem I can see with FF2 is that the box containing the navigation bits and user login is disappearing off the right hand of the screen. This does not happen with IE.
As far as I can see, this is being caused by another part of your subdreamer css, I think the lines:
#wrapper
{ width: 760px; margin-left:auto; margin-right:auto; background-color: #FFFFFF; }
It happens regardless of whethet the div statement is commented in or out.
I'm a bit surprised because this was not happening at the weekend when I last looked at your site, so I wonder whether something else has changed.
webgeek247
04-01-2008, 02:44 PM
Hmmm well I tried playing around with the css earlier today but could not seem to figure out what the problem was. I check several hours later and the problems gone now though. I thought subdreamer.com staff fixed the problem but they say they never. Did you end up fixing it Andrew? I hope so otherwise ill never know what caused the problem
webgeek247
04-01-2008, 03:23 PM
aaah it was me ive done it.
i had to change this
// ################################ SDHEADER ###################################
$sdheader = '
<div id="wrapper">
<div id="border_right">
<div id="border_left">
<div id="sdlogo"></div>
<div class="navigation_1">
<div class="navigation_2">
<div class="navigation_3">
<div class="navigation_4">
<div class="navigation_5">
' . $categories . '
</div>
</div>
</div>
</div>
</div>
<div id="content_6_alt">
<div id="column_right_alt_2">
';
___
to this
// ################################ SDHEADER ###################################
$sdheader = '
<div id="wrapper">
<div id="border_right">
<div id="border_left">
<div id="sdlogo"></div>
<div class="navigation_1">
<div class="navigation_2">
<div class="navigation_3">
' . $categories . '
</div>
</div>
</div>
<div id="content_6_alt">
<div id="column_right_alt_2">
';
____
Thanks for your help Andrew.
obmob
04-01-2008, 05:14 PM
So many things changing... and still 3.7 is not gold! x.x
RikiB
04-01-2008, 09:25 PM
Does any of this tie into dropdown menus? I am using subdreamer and none of my dropdowns seem to work. I think it has something to do with the forum style, but Im not sure.
webgeek247
04-01-2008, 11:06 PM
Let me make sure here
Do your vbulletin Quick Links work? If they dont then I doubt its anything to do with AndrewDs dlm hack. If the vbulletin Quick Links do work but your dlm drop down menu links dont they itd most likely down to your subdreamer forumskin.php
Its tricky to say without looking. Its just a matter of checking through everything narrowing down the problem really.
AndrewD
04-02-2008, 04:09 AM
Does any of this tie into dropdown menus? I am using subdreamer and none of my dropdowns seem to work. I think it has something to do with the forum style, but Im not sure.
Part of the css associated with subdreamer was killing the LDM dropdowns on Internet Explorer, but not with Firefox. The problem line was the div declatation given in one of my earlier posts. I have not worked out whether this is a bug in IE or in Mozilla or neither, but will try to ensure that LDM does not suffer from it, by the time version 2.2.9 is final.
Ipuck
04-02-2008, 04:27 AM
Hello AndrewD
Is there any way to remove the bar between the categories?
AndrewD
04-02-2008, 05:01 PM
Hello AndrewD
Is there any way to remove the bar between the categories?
The bar only appear if you give entries specific (and different) display_order values.
It is created using the links_linkseparator template, so you can edit that template as you wish.
Ipuck
04-02-2008, 09:47 PM
Excellent!
I just removed the row and it looks perfect.
Thanks!
webgeek247
04-04-2008, 12:34 PM
Andrew, when i go to add an entry and the form loads up i get a warning/error message appear at the bottom left corner in my browser which has
Line: 160
Char: 101
Error: Expected identifier, string or number
Code: 0
Url: http://www.djpassion.co.uk/forums/ content.html?
Im using Internet Explorer
AndrewD
04-04-2008, 01:13 PM
Andrew, when i go to add an entry and the form loads up i get a warning/error message appear at the bottom left corner in my browser which has
Line: 160
Char: 101
Error: Expected identifier, string or number
Code: 0
Url: http://www.djpassion.co.uk/forums/ content.html?
Im using Internet Explorer
Yes, that's the bug in the swfupload code which stops it working in Internet Explorer. The problem is actually in IE (not following the standard) but it's easy to get round. I'll be posting a new version of the code this weekend.
Thanks,
webgeek247
04-04-2008, 01:36 PM
Ok no worries. I look forward to the new version.
Ps cannot believe this hack only has 18 votes and an average of 4.83. Though I suppose that?s because it?s still in the beta/alpha stages.
Anyway, the DLM hack is already very good - the more users that use it to test it etc the better it will become, esp other requesting for extra features etc. The support is excellent. If any of you are using this hack, please give an honest vote and click installed.
Thanks for this hack and the time you spend on it to improve it etc @ AndrewD! :cool:
Cheers,
Chris.
AndrewD
04-04-2008, 01:43 PM
Ok no worries. I look forward to the new version.
Ps cannot believe this hack only has 18 votes and an average of 4.83. Though I suppose that’s because it’s still in the beta/alpha stages.
Anyway, the DLM hack is already very good - the more users that use it to test it etc the better it will become, esp other requesting for extra features etc. The support is excellent. If any of you are using this hack, please give an honest vote and click installed.
Thanks for this hack and the time you spend on it to improve it etc @ AndrewD! :cool:
Cheers,
Chris.
Thanks, Chris. I don't take too much notice of the votes (never sure why people vote how they do), but be aware that there is a separate forum for version 3.6 of vbulletin, with 785 installations, and for version 3.5 with 343 installations and for vb 3.0 with 253 installations :)
It's been under development since 2004 and the code base is now something like five times the original size. Up to vb 3.5, it did not handle uploads, for example.
GrendelKhan{TSU
04-04-2008, 04:30 PM
woot! finally updated
3.70 RC1 and 2.2.9a4 - working ... mostly (see below)
bug?
I can't get category icons to show. :( (even if using FULL url)
eg: http://www.unrealaddicts.com/forums/local_links.php
"music to frag to" category
should be this: http://www.unrealaddicts.com/forums/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg (http://www.unrealaddicts.com/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg)
The image path shows up missing the forums root folder
eg (wrong url --missing /forums/) :
http://www.unrealaddicts.com/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg(category edit >> control settings is set relative to forum root for cat icons).
But I also get this error when use full url
The following settings are invalid:
cat_icon (http://www.unrealaddicts.com/forums/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg) Cannot find icon 'Array' - specify relative to forum directory or use full url
cat_icon_new (http://www.unrealaddicts.com/forums/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg) Cannot find icon 'Array' - specify relative to forum directory or use full url
Hawkins
04-04-2008, 05:02 PM
woot! finally updated
3.70 RC1 and 2.2.9a4 - working ... mostly (see below)
bug?
I can't get category icons to show. :(
You are lucky, I can't even create any categories. No error showed up, just won't write to DB, so can't create categories. :mad:
webgeek247
04-04-2008, 08:31 PM
...Up to vb 3.5, it did not handle uploads, for example.
Cool, good stuff. keep up the good work man.
Cheers,
Chris.
AndrewD
04-05-2008, 02:31 AM
You are lucky, I can't even create any categories. No error showed up, just won't write to DB, so can't create categories. :mad:
Am happy to help - just let me know how.
AndrewD
04-05-2008, 02:52 AM
woot! finally updated
3.70 RC1 and 2.2.9a4 - working ... mostly (see below)
bug?
I can't get category icons to show. :( (even if using FULL url)
eg: http://www.unrealaddicts.com/forums/local_links.php
"music to frag to" category
should be this: http://www.unrealaddicts.com/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg
The image path shows up missing the forums root folder
eg (wrong url --missing /forums/) :
http://www.unrealaddicts.com/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg
(category edit >> control settings is set relative to forum root for cat icons).
But I also get this error when use full url
The following settings are invalid:
cat_icon (http://www.unrealaddicts.com/forums/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg) Cannot find icon 'Array' - specify relative to forum directory or use full url
cat_icon_new (http://www.unrealaddicts.com/forums/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg) Cannot find icon 'Array' - specify relative to forum directory or use full url
Thanks for the report - bugs confirmed - will fix.
nightbloom
04-05-2008, 07:32 AM
bookmarked - Because i am DEFINITELY interested in this mod once it is out of beta stage.
Good job!
AndrewD
04-06-2008, 06:09 AM
Version 2.2.9 beta is now available for testing. Will appreciate reports.
webgeek247
04-06-2008, 09:14 AM
I just updated ldm but have noticed that the edit file link is being blocked. I try to delete a file but get some kind of operation could not complete message
webgeek247
04-06-2008, 09:23 AM
Hmm I cant seem to add files either. Think I'll leave it for now. Will let you take a look AndrewD
AndrewD
04-06-2008, 10:30 AM
Hmm I cant seem to add files either. Think I'll leave it for now. Will let you take a look AndrewD
Weird. It works fine on your site with Firefox and Safari but not with IE, yet IE fetches all the items on the page correctly from your site - just fails to display and gives that message about 'unable to display page'. I haven't changed anything in this part of the code, as far as I know.
The bug is within IE, see http://support.microsoft.com/default.aspx/kb/927917. I don't know whether it's being triggered by my code or your patches or a combination.
AndrewD
04-06-2008, 10:40 AM
Hmm I cant seem to add files either. Think I'll leave it for now. Will let you take a look AndrewD
It's linked to the swfupload extra. When I disable this on your site, add/edit link works ok. I'll try to sort out why. Doesn't affect me on any of my test sites.
webgeek247
04-06-2008, 10:56 AM
Ok. When I used firefox, the page loaded up but asked me to install a missing plugin, which was adobe flash player. I wonder if it’s connected. Like IE7 isn’t using adobe flash player properly or something
AndrewD
04-06-2008, 11:14 AM
Ok. When I used firefox, the page loaded up but asked me to install a missing plugin, which was adobe flash player. I wonder if it’s connected. Like IE7 isn’t using adobe flash player properly or something
Yes to part 2 - you have to have the flash player plugin installed to use the swfuploader, and the first time you run this, it will check for it and install it if necessary.
For part 1, I think you are stuck with a variant on the same problem you had before. You've wrapped the vbulletin page in a series of extra divs. As a result, all the vbulletin javascript initiatialisations are happening inside these divs, and not immediately within the body tag, which is where they are supposed to happen. IE doesn't like this, so croaks.
The solution, I think, is to move the vbulletin.init script code outside all your divs, just before the close of the body tag, which is where it should be.
webgeek247
04-06-2008, 11:28 AM
Yes you're right. I unskinned the forumskin.php in subdreamer admin panel and can now add entries to dlm using IE7 again
webgeek247
04-06-2008, 11:36 AM
Ok.
Andrew, when making template changes to vb etc you normally have to reskin the forum. So just thought id let you know in case you need to change things etc
Admin panel > subdreamer settings > forum integration > skin integration
The solution, I think, is to move the vbulletin.init script code outside all your divs, just before the close of the body tag, which is where it should be.
Im not sure how to do that
AndrewD
04-06-2008, 11:47 AM
Ok.
Andrew, when making template changes to vb etc you normally have to reskin the forum. So just thought id let you know in case you need to change things etc
Admin panel > subdreamer settings > forum integration > skin integration
Im not sure how to do that
The standard vb footer template ends with these lines:
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
and the links_footer template normally ends with the sequence:
$footer
</body>
</html>
Take a look at these to see if you've changed anything.
webgeek247
04-06-2008, 11:59 AM
Well in the vb footer I see the same as above and when I skin the forum using subdreamer the vb footer is still the same
I guess it must be something to do with
/public_html/skins/passion
images ** folder **
catergories.php
footer.php
forummenu.php
forumskin.php
install.php
menu.css
passion_1.php
styles.css
but not sure what exatcly
webgeek247
04-06-2008, 12:33 PM
I'll have a better look when i get home later.
Hello!
i just upgraded from alfa4 to beta 1 and when i will go to my cmps portal i get this error
"Warning: require_once([path]/includes/local_links_flashsites.php) [function.require-once (http://www.belaplay.com/vb/libar/function.require-once)]: failed to open stream: No such file or directory in [path]/includes/local_links_players.php(106) : eval()'d code on line 6
Fatal error: require_once() [function.require (http://www.belaplay.com/vb/libar/function.require)]: Failed opening required '/home2/belapla/public_html/vb/libar/includes/local_links_flashsites.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/belapla/public_html/vb/libar/includes/local_links_players.php(106) : eval()'d code on line 6"
have vbulletin 3.7 rc -2
andrewd you have admin count on my site - www.belaplay.com/vb/libar (http://www.belaplay.com/vb/libar)
some help or solution?
regards
macc
AndrewD
04-06-2008, 12:53 PM
Hello!
i just upgraded from alfa4 to beta 1 and when i will go to my cmps portal i get this error
"Warning: require_once([path]/includes/local_links_flashsites.php) [function.require-once (http://www.belaplay.com/vb/libar/function.require-once)]: failed to open stream: No such file or directory in [path]/includes/local_links_players.php(106) : eval()'d code on line 6
Fatal error: require_once() [function.require (http://www.belaplay.com/vb/libar/function.require)]: Failed opening required '/home2/belapla/public_html/vb/libar/includes/local_links_flashsites.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/belapla/public_html/vb/libar/includes/local_links_players.php(106) : eval()'d code on line 6"
have vbulletin 3.7 rc -2
andrewd you have admin count on my site - www.belaplay.com/vb/libar (http://www.belaplay.com/vb/libar)
some help or solution?
regards
macc
It's telling you it can't find the file includes/local_links_flashsite.php, which is in the includes subdirectory of the flash-sites extra. Check that you have uploaded this file - perhaps it's been put in the wrong directory?
Rouzbeh1
04-06-2008, 04:56 PM
upgrade worked perfect.
thanks for the update
when are you planning to add the JW WMV Player (Powered By Silverlight)?
thanks in advance
AndrewD
04-06-2008, 05:02 PM
upgrade worked perfect.
thanks for the update
when are you planning to add the JW WMV Player (Powered By Silverlight)?
thanks in advance
It's there.
Take a look in the extras. JW-player-extensions.
RikiB
04-06-2008, 05:13 PM
man this is exciting, so many new amazing features. I will have to wait a few days to make sure its clear of any major problems, I decided to go live with Alpha4 out of desperation and so far its worked like a dream. I plan on making another donation in the near future, this addon is simply amazing.
Thanks Andrew!
Rouzbeh1
04-07-2008, 08:06 AM
It's there.
Take a look in the extras. JW-player-extensions.
thanks, i installed it but there is no addition in players section.
i have also changed the player for wmv files but i wants to play the file with jwflvplayer which is not possible....
AndrewD
04-07-2008, 08:47 AM
thanks, i installed it but there is no addition in players section.
i have also changed the player for wmv files but i wants to play the file with jwflvplayer which is not possible....
interesting - it was working fine a couple of days ago. I must have missed something. Will check this evening and get back to you
AndrewD
04-07-2008, 04:18 PM
thanks, i installed it but there is no addition in players section.
i have also changed the player for wmv files but i wants to play the file with jwflvplayer which is not possible....
Several points.
I'm gradually adding controls for all addins in the main LDM settings section, so after installing this extra, you have to decide which bits of it to enable in the JW MediaPlayer Addons section of that page.
The 'inline' player version (inlineJWplayer_active set to yes) was working fine, but the standard pop up player (wmpJWplayer_active set to yes) was not working because of a couple of coding bugs.
Can you try replacing the attached includes/local_links_players.php file and then install the replacement playlist-JWPlayer-plugin.xml, and let me know if this fixes the problem.
Finally, I don't think Silverlight works yet with Firefox 3.
Hello Andewd ... thanks for help!
can we also use those code above or it is just for that user?
regards
macc
AndrewD
04-07-2008, 05:55 PM
Hello Andewd ... thanks for help!
can we also use those code above or it is just for that user?
regards
macc
You can certainly use it if you need it - it provides a fix for the jw player silverlight player, nothing else.
Rouzbeh1
04-07-2008, 08:56 PM
thanks andrew
it worked perfect in inline mode, but it doesn't display a player in popup mode
PS: i use FF 2.0.0.13
AndrewD
04-08-2008, 12:30 AM
thanks andrew
it worked perfect in inline mode, but it doesn't display a player in popup mode
PS: i use FF 2.0.0.13
May I take a look, please.
Just to confirm, the new code I posted yesterday works fine for me with FF 2.0.0.13 in both inline and popup modes. The bugs I fixed were with the popup mode, so worth checking that you have actually uploaded the includes file.
MikeGK
04-08-2008, 06:41 PM
Thank you for the beta 1 release, it is great!
Rouzbeh1
04-08-2008, 06:44 PM
May I take a look, please.
Just to confirm, the new code I posted yesterday works fine for me with FF 2.0.0.13 in both inline and popup modes. The bugs I fixed were with the popup mode, so worth checking that you have actually uploaded the includes file.
of course
will send a PM in an hour or less
IR15H
04-08-2008, 09:44 PM
Just downloaded it to my test board, haven't got my head around it all yet, but it looks absolutely amazing so far.
MikeGK
04-09-2008, 12:02 AM
*allow_http_ranges* option added to enable site to disable partial range requests, e.g. to limit server load caused by download managers
Hi Andrew, could you tell me where to enable or disable in LDM? I can't seem to find the option on or off. Thank you
Regards,
Mike
AndrewD
04-09-2008, 03:51 AM
*allow_http_ranges* option added to enable site to disable partial range requests, e.g. to limit server load caused by download managers
Hi Andrew, could you tell me where to enable or disable in LDM? I can't seem to find the option on or off. Thank you
Regards,
Mike
LDM/admin/settings/Security and User Access section
MikeGK
04-09-2008, 12:42 PM
LDM/admin/settings/Security and User Access section
Hi Andrew, under LDM/admin/settings/Security and User Access section
All I see is the following below. Am I missing something? Thank you.
default_forumid
force_accept
force_redirect
force_saveas
mod_rewrite
profile_ldmactivity
prune_downloadtable
robots_meta_tag
timeout_hit_allow
timeout_hit_recording
force_fopen
AndrewD
04-09-2008, 12:52 PM
Hi Andrew, under LDM/admin/settings/Security and User Access section
All I see is the following below. Am I missing something? Thank you.
default_forumid
force_accept
force_redirect
force_saveas
mod_rewrite
profile_ldmactivity
prune_downloadtable
robots_meta_tag
timeout_hit_allow
timeout_hit_recording
force_fopen
Are you sure you've updated all the code to the latest 2.2.9 and then reinstalled the product xml?
RikiB
04-09-2008, 02:03 PM
Oh no, in why who's online I see this:
Guest
/forum/local_links.php?action=jump&id=16&catid=7 Accessing content from Downloads
This is the first time I have seen it but if there is a way someone was able to easily hack into the files that would be a travesty. Is there anyway to figure out how this happened? Im using Alpha4
edit: it may not be so bad, if anyone puts in that direct link it will say that, doesnt mean they can actually download the file, so not a big deal I guess. The hits stats doesnt say that a guest has downloaded anything.
AndrewD
04-09-2008, 04:19 PM
Oh no, in why who's online I see this:
Guest
/forum/local_links.php?action=jump&id=16&catid=7 Accessing content from Downloads
This is the first time I have seen it but if there is a way someone was able to easily hack into the files that would be a travesty. Is there anyway to figure out how this happened? Im using Alpha4
edit: it may not be so bad, if anyone puts in that direct link it will say that, doesnt mean they can actually download the file, so not a big deal I guess. The hits stats doesnt say that a guest has downloaded anything.
I hope that they cannot get past the security that you have set. VBulletin's 'Who's online' simply captures where people are currently looking - as you say, it says nothing about what happens. If the LDM hit logs tell you there have been no accesses by guests, you should be ok. Perhaps worth testing the security by loggin out from vbulletin and clearing cookies, then keying in the 'jump' url and see what happens. I hope you will get a 'no permission' message.
RikiB
04-09-2008, 04:28 PM
Yes you are correct, I cannot access it as guest..everything seems ok..Im relieved :)
obmob
04-09-2008, 05:50 PM
Hmm... time to start translation? :D
Thanks for the beta, will try to make an online test forum.
IR15H
04-09-2008, 05:53 PM
I've found a few minor bugs;
If you put a smiley in your title for an entry, it displays properly everywhere, except in the navigation at the top when I view the entry;
http://img339.imageshack.us/img339/5742/10881980tv9.png
If you upload a file that isn't a supported attachment by vB and hit submit, I see the following;
http://img135.imageshack.us/img135/8026/21443936hs2.png
I'm guessing it should say something along the lines of "This type of file is not allowed to be uploaded".
A browser issue with WMP, so it may not be fixable your end;
http://img505.imageshack.us/img505/1114/29493758ks7.png
Haven't had that long to play around with it, but still love it :).
MikeGK
04-09-2008, 06:17 PM
Are you sure you've updated all the code to the latest 2.2.9 and then reinstalled the product xml?
My bad Andrew, it is working awesome now. Thank you! Great Script! Andrew it would be nice to add hostname and ip address of user. It would be a PLUS.
Mike
AndrewD
04-09-2008, 06:24 PM
I've found a few minor bugs;
If you put a smiley in your title for an entry, it displays properly everywhere, except in the navigation at the top when I view the entry;
If you upload a file that isn't a supported attachment by vB and hit submit, I see the following;
I'm guessing it should say something along the lines of "This type of file is not allowed to be uploaded".
A browser issue with WMP, so it may not be fixable your end;
Haven't had that long to play around with it, but still love it :).
Thanks - the first two are bugs, the third is because I was lazy when I wrote the javascript to resize the video window.
Edited - actually, I can't reproduce the first one - it displays fine for me. Can you give me any hints?
IR15H
04-09-2008, 07:19 PM
Thanks - the first two are bugs, the third is because I was lazy when I wrote the javascript to resize the video window.
Edited - actually, I can't reproduce the first one - it displays fine for me. Can you give me any hints?
I might know why, do you have HTML enabled (Category and Entry Creation and Editing > allow_html)? I turned it on and it displayed correctly, but I wouldn't enable it on my live board because it enables HTML in the actual entry itself as well. BB code is enabled.
EDIT:
A couple more minor bugs. If an individual comments more than once on an entry, it still states there is only 1 comment/rating. Also, if you set comments to be in-line (inline_comment_and_rate = X), but have X+1 comments then "More..." appears, but doesn't link anywhere.
http://img520.imageshack.us/img520/7796/38236211ik9.png
The link to more comments works with the drop down menu (dropdown_comment_and_rate), but the X comments/ratings thing is the same.
EDIT 2:
A strange browser issue;
http://img356.imageshack.us/img356/6509/28543952ue3.png
The song (mp3) plays in IE 32 bit, but I can't see any of the controls, just the white bar. It doesn't play in the 64 bit version, but I get the link to download flash. It displays perfectly in FireFox. This might just be some strange setting I have on my PC (Vista 64 bit), so if anyone else could check this on theirs that'd be cool.
EDIT (again): The first time I navigate to the entry in IE7 32bit it displays normally, but any subsequent visits to the same entry, or any other mp3 entry results in the white box. Opening a new tab or window makes it display normally again on the first view.
AndrewD
04-10-2008, 02:28 AM
I might know why, do you have HTML enabled (Category and Entry Creation and Editing > allow_html)? I turned it on and it displayed correctly, but I wouldn't enable it on my live board because it enables HTML in the actual entry itself as well. BB code is enabled.
You're right. At that point in the code, I inadvertently included the line of code to catch smilies, etc, in entry names twice, with the effect of escaping the html.
If an individual comments more than once on an entry, it still states there is only 1 comment/rating. Also, if you set comments to be in-line (inline_comment_and_rate = X), but have X+1 comments then "More..." appears, but doesn't link anywhere.
The link to more comments works with the drop down menu (dropdown_comment_and_rate), but the X comments/ratings thing is the same.
The count is misleading and I should correct it. Only the last rating from each user is counted. Comments were added to LDM after ratings, and I must have taken a short cut with the code.
More.. should link, so will fix.
A strange browser issue;
The song (mp3) plays in IE 32 bit, but I can't see any of the controls, just the white bar. It doesn't play in the 64 bit version, but I get the link to download flash. It displays perfectly in FireFox. This might just be some strange setting I have on my PC (Vista 64 bit), so if anyone else could check this on theirs that'd be cool.
EDIT (again): The first time I navigate to the entry in IE7 32bit it displays normally, but any subsequent visits to the same entry, or any other mp3 entry results in the white box. Opening a new tab or window makes it display normally again on the first view.
Your problem with the white bar is a bug in Flash with IE (I think) - I spent some time on this a while back and found many reports of similar. I'm currenctly not able to check 64 bit Vista
webgeek247
04-10-2008, 01:56 PM
The solution, I think, is to move the vbulletin.init script code outside all your divs, just before the close of the body tag, which is where it should be.
Hi Andrew i had a look but couldnt figure it out
AndrewD
04-10-2008, 03:34 PM
Hi Andrew i had a look but couldnt figure it out
OK, I'll give this some more thought.
It is possible might also have problems in other parts of vBulletin, depending on whether they also expect to be initialising Javascript at the end of the page.
IR15H
04-10-2008, 03:49 PM
Your problem with the white bar is a bug in Flash with IE (I think) - I spent some time on this a while back and found many reports of similar. I'm currenctly not able to check 64 bit Vista
Okay. When I install this on my live board, if any of my IE users are able to reproduce this (browser) issue I'll simply disable the JW player, and do it via WMP, as that works fine :).
--------------
I've found another comments bug. With settings of dropdown_width_comment_and_rate = 60 and dropdown_rows_comment_and_rate = 5, I get the following result;
http://img340.imageshack.us/img340/1222/74842697gt2.png
The numbers I chose are arbitrary, but the comments do not match the values I set. This is the same for in-line comments, too.
---------
I also found a picture related bug;
http://img88.imageshack.us/img88/8939/37719220vy1.png
The blank space is a picture upload entry.
EDIT:
Oh, and also, a very minor thing when you create a new entry. If you type something in the "Name" field and then press the TAB key on your keyboard it jumps to the "New Keywords" field, missing out the "Description" input area.
AndrewD
04-11-2008, 03:29 AM
Okay. When I install this on my live board, if any of my IE users are able to reproduce this (browser) issue I'll simply disable the JW player, and do it via WMP, as that works fine :).
--------------
I've found another comments bug. With settings of dropdown_width_comment_and_rate = 60 and dropdown_rows_comment_and_rate = 5, I get the following result;
The numbers I chose are arbitrary, but the comments do not match the values I set. This is the same for in-line comments, too.
---------
I also found a picture related bug;
The blank space is a picture upload entry.
EDIT:
Oh, and also, a very minor thing when you create a new entry. If you type something in the "Name" field and then press the TAB key on your keyboard it jumps to the "New Keywords" field, missing out the "Description" input area.
OK, thanks
I know about the tab problem - it's related to the way in which vb builds the editor control - will take another look.
HBAndrew
04-12-2008, 08:23 AM
Hello, fantastic mod it will probably get used a lot on my site, have a couple questions.
I have a section for people to release maps for games, and would like a way for them to input the author of the maps to be shown on the entry page in the same area as all the info like filesize etc. Now I know 2.2.9 has this attributes thing, however it feels incomplete or limited to me.
I would like a way to place custom fields to look just like any other field on the entry form in any position, but also be shown on a per category basis so people uploading other things elsewhere don't get this Author option to choose from, and can be set if it should be mandatory or not. I would also like it to not show up with the group name before it, eg. Author: Name instead of Maps: Author: Name, tried putting 0 in display order for the group name and leaving Author as 1 but both vanished.
It seems that allowing general users to add custom attributes to entries shows all the custom attributes every time they create an entry within any category wether or not they are set to 0 display order for the category, just feels like this attributes thing is nothing like custom fields at all and is too limited still.
I have also noticed, using Short (Title+Thumb) for template_altbit has made the title of entries vanish and no way at all to view them.
Any work still being done on custom fields stuff? Currently using 2.2.8 with 3.6.9 so not important untill 2.2.9/3.7 is properly released.
Chewy954
04-12-2008, 06:06 PM
when I click a link I get redirected to say:
http://cheatingnetwork.net/local_links/jump/1/1
and it doesnt work, is this a .htaccess issue?
AndrewD
04-13-2008, 07:41 AM
Hello, fantastic mod it will probably get used a lot on my site, have a couple questions.
I have a section for people to release maps for games, and would like a way for them to input the author of the maps to be shown on the entry page in the same area as all the info like filesize etc. Now I know 2.2.9 has this attributes thing, however it feels incomplete or limited to me.
I would like a way to place custom fields to look just like any other field on the entry form in any position, but also be shown on a per category basis so people uploading other things elsewhere don't get this Author option to choose from, and can be set if it should be mandatory or not. I would also like it to not show up with the group name before it, eg. Author: Name instead of Maps: Author: Name, tried putting 0 in display order for the group name and leaving Author as 1 but both vanished.
It seems that allowing general users to add custom attributes to entries shows all the custom attributes every time they create an entry within any category wether or not they are set to 0 display order for the category, just feels like this attributes thing is nothing like custom fields at all and is too limited still.
I have also noticed, using Short (Title+Thumb) for template_altbit has made the title of entries vanish and no way at all to view them.
Any work still being done on custom fields stuff? Currently using 2.2.8 with 3.6.9 so not important untill 2.2.9/3.7 is properly released.
Thanks - as you say, the custom fields stuff is new for 2.2.9, and the important first step was to get the plumbing in place. I have every intention to continue developing this according to the interest people express. I will think about what you say regarding extensions.
Its not true that every attribute is offered in every category for every entry. You set up the available attributes on the global admin page, then you set up which of these are relevant for the category on the category page, then you are only given these attributes to define for entries added/edited in the category.
AndrewD
04-13-2008, 07:42 AM
when I click a link I get redirected to say:
http://cheatingnetwork.net/local_links/jump/1/1
and it doesnt work, is this a .htaccess issue?
You've probably enabled 'seo_friendly' on the ldm/admin page without configuring your web server/vbseo to deal with the urls that LDM then creates.
RikiB
04-13-2008, 05:33 PM
Is there a way to reset the download count on a per user basis? I have the download limit set but I would LOVE the ability to reset it for some people if they run out of download attempts for technical reasons.
Riki
anarx
04-15-2008, 10:00 AM
damn, this is hot! ty! - installed -
edit: The images don't show up in the description:
AndrewD
04-15-2008, 01:45 PM
damn, this is hot! ty! - installed -
edit: The images don't show up in the description:
Have you set *link_imagesize*? ldm/admin/settings
anarx
04-15-2008, 02:29 PM
Have you set *link_imagesize*? ldm/admin/settings
that was the problem - fixed, ty !
another problem: If I use the "modern - short desription" style I just see a short descripton ... yes, that's what I wanted. But I don't see a "read more" link. I am just able to see the whole description if I click the "rate/comment" button.
Is there a way to add a "Read more" button? Maybe with a simple template edit?
ty, anarx
EDIT: I found a way:
in template links_linkbit_mshort :
under $linkshortdesc add:
<a href="$LINKS_SCRIPT.php?linkid=$linkid&catid=$viewcatid& lpage=$pagenumber"> [Read more]</a>
AndrewD
04-15-2008, 05:10 PM
that was the problem - fixed, ty !
another problem: If I use the "modern - short desription" style I just see a short descripton ... yes, that's what I wanted. But I don't see a "read more" link. I am just able to see the whole description if I click the "rate/comment" button.
Is there a way to add a "Read more" button? Maybe with a simple template edit?
ty, anarx
EDIT: I found a way:
in template links_linkbit_mshort :
under $linkshortdesc add:
<a href="$LINKS_SCRIPT.php?linkid=$linkid&catid=$viewcatid& lpage=$pagenumber"> [Read more]</a>
Just so, I'll include this in the 2.2.9 RC. You don't need the lpage param - that's for paginating inside the ratings.
RikiB
04-16-2008, 05:46 PM
</invisibility>
;D
AndrewD
04-17-2008, 05:50 AM
</invisibility>
;D
Me? You? Something else?
RikiB
04-17-2008, 12:55 PM
oh, sorry. I asked is there a way to reset the download count on a per user basis? I have the download limit set but I could really use the ability to reset it for some people if they run out of download attempts for technical reasons.
thanks again :)
Riki
Mazzle
04-17-2008, 03:45 PM
Would the downloads provided in such a setup be secure? In other words, would only members of the forums be able to download it? Would there be any way for a member to give a valid url of some sort to a non-member so that they could download it without joining? I was thinking about making a paid membership site for certain piece of software I want to sell and was wondering if this would be a good solution.
RikiB
04-17-2008, 03:56 PM
I would say that this is a great solution for what you want. The downloads are 100% secure as far as I can tell. You cannot give your friend a link that would work. Im sure Andrew could explain it better than me, but I have paid membership download section and it works amazing well for it.
AndrewD
04-17-2008, 05:37 PM
oh, sorry. I asked is there a way to reset the download count on a per user basis? I have the download limit set but I could really use the ability to reset it for some people if they run out of download attempts for technical reasons.
thanks again :)
Riki
I've just had a few days vacation, so I've only been answering the quick questions. I think this is straightforward, but will give you a full answer over the weekend.
AndrewD
04-17-2008, 05:39 PM
Would the downloads provided in such a setup be secure? In other words, would only members of the forums be able to download it? Would there be any way for a member to give a valid url of some sort to a non-member so that they could download it without joining? I was thinking about making a paid membership site for certain piece of software I want to sell and was wondering if this would be a good solution.
Provided you set up the correct permissions, the download links are fully secure. Furthermore, if you configure lDM to store files outside the web space, they are also completely secure against someone guessing the filename (which is not easy anyway as uploads are stored using random filenames)
webgeek247
04-17-2008, 07:00 PM
Hmmm, how come i have the below extra fields on my forums profile...
My Recent LDM Hits
My Recent LDM Entries
nothing in them. where are the settings for them please, Andrew?
webgeek247
04-17-2008, 09:56 PM
Also, is it possible to stop a certain usergroup adding entries to a parent category for example
I have
Mixes
--Trance
--Techno
--House
etc etc
I only want a certain usergroup to be allowed to add entries to the Trance, Techno and House categories only, NOT the parent Mixes section
I've had a look through the settings but can not work out how do set it like this
RikiB
04-17-2008, 10:17 PM
Andrew, I am currently having issues with a few people having severely slow download speeds unless they use a download manager, and when they do use a dlm it can sometimes stop before its complete. I am currently distributing very large files (up to 1GB) and have the file on 2 servers different than ldlm (1 is a mirror). One solution I am considering is splitting the files into smaller sizes (500MB), also I will either upgrade to B1 or downgrade to 2.8. Do you think any of this will help?
Thanks
RikiB
04-18-2008, 01:23 AM
Ok, so what I discovered is the reason its fast with a dlm is because of the "allow_http_ranges " is enabled. If I disable this, the speed go dramatically down.
Now, if I link directly to the external file I want, the speed is 800k/s super fast.
If I stream an external link through ldlm the speed is slow and variable (50k-130k).
Why would streaming (force_redirect=0) a file through ldlm cause the speed to go down so much? Also, why would using http ranges make the speed faster (yet in some cases a tad unstable)?
Is there any way I can fix this? I use a shared server, perhaps tweaking the php.ini file? Does the speed of the server ldlm lives on limit the speed files are streamed through ldlm?
Please help me understand my situation so I can make a smart decision on how to make ldlm work.
Thanks again!
Riki
AndrewD
04-18-2008, 08:11 AM
Ok, so what I discovered is the reason its fast with a dlm is because of the "allow_http_ranges " is enabled. If I disable this, the speed go dramatically down.
Now, if I link directly to the external file I want, the speed is 800k/s super fast.
If I stream an external link through ldlm the speed is slow and variable (50k-130k).
Why would streaming (force_redirect=0) a file through ldlm cause the speed to go down so much? Also, why would using http ranges make the speed faster (yet in some cases a tad unstable)?
Is there any way I can fix this? I use a shared server, perhaps tweaking the php.ini file? Does the speed of the server ldlm lives on limit the speed files are streamed through ldlm?
Please help me understand my situation so I can make a smart decision on how to make ldlm work.
Thanks again!
Riki
Here's the story:
- When you use LDM in its default configuration (force_redirect=0), LDM reads the file and retransmits it to the user. If the cURL library is available to PHP on your server and the download has been specified using a full url, the transfer runs as efficiently as is possible. If you do not have cURL or if the file is on the server and specified using a local filename (i.e. no http: at the front), the file is read and transmitted in blocks (by default 32Kbytes in size; 256K bytes on Windows servers). In that situation, it is possible that transfers of large files will proceed faster with a larger block size, at cost of larger memory requirement. We need to do some tests.
- Download managers gain their speed improvement by making multiple connections to LDM, to request different sections of the file. Within the limits of server capacity, these sections are transmitted in parallel, and the download manager then reconstructs the whole file. This process speeds things up for the user but increases load on the server, and can quickly kill a shared server. If you disable allow_http_ranges, then download managers are not allowed to make multiple requests. The file gets transferred sequentially.
- If you set force_redirect to 1, then LDM does not intervene in the handling of the transfer. The speed of the transfer depends entirely on the construction of the web server. One side effect is that inquisitive users can find out where the file is stored, and bypass your security.
Transfer efficiency and speed (and also server load) depend critically on certain factors. If the file is physically stored on a different server, there is a *large* overhead involved in fetching the file and retransmitting it. Transfer of remote files will *always* be much faster if force_redirect is set to 1, at the costs of reduced security, because the transfer is being handled directly (and solely) by the server on which the file is stored.
Here's the catch: If you set up a local file using its full url (i.e. http: // yoursite / yourdir / yourfile.typ) instead of using the local filename ( / yourdir / yourfile.typ), LDM has to assume that the file is remote. This is because web servers may have been set up with redirections, mod_rewrite, etc.) So transfers of local files specified with full urls are much slower (and also more expensive in server load) than when specified as local files.
So the broad answer to your question is 'yes, you can certainly tweak LDM to work faster', but you may end up putting a very large load on the server if you try to squeeze every drop of speed by allowing too many simultaneous transfers. Other sites have had to limit their use of LDM for transferring large files because they have put too much load on the server.
My recommendation is:
- specify local files using local file names, not full urls
- do not offer downloads of large files hosted on other servers
- make sure the curl library is available
RikiB
04-18-2008, 01:14 PM
wow, thanks for the detailed explanation. This does make a lot of since. I have been avoiding this, but it seems if I want to sell large downloads, I will have to pay for a dedicated server..ouch. I was hoping ldlm would prevent me from having to go that rout with the clever hidden external links. I appreciate your time.
Riki
RikiB
04-18-2008, 06:16 PM
about the cURL, these are my php settings
PHP
allow_url_fopen Yes
cURL Yes
GD2 Yes
open_basedir not set
post_max_size 8M
upload_max_filesize 2M
MySQL 5.0.45-community
wait_timeout 200
What will happen if I change this setting to Yes?
force_fopen
Prevent use of cURL library for network file handling. Only meaningful when cURL library is installed. Do not change this setting unless you know what you are doing.
AndrewD
04-18-2008, 07:12 PM
about the cURL, these are my php settings
PHP
allow_url_fopen Yes
cURL Yes
GD2 Yes
open_basedir not set
post_max_size 8M
upload_max_filesize 2M
MySQL 5.0.45-community
wait_timeout 200
What will happen if I change this setting to Yes?
force_fopen
Prevent use of cURL library for network file handling. Only meaningful when cURL library is installed. Do not change this setting unless you know what you are doing.
Your settings suggest that everything is installed correctly.
As the parameter name suggests, it will disable use of the cURL library, which is used for transferring files from remote servers. The alternative code uses functions built into php, which I think are not as efficient, but are sometimes useful for debugging.
fortnox
04-19-2008, 09:50 AM
Hi!
In Moment I Use Vb 3.5 and LDM 2.1.2.
Next Time i want upgrade my VBulletin and LDM. Can anybody say me, what i have to do if i want to hold the links etc.... ?
Very Thanks :)
AndrewD
04-20-2008, 12:53 PM
Hi!
In Moment I Use Vb 3.5 and LDM 2.1.2.
Next Time i want upgrade my VBulletin and LDM. Can anybody say me, what i have to do if i want to hold the links etc.... ?
Very Thanks :)
I've run a quick test - the upgrade process seems to work correctly from version 2.1.2. First upgrade vbulletin to version 3.7, then upgrade LDM by uploading the version 2.2.9 of the code and installing the product xml file.
AndrewD
04-20-2008, 01:54 PM
oh, sorry. I asked is there a way to reset the download count on a per user basis? I have the download limit set but I could really use the ability to reset it for some people if they run out of download attempts for technical reasons.
thanks again :)
Riki
I'll add the facility on the 2.2.9 RC admin/allowances page to clear bandwidth consumed by individual users during the last 24 hours.
fortnox
04-20-2008, 05:00 PM
I've run a quick test - the upgrade process seems to work correctly from version 2.1.2. First upgrade vbulletin to version 3.7, then upgrade LDM by uploading the version 2.2.9 of the code and installing the product xml file.
Wow, that`s Great, very Thanks.:)
RikiB
04-20-2008, 08:50 PM
I'll add the facility on the 2.2.9 RC admin/allowances page to clear bandwidth consumed by individual users during the last 24 hours.
The main thing was the hits, I have a limit set to like 5 hits per user. It would be easiest if I could just reset those hit values on a per user basis. Currently, the only way to give a user more hits is to raise the global hit number, which gives everyone more hits. If I could perhaps give individual users more hits or reset the hits they currently used, either would be great!
Thanks man.
Riki
AndrewD
04-21-2008, 03:51 AM
The main thing was the hits, I have a limit set to like 5 hits per user. It would be easiest if I could just reset those hit values on a per user basis. Currently, the only way to give a user more hits is to raise the global hit number, which gives everyone more hits. If I could perhaps give individual users more hits or reset the hits they currently used, either would be great!
Thanks man.
Riki
It's not easy (without rewriting quite a lot of the code) to give individual users a temporary extra allowance or temporarily ignore the allowances for them only. The change I've made will allow you to tell LDM to treat an individual user's hits for the last 24 hours as being 'zero size'. LDM does not count such hits against either the files or the bytes allowances.
AndrewD
04-21-2008, 04:25 AM
Edited - moved to start of thread
RikiB
04-21-2008, 06:29 AM
I tested the feature and it looks like it only works with the allowances and not the limitaccess-byhits-plugin. I like the idea a lot but is there a way to make it work with this plugin as well?
Nice updates in the RC btw! :)
Riki
AndrewD
04-21-2008, 06:49 AM
I tested the feature and it looks like it only works with the allowances and not the limitaccess-byhits-plugin. I like the idea a lot but is there a way to make it work with this plugin as well?
Nice updates in the RC btw! :)
Riki
OK, will check.
Rouzbeh1
04-22-2008, 07:21 AM
hi Andrew,
thanks for the update :)
i have tested the new version, but it seems not to be able to seo category names correctly
example:
catid:13
catname: Some Name
seo name (output): c-Some Name-13
which should be: c-some-name-13 (no CAPS and - instead of space)
and for some reason i couldn't get it to work.
thanks a lot again
webgeek247
04-22-2008, 03:09 PM
SWFUpload extra works correctly when wrapped in subdreamer site
Yes, this works fine now. Thanks
Edit: I couldn't get the seo links to work with vBSEO. I asked on their forums last night but haven't had a reply yet
Feel free to test it if you like Andrew
AndrewD
04-22-2008, 04:15 PM
hi Andrew,
thanks for the update :)
i have tested the new version, but it seems not to be able to seo category names correctly
example:
catid:13
catname: Some Name
seo name (output): c-Some Name-13
which should be: c-some-name-13 (no CAPS and - instead of space)
and for some reason i couldn't get it to work.
thanks a lot again
Sorry, I'd missed the capitals and spaces. Here's a modified version of includes/local_links_include.php
If you set seo_friendly to 2, you need a different set of mod_rewrite rules. These are the ones I am using as test. If you also set seo_title, then you need to replace local_links in the first part of each rule by your seo_title:
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)$ $1local_links.php?catid=$2 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/jump/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=jump&catid=$2&id=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)(\?page=[0-9]+)$ $1local_links.php?catid=$2&page=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)(\?page=[0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3&page=$4 [R,L]
AndrewD
04-22-2008, 04:19 PM
Yes, this works fine now. Thanks
Edit: I couldn't get the seo links to work with vBSEO. I asked on their forums last night but haven't had a reply yet
Feel free to test it if you like Andrew
I don't have access to the relevant part of the LDM admin - the maintenance section is restricted to superadmins.
Have you taken a look at the mod_rewrite rules I have posted in the wiki? I don't know how vbseo works - I have never bought a copy.
webgeek247
04-22-2008, 04:32 PM
Hmm, you have the same admin rights as me. There isnt and Super Admin group on my forum. Just Admin. Will send you pm Andrew.
webgeek247
04-22-2008, 04:43 PM
Pm sent.
webgeek247
04-22-2008, 07:46 PM
Another thing I just seen that vbseo also have http://www.vbseo.com/wiki/vBSEO_Compatible_Hack:Downloads_II
Not exactly sure what it does, will have to look into it more. Though I wonder if that rewrite rule format is something to go by to get ldm to work with vbseo
Rouzbeh1
04-22-2008, 09:16 PM
Sorry, I'd missed the capitals and spaces. Here's a modified version of includes/local_links_include.php
this solved the caps and spaces problem. thanks
If you set seo_friendly to 2, you need a different set of mod_rewrite rules. These are the ones I am using as test. If you also set seo_title, then you need to replace local_links in the first part of each rule by your seo_title:
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)$ $1local_links.php?catid=$2 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/jump/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=jump&catid=$2&id=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)(\?page=[0-9]+)$ $1local_links.php?catid=$2&page=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)(\?page=[0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3&page=$4 [R,L]
i tried it in many different ways but it didn't work
webgeek247
04-22-2008, 09:53 PM
Andrew,
I tried to get help on vbseo to get the ldm alphanumeric urls to work with vbseo, but it turns out that even with vbseo turned off they still dont work. You check out that vbseo thread if you like. Im totaly baffled by it now heh
Aye at least the ldm numeric urls works with vbseo. Would be great to get the alphanumeric urls to work properly though
AndrewD
04-23-2008, 03:29 AM
i tried it in many different ways but it didn't work
Are you using the mod_rewrite approach? I had to debug things by turning on logging (log level 2) and then watching what was happening.
I have an English board working fine with the rules I posted.
GrendelKhan{TSU
04-23-2008, 04:40 AM
great job as usual andrew :D
found some bugs (at least on mine)
- 2.2.9 RC
- vb3.7.0 RC1
1)
-- cat_icon_new
-- cat_icon_new
-- subcat_icon
still not showing up. :( its not reading the "forums/" folder and gets an error (doubles up the forums directory) if you put it in manually eg:
The following settings are invalid:
cat_icon (/forums/linksdownloads/icons/xxxxxxxxx .jpg) Cannot find icon 'htt p://www. xxxxx. com/forums/forums/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg' - specify relative to forum directory or use full url
- ldm no cat icons (http://www.unrealaddicts.com/forums/local_links.php)
2) template_linkbit (short: title+thumb): TITLE is not appearing. :(
bug (at least for me): ldm no title (http://www.unrealaddicts.com/forums/local_links.php?catid=7)
3) also, would be nice to see a bullet or something next to the items in the statistics. (or as an options).
too hard to read individual items otherwise. (don't know where one starts and another ends).
- LDM (right side stats) (http://www.unrealaddicts.com/forums/local_links.php)
still awesome stuff. :)
itsblack
04-23-2008, 05:19 AM
Hi Andrew, I have installed 2.2.9 RC. Thank you.
I got mysql error when I search the multiple words such as "Cambridge Companions" with the option "all words" or "exact phrase". There's no problem with the option "any word".
Invalid SQL:
SELECT
link.linkid AS linkid, link.linkname AS linkname, link.linkdoi AS linkdoi,
link.linkuserid AS linkuserid, link.linkusername AS linkusername,
link.linkurl AS linkurl, link.linkimg AS linkimg,
link.linkimgthumb AS linkimgthumb, link.linkimgthumbsize AS linkimgthumbsize, link.linkforum AS linkforum,
link.linkdesc AS linkdesc, link.numrate AS numrate, link.totrate AS totrate,
link.linkhits AS linkhits, link.linksize AS linksize, link.linkstatus AS linkstatus,
link.linkdate AS linkdate, link.linkmoderate AS linkmoderate, link.linkmoddate AS linkmoddate,
link.linkreviewfreq AS linkreviewfreq,
ltoc.catid AS linkcatid, ltoc.displayorder AS linkdorder
, ltoc2.catid AS linkcatid2
, lkeys.keyword AS linkkey
FROM local_linkslink AS link
LEFT JOIN local_linksltoc AS ltoc ON link.linkid = ltoc.linkid
LEFT JOIN local_linksltoc AS ltoc2
ON link.linkid = ltoc2.linkid
LEFT JOIN local_linksltok AS ltok
ON link.linkid = ltok.linkid
LEFT JOIN local_linkskeys AS lkeys
ON ltok.keyid = lkeys.keyid
WHERE link.linkforum NOT IN (0) AND (link.linkid IN () OR link.linkid IN (-1,355,425,427,428,429,430,431,436,439,483,673,723, 801,1051,1063,1079,1118,1129,1159,1161,1160,1179,1 180,1321,1371,1410,1578,1579,1580,1584,1593,1594,1 595,1646,1687,1771) OR link.linkid IN (-1))
ORDER BY linkdate DESC, linkname ASC, linkcatid ASC;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') OR link.linkid IN (-1,355,425,427,428,429,430,431,436,439,483,673,723, 801,1051' at line 28
ERROR : 1064
My mysql version is 5.0.45. Now what can I do?
Rouzbeh1
04-23-2008, 02:48 PM
Are you using the mod_rewrite approach? I had to debug things by turning on logging (log level 2) and then watching what was happening.
I have an English board working fine with the rules I posted.
i used both vbseo AND also mod_rewrite
i have also tested it on my test board with only mod_rewrite + ldm internal function
none of them worked
AndrewD
04-23-2008, 06:34 PM
Hi Andrew, I have installed 2.2.9 RC. Thank you.
I got mysql error when I search the multiple words such as "Cambridge Companions" with the option "all words" or "exact phrase". There's no problem with the option "any word".
My mysql version is 5.0.45. Now what can I do?
Interesting, that bug has been there for quite some time but has only just been hit. I think this version of local_links_search.php fixes the bug.
I'm now going to have to see how to deal with the 3.6.10/3.7.0RC4 changes.
[edited: attachment removed - now in the release code]
AndrewD
04-23-2008, 07:09 PM
i used both vbseo AND also mod_rewrite
i have also tested it on my test board with only mod_rewrite + ldm internal function
none of them worked
This is the relevant section of my http-vhosts file
<VirtualHost *:80>
ServerName vb37
DocumentRoot "r:/websites/vb37"
# RewriteLog "C:/Program Files/Apache Software Foundation/Apache2.2-ssl/logs/rewrite.log"
# RewriteLogLevel 2
RewriteEngine on
# RewriteEngine off
# - normal mode
# RewriteRule (.*)local_links/links/([^0-9].+)$ $1$2 [R,L]
# RewriteRule (.*)local_links/links/([0-9]+)$ $1local_links.php?catid=$2 [R,L]
# RewriteRule (.*)local_links/links/([0-9]+)/([0-9]+)$ $1local_links.php?catid=$2&linkid=$3 [R,L]
# RewriteRule (.*)local_links/jump/([0-9]+)/([0-9]+)$ $1local_links.php?action=jump&id=$2&catid=$3 [R,L]
# RewriteRule (.*)local_links/play/([0-9]+)/([0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3 [R,L]
# RewriteRule (.*)local_links/links/([0-9]+)(\?page=[0-9]+)$ $1local_links.php?catid=$2&page=$3 [R,L]
# RewriteRule (.*)local_links/play/([0-9]+)/([0-9]+)(\?page=[0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3&page=$4 [R,L]
# -- extended mode
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)$ $1local_links.php?catid=$2 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/jump/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=jump&catid=$2&id=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)(\?page=[0-9]+)$ $1local_links.php?catid=$2&page=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)(\?page=[0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3&page=$4 [R,L]
Options +ExecCGI
</VirtualHost>
Maybe you can post what you have tried?
Alfa1
04-24-2008, 12:49 AM
How can I:
- get rid of the 'my recent LDM hits' box on profile?
- get rid of the mentions of LDM in the 'About me'tab on profile?
- change the phrase of 'My recent LDM entries'?
- add a section on the 'statistics' tab on profile to display: 'total documents', 'total video's' and 'total audio'? Note that video, documents and audio are separate categories in my LDM.
Does the swf uploader use a different url, than local_links.php?action=addlink ? I was just wondering, because I don't get it to work from local_links.php?action=addlink
itsblack
04-24-2008, 12:51 AM
Interesting, that bug has been there for quite some time but has only just been hit. I think this version of local_links_search.php fixes the bug.
I'm now going to have to see how to deal with the 3.6.10/3.7.0RC4 changes.
Thank you very much. It works.
AndrewD
04-24-2008, 04:13 AM
How can I:
- get rid of the 'my recent LDM hits' box on profile?
- get rid of the mentions of LDM in the 'About me'tab on profile?
- change the phrase of 'My recent LDM entries'?
I think I am going to have to rethink the profile integration with vb3.7. The underlying vbulletin code is quite different and this is creating the problems you are experiencing.
When you enable LDM profile integration, some new fields are added to the profile records in the database. If you turn it off again, these fields are retained, to give you the option of re-enabling profile integration at a later stage without destroying any customisations that users have already made. With vb3.6 this worked fine, but with 3.7 it is leaving the residual blank profile blocks visible.
** Edited ** You can turn off profile intergation in LDM admin/settings, then go to the vb/admin/user profile and kill the two LDM user profile fields. This will get rid of the blank displays. But I'd prefer a better solution.
- add a section on the 'statistics' tab on profile to display: 'total documents', 'total video's' and 'total audio'? Note that video, documents and audio are separate categories in my LDM.
Will think about this.
Does the swf uploader use a different url, than local_links.php?action=addlink ? I was just wondering, because I don't get it to work from local_links.php?action=addlink
If you have installed the extra and enabled it on ldm/admin/settings, then the normal add link page will simply have a swfupload-enabled upload box in exactly the same place as the standard upload box. The add multi link page will not work with swfupload at present.
Rouzbeh1
04-24-2008, 08:56 AM
oh forgot to mention.
i have this conf as a .htaccess file in my public_html
RewriteEngine On
#RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
#RewriteRule (.*)local_links/links/([^0-9]+)$ /$1$2 [L]
#RewriteRule (.*)local_links/links/([0-9]+)/([0-9]+)$ /$1local_links.php?catid=$2&linkid=$3 [L]
#RewriteRule (.*)local_links/links/([0-9]+)$ /$1local_links.php?catid=$2 [L]
#RewriteRule (.*)local_links/jump/([0-9]+)/([0-9]+)$ /$1local_links.php?action=jump&id=$2&catid=$3 [L]
#RewriteRule (.*)local_links/jump/([0-9]+)$ /$1local_links.php?action=jump&id=$2 [L]
#RewriteRule (.*)local_stream/([0-9]+)$ /$1local_stream.php?action=stream&id=$2 [L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)$ $1local_links.php?catid=$2 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/jump/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=jump&catid=$2&id=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)(\?page=[0-9]+)$ $1local_links.php?catid=$2&page=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)(\?page=[0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3&page=$4 [R,L]
AndrewD
04-24-2008, 03:30 PM
Thanks
1)
-- cat_icon_new
-- cat_icon_new
-- subcat_icon
still not showing up. :( its not reading the "forums/" folder and gets an error (doubles up the forums directory) if you put it in manually eg:
- ldm no cat icons (http://www.unrealaddicts.com/forums/local_links.php)
I think you are entering these incorrectly. They should be *relative* to the forum, not relative to the forum's parent,
i.e. you should specify /linksdownloads/icons/ not /forums/linksdownloads/icons/
2) template_linkbit (short: title+thumb): TITLE is not appearing. :(
bug (at least for me): ldm no title (http://www.unrealaddicts.com/forums/local_links.php?catid=7)
my bug. If you edit the links_linkbit_short template and replace $linkurlshortlink by $linkurllink, you should be ok
3) also, would be nice to see a bullet or something next to the items in the statistics. (or as an options).
too hard to read individual items otherwise. (don't know where one starts and another ends).
- LDM (right side stats) (http://www.unrealaddicts.com/forums/local_links.php)
will do
RikiB
04-24-2008, 04:45 PM
Hey Andrew, I know you are getting slammed with tons of feedback but I just wanted to see if you had a moment to look into updating the reset hit count on the limitaccess-byhits-plugin.
No rush, the workaround Im using now is just increase the global hit count.
Riki
AndrewD
04-24-2008, 05:06 PM
Hey Andrew, I know you are getting slammed with tons of feedback but I just wanted to see if you had a moment to look into updating the reset hit count on the limitaccess-byhits-plugin.
No rush, the workaround Im using now is just increase the global hit count.
Riki
Working on it right now.
What I am doing is making it possible to selectively clear hits from the download table and to re-order how these hits are presented on the admin hits pages to make it easier to find a particular access. This is the simplest way to achieve what you want.
Alfa1
04-24-2008, 06:22 PM
If you have installed the extra and enabled it on ldm/admin/settings, then the normal add link page will simply have a swfupload-enabled upload box in exactly the same place as the standard upload box. The add multi link page will not work with swfupload at present.
I see now. This looks nice! Thank you.
Please consider adding a flash based file browser / uploader similar to the one putfile has. Image preview for pictures and video's would be nice.
I have the JW player in linkbit which look really nice. Is there any way to let JW player handle the flash sites or alternatively to have the flashsites play in linkbit?
Regarding the similar threads addon: The title of the block is 'Similar Entries in Threads'. This does not seem logical. Since the title of the vbulletin function is 'similar threads', it seems more logical to name the LDM title 'similar files'.
Is there any way to make the linkbit used look like the similar threads linkbit?
I have the same question about LDM categories: is there any way to make them look like forum categories, forums and subforums?
I noticed the add new linkbit extra. Can I use this somehow to create linkbits to resemble forum categories, forums and subforums?
GrendelKhan{TSU
04-25-2008, 08:10 AM
Thanks
I think you are entering these incorrectly. They should be *relative* to the forum, not relative to the forum's parent,
i.e. you should specify /linksdownloads/icons/ not /forums/linksdownloads/icons/
I tried both ways.
1) when I do as relative to forums it shows up as
http://www.unrealaddicts.com/linksdownloads/icons/Clan-TSU-logo-icon-80x80.gif
(note: MISSING the /forums/ folder)
2) when I add /forums/
it ends with an error (cause of TWO /forums/ folders) ie:
cat_icon (/forums/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg) Cannot find icon 'http://www.unrealaddicts.com/forums/forums/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg'
:/
AndrewD
04-25-2008, 10:22 AM
I tried both ways.
1) when I do as relative to forums it shows up as
http://www.unrealaddicts.com/linksdownloads/icons/Clan-TSU-logo-icon-80x80.gif
(note: MISSING the /forums/ folder)
2) when I add /forums/
it ends with an error (cause of TWO /forums/ folders) ie:
cat_icon (/forums/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg) Cannot find icon 'http://www.unrealaddicts.com/forums/forums/linksdownloads/icons/music-to-frag-to-Clan-TSU.jpg'
:/
How exactly are entering the 'relative to forum' string?
Can you also check and let me know the setting of 'forum url' on your vb/admincp
WebmasterSimds
04-25-2008, 05:42 PM
Andrew,
Hello, I installed the latest greatest version of vb and your mod. my question is this. what switches do i need to change to fix this that i get up at the top of the LDM section?
Warning: Cannot use a scalar value as an array in [path]/includes/local_links_vbafunc.php on line 436
Warning: Invalid argument supplied for foreach() in [path]/includes/local_links_vbafunc.php on line 436
it only happens when i am directly in the LDM section itself.
Thanks In Advance
RikiB
04-26-2008, 02:12 AM
I started testing the flv and xml jmplayer, Im getting this now
Call to undefined function: strripos() in /home/username/public_html/forum/includes/local_links_players.php(391) : eval()'d code on line 5
Ill keep poking at it and post if I find out what it is, I figured it is some addon i dont have installed or something.
*Edit*
Looks like it only does it when I set xmlJWplayer_active to yes. when I set this to yes I get the error with flv and xml.
AndrewD
04-26-2008, 03:45 AM
I started testing the flv and xml jmplayer, Im getting this now
Call to undefined function: strripos() in /home/username/public_html/forum/includes/local_links_players.php(391) : eval()'d code on line 5
Ill keep poking at it and post if I find out what it is, I figured it is some addon i dont have installed or something.
*Edit*
Looks like it only does it when I set xmlJWplayer_active to yes. when I set this to yes I get the error with flv and xml.
This is a problem caused by your version of php (4). I usually manage to trap this one so will take a look at the xmlJW player to see what I forgot.
RikiB
04-26-2008, 04:15 AM
Ill try upgrading my php version
Lindsey
04-26-2008, 04:18 AM
Could someone please tell me if this will work for files lets say over 100+Mb and is it ready for 3.7 RC 4? ;)
Thank you,
RikiB
04-26-2008, 04:24 AM
well that seemed to work, going from php4 to 5.2.5, however one terrifying thing is my categories are gone on the download page, nothing is there.
yikes, I better check all my settings!
*Edit*
Everything fixed, thanks again Andrew, I needed to upgrade to php5 anyway.
Riki
RikiB
04-26-2008, 04:37 AM
Could someone please tell me if this will work for files lets say over 100+Mb and is it ready for 3.7 RC 4? ;)
Thank you,
I saw a fix in the changelist that says the 100+MB now works in IE7, I cant say about RC4 though, Im still on 3.6.9
AndrewD
04-26-2008, 05:35 AM
Could someone please tell me if this will work for files lets say over 100+Mb and is it ready for 3.7 RC 4? ;)
Thank you,
It will be fully ready with the 3.7 RC4 CSRF fix this weekend (unless something goes badly wrong :)). I think the current beta code will also be fine with RC4, except that does not have the CSRF fix in it.
The standard uploading code works with any size of file, provided that your php and other site settings are adequate (max_post_size, etc). However, large form based uploads tend to be problematic - this is not an LDM problem, it's inherent in the method.
The swfupload 'extra' gives you a progress bar and better recovery handling for large diagnostics. According to the information provided via Adobe, etc, it should only work up to 100Mb, however, I (and others) have found that it works fine with bigger files. Again, you have to have the php settings correct.
Lindsey
04-26-2008, 06:39 AM
Thank you AndrewD. Would you know the day the rc4 one will come out..?
AndrewD
04-26-2008, 07:18 AM
Thank you AndrewD. Would you know the day the rc4 one will come out..?
I'm just tidying up at the moment. I imagine it will be tomorrow.
AndrewD
04-26-2008, 12:03 PM
Andrew,
Hello, I installed the latest greatest version of vb and your mod. my question is this. what switches do i need to change to fix this that i get up at the top of the LDM section?
it only happens when i am directly in the LDM section itself.
Thanks In Advance
I think that this is a bug in the LDM 2.2.9 beta, which I've since fixed. There will be a new version very soon.
AndrewD
04-26-2008, 12:56 PM
I see now. This looks nice! Thank you.
Please consider adding a flash based file browser / uploader similar to the one putfile has. Image preview for pictures and video's would be nice.
Will take a look.
I have the JW player in linkbit which look really nice. Is there any way to let JW player handle the flash sites or alternatively to have the flashsites play in linkbit?
Sorry! I spent most of my Christmas vacation getting that working, and then trapvid closed down.
Regarding the similar threads addon: The title of the block is 'Similar Entries in Threads'. This does not seem logical. Since the title of the vbulletin function is 'similar threads', it seems more logical to name the LDM title 'similar files'.
Fixed in the next release.
Is there any way to make the linkbit used look like the similar threads linkbit?
I have the same question about LDM categories: is there any way to make them look like forum categories, forums and subforums?
I noticed the add new linkbit extra. Can I use this somehow to create linkbits to resemble forum categories, forums and subforums?
i.e. we need a catbit and a linkbit which look like VB forums and posts. I'll give it go, but not today.
Alfa1
04-26-2008, 01:19 PM
Thanks!
Google is indexing local_links.php?action=sendtofriend. Is there a way to disable this function for guests?
Is it possible to have the link validation(check for broken links) process to be executed by cron? If yes, could you please explain how?
AndrewD
04-27-2008, 06:01 AM
Thanks!
Google is indexing local_links.php?action=sendtofriend. Is there a way to disable this function for guests?
Turn off can_send_tofriend permission for unregistered users on LDM/admin/permissions
Is it possible to have the link validation(check for broken links) process to be executed by cron? If yes, could you please explain how?
Do you mean as a system cron or a VB cron? I haven't explored the first, but will think about how it could be done. The second is not a good idea - validation is a very cpu intensive task and VB crons are executed in the margin of normal page visits.
AndrewD
04-27-2008, 06:03 AM
Is now available at the start of this thread, all known bugs fixed and CSRF patch applied for VB 3.6.10/3.7.0RC4. Will appreciate reports.
RikiB
04-27-2008, 07:14 AM
Im still on 3.6.9 (about to do the upgrade).
I verified that the delete hits per user works great now (RC1).
On the allowances page I check delete and hit Go and it doesnt work, however if I go into the hits on that user, and select all, and hit delete, it works perfect.
Thanks!
Riki
AndrewD
04-27-2008, 07:43 AM
Im still on 3.6.9 (about to do the upgrade).
I verified that the delete hits per user works great now (RC1).
On the allowances page I check delete and hit Go and it doesnt work, however if I go into the hits on that user, and select all, and hit delete, it works perfect.
Thanks!
Riki
The delete option on the main allowances page is intended for mass clear-outs, either of hits that happened before the set you show, or the set itself. It's a bit of a nuclear bomb. As you say, to clear individual user hits, you need to drill down a page.
RikiB
04-27-2008, 07:52 AM
Ive been messing around with it and I really love the feature, If someone is having problems with 1 file I can just delete all the tries for the 1 file and so on. I upgraded VB and all seems well, Thanks!
Riki
RikiB
04-28-2008, 01:19 AM
There has to be a simple explanation, but for some reason all of my flv and xml files will download like a normal file with IE7 (instead of playing in the media player). Works perfect with Firefox, but not in IE7. Its there an easy fix for this?
Riki
RikiB
04-28-2008, 02:03 AM
This isnt a big deal with me, but I also cannot get SEO to work no matter what I try. It could be a nice addition if I ever get it working.
What I tried was just enabling Yes (also tried extended).
I added this the the .htaccess file in the root of my site (public_html)
(My forum resides in /forum from public_html)
Options All -Indexes
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)$ $1local_links.php?catid=$2 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/jump/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=jump&catid=$2&id=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)(\?page=[0-9]+)$ $1local_links.php?catid=$2&page=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)(\?page=[0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3&page=$4 [R,L]
I also tried creating a new .htaccess file and putting it in my /forum director and it doesnt work, I put this
Options All -Indexes
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)$ $1local_links.php?catid=$2 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/jump/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=jump&catid=$2&id=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)(\?page=[0-9]+)$ $1local_links.php?catid=$2&page=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)(\?page=[0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3&page=$4 [R,L]
Like I said, its not a huge deal with me, but maybe I can help others who are struggling with this as well, it would be neat to figure out.
Riki
AndrewD
04-28-2008, 03:15 AM
This isnt a big deal with me, but I also cannot get SEO to work no matter what I try. It could be a nice addition if I ever get it working.
What I tried was just enabling Yes (also tried extended).
I added this the the .htaccess file in the root of my site (public_html)
(My forum resides in /forum from public_html)
Options All -Indexes
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)$ $1local_links.php?catid=$2 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/jump/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=jump&catid=$2&id=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)(\?page=[0-9]+)$ $1local_links.php?catid=$2&page=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)(\?page=[0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3&page=$4 [R,L]
I also tried creating a new .htaccess file and putting it in my /forum director and it doesnt work, I put this
Options All -Indexes
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)$ $1local_links.php?catid=$2 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/jump/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=jump&catid=$2&id=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3 [R,L]
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)(\?page=[0-9]+)$ $1local_links.php?catid=$2&page=$3 [R,L]
RewriteRule (.*)local_links/play/c-[^/]+-([0-9]+)/([0-9]+)(\?page=[0-9]+)$ $1local_links.php?action=play&catid=$2&linkid=$3&page=$4 [R,L]
Like I said, its not a huge deal with me, but maybe I can help others who are struggling with this as well, it would be neat to figure out.
Riki
Try putting a forward slash in front of the second part of each of the rules, e.g.:
RewriteRule (.*)local_links/links/c-[^/]+-([0-9]+)$ /$1local_links.php?catid=$2 [R,L]
RikiB
04-28-2008, 04:14 AM
I tried adding the slash to the 2nd part of the rule, unfortunately it didn't work.
I tried both in the site root and the forum root, does it matter which one the .htaccess file needs to be in?
What happens is I click on a category in the LDLM and it just says page not found.
AndrewD
04-28-2008, 05:04 AM
I tried adding the slash to the 2nd part of the rule, unfortunately it didn't work.
I tried both in the site root and the forum root, does it matter which one the .htaccess file needs to be in?
What happens is I click on a category in the LDLM and it just says page not found.
I'm at a bit of a loss with this - the rules I suggested (with the /) work for me in my httpd.conf file and for another user in his .htaccess file - without the slash it would only work in the httpd.conf. mod_rewrite is (as has been said) voodoo. Its behaviour does change depending on where the rules are being read, i.e. in which directory the .htaccess file is placed. One really needs access to its log file to sort out what is happening - I imagine you don't have this possibility?
I'll see if I can dig any further.
GrendelKhan{TSU
04-29-2008, 10:34 AM
How exactly are entering the 'relative to forum' string?
Can you also check and let me know the setting of 'forum url' on your vb/admincp
I think you still have adminid on my board from last time. I'll pm you the info again if that's ok.
josiespencer
04-29-2008, 06:36 PM
OK, I think I am misunderstanding the how the can_view_hidden setting works. I grant this permission to a user group. Then I hard code the link in a post like this:
AC020 - Investment Management (http://uber-goober.com/forums/local_links.php?catid=1&linkid=3891)
When a user in this group clicks on the hyperlink created by the above code, I expect them to be able to download the file. But they get this error message instead:
Sorry - there is nothing here to show you (no permission, all entries hidden, etc)
How is this supposed to work? I don't want my users doing searches, I want every link to be hard coded in a post.
AndrewD
04-30-2008, 04:54 AM
OK, I think I am misunderstanding the how the can_view_hidden setting works. I grant this permission to a user group. Then I hard code the link in a post like this:
AC020 - Investment Management (http://uber-goober.com/forums/local_links.php?catid=1&linkid=3891)
When a user in this group clicks on the hyperlink created by the above code, I expect them to be able to download the file. But they get this error message instead:
How is this supposed to work? I don't want my users doing searches, I want every link to be hard coded in a post.
As you say, wrong permission - entries can be 'hidden' (explicitly or e.g. by post-dating them) - and *can_view_hidden* controls whether the usergroup can see these hidden entries or not.
I think the permission to use is *can_access_link* (with 2.2.9, or - required with earlier versions - the forums based permissions system)
Also your url in the forum should be ..php?action=jump&... to take authorised users directly to the download and unauthorised users to an error. Otherwise, users without the permission will simply get to see the usual LDM page with an entry with no hyperlink.
Rouzbeh1
04-30-2008, 10:21 AM
hi Andrew,
for some reason (which i don't know) i'm not able to edit any categories
getting this message:
Your submission could not be processed because a security token was missing or mismatched.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
ADD: this happens also when i try to add a category
AndrewD
04-30-2008, 10:54 AM
hi Andrew,
for some reason (which i don't know) i'm not able to edit any categories
getting this message:
ADD: this happens also when i try to add a category
have you got all the latest RC code and templates installed or have you patched any of the standard LDM templates?
The error is generated by the latest vbulletin code when a form does not have the correct CSRF security token. I added all these tokens in the latest templates.
Rouzbeh1
04-30-2008, 11:17 AM
oh thank you
problem fixed
josiespencer
04-30-2008, 03:34 PM
Thanks!
RikiB
04-30-2008, 04:34 PM
For some reason my flv and xml links wont play in IE7, they only download when I click the link. Is there anything special I need to do to get it working in IE7? (works fine in FireFox)
Riki
webspider
04-30-2008, 04:57 PM
This appears to be a great addon.
After installation I tried to access various sections from my ACP and was presented with a VB no permission error page specifically "Statistics & Searches" I'm logged in as admin. Any idea why this may be happening?
Many thanks!
Andrew, Im getting "Operation Aborted" Error on IE when pop-up comments are enabled on every entry page
Any solution?
Thanks
AndrewD
04-30-2008, 07:02 PM
This appears to be a great addon.
After installation I tried to access various sections from my ACP and was presented with a VB no permission error page specifically "Statistics & Searches" I'm logged in as admin. Any idea why this may be happening?
Many thanks!
Sorry, I'd overlooked that.
Those acp commands take you to LDM pages that no longer exist, which is why there's an error message. Will fix.
AndrewD
05-01-2008, 05:08 AM
Andrew, Im getting "Operation Aborted" Error on IE when pop-up comments are enabled on every entry page
Any solution?
Thanks
According to a Google search, this may be a bug in IE, caused when Javascripts modify pages 'on the fly', which is the case with the vbulletin code that handles the comment pop-ups. I cannot reproduce the bug within LDM but I can easily generate the bug with a short test script (see attached).
Have you got other Javascripts embedded into your pages? Possibly, there's a conflict.
tekguru
05-01-2008, 05:09 AM
Hi guys, yesterday I upgraded to the RC 2.29 version with vB 3.6.10 to get around the security token issue.
Two days prior to this the server the site runs on was ugraded (with no issues) to MySQL 5.0.45.
Since these two changes I'm seeing:
1) MySQL errors:
Database error in vBulletin 3.6.10:
Invalid SQL:
UPDATE vb_session
SET lastactivity = 1209614372, location = '/forums/local_links.php?action=jump&id=164&catid=8', useragent = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SU 3.011; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2; Zune 2.0; .NET CLR 3.5.21022)'
WHERE sessionhash = '65f940813662b64ba0952843a5cfddd9';
MySQL Error : MySQL server has gone away Error Number : 2006
Date : Thursday, May 1st 2008 @ 05:00:38 AM
Script : http://www.4winmobile.com/forums/local_links.php?action=jump&id=164&catid=8
Referrer : http://www.4winmobile.com/forums/phone-edition-general/14865-slide2unlock-better-than-default-windows-screen-lock-customisable-too.html
IP Address : 24.17.203.240
Username : esamos
Classname : vB_Database
I'm not seeing any similar errors from any other part of the system.
2) Also if I try and use the FORUMHOME patches to display the top downloads I get a error on line 20 of the code and the page will not load. Is this because I'm running 3.6.10? I've taken the steps obn removing all addins, and them overwriting the Mod and readding with no changes to the issue. So for the moment we're having to run without these.
Any ideas on either?
AndrewD
05-01-2008, 06:42 AM
Hi guys, yesterday I upgraded to the RC 2.29 version with vB 3.6.10 to get around the security token issue.
Two days prior to this the server the site runs on was ugraded (with no issues) to MySQL 5.0.45.
Since these two changes I'm seeing:
1) MySQL errors:
Database error in vBulletin 3.6.10:
Invalid SQL:
UPDATE vb_session
SET lastactivity = 1209614372, location = '/forums/local_links.php?action=jump&id=164&catid=8', useragent = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SU 3.011; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2; Zune 2.0; .NET CLR 3.5.21022)'
WHERE sessionhash = '65f940813662b64ba0952843a5cfddd9';
MySQL Error : MySQL server has gone away Error Number : 2006
Date : Thursday, May 1st 2008 @ 05:00:38 AM
Script : http://www.4winmobile.com/forums/local_links.php?action=jump&id=164&catid=8
Referrer : http://www.4winmobile.com/forums/phone-edition-general/14865-slide2unlock-better-than-default-windows-screen-lock-customisable-too.html
IP Address : 24.17.203.240
Username : esamos
Classname : vB_Database
I'm not seeing any similar errors from any other part of the system.
These'a similar report on vb.com:
http://www.vbulletin.com/forum/showthread.php?p=1547346#post1547346
They suggest increasing the mySql wait_timeout setting, which controls how long the database connection stays open for a script. This would make sense with LDM - the sql that you report is executed right at the end of vbulletin page generation. Particularly if someone has just done a download, then the database connection might have closed down in the meantime.
Also if I try and use the FORUMHOME patches to display the top downloads I get a error on line 20 of the code and the page will not load. Is this because I'm running 3.6.10? I've taken the steps obn removing all addins, and them overwriting the Mod and readding with no changes to the issue. So for the moment we're having to run without these.
Any ideas on either?
I'll test this and post a reply when possible.
tekguru
05-01-2008, 07:12 AM
Cheers Andrew, have requested that my host sends me a copy of the ini file for MySQL to I can take a look at it.
If you can come back on the errors that would be great.
AndrewD
05-01-2008, 08:23 AM
If you can come back on the errors that would be great.
I'd moved some code into a new file and forgotten to update the plugin.
Here are modified versions of the plugins for the patch-forumhome-newlinks and patch-forumhome-thumbs extras.
tekguru
05-01-2008, 09:41 AM
Okay those are now in and the error is gone - cheers for that.
Next problem is that he icons associated with the entries now showing hav an X for the image. Looking at the image properties the code is looking for the icons:
http://www.4winmobile.com/forums/http://www.4winmobile.com/forums/images/icons/zip.gif
instead of at:
http://www.4winmobile.com/forums/images/icons/zip.gif
Any ideas if I can fix this one? This is with the 'hot' entries only)
AndrewD
05-01-2008, 10:22 AM
Okay those are now in and the error is gone - cheers for that.
Next problem is that he icons associated with the entries now showing hav an X for the image. Looking at the image properties the code is looking for the icons:
http://www.4winmobile.com/forums/http://www.4winmobile.com/forums/images/icons/zip.gif
instead of at:
http://www.4winmobile.com/forums/images/icons/zip.gif
Any ideas if I can fix this one? This is with the 'hot' entries only)
Try this version of includes/local_links_vbafunc.php
tekguru
05-01-2008, 11:04 AM
And fixed :) Nicely done and cheers for the quick response!
AndrewD
05-01-2008, 01:53 PM
For some reason my flv and xml links wont play in IE7, they only download when I click the link. Is there anything special I need to do to get it working in IE7? (works fine in FireFox)
Riki
Not sure - flvs and xmls are working fine for me with both IE7 and Firefox. Can you explain a bit more?
tekguru
05-01-2008, 04:05 PM
Hi Andrew another problem I'm afraid, one of my Moderators has just advised that the downloads are not working.
I've just tested one:
http://www.4winmobile.com/forums/local_links.php?catid=8&linkid=167
When the link is clicked upon it opens:
http://www.4winmobile.com/forums/local_links.php?action=jump&catid=8&id=167
And a blank page appears, but no download.
Any ideas (once again)?
tekguru
05-01-2008, 04:15 PM
Self fixed :)
I'd forgotten to add in the Extras for additional MIME types....
Apologies for the false alarm!
webspider
05-01-2008, 06:21 PM
I must be missing the obvious :) How do you setup a link for your visitors to access the manager?
webspider
05-01-2008, 06:34 PM
I must be missing the obvious :) How do you setup a link for your visitors to access the manager?
Solved :)
RikiB
05-01-2008, 10:05 PM
Not sure - flvs and xmls are working fine for me with both IE7 and Firefox. Can you explain a bit more?
I guess Ill check my settings again, its strange, I click the link in IE7 and it just downloads it instead of playing the video.
On another note, in the category description, when I type in a link using html it seems to count the characters in the html and breaks the line because its too long, vbulletin doesn't seem to do that itself, so I think maybe its just a bug.
Thanks
Riki
itsblack
05-02-2008, 12:10 PM
Hi Andrew, here is the chinese translation for 2.9 RC1. Lot of phrases have been updated, inclusive some old translations.
AndrewD
05-02-2008, 01:27 PM
Hi Andrew, here is the chinese translation for 2.9 RC1. Lot of phrases have been updated, inclusive some old translations.
Thanks. There may be just a couple more in the final release.
AndrewD
05-02-2008, 01:33 PM
I guess Ill check my settings again, its strange, I click the link in IE7 and it just downloads it instead of playing the video.
May I take a look at your site myself? Sometimes these things are browser/cache dependent, but if there's a real bug, I want to get rid of it.
On another note, in the category description, when I type in a link using html it seems to count the characters in the html and breaks the line because its too long, vbulletin doesn't seem to do that itself, so I think maybe its just a bug.
You mean that you are including a url as raw html in the category description? You are using the word_wrap setting?
josiespencer
05-02-2008, 04:10 PM
I'm having a weird problem - the daily accesses count is always 0 "0 Files during last 24 hours". But I know people have downloaded files.
RikiB
05-02-2008, 06:14 PM
May I take a look at your site myself? Sometimes these things are browser/cache dependent, but if there's a real bug, I want to get rid of it.
I dont know how, but I think I got it working. If I find anymore out about this I will post it.
You mean that you are including a url as raw html in the category description? You are using the word_wrap setting?
Yes, I include a link inside the category description like this:
<a href="http://website.com/forum/faq.php?faq=pdinfo#faq_dlm">See our recommendations</a>.
And it seems to count all of theses characters and splits the line. For example,
instead of getting something like this:
For help with a list of options See our recommendations
I get this:
For help with a list of options
See our recommendations
RikiB
05-02-2008, 06:26 PM
I almost forgot, yes I tried playing with the word wrap settings and it didnt seem to effect it much.
Ipuck
05-02-2008, 07:04 PM
AndrewD
In my site some users don't have access to all the links, they can see the links but they can click on it.
Question:
How can I add a icon (like a lock) at the end of the link just for the user that don't have access to the link.
Thanks!
AndrewD
05-03-2008, 05:10 AM
AndrewD
In my site some users don't have access to all the links, they can see the links but they can click on it.
Question:
How can I add a icon (like a lock) at the end of the link just for the user that don't have access to the link.
Thanks!
I'll include this in the next upload. When an entry is visible but not accessible, the 'filetype' icon will change to a padlock.
AndrewD
05-03-2008, 05:24 AM
I'm having a weird problem - the daily accesses count is always 0 "0 Files during last 24 hours". But I know people have downloaded files.
Do you mean that the admin/allowances page is showing zero accesses or do you mean somewhere else?
AndrewD
05-03-2008, 06:13 AM
Yes, I include a link inside the category description like this:
<a href="http://website.com/forum/faq.php?faq=pdinfo#faq_dlm">See our recommendations</a>.
And it seems to count all of theses characters and splits the line. For example,
instead of getting something like this:
For help with a list of options See our recommendations
I get this:
For help with a list of options
See our recommendations
I can't find anything wrong with the code, so I may need more help in understanding your settings.
Can you just check the following - edit the category and make sure that you have not inadvertently added a line break in either the category description or the extended category description at the point where the text is wrapping. These are easy to insert by mistake and impossible to see. If you are using the same extended description as standard description, it's worth clearing the extended description and letting LDM recreate it from the standard text.
Ipuck
05-03-2008, 05:16 PM
I'll include this in the next upload. When an entry is visible but not accessible, the 'filetype' icon will change to a padlock. Excellent!! https://vborg.vbsupport.ru/external/2008/05/66.gif
Clinotus
05-03-2008, 11:05 PM
Will this thumbnail pdfs?
RikiB
05-04-2008, 12:53 AM
I can't find anything wrong with the code, so I may need more help in understanding your settings.
Can you just check the following - edit the category and make sure that you have not inadvertently added a line break in either the category description or the extended category description at the point where the text is wrapping. These are easy to insert by mistake and impossible to see. If you are using the same extended description as standard description, it's worth clearing the extended description and letting LDM recreate it from the standard text.
Thanks for checking the code, so I went back and messed with it and simply removed a few extra spaces and it seemed to fix the problem. Sometimes I guess the wires just need to be wiggled a bit to get things working :)
Thanks again,
Riki
AndrewD
05-04-2008, 03:59 AM
Will this thumbnail pdfs?
No, not currently.
wcsconcierge
05-04-2008, 05:02 PM
Everything seemed to install OK, but then I got a an error message from the system that the datastore table does not exist. How do I correct this?:confused:
AndrewD
05-05-2008, 03:46 AM
Everything seemed to install OK, but then I got a an error message from the system that the datastore table does not exist. How do I correct this?:confused:
I am also confused. LDM does not use or touch the datastore tables. Was vbulletin working correctly before the upgrade and have you installed anything else?
myown
05-05-2008, 04:46 AM
it works with 3.7 Gold ?
AndrewD
05-05-2008, 04:58 AM
it works with 3.7 Gold ?
It works with 3.7 Gold, although this is not yet the 'Gold' 2.2.9 release. The bugs reported so far are minor and there are also one or two minor changes to be made in the final code.
wcsconcierge
05-05-2008, 06:03 PM
I must have missed it, but I am looking to add LDM to my navbar. How can I do that?:confused:
AndrewD
05-05-2008, 06:14 PM
I must have missed it, but I am looking to add LDM to my navbar. How can I do that?:confused:
It's explained in the wiki:
http://www.eirma.org/wikis/index.php/Installing_LDM#Integrating_LDM_into_your_board
wcsconcierge
05-05-2008, 06:40 PM
Thanks, I new it had be explained somewhere, I just missed it. Great product!!
webspider
05-06-2008, 12:52 PM
I've setup a links section as well as an upload /download section for files. I'm wondering though why users without "Download attachment" permissions can download files?
I found this but I have no usergroups selected
can_bypass_forumperms
AndrewD
05-06-2008, 08:08 PM
I've setup a links section as well as an upload /download section for files. I'm wondering though why users without "Download attachment" permissions can download files?
I found this but I have no usergroups selected
can_bypass_forumperms
LDM does not use the vbulletin permissions directly. It has its own set of permissions. The wiki (http://www.eirma.org/wikis/index.php/Links_and_Downloads_Manager) explains these - you can either 'associate' your entries and categories with forums which are protected, or you can use the inbuilt LDM permissions system.
webspider
05-06-2008, 09:44 PM
Thanks for the reply.
So Usergroup permissions won't work. Okay no biggy.
dilbert
05-06-2008, 11:19 PM
Andrew,
This continuies to be a terrific mod.
I just updated my site to 3.7, and I reinstalled all of LDM, and re-imported the xml.
I have two issues.
My footer seems to be stuck with info from an older footer. Isn't it using the vB footer?
Also, I have Ultimate Side Columns 2.0 installed and they don't show on the LDM pages. Any thoughts on why?
Thanks, Cliff
RikiB
05-07-2008, 03:00 AM
Sorry to bring this back up but I just wanted to be clear. If I stream an external link through ldlm it will count against my bandwith on my host server? I switched to a VPS with bandwidth limits and I just need to make sure. Thanks!
Riki
AndrewD
05-07-2008, 04:07 AM
Thanks for the reply.
So Usergroup permissions won't work. Okay no biggy.
Sorry if this is unclear. Usergroup permissions certainly do work. It's just that you have to use one of the LDM permissions systems - in-built and forums-based. LDM does not automatically extend specific forum permissions such as 'rights to download attachments'
In-built
Suppose you want to block 'unregistered users' from being able to see anything. You would go to LDM/admin/permissions and remove *can_view_category* and *can_access_link* from that usergroup.
If you wanted to block these users only from seeing anything in category XYZ. Then you would go to that category, edit it, go to the permission tab and remove the same permissions from this usergroup
There are a whole series of LDM permissions, and they all work on a usergroup basis.
Forums-based
This was the original permissions system built into the early versions of LDM. To use it, you choose one of your forums which has the correct access rights: LDM looks at the *can_view_forum* and *can_view_others_threads* forum permissions.
Then you use the add/edit category, add/edit entry forms and 'associate' your categories/entries with this forum using the relevant box on the form.
Subsequently, when a user tries to access that category/entry, LDM will look up these permissions from the forum and deny/grant access accordingly.
This mechanism will also pick up forum passwords - if the category/entry is asociated with a password-protected forum, then the user will be asked for that password.
AndrewD
05-07-2008, 04:10 AM
Andrew,
This continuies to be a terrific mod.
I just updated my site to 3.7, and I reinstalled all of LDM, and re-imported the xml.
I have two issues.
My footer seems to be stuck with info from an older footer. Isn't it using the vB footer?
Also, I have Ultimate Side Columns 2.0 installed and they don't show on the LDM pages. Any thoughts on why?
Thanks, Cliff
Yes, LDM uses the vb footer, which gets included in the links_footer template. Have you patched that template by any chance - you may need to revert it.
I don't know about UIltimate Side Columns, but will check what is the problem.
AndrewD
05-07-2008, 04:13 AM
Sorry to bring this back up but I just wanted to be clear. If I stream an external link through ldlm it will count against my bandwith on my host server? I switched to a VPS with bandwidth limits and I just need to make sure. Thanks!
Riki
If the LDM setting force_redirect is set to 0, then I imagine you will be charged for 2x the size of the external file - reading and writing, and 1x for local files but the location of the files stays hidden
If force_redirect is set to 1 or 2, then you will be charged no bandwidth for external files, but still 1x for local files, and you will also lose the security of hidden file handling
AndrewD
05-07-2008, 03:07 PM
Also, I have Ultimate Side Columns 2.0 installed and they don't show on the LDM pages. Any thoughts on why?
Thanks, Cliff
I did a clean install of Ultimate Side Columns 2.0 and it shows up straight away in LDM. Haven't dug around to look for possible reasons why it would fail.
tekguru
05-07-2008, 03:52 PM
Andrew just been preparing to go live on the main site and just doing final testing on the test site.
We needed to change the style that the L&D uses for its theme and got the:
"Your submission could not be processed because a security token was missing or mismatched."
Any ideas?
AndrewD
05-07-2008, 04:31 PM
Andrew just been preparing to go live on the main site and just doing final testing on the test site.
We needed to change the style that the L&D uses for its theme and got the:
"Your submission could not be processed because a security token was missing or mismatched."
Any ideas?
Did you have a pre-RC version installed with any of the templates patched? All the security tokens were added into the RC templates.
tekguru
05-07-2008, 05:48 PM
Fixed :) in the config it was still set to use an old 3.6.9 style so in the end I reverted the templates in that style and then that allowed me to change the setting so all is fine now with the 3.7.0 skin :)
dilbert
05-08-2008, 12:20 AM
I did a clean install of Ultimate Side Columns 2.0 and it shows up straight away in LDM. Haven't dug around to look for possible reasons why it would fail.
Hi Andrew,
The fact that it was using info from a prior footer made me suspicious, so I deleted the old style. I was hanging on to it for reference - I needed to recreate a lot of menu items.
It looks fine now.
obmob
05-08-2008, 03:16 AM
Andrew,
This continuies to be a terrific mod.
I just updated my site to 3.7, and I reinstalled all of LDM, and re-imported the xml.
I have two issues.
My footer seems to be stuck with info from an older footer. Isn't it using the vB footer?
Also, I have Ultimate Side Columns 2.0 installed and they don't show on the LDM pages. Any thoughts on why?
Thanks, Cliff
Yes, LDM uses the vb footer, which gets included in the links_footer template. Have you patched that template by any chance - you may need to revert it.
I don't know about UIltimate Side Columns, but will check what is the problem.
Maybe your some templates in you style needs to be reverted. footer template must be reverted in 3.7 :3
A lot of new phrases to be translated, already working on spanish version :D
Ipuck
05-11-2008, 01:21 AM
I uses some icons from here: http://www.famfamfam.com/ and some from the original LDM icon folder to create another set of icons. I though someone may like it.
AndrewD
05-11-2008, 04:51 AM
I uses some icons from here: http://www.famfamfam.com/ and some from the original LDM icon folder to create another set of icons. I though someone may like it.
Thanks :)
What did you think of the new icon set provided with LDM, which come from http://www.oxygen-icons.org/
Ipuck
05-11-2008, 05:46 AM
What did you think of the new icon set provided with LDM, which come from http://www.oxygen-icons.org/The icons are too large for me. I like small icons :-)
itsblack
05-11-2008, 06:10 AM
The icons from oxygen-icons.org are good, but IMHO which from famfamfam.com are better.
BTW Andrew, can you add a new feature that let LDM display all the items which have the same additional attributes? I think it will be very useful and helpful to the user.
tekguru
05-11-2008, 07:59 AM
Hmm strange I ended up with the same olds icons when I upgraded, if there a method to turn on the new icons?
itsblack
05-11-2008, 08:05 AM
Hmm strange I ended up with the same olds icons when I upgraded, if there a method to turn on the new icons?
Change to installation procedure
Release now automatically places the oxygen icons into images/ldm-ox-icons and sets up new installations to use them
Existing installations need to update *file_icons_dir* to use these icons
tekguru
05-11-2008, 03:47 PM
Ah ha I missed that one - now updated :)
avitor
05-11-2008, 05:46 PM
hii
i uploaded all files from -release to my forums direction
and not understand this part -
Upload /release/icon into an appropriate *forum* images directory, fr example, *forum*/images/ldm_icons.
is no file or folder name icon in this what i download from your posting thread
and what to do whet this ? development ?
i try to import the xml file to admin plagins direction - and gote massage to -fers upload all files to server
do you explane to me mor easy what to do ?
thank you wery match
Ipuck
05-11-2008, 05:46 PM
Right side column for AD or anything just for LDM and rearrange "keyword filter" - "sort by" into two columns instead of two rows.
Change "ldm_main" template. The place to add the information is at the end of the file.
Ipuck
05-11-2008, 05:56 PM
hii
i uploaded all files from -release to my forums direction
and not understand this part -
Upload /release/icon into an appropriate *forum* images directory, fr example, *forum*/images/ldm_icons.
is no file or folder name icon in this what i download from your posting thread
The folder "icon" is not longer in the new release. In the images directory box you have to write: /images/ldm-ox-icons/
and what to do whet this ? development ?
Ignore that folder
i try to import the xml file to admin plagins direction - and gote massage to -fers upload all files to server
do you explane to me mor easy what to do ?
thank you wery match
You have to upload all the files and folders in the "forums" folder to your forum directory before you upload the "product" .
tekguru
05-12-2008, 04:22 PM
Due to other pressures I'll have to wait until the release I think unfortunately.
Ipuck
05-12-2008, 04:56 PM
Thanks AndrewD!!!
Installed RC2 today, no problems all working OK :-).
Thanks for the pad lock, it looks great.
BTW the other set of icons already contains a pad lock image.
itsblack
05-12-2008, 06:15 PM
I got problem after upgraded to RC2. When I visit the category page, it displays "Category does not exist". But there's no problem by item page.
AndrewD
05-12-2008, 06:34 PM
I got problem after upgraded to RC2. When I visit the category page, it displays "Category does not exist". But there's no problem by item page.
sorry about that - go to ldm/admin/settings and turn off display of additional attributes for a while until I find the fix.
itsblack
05-12-2008, 06:45 PM
sorry about that - go to ldm/admin/settings and turn off display of additional attributes for a while until I find the fix.
OK.
AndrewD
05-12-2008, 06:50 PM
Reuploaded 2.2.9 RC2 with bug corrected I hope (change is in includes/local_links_include.php - bug only hits you if you have turned on display of additional attributes)
itsblack
05-12-2008, 07:13 PM
Reuploaded 2.2.9 RC2 with bug corrected I hope (change is in includes/local_links_include.php - bug only hits you if you have turned on display of additional attributes)
Thank you so much, Andrew, It's all right now.
And, the chinese translation for RC2.
Btw, I found a better rar.png icon that you can replace the small one in silk-icon set. Maybe the zip.png should also be replaced.
RikiB
05-13-2008, 05:54 AM
Everything seems great with RC2.
On a side note, I accidentally removed the file download display int he user profile. Where it shows the last files they downloaded and when. How do I get that back?
Thanks!
AndrewD
05-13-2008, 06:17 AM
Everything seems great with RC2.
On a side note, I accidentally removed the file download display int he user profile. Where it shows the last files they downloaded and when. How do I get that back?
Thanks!
LDM/admin/settings/profile_ldmactivity
RikiB
05-13-2008, 06:22 AM
Thanks, sorry for the dumb question :p If it was a snake it would have bit me!
Riki
AndrewD
05-13-2008, 06:34 PM
2.2.9 RC2 moved to start of thread.
Will become official release in a few days if no major problems are reported.
WebmasterSimds
05-13-2008, 09:03 PM
Andrew,
I hate to bother you. but when I go to edit an entry in LDM. I get this:
"Your submission could not be processed because a security token was missing or mismatched.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error."
I dont understand this, and yes I just got through updating to the latest greatest verion
Thanks in Advance
obmob
05-13-2008, 11:30 PM
So many phrases, so many! O__O
Will take some time to get them done into spanish ^.^'
AndrewD
05-14-2008, 03:57 AM
Andrew,
I hate to bother you. but when I go to edit an entry in LDM. I get this:
"Your submission could not be processed because a security token was missing or mismatched.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error."
I dont understand this, and yes I just got through updating to the latest greatest verion
Thanks in Advance
Have you edited any of the LDM templates, e.g. with an earlier version?
The error message is being generated by the latest version of vbulletin, as part of the CSRF security checks. All templates are now supposed to include a security token to prove that they came from the site itself. As far as I know, the latest version of LDM is consistent in using these tokens.
AndrewD
05-14-2008, 03:58 AM
So many phrases, so many! O__O
Will take some time to get them done into spanish ^.^'
I know - I'm sorry!
WebmasterSimds
05-14-2008, 04:07 AM
Have you edited any of the LDM templates, e.g. with an earlier version?
The error message is being generated by the latest version of vbulletin, as part of the CSRF security checks. All templates are now supposed to include a security token to prove that they came from the site itself. As far as I know, the latest version of LDM is consistent in using these tokens.
Andrew,
No i did not edit any of the templates. i did the RC1, and beyond regular VB upgrades till it came out as 3.7 but before i did teh 3.7 version (still in RC versions) I did the 2.2.9 RC-1 of your version.
Then went after i see it said upgraded (your Mod) i did a upgrade today, thats when it started to do that, then all of a sudden (not adding any extras from your extra folder yet) suddenly it stated that the LDM was shut down by the board administration.
So as soon as I seen that happen (owning a server) I went and pulled a prior backup of the whole site to restore the LDM. so my members could use it.
I do not know aht happened. I remember another time long ago in the 3.6.x version you came over and said to (I think) delete all the plug-ins for LDM, and re install them. (I Think) cause I believe you mentioned that it would interfear with the newest version you did.
So I am stuck. I want to have this and get it upgraded so what when you are out or RC versions I can get the latest going. but worried that something may go wrong.
Any suguestions??
AndrewD
05-14-2008, 04:27 AM
Andrew,
No i did not edit any of the templates. i did the RC1, and beyond regular VB upgrades till it came out as 3.7 but before i did teh 3.7 version (still in RC versions) I did the 2.2.9 RC-1 of your version.
Then went after i see it said upgraded (your Mod) i did a upgrade today, thats when it started to do that, then all of a sudden (not adding any extras from your extra folder yet) suddenly it stated that the LDM was shut down by the board administration.
So as soon as I seen that happen (owning a server) I went and pulled a prior backup of the whole site to restore the LDM. so my members could use it.
I do not know aht happened. I remember another time long ago in the 3.6.x version you came over and said to (I think) delete all the plug-ins for LDM, and re install them. (I Think) cause I believe you mentioned that it would interfear with the newest version you did.
So I am stuck. I want to have this and get it upgraded so what when you are out or RC versions I can get the latest going. but worried that something may go wrong.
Any suguestions??
Sorry to hear this. I'm on my way to the office now, but can take a look this evening if you like - send me a PM with site details.
Vtec44
05-14-2008, 11:23 PM
I updated mine from a 3.5.2 version to 3.7 and it is working great! Thanks for a very nice hack Andrew, I nominated this for MOTM.
abdelghani68
05-15-2008, 12:52 PM
hi
Thank you for this super add on. Can I ask you how to do for the wimpy button and wimpy player works every 2 at the same time. Because when I instal winpy button, the wimpy player or the jukebox doesn t works.
Thank you for your help and sorry for my language
Willygsm
05-15-2008, 04:55 PM
hi andrewD,
i get some problem after upgrade from 2.7.0 to 2.9.0
Now i can't set allowance to all my forum usergroup.
For e.g
moderator i can set like 1 gb for 30 days and member 500 mb for 30 days
I upload the picture here, pleaes hava a look. Thanks
Britmovie
05-16-2008, 01:00 PM
Hi no links are showing on the navbar when I use a custom template any ideas please?
www.britmovie.net/forum
RikiB
05-16-2008, 08:23 PM
This may sound crazy, but is there anyway to find out how fast someone is downloading a file? Perhaps LDLM can detect the speed in which the files are being downloaded?
Just curious if its possible, Thanks,
Riki
AndrewD
05-17-2008, 05:22 AM
This may sound crazy, but is there anyway to find out how fast someone is downloading a file? Perhaps LDLM can detect the speed in which the files are being downloaded?
Just curious if its possible, Thanks,
Riki
I don't think this is possible inside LDM - it's straightforward enough to calculate the time difference between when LDM itself starts to pass the file to the use and when it has finished its own work, but this does not tell you anything about other parts of the transmission process. I imagine that an accurate calculation would have to be done at the user end, e.g. with javascript, but that will also fail if the user has another download manager in place.
AndrewD
05-17-2008, 05:32 AM
Hi no links are showing on the navbar when I use a custom template any ideas please?
www.britmovie.net/forum
Hi -I'm afraid I don't understand your question - can you give me a bit more explanation?
AndrewD
05-17-2008, 05:38 AM
hi andrewD,
i get some problem after upgrade from 2.7.0 to 2.9.0
Now i can't set allowance to all my forum usergroup.
For e.g
moderator i can set like 1 gb for 30 days and member 500 mb for 30 days
I upload the picture here, please have a look. Thanks
Between 2.2.7 and 2.2.9, I changed the templates used for displaying the admin allowances page, so I wonder if you have modified any of the LDM template, e.g. link_admin
AndrewD
05-17-2008, 06:14 AM
hi
Thank you for this super add on. Can I ask you how to do for the wimpy button and wimpy player works every 2 at the same time. Because when I instal winpy button, the wimpy player or the jukebox doesn t works.
Thank you for your help and sorry for my language
I'm not sure I understand your question - the wimpy player plays mp3s through the jukebox and the wimpy button plays them 'inline' in the linkbit. So the button is supposed to over-ride the jukebox for mp3s. The jukebox should still work for other filetypes.
Britmovie
05-18-2008, 08:01 AM
Hi -I'm afraid I don't understand your question - can you give me a bit more explanation?
From what I understand when you install you can use a plugin to get a link in the navbar. This works for the default theme but not a custom. What do I put in the navbar to make a link to the links page?
AndrewD
05-18-2008, 09:02 AM
From what I understand when you install you can use a plugin to get a link in the navbar. This works for the default theme but not a custom. What do I put in the navbar to make a link to the links page?
I understand :)
There's an explanation of how to include LDM in the navbar at http://www.eirma.org/wikis/index.php/Installing_LDM. If you use the manual approach, you have to apply the change in all the styles (or set the styles up as child styles).
The option to 'auto-integrate' onto the navbar was included with the latest release (2.2.9 RC2 and onwards). Installation adds two plugins called "Links and Download Manager: Add LDM to VB navbar" and "Links and Download Manager: Add LDM Quick Search to VB navbar". These are inactive by default.
If you make one/both active (either vb/admincp/products and plugins or LDM/admin/LDM plugins), the links should get included in the navbar in any style, provided the navbar template still includes $template_hook[navbar_buttons_left] (for the main ldm link) and $template_hook[navbar_search_menu] for the quick search.
Let me know if there are problems with this - it's quite possible I've made a mistake somewhere.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.