vb.org Archive

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

General_ 11-25-2007 04:18 PM

Quote:

Originally Posted by AndrewD (Post 1389182)
Easiest wasy is with a short plugin, see http://www.eirma.org/wikis/index.php..._access_to_LDM

Great, Thank you!!

femsawyer 11-26-2007 07:02 PM

I recently upgraded my forums from 3.07 to 3.6.8 and the ldm from version 1.6 to 2.2.8

I'm having a problems with being able to edit an entry - even entries that I've submitted. I'm getting 2 different results on 2 different computers both of which using Firefox, so I'm not sure where the problem lies.

On one computer, when I click on the edit icon, a box pops up wanting me to save local_links.php

On the other one, it takes me to a blank page

What could be the cause of this?

GrendelKhan{TSU 11-27-2007 12:45 AM

hey hey long time over here. :)


ok weird problem/bug

1. no matter what I do I can't get the enlarged original pic to work. it worked once and used to work long time ago, but ever since the last few updates: LDM posts the thumbs, but no magnifying glass and no full size image (which is too bad as that was good seo for me :( )

I haven't made any template edits or extra mod (all via ldm admin)

any ideas what could be causing the problem?

2. also, found a bug.... once you choose "only for this category" for an upload... you can't get it back to "for all categories".

ps. that said, LDM is still add-on leet PWNAGE!! andrew still has best support and mod around :)

AndrewD 11-27-2007 04:00 AM

Quote:

Originally Posted by femsawyer (Post 1389818)
I recently upgraded my forums from 3.07 to 3.6.8 and the ldm from version 1.6 to 2.2.8

I'm having a problems with being able to edit an entry - even entries that I've submitted. I'm getting 2 different results on 2 different computers both of which using Firefox, so I'm not sure where the problem lies.

On one computer, when I click on the edit icon, a box pops up wanting me to save local_links.php

On the other one, it takes me to a blank page

What could be the cause of this?

I haven't tried an upgrade across so large a range of vb/ldm for some time, so I don't know what is going wrong. I'll try to rebuild a vb3.0.7 database to investigate this.

Although this is almost certainly not the underlying problem, since you are getting different results on different pcs, have you tried flushing the browser cache and have you tried with different browsers.

AndrewD 11-27-2007 04:19 AM

Welcome back!

Quote:

Originally Posted by GrendelKhan{TSU (Post 1389996)
hey hey long time over here. :)


ok weird problem/bug

1. no matter what I do I can't get the enlarged original pic to work. it worked once and used to work long time ago, but ever since the last few updates: LDM posts the thumbs, but no magnifying glass and no full size image (which is too bad as that was good seo for me :( )

I haven't made any template edits or extra mod (all via ldm admin)

any ideas what could be causing the problem?

Which linkbit are you using? If you are using the standard (Modern) linkbit, check that these lines appear about 20 lines into the links_linkbit template
Code:

<if condition="$linkimgmag">
<br />
<div style="margin-top:3px"><span class="smallfont">$linkimgmag</span></div>
</if>

Also check that the links_imgmag template exists and looks like this:
Code:

<if condition="$linkimg">
<a href="$RESIZE_SCRIPT.php?linkid=$linkid&amp;size=<if condition="$links_defaults[link_imagemagsize]">$links_defaults[link_imagemagsize]<else />0</if>" rel="lightbox[show]" target="_blank" title="$vbphrase[ll_enlarge_thumb]">
<if condition="$ldm_icon_cache['magnify']"><img border="0" src="$ldm_icon_cache[magnify]" alt="$vbphrase[ll_enlarge_thumb]" /><else />[+]</if></a>
</if>

Quote:

Originally Posted by GrendelKhan{TSU (Post 1389996)
2. also, found a bug.... once you choose "only for this category" for an upload... you can't get it back to "for all categories".

You means the 'display order' setting? I can't reproduce this problem.

Alfa1 11-27-2007 06:45 PM

I have successfully installed 2.2.8 on vb 3.6.8. After that I imported my database. (New server)
Now I get this error:
Quote:

The following setting(s) are invalid
upload_dir : /forum/links/downloads/
Cannot access or create directory /forum/links/downloads/ [/var/www/html/forum/links/downloads/forum/links/downloads/]
The path to the download DIR is /domains/mydomain/public_html/forum/links
I tried entering the full path into upload_dir but that doesn't help. Please advise.

auddi 11-28-2007 12:03 AM

when i enabled upload feature, and tried to create an entry using uploading file, i get:
Upload error - unable to move the uploaded file on server.

What could this problem be? The file upload dir has 777 perm. Where is LDM trying to move the file to? Thanks.

auddi 11-28-2007 12:13 AM

Quote:

Originally Posted by Alfa1 (Post 1390530)
I have successfully installed 2.2.8 on vb 3.6.8. After that I imported my database. (New server)
Now I get this error:

The path to the download DIR is /domains/mydomain/public_html/forum/links
I tried entering the full path into upload_dir but that doesn't help. Please advise.

you need to make the dir's perm 777.

femsawyer 11-28-2007 12:18 AM

Quote:

Originally Posted by AndrewD (Post 1390075)
I haven't tried an upgrade across so large a range of vb/ldm for some time, so I don't know what is going wrong. I'll try to rebuild a vb3.0.7 database to investigate this.

Although this is almost certainly not the underlying problem, since you are getting different results on different pcs, have you tried flushing the browser cache and have you tried with different browsers.

I tried with IE which I haven't used in months, cleared the cache anyway and when I click on the edit button, I get a IE cannot display the webpage.

AndrewD 11-28-2007 04:27 AM

Quote:

Originally Posted by auddi (Post 1390716)
when i enabled upload feature, and tried to create an entry using uploading file, i get:
Upload error - unable to move the uploaded file on server.

What could this problem be? The file upload dir has 777 perm. Where is LDM trying to move the file to? Thanks.

Uploads are placed in a temporary directory by the server/php system, then moved by LDM to the directory you have specified. The error message comes from the system function that is trying to do this file move.

I thought that I had coded all the necessary checks on this - but

- Is your server running php in safe mode.
- Does your server have restrictions on the php open_basedir

(You can check both of these on the left column of the main LDM admin pages)

AndrewD 11-28-2007 04:32 AM

Quote:

Originally Posted by femsawyer (Post 1390729)
I tried with IE which I haven't used in months, cleared the cache anyway and when I click on the edit button, I get a IE cannot display the webpage.

OK. Sorry about this.

I cannot quickly check this upgrade from vb 3.0.x, as it requires me to reinstall sql 4. I can try this at the weekend.

Alternatively, you might let me check your site - in which case, send me a PM with details and an account with vb admin privs.

Alfa1 11-28-2007 12:32 PM

Never mind. I found the problem and fixed it.

femsawyer 11-28-2007 02:51 PM

Quote:

Originally Posted by AndrewD (Post 1390828)
OK. Sorry about this.

I cannot quickly check this upgrade from vb 3.0.x, as it requires me to reinstall sql 4. I can try this at the weekend.

Alternatively, you might let me check your site - in which case, send me a PM with details and an account with vb admin privs.

Actually, I just found this happening elsewhere in the new upgrade to 3.6.8 so I'm thinking that this might be an issue with my vb upgrade and not ldm. I'll get back to you as soon as I figure it out.

Thanks for being ready to jump right on it though!

auddi 11-28-2007 02:51 PM

Quote:

Originally Posted by AndrewD (Post 1390826)
Uploads are placed in a temporary directory by the server/php system, then moved by LDM to the directory you have specified. The error message comes from the system function that is trying to do this file move.

I thought that I had coded all the necessary checks on this - but

- Is your server running php in safe mode.
- Does your server have restrictions on the php open_basedir

(You can check both of these on the left column of the main LDM admin pages)

Thanks a lot AndrewD.

> Is your server running php in safe mode.

Yes

> Does your server have restrictions on the php open_basedir

how to find this?

The LDM admin panel says:

local_file_root Website
local_file_root_prefix
not set
File uploads Enabled
upload_dir
/vbb_ldm_upload
thumbs_dir
not set
file_icons_dir
not set
PHP
allow_url_fopen Yes
cURL Yes
GD2 Yes
open_basedir /home/httpd/vhosts/bcsq.org/httpdocs: /tmp
post_max_size 8M
upload_max_filesize 2M

i just created a dir named tmp on the server root
/home/httpd/vhosts/bcsq.org/httpdocs
and set its perm to 777.

However, still getting the error.
our site is:
http://bcsq.org/vbb/

Part of our need is for the site to serve as a file pool, so any users can upload files into a pool and downlad with search titles, description, etc.

We'd appreciate any hint you can give. Thanks.

Alfa1 11-28-2007 03:01 PM

My LDM works now, but somehow LDM can not find the files. It displays all categories and lists all files correctly. LDM displays thumbs. When I click a link that leads to a external file (like a movie on youtube for example), then that works perfectly. But when I click on a link that should lead to a file on my server, then that does not work. LDM gives the message: "Sorry - link is not currently available"
I have checked the download folder and it is correct. All files that should be in there, are in there.
What am I doing wrong?

AndrewD 11-28-2007 04:19 PM

Quote:

Originally Posted by femsawyer (Post 1391053)
Actually, I just found this happening elsewhere in the new upgrade to 3.6.8 so I'm thinking that this might be an issue with my vb upgrade and not ldm. I'll get back to you as soon as I figure it out.

Thanks for being ready to jump right on it though!

Just to let you know - I rebuilt LDM 1.6 on vb 3.0.7/mysql4 and ran through a complete single step upgrade to vb 3.6.8/ldm 2.2.8. Everything works fine.

When you get blank screens with vb 3.6, you should go to the main vb/admicp/options/cookies and http headers and turn off gzip compression. That way, if there's a site error message, you'll get to see it.

AndrewD 11-28-2007 04:21 PM

Quote:

Originally Posted by auddi (Post 1391054)
Thanks a lot AndrewD.

> Is your server running php in safe mode.

Yes

Part of our need is for the site to serve as a file pool, so any users can upload files into a pool and downlad with search titles, description, etc.

We'd appreciate any hint you can give. Thanks.


The problem is almost certainly that you are running in safe mode. Uploads are very hard to get working (not sure if it's even possible) with this in force.

AndrewD 11-28-2007 04:22 PM

Quote:

Originally Posted by Alfa1 (Post 1391066)
My LDM works now, but somehow LDM can not find the files. It displays all categories and lists all files correctly. LDM displays thumbs. When I click a link that leads to a external file (like a movie on youtube for example), then that works perfectly. But when I click on a link that should lead to a file on my server, then that does not work. LDM gives the message: "Sorry - link is not currently available"
I have checked the download folder and it is correct. All files that should be in there, are in there.
What am I doing wrong?

Did you have local_file_root and local_file_root prefix set on your old server, and have they been set to the same values on the new server?

For local files, the database stores the file location relative to these two settings.

Alfa1 11-28-2007 05:20 PM

Quote:

Originally Posted by AndrewD (Post 1391108)
Did you have local_file_root and local_file_root prefix set on your old server, and have they been set to the same values on the new server?

For local files, the database stores the file location relative to these two settings.

Old server:
local_file_root Website
local_file_root_prefix
/forum/links/downloads/

New server:
local_file_root Website
local_file_root_prefix
/forum/links/downloads/

Both local_file_root_prefix are correct, though my new server does not have a normal url yet, but is using IP~mydomain.com/
http://35.125.65.123~mydomain.com/forum/links/downloads

Can this have an adverse effect?

I do not know if local_file_root website is correct for the new server, as I don't understand the meaning.

Nam 11-28-2007 07:11 PM

Andrew, I'd love to have a small window player that pull randomly, or manually choosing from categories that I like (youtube supported.) Right now the only way to do it, I guess, it pass directly the YouTube HTML code to LDM front page template.

I don't see the New and Most Popular column like previous version, may be you have made those features become Add-on?

AndrewD 11-28-2007 08:25 PM

Quote:

Originally Posted by Alfa1 (Post 1391152)
Old server:
local_file_root Website
local_file_root_prefix
/forum/links/downloads/

New server:
local_file_root Website
local_file_root_prefix
/forum/links/downloads/

Both local_file_root_prefix are correct, though my new server does not have a normal url yet, but is using IP~mydomain.com/
http://35.125.65.123~mydomain.com/forum/links/downloads

Can this have an adverse effect?

I do not know if local_file_root website is correct for the new server, as I don't understand the meaning.

The temporary IP based address is almost certainly your problem. LDM tries to find local files by concatenating a series of settings on the front of the file name you have specified. I suspect that it is getting the wrong result because it has probably missed out /~mydomain.com from the middle. You can try this by editing local_file_root_prefix and putting /~mydomain.com at the start.

If this doesn't work, as usual I'm happy to take a look.

JirQUEST 11-28-2007 11:52 PM

I got this:

Fatal error: Cannot redeclare cache_styles() in /xxxxx/includes/local_links_include.php on line 1120

Latest LDM version with vB3.6.8 PL 2 :)

[EDIT] I just found out it clashed with vB Ad Management. What can I do to allow both modifications to work together?

AndrewD 11-29-2007 03:51 AM

Quote:

Originally Posted by JirQUEST (Post 1391367)
I got this:

Fatal error: Cannot redeclare cache_styles() in /xxxxx/includes/local_links_include.php on line 1120

Latest LDM version with vB3.6.8 PL 2 :)

[EDIT] I just found out it clashed with vB Ad Management. What can I do to allow both modifications to work together?

somebody else obviously had the same problem I had and found the same solution :)

edit includes/local_links_include.php. cache_styles appears three times - at about lines 1120, 1145 and 1157. Change each of them to, e.g., ldm_cache_styles. That should solve the problem. I'll fix this permanently in the next release.

JirQUEST 11-29-2007 04:13 AM

Sweet as, dude. I love you! LOL.

GrendelKhan{TSU 11-30-2007 04:22 AM

Quote:

Originally Posted by AndrewD (Post 1390085)
Welcome back!



Which linkbit are you using? If you are using the standard (Modern) linkbit, check that these lines appear about 20 lines into the links_linkbit template
Code:

<if condition="$linkimgmag">
<br />
<div style="margin-top:3px"><span class="smallfont">$linkimgmag</span></div>
</if>

Also check that the links_imgmag template exists and looks like this:
Code:

<if condition="$linkimg">
<a href="$RESIZE_SCRIPT.php?linkid=$linkid&amp;size=<if condition="$links_defaults[link_imagemagsize]">$links_defaults[link_imagemagsize]<else />0</if>" rel="lightbox[show]" target="_blank" title="$vbphrase[ll_enlarge_thumb]">
<if condition="$ldm_icon_cache['magnify']"><img border="0" src="$ldm_icon_cache[magnify]" alt="$vbphrase[ll_enlarge_thumb]" /><else />[+]</if></a>
</if>

You means the 'display order' setting? I can't reproduce this problem.

THANKS!! glad to be kickin again. been delving back into LDM recently. still a great tool and even better (imo) with the flashsite integration (again: request others like megavideo or a way for us to help add them for you as with the AME embedded video player :))

Yes, modern linkbit. EG: http://www.unrealaddicts.com/forums/...&expandset=all

Checked and all those codes are there. :( +_+
here's the exact code from both templates:


link_linkbit:
Code:

<tr id="linkid$linkid">
<td colspan="2">
<fieldset class="fieldset">
<legend>
<strong>
<if condition="$linknew">$linknew</if>
$linktypebit
$linkurljump
</strong>
$linkurlextra
<if condition="$linksavebit">$linkurlsave</if>
<if condition="$linkraters"><img src="$stylevar[imgdir_rating]/rating_$linkrate.gif" border="0" alt="$linkrate *" /></if>
<if condition="$links_permissions['can_view_hidden']"><if condition="$linkexpired>0"><span class="highlight">$vbphrase[ll_expired] </span><else /><if condition="$linkexpired<0"><span class="highlight">$vbphrase[ll_notyetvisible] </span></if></if></if>
<if condition="$linkstatus==$LINK_HIDDEN"><span class="highlight">$vbphrase[ll_hidden_entry] </span></if>
</legend>
<div style="margin-top:3px">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<if condition="$linkimg">
<td width="$linkimgsize" align="$stylevar[right]">
$linkimgjump
<if condition="$linkimgmag">
<br />
<div style="margin-top:3px"><span class="smallfont">$linkimgmag</span></div>
</if>
</td>
<td width="5">&nbsp;</td>
</if>
<td valign="middle" align="$stylevar[left]">
<span class="smallfont">
$linkdesc
<if condition="$showcatname"><br /><br />$vbphrase[ll_cat] $linkothercatsbit<else />
<if condition="$linkshowothercatbit>0"><br /><br />$vbphrase[ll_seealso] $linkothercatsbit</if>
</if>
</span>
</td>
<td width="5">&nbsp;</td>
<td width="30%">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td>
<fieldset class="fieldset">
<if condition="$linklegendbuttons"><legend><if condition="$linkfavbit">$linkfavbit </if><if condition="$linkeditbit">$linkeditbit </if><if condition="$links_permissions['can_send_tofriend']"><a href="$LINKS_SCRIPT.php?action=sendtofriend&amp;catid=$linkcatid&amp;linkid=$linkid" title="$vbphrase[ll_sendtofriend]"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[ll_sendtofriend]" border="0" /></a></if><if condition="$links_permissions['can_report_link'] and $linkuserid != $bbuserinfo['userid']"><a href="$LINKS_SCRIPT.php?action=reportlink&amp;linkid=$linkid&amp;catid=$viewcatid&amp;page=$pagenumber"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[ll_report_bad_link]" border="0" /></a></if>$linklikebit</legend></if>
<table width="100%"><tr><td align="$stylevar[right]">
<div class="smallfont">
<if condition="$links_defaults['enable_doi'] and $linkdoi">$vbphrase[ll_doi] $linkdoi<br /></if>
<if condition="$links_permissions['can_view_names']">$vbphrase[ll_submitby] <a href="member.php?u=$linkuserid">$linkusername</a>
<a href="$SEARCH_SCRIPT.php?action=show&amp;userid=$linkuserid&amp;sort=d" title="$vbphrase[ll_find_others]">
<if condition="$ldm_icon_cache['magnify']"><img border="0" src="$ldm_icon_cache[magnify]" alt="$vbphrase[ll_find_others]" /><else />[?]</if>
</a>
<br /></if>
<if condition="$linkmoderate==$LINK_TO_MODERATE and ($links_permissions['can_moderate_links'] or $links_permissions['can_moderate_forums'])">[<a href="$ACTION_SCRIPT.php?action=domod&catid=$viewcatid" title="$vbphrase[ll_moderate]">$vbphrase[ll_moderate]</a>]<br /></if>
$linkdate <if condition="$expire and !$linkexpired"><phrase 1="$linkdateexp">$vbphrase[ll_expires_on]</phrase></if>
<if condition="$links_permissions['can_view_hits']"><br />
$vbphrase[ll_hits] $linkhits
<if condition="$links_permissions['can_admin_links'] and $linkhits"><a href="$ADMIN_SCRIPT.php?set=logjumps&amp;todo=1&amp;startint=0&amp;linkid=$linkid" title="$vbphrase[ll_viewhits]"><if condition="$ldm_icon_cache['magnify']"><img border="0" src="$ldm_icon_cache[magnify]" alt="$vbphrase[ll_viewhits]" /><else />[?]</if></a></if>
</if>
<if condition="$linksize"><br />$linksize</if>
<if condition="!$linkstatus"><br />[$vbphrase[ll_unknown_status]]</if>
<if condition="$links_permissions['can_set_display_order']"><br />$vbphrase[ll_displayorder] $thisorder</if>
<if condition="$links_permissions['can_edit_keyword']">
<br />

<div id="keys{$linkid}_1">
<a href="#{$linkid}" onclick="ldm_show('keys{$linkid}_', 2, 2);">$vbphrase[ll_keywords]</a> $linkkeys
</div>

<div id="keys{$linkid}_2" style="display:none;" >
    <form action="$ACTION_SCRIPT.php" method="post">
<table width="100%">
<tr><td align="$stylevar[right]">
    <a href="#{$linkid}" onclick="ldm_show('keys{$linkid}_', 1, 2);">$vbphrase[ll_keywords]</a>
</td><td align="center">
        <div id="ldmkey$linkid">$linkkeysraw
        <!-- <textarea id="ldmkey{$linkid}_txt" name="keywords" rows="1" cols="20">$linkkeysraw</textarea> -->
        <input type="text" class="bginput" id="ldmkey{$linkid}_txt" name="keywords" value="$linkkeysraw" rows="1" size="20" />
        </div>
        <div class="vbmenu_popup" id="ldmkey{$linkid}_menu" style="display:none; z-index:50"></div>
        <script type="text/javascript">
        <!--
        vbmenu_register('ldmkey{$linkid}', true);
        recip_sugg{$linkid} = new ldm_AJAX_KeySuggest('recip_sugg{$linkid}', 'ldmkey{$linkid}_txt', 'ldmkey{$linkid}');
        recip_sugg{$linkid}.allow_multiple = true;
        //-->
        </script>
</td><td align="$stylevar[left]">
        <input type="hidden" name="action" value="doeditkeys" />
        <input type="hidden" name="viewlinkid" value="$viewlinkid" />
        <input type="hidden" name="linkid" value="$linkid" />
        <input type="hidden" name="catid" value="$linkcatid" />
        <input type="hidden" name="page" value="$pagenumber" />
        <input type="submit" class="button" value="$vbphrase[ll_go]"  />
</td></tr>
</table>
    </form>
</div>

<else />
    <if condition="$linkkeys"><br />$vbphrase[ll_keywords]: $linkkeys</if>
</if>

</div>
</td>
<if condition="$links_permissions['can_view_names'] and $linkavatar"><td valign="top">$linkavatar</td></if>
</tr></table>
</fieldset>
</td>
</tr>
<if condition="$links_permissions['can_rate_link'] and $linkratebit">
<tr>
<td id="ratings$linkid" align="$stylevar[left]">
<if condition="$linkraters and $links_defaults['dropdown_comment_and_rate']"><script type="text/javascript"> vbmenu_register("ratings$linkid"); </script>&nbsp;</if>
<span class="smallfont">
$linkratebit
</span>
</td>
</tr>
<!--$linkid::rate-->
</if>
</table>
</td>
</tr>
</table>
</div>
</fieldset>
</td>
</tr>

links_imgmag temp

Code:

<if condition="$linkimg">
<a href="$RESIZE_SCRIPT.php?linkid=$linkid&amp;size=<if condition="$links_defaults[link_imagemagsize]">$links_defaults[link_imagemagsize]<else />0</if>" rel="lightbox[show]" target="_blank" title="$vbphrase[ll_enlarge_thumb]">
<if condition="$ldm_icon_cache['magnify']"><img border="0" src="$ldm_icon_cache[magnify]" alt="$vbphrase[ll_enlarge_thumb]" /><else />[+]</if></a>
</if>

its weird..dunno know why they don't work. it just stopped working one day. :( which sux as I was getting great SEO hits from the images (even with the mod_rewrite which I have yet to get to work grrrrr).

and yah, from the display order I have that issue (btw, is there a way to MASS update the display order and category?)

if you want I can get you admin access to check it out.

AndrewD 11-30-2007 04:22 PM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1392137)
and yah, from the display order I have that issue (btw, is there a way to MASS update the display order and category?)

See PM for remarks on your magnifying glass problem.

You can mass edit category and display order with LDM/admin/categories/mass edit

Kingster 12-02-2007 03:02 AM

Quote:

Originally Posted by bigdaddyforums (Post 1148929)
Also I'd quite like to see FTP upload with a Progress Bar. I've got people trying to upload 200mb sets but it just times out on them after an hour or so. So it'd be nice to see how long you have left to upload with a nice progress bar etc :)

Quote:

Originally Posted by AndrewD (Post 1148950)
Yes, I know what you mean... I gave this som ethought before - probably the easiest and most robust solution is to offer an optional addon to one of the Java uploader scripts

Any word on an FTP upload add-on, Andrew? I've got users that have some massive files UT/UT2K4/UT3 maps and map packs) that I want to be able to utilize your manager...

Ipuck 12-03-2007 10:59 PM

Hello AndrewD

I'm trying to link an external .zip file, but is not accepting the link. If a copy the link address to the web browser address bar the link works, but when I added to the LDM doesn't work. I also have a .rar file in the same folder and that one works OK. The files name is the same, the only difference is that one is .rar and the other one .zip. Any ideas?

Thanks

Nam 12-04-2007 03:41 AM

Dear Andrew, I think there is a problem with visible link setup on 2.2.8 post 1.

I set up Category A with standard LDM link protection, and subcategory B under category A with setting 2 (link location visible, this is to avoid the double bandwidth load). However, when I play the file under category B, I can't see the real location of the remote server. The link is still hidden.

Did I do anything wrong?

derfelix 12-04-2007 09:56 AM

I did a couple of searches.. and looked through 50 of the 181 pages.. but did not find an answer to my problem..
Setup as simple link directory.. everything works fine..
but if an image is added in the description for http://mysiteone.com , and the imageurl is http://mysiteone.com/image1.jpg

It seems to work fine... image shows up... i can also post a link only to that image...

But if you do a search.. for mysiteone then the url to that image gets completely broken.. because the word "mysiteone" is highlighted in the text..
so the sourcecode of the page is:
HTML Code:

case image:
<img src="http://www.<span class="highlight">mysiteone</span>.com/image1.jpg" border="0" alt="" />
case link:
<a href="http://www.<span class="highlight">mysiteone</span>.com/image1.jpg" target="_blank">http://www.<span class="highlight">mysiteone</span>.com/image1.jpg</a>

Probably hapened to others also.. but i can find a fix nowhere....

Thanx for a reply

Felix

Vinyljunky 12-04-2007 12:20 PM

Hello,

Im currently running LDM 2.2.7 on VB 3.6.7.PL1 with no issues. Im considering upgrading to LDM 2.2.8 as I dont want to fall behind too much.

My questions are:
a) Will my current attachments be imported (will I loose them?)
b) Do I need to update?

oh and Andrew Many Thanks for a great mod!

VinylJunky

AndrewD 12-04-2007 03:22 PM

Quote:

Originally Posted by derfelix (Post 1394581)
I did a couple of searches.. and looked through 50 of the 181 pages.. but did not find an answer to my problem..
Setup as simple link directory.. everything works fine..
but if an image is added in the description for http://mysiteone.com , and the imageurl is http://mysiteone.com/image1.jpg

It seems to work fine... image shows up... i can also post a link only to that image...

But if you do a search.. for mysiteone then the url to that image gets completely broken.. because the word "mysiteone" is highlighted in the text..
so the sourcecode of the page is:
HTML Code:

case image:
<img src="http://www.<span class="highlight">mysiteone</span>.com/image1.jpg" border="0" alt="" />
case link:
<a href="http://www.<span class="highlight">mysiteone</span>.com/image1.jpg" target="_blank">http://www.<span class="highlight">mysiteone</span>.com/image1.jpg</a>

Probably hapened to others also.. but i can find a fix nowhere....

Thanx for a reply

Felix

Thanks for this report - actually it's always been there and noone has reported it before. I'll work out a fix.

AndrewD 12-04-2007 03:26 PM

Quote:

Originally Posted by Nam (Post 1394448)
Dear Andrew, I think there is a problem with visible link setup on 2.2.8 post 1.

I set up Category A with standard LDM link protection, and subcategory B under category A with setting 2 (link location visible, this is to avoid the double bandwidth load). However, when I play the file under category B, I can't see the real location of the remote server. The link is still hidden.

Did I do anything wrong?

I can't reproduce this bug. I did what you described - put an entry in two categories, with force_redirect set to 0 in one category and 2 in the other. The link is cloaked in the first category and visible in the second.

Maybe I'm missing something in your explanation?

AndrewD 12-04-2007 03:32 PM

Quote:

Originally Posted by Ipuck (Post 1394345)
Hello AndrewD

I'm trying to link an external .zip file, but is not accepting the link. If a copy the link address to the web browser address bar the link works, but when I added to the LDM doesn't work. I also have a .rar file in the same folder and that one works OK. The files name is the same, the only difference is that one is .rar and the other one .zip. Any ideas?

Thanks

I can't see any difference in the code's link checking for different file types. Can you send me a PM with examples of zip and rar file links?

Thanks

AndrewD 12-04-2007 03:34 PM

Quote:

Originally Posted by Vinyljunky (Post 1394647)
Hello,

Im currently running LDM 2.2.7 on VB 3.6.7.PL1 with no issues. Im considering upgrading to LDM 2.2.8 as I dont want to fall behind too much.

My questions are:
a) Will my current attachments be imported (will I loose them?)
b) Do I need to update?

oh and Andrew Many Thanks for a great mod!

VinylJunky

There's no need to update, but there's also no problem in updating - you won't lose anything. But I always recommend a database backup when you make major changes.

AndrewD 12-04-2007 03:35 PM

Quote:

Originally Posted by Kingster (Post 1393314)
Any word on an FTP upload add-on, Andrew? I've got users that have some massive files UT/UT2K4/UT3 maps and map packs) that I want to be able to utilize your manager...

I'm taking a look at a flash based (i.e. java based) uploader. These can reliably handle large uploads with progress bars. The only point to bear in mind (assuming it proves possible to integrate) is that these uploaders are not free - you will have to buy a licence.

derfelix 12-04-2007 04:01 PM

Quote:

Originally Posted by AndrewD (Post 1394790)
Thanks for this report - actually it's always been there and noone has reported it before. I'll work out a fix.

Wonderful.. :cool:

Thx a bunch

Felix

Nam 12-04-2007 06:07 PM

Quote:

Originally Posted by AndrewD (Post 1394795)
I can't reproduce this bug. I did what you described - put an entry in two categories, with force_redirect set to 0 in one category and 2 in the other. The link is cloaked in the first category and visible in the second.

Maybe I'm missing something in your explanation?

I've PMed you the link to take a look.

Kingster 12-04-2007 07:54 PM

Quote:

Originally Posted by AndrewD (Post 1394808)
I'm taking a look at a flash based (i.e. java based) uploader. These can reliably handle large uploads with progress bars. The only point to bear in mind (assuming it proves possible to integrate) is that these uploaders are not free - you will have to buy a licence.

Which ones are you looking at, AndrewD? Less than say, $40? Anytime soon?

Here's a freebie for a Flash-based file uploader...

Alfa1 12-07-2007 12:08 PM

I would like to display the latest video in LDM on my vbadvanced portal. There already is a flash sites addon for LDM and there is a LDM latest files add-on for vbadvanced.

Basically what I need is code to fetch the embed code of the latest entry added to a category of LDM.

To illustrate what I need, see Glorify's site. See the embedded video's on the right.

Glorify has used the embed code to display the videos in vbadvanced. I want to display the latest video from LDM on my portal in the same way.
This would be a great add on to supply in LDM's extra's IMHO.


All times are GMT. The time now is 10:32 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05830 seconds
  • Memory Usage 1,940KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (2)bbcode_html_printable
  • (29)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete