vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Problem with vBAdvanced, can somebody help me please? :) (https://vborg.vbsupport.ru/showthread.php?t=262840)

DJ-Lounge 04-29-2011 10:20 AM

Problem with vBAdvanced, can somebody help me please? :)
 
Hello

I've got a problem using Vb Advanced on my forum. Some technical information about my forum:

Forum version: 4.1.3
Vb Advanced version: 2.1.1
Custom Design
No other javascripts / flash plugins enabled.

The problem is when i press 'manage attachments' to upload a file, I get the following popup window:

http://img94.imageshack.us/img94/840...11ebb5b118.png

As you see: I am able to upload a file. The file will be added as a attachment in the popup window. The problem is, this attachment will not be added under the post, as you can see in the screenshot below:

http://img705.imageshack.us/img705/8...cfa8b188b8.png

So: I am able to upload files - but the attachment will not be added under the post, as it should be. So I checked Firebug and saw 2 errors:

#1
Code:

unterminated string literal
http://www.dj-lounge.nl/community/downloads/newattachment.php?do=manageattach
Line 141

which belongs to this code:

Code:

<script type="text/javascript">
        <!--
       
                function verify_upload(formobj)
                {
                        //
                        var haveupload = false;
                        for (var i=0; i < formobj.elements.length; i++)
                        {
                                //
                                var elm = formobj.elements[i];
                                if (elm.type == 'file' || elm.type == 'text')
                                {
                                        if (elm.value != "")
                                        {
                                                haveupload = true;
                                        }
                                }
                        }
       
                        if (haveupload)
                        {
                                obj = fetch_object("uploading");
                                obj.style.display = "block";
                                return true;
                        }
                        else
                        {
                                alert("Gelieve een bestand toe te voegen dat je wilt toevoegen.");
                                return false;
                        }
                }
       
       
                if (typeof window.opener.vB_Attachments != 'undefined')
                {
                        window.opener.vB_Attachments.reset();
                       
                }
       
       
        //-->

And on line 151 of newattachment.php is this the code:

Code:

        if (!empty($vbulletin->GPC['delete']))
        {
                list($attachmentid, $attachkey) = each($vbulletin->GPC['delete']);

                $attachmentid = intval($attachmentid);
                $delattach = $db->query_first("
                        SELECT attach.*, entry.catid
                        FROM " . ADV_DYNA_TABLE_PREFIX . "attachments AS attach
                        LEFT JOIN " . ADV_DYNA_TABLE_PREFIX . "entries AS entry ON (attach.entryid = entry.entryid)
                        WHERE attachmentid = $attachmentid
                ");

#2
Code:

$j("ul.sf-menu").superfish is not a function
http://www.dj-lounge.nl/community/downloads/newattachment.php?do=assetmanager&entryid=&contenttypeid=578&poststarttime=1304018384&posthash=30a44c8f856d050ed850cf8630a66eac&insertinline=1
Line 89

Code:

<script type="text/javascript">
                /* <![CDATA[ */
                var $j = jQuery.noConflict();
                  $j(document).ready(function() {
                        $j('ul.sf-menu').superfish({
                            delay:      100,                // one second delay on mouseout
                            speed:      'fast',        // faster animation speed
                            autoArrows:  true,                // disable generation of arrow mark-up
                            dropShadows: true                // disable drop shadows
                        });
                    });
                /* ]]> */
        </script>

And one more error:

http://img202.imageshack.us/img202/1...2ef9c55d50.png

I've been searching this week long to a solution, but unfortunately I havent found any. Can someone please help me to solve this problem? :o

Hippy 04-30-2011 06:11 PM

If your having a problem with vBAdvanced
go to vBAdvanced.com

if your having vb4.1.3 issue youll need to go over to vb.com..

KW802 05-01-2011 02:20 AM

DJ-Lounge, from your description I am not seeing how/why you'd think the problem is related to vBadvanced. Do you have any other add-ons/hacks installed?


All times are GMT. The time now is 10:35 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.01024 seconds
  • Memory Usage 1,731KB
  • 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
  • (5)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete