vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=91107)

|oR|Greg 05-11-2006 12:08 AM

Sounds like a job for Andrew the mighty.

Taylor123 05-11-2006 12:12 AM

i thought i just responded again but guess not...

i turned the local_file_root option from no to yes and i did not get the same error but when I tried uploading an image it still didn't upload and went to a cannot find server page.

When i turn local_file_root to yes will i have to link the upload directory differently.....it is not telling me "/upload" (how i have it linked) is wrong

MissKalunji 05-11-2006 12:26 AM

Quote:

Originally Posted by |oR|Greg
Best I can do on short notice... see attached image.

Code:

<tr>
<td colspan="2">
<div style="margin-top:3px">

<table width="100%">
        <tr>
                <td class="thead" width="50%" align="center" colspan="2"><if condition="$linknew">$linknew </if><span class="smallfont">File Information</span></td>
                <td class="thead" width="50%" align="center"><span class="smallfont">Screenshot / Thumbnail</span></td>
        </tr>
        <tr>
                <td width="50%" colspan="2">
                <table width="100%">
                        <tr>
                                <td class="alt2" width="50%" align="left"><span class="smallfont">Name:</span></td>
                                <td class="alt1" width="50%" align="left"><span class="smallfont"><strong>$linkurljump</strong></span></td>
                        </tr>
                        <if condition="$linkimg">
                                <tr>
                                <td class="alt2" width="50%" align="left"><span class="smallfont">File type:</span></td>
                                <td class="alt1" width="50%" align="left">$linktypebit</td>
                                </tr>
                        </if>
                        <if condition="$linksize">
                                <tr>
                                <td class="alt2" width="50%" align="left"><span class="smallfont">File size:</span></td>
                                <td class="alt1" width="50%" align="left"><span class="smallfont">$linksize $vbphrase[ll_kb]</span></td>
                                </tr>
                        </if>
                        <if condition="$links_permissions[can_view_names]">
                                <tr>
                                <td class="alt2" width="50%" align="left"><span class="smallfont">Submitted by:</span></td>
                                <td class="alt1" width="50%" align="left"><span class="smallfont"><a href="member.php?u=$linkuserid">$linkusername</a></span></td>
                                </tr>
                        </if>
                        <tr>
                                <td class="alt2" width="50%" align="left"><span class="smallfont">Submitted:</span></td>
                                <td class="alt1" width="50%" align="left"><span class="smallfont">$linkdate</span></td>
                        </tr>
                        <if condition="$links_permissions[can_view_hits]"><tr>
                                <td class="alt2" width="50%" align="left"><span class="smallfont">Hits / Downloads:</span></td>
                                <td class="alt1" width="50%" align="left"><span class="smallfont">$linkhits</span></td>
                        </tr></if>
                </table>
                </td>
                <td class="alt2" width="50%"><p align="center">$linkimgjump<br><br><if condition="$linkimg">$linkimgmag</if></td>
        </tr>
        <tr>
                <td class="thead" width="50%"><span class="smallfont">Description:</span></td>
                <td class="thead" align="right" width="50%" colspan="2"><span class="smallfont">$linkfavbit $linkeditbit <if condition="$links_permissions[can_send_tofriend]"><a href="$LINKS_SCRIPT.php?action=sendtofriend&amp;catid=$linkcatid&amp;linkid=$linkid" target="_blank" title="$vbphrase[ll_sendtofriend]">Send To Friend<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" title="$vbphrase[ll_report_bad_link]">Report Bad Link<img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[ll_report_bad_link]" border="0" /></a></if></span></td>
                </tr>
        <tr>
                <td class="tcat" width="100%" colspan="3"><span class="smallfont">$linkurljump&nbsp;&nbsp;$linkdesc</span></td>
                </tr>
</table>

</div>
</td>
</tr>


Perfect man! thanks! now lol how do i add this? sorry im new to this

MissKalunji 05-11-2006 12:35 AM

Quote:

Originally Posted by AndrewD
Here's a new version of the file includes/local_links_include.php which I hope fixes the reported security bug when uploading mp3s.

Grateful for confirmation, after which I will update the main release file.

That did the trick!

thank you!

MissKalunji 05-11-2006 02:22 AM

i figured it |oR|Greg thanks a lot!

AndrewD 05-11-2006 04:08 AM

Quote:

Originally Posted by Taylor123
i thought i just responded again but guess not...

i turned the local_file_root option from no to yes and i did not get the same error but when I tried uploading an image it still didn't upload and went to a cannot find server page.

When i turn local_file_root to yes will i have to link the upload directory differently.....it is not telling me "/upload" (how i have it linked) is wrong

I think I will need to see your board. Pls can you send me a PM with details of your board's url, plus a username and password that has full VB admin privs.

AndrewD 05-11-2006 04:22 AM

v2.2.1 re-uploaded, fix to uploads of mp3 and a small correction to the html where it was not fully xhtml compliant

AndrewD 05-11-2006 04:26 AM

Quote:

Originally Posted by q8-star
I'm having an Internal Server Error ,with the following message :

It only happens when I try to save any new changes in the LDM setting ONLY .

I need some more information. Does this always happen with LDM admin setting changes - and which values are you trying to change? Does your site use htaccess files or have mod_redirect working, etc?

Am happy to take a look at your site (although the arabic is a bit difficult for me:)( - if you PM me a username/password with admin privs.

AndrewD 05-11-2006 04:28 AM

Quote:

Originally Posted by |oR|Greg
More features! More features! More features!

Hey big Andy! How about a template that allows mass uploads! :p

What would you like this to do? Create multiple new entries, one per upload? Or have multiple files with the single entry? etc, etc.

No guarantees, but will add it to the wish list

shiva 05-11-2006 05:09 AM

hey AndrewD, :)

I just moved to a new host, but because of the differences, i will have to do a new install, as LDM refused to work when I just copied over the database. It's now php 5.1.4 , so if you haven't been able to test with php5, be happy to let you in, as it's not gonna be open for a while.


All times are GMT. The time now is 04:05 AM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03849 seconds
  • Memory Usage 1,764KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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