The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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: ![]() 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: ![]() 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 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();
}
//-->
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
");
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>
![]() 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?
|
|
#2
|
||||
|
||||
|
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.. |
|
#3
|
||||
|
||||
|
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?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|