vb.org Archive

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

RikiB 08-11-2008 08:32 AM

Quote:

Originally Posted by AndrewD (Post 1595961)
Sorry for the long delay... needed my rest :)

Its good to see you back!

Just a reminder how nice it would be to have the new JW Player (version 4). :)

Also, do you think it would be possible to expose all the flash variables? The one I am most interested in is the streamscript variable that allows pseudo-streaming and extra security.

Thanks!

Delazar 08-11-2008 02:51 PM

Quote:

Originally Posted by Delazar (Post 1592464)
Hi,

wenn ich versuche eine Kategorie zu erstellen, bekomme ich folgende Meldung:
Quote:

Warnung: Invalid argument supplied for foreach() in [path]/includes/local_links_misc.php (Zeile 74)
Ich habe schon mal alles deinstalliert und wieder Installiert, immer noch das gleiche.

Was kann es sein?

Gru?
Delazar

Hat keiner eine Ahnung was das sein k?nnte?

obmob 08-11-2008 03:40 PM

Andrew speaks german? :eek:

Welcome!

AndrewD 08-11-2008 04:18 PM

Quote:

Originally Posted by Delazar (Post 1596277)
Hat keiner eine Ahnung was das sein k?nnte?

I don't speak (or read) German, but I understand enough to see an error message :)

After you install LDM, does anything work at all, or do you always get this message?

Are you sure that you have uploaded all the files into the correct directories?

AndrewD 08-11-2008 04:28 PM

A rather unpleasant soul who has clearly been checking the LDM code in some depth has started throwing occasional SQL injection hacks at our website. So far this has not caused anything more serious than SQL errors, but it highlights a potential security bug in the LDM code. I will include the fix in the next upload - in the meantime if anyone else if being hit, let me know and I'll explain how to prevent the problem.

derfelix 08-11-2008 04:30 PM

talking about german.. just found a search bug..:eek:

difficult to explain..
the word Austria is "?sterreich" in german..

I have several links containing "?sterreich" in link title or keyword...
i do a search.. get 5 results.. ==> it works fine..

NOW i change to sortorder...
and get NO Result !!!!
Quote:

Search Results
Searching for entries matching %C3%B6sterreich, looking in keywords for any words
Found 0 matching entries
Why? because in the sort order form.. there the word ?sterreich is suddenly urlencoded.. giving: %C3%B6sterreich and it tells me.. No result found for %C3%B6sterreich!!! This is true because %C3%B6sterreich does not exist.. it is ?sterreich.

here part of the page sourcecode:
HTML Code:

<td align="right">
                <form action="local_links_search.php" method="get">
                <span class="smallfont">
                <input type="hidden" name="action" value="show" /><input type="hidden" name="page" value="1" /><input type="hidden" name="pp" value="20" /><input type="hidden" name="search" value="%C3%B6sterreich" /><input type="hidden" name="literal" value="1" /><input type="hidden" name="keys" value="1" /><input type="hidden" name="beforeafter" value="1" /> Sort by <!-- BEGIN TEMPLATE: links_catsortbit -->

<span class="smallfont">

<select class="select" name="sort" onchange="this.form.submit();" size="1" style="width:200px">
<optgroup label="Sort by">

<option value="N" >Title (ascending)</option>
<option value="n" >Title (descending)</option>
<option value="h" >Hits (overall)</option>

i think.. ( not sure.. ) it should be urlencoded when passed through the form but then urldecoded before searching the database... it should be urldecoded before being displayed...
or
not urlencoded at all.. but then i think you need it for spaces.. hmmm not sure..

Felix

AndrewD 08-11-2008 06:14 PM

Quote:

Originally Posted by derfelix (Post 1596340)
talking about german.. just found a search bug..:eek:

difficult to explain..
the word Austria is "?sterreich" in german..

thanks - I found a similar bug within the search/sort order code when there is a space in the search string. I suspect it is the same problem, but will check.

edited - try editing local_links_search.php, round about line 1150, there's a sequence

Code:

                $search['string'] = $vbulletin->GPC['search'];
                $search['literal'] = $vbulletin->GPC['literal'] ? $vbulletin->GPC['literal'] : 1;
                $search['keys']  = $vbulletin->GPC['keys'];
                $search['desc']  = $vbulletin->GPC['desc'];

change the first line:

Code:

                $search['string'] = urldecode($vbulletin->GPC['search']);
                $search['literal'] = $vbulletin->GPC['literal'] ? $vbulletin->GPC['literal'] : 1;
                $search['keys']  = $vbulletin->GPC['keys'];
                $search['desc']  = $vbulletin->GPC['desc'];


AndrewD 08-11-2008 06:58 PM

Quote:

Originally Posted by RikiB (Post 1596081)
Its good to see you back!

Just a reminder how nice it would be to have the new JW Player (version 4). :)

Also, do you think it would be possible to expose all the flash variables? The one I am most interested in is the streamscript variable that allows pseudo-streaming and extra security.

Thanks!

I've run a few tests with the new JW player, and got it doing the basics with LDM. I can't figure out how to make the streamscript variable work - seems it should accept the standard ldm streamer, but nothing happens. However, file=LDM streamer script does work fine for both video and music.

I'm sure I can expose the rest of the flash variables via a plugin

RikiB 08-11-2008 08:13 PM

Ahh great. I was hoping to find a way that prevented people from downloading an FLV file.

The only way I have discovered to protect FLV files from download is to pay for a real streaming service which is very expensive. There is also lightppd but Im not sure if that would even help.

Perhaps this is impossible currently, let me know if this will be a waste of time.

Thanks again!

vbboarder 08-12-2008 01:12 AM

Hi Andrew, welcome back from your vacation/ break! Hope you are well rested.:)
I have 3 bugs to report:

1. When editing an entry, the user is able to upload another file (the file is saved in the upload directory), but the new file does not show (file is not linked to in the entry) and his upload allowance is not updated.

2. The category of a forum is not replaced in the phrase when using {4} in ldm_thread_create_body. Instead, the LDM database name is always shown.

3. The "Add LDM to VB navbar" plugin link does not work if vbAdvanced is installed and not located at the forum root. Solution, find:
Quote:

'<td class="vbmenu_control"><a href="local_links.php">'
And replace that with:
Quote:

'<td class="vbmenu_control"><a href="' . $vbulletin->options['bburl'] . '/local_links.php">'


All times are GMT. The time now is 12:23 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.02595 seconds
  • Memory Usage 1,765KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (9)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