форум vBSupport.ru > vBulletin > vBulletin 3.8.x > Вопросы по vBulletin 3.8
Register Меню vBsupport Изображения Files Manager О рекламе Today's Posts Search
  • Родная гавань
  • Блок РКН снят
  • Premoderation
  • For English speaking users
  • Каталог Фрилансеров
  • If you want to buy some product or script
  • Администраторам
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
Блок РКН снят, форум доступен на всей территории России, включая новые терртории, без VPN
На форуме введена премодерация ВСЕХ новых пользователей

Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
for English speaking users:
You may be surprised with restriction of access to the attachments of the forum. The reason is the recent change in vbsupport.org strategy:

- users with reputation < 10 belong to "simple_users" users' group
- if your reputation > 10 then administrator (kerk, Luvilla) can decide to move you into an "improved" group, but only manually

Main idea is to increase motivation of community members to share their ideas and willingness to support to each other. You may write an article for the subject where you are good enough, you may answer questions, you may share vbulletin.com/org content with vbsupport.org users, receiving "thanks" equal your reputation points. We should not only consume, we should produce something.

- you may:
* increase your reputation (doing something useful for another members of community) and being improved
* purchase temporary access to the improved category:
10 $ for 3 months. - this group can download attachments, reputation/posts do not matter.
20 $ for 3 months. - this group can download attachments, reputation/posts do not matter + adds eliminated + Inbox capacity increased + files manager increased permissions.

Please contact kerk or Luvilla regarding payments.

Important!:
- if your reputation will become less then 0, you will be moved into "simple_users" users' group automatically.*
*for temporary groups (pre-paid for 3 months) reputation/posts do not matter.
Уважаемые пользователи!

На форуме открыт новый раздел "Каталог фрилансеров"

и отдельный раздел для платных заказов "Куплю/Закажу"

Если вы хотите приобрести какой то скрипт/продукт/хак из каталогов перечисленных ниже:
Каталог модулей/хаков
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
alldmc
Гость
Default не отображаются картинки

не могу понять в чём дело! Файл загружаю, всё нормально, жму "создать тему" и вот что наблюдаю!
список папок форума прикрепил, может не хватает какой?
Attached Thumbnails
Безымянный.JPG   1.JPG  
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
alldmc
Гость
Default

забыл. не графические форматы загружаются нормально
 
 
kerk
k0t
 
kerk's Avatar
Default
0

может миниатюрка не создается
библиотека GD2 на хосте установлена/подключена?
 
 
alldmc
Гость
Default

картинки даже не открываются. Тупо надпись "Рисунок" и такое ощущение, что путь не совпадает, хотя размер отображается

alldmc добавил 03.05.2009 в 17:39
ну кто нибудь!!! кто сможет посмотреть, стучите в аську 388-776-535

alldmc добавил 03.05.2009 в 20:01
содержимое newattachment.php
тут что не так может?


$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vbphrase[manage_attachments] - $vboptions[bbtitle]</title>
</head>
<body style="margin:0px" onload="self.focus()">

<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 = "";
return true;
}
else
{
alert("$vbphrase[select_a_file_to_attach]");
return false;
}
}

<if condition="$show['updateparent']">
if (typeof window.opener.vB_Attachments != 'undefined')
{
window.opener.vB_Attachments.reset();
$new_attachlist_js
}
</if>

//-->
</script>

<div class="page">
<form enctype="multipart/form-data" action="newattachment.php?do=manageattach&amp;p=$postid" name="newattachment" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="manageattach" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="f" value="$forumid" />
<input type="hidden" name="p" value="$postid" />
<input type="hidden" name="poststarttime" value="$poststarttime" />
<input type="hidden" name="editpost" value="$editpost" />
<input type="hidden" name="posthash" value="$posthash" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat">
<!-- <span class="smallfont" style="float:$stylevar[right]"><a href="#" onclick="self.close()">$vbphrase[close_this_window]</a></span> -->
$vbphrase[manage_attachments]
</td>
</tr>
<if condition="$show['errors']">
<tr>
<td class="thead">$vbphrase[upload_errors]</td>
</tr>
$errorlist
</if>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<if condition="$show['attachmentlimits']">
<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
<phrase 1="$attach_username">$vbphrase[sum_of_attachments_owned_by_x]</phrase>:
$attachsum<br />
<table style="border:2px groove" cellpadding="0" cellspacing="1" border="0" width="100%">
<tr>
<if condition="$show['currentsize']"><td width="$attachsize" bgcolor="red" style="border:1px outset" class="smallfont" title="<phrase 1="$attachsum">$vbphrase[current_attachment_total_x]</phrase>">&nbsp;</td></if>
<if condition="$show['totalsize']"><td width="$totalsize" bgcolor="green" style="border:1px outset" class="smallfont" title="<phrase 1="$attachlimit">$vbphrase[maximum_attachment_storage_x]</phrase>">&nbsp;</td></if>
</tr>
</table>
</div>
</div>
</if>

<if condition="$show['attachoption']">
<if condition="$show['attachfile']">
<fieldset class="fieldset">
<legend>$vbphrase[upload_file_from_your_computer]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" width="100%" border="0">
<tr valign="bottom">
<td>
<input type="hidden" name="MAX_FILE_SIZE" value="$inimaxattach" />
$attachinput
</td>
<td align="$stylevar[right]"><input type="submit" class="button" name="upload" value="$vbphrase[upload]" style="width:70px" onclick="return verify_upload(this.form);" /></td>
</tr>
</table>
</fieldset>
</if>
<if condition="$show['attachurl']">
<fieldset class="fieldset">
<legend>$vbphrase[upload_file_from_url]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" width="100%" border="0">
<tr valign="bottom">
<td>
$attachurlinput
</td>
<td align="$stylevar[right]"><input type="submit" class="button" name="upload" value="$vbphrase[upload]" style="width:70px" onclick="return verify_upload(this.form);" /></td>
</tr>
</table>
</fieldset>
</if>
<else />
<fieldset class="fieldset">
<legend>$vbphrase[upload_file]</legend>
<if condition="$show['forumclosed']">
$vbphrase[this_forum_is_not_accepting_new_attachments]
<else />
<phrase 1="$vboptions[attachlimit]">$vbphrase[have_uploaded_maximum_x_files]</phrase>
</if>
</fieldset>
</if>

<if condition="$show['attachmentlist']">
<fieldset class="fieldset">
<legend>$vbphrase[current_attachments] ($totallimit)</legend>
<div style="padding:$stylevar[formspacer]px">
<table class="fieldset" cellpadding="0" cellspacing="1" border="0" width="100%">
$attachments
</table>
</div>
</fieldset>
</if>

<div align="center" id="uploading" style="display:none; margin-top:$stylevar[cellpadding]px">
<strong>$vbphrase[uploading_file]</strong>
</div>


<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<thead>
<tr>
<td class="thead" colspan="4">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('attachkey')"><img id="collapseimg_attachkey" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_attachkey].gif" alt="" border="0" /></a>
<span class="fieldset">$vbphrase[attachment_key]</span>
</td>
</tr>
</thead>
<tbody id="collapseobj_attachkey" style="$vbcollapse[collapseobj_attachkey]">
<tr class="tcat">
<td class="smallfont">&nbsp;&nbsp;&nbsp;&nbsp;Тип <!-- $vbphrase[filetype] --></td>
<td class="smallfont">$vbphrase[max_filesize]</td>
<td class="smallfont">$vbphrase[max_width]</td>
<td class="smallfont">$vbphrase[max_height]</td>
</tr>
$attachkeybits
</tbody>
</table>
</td>
</tr>
</table>

</div>
</div>

<div style="margin-top:$stylevar[cellpadding]px">
<!-- <input type="button" class="button" value="123$vbphrase[close_this_window]" onclick="window.close();" /> -->
</div>

</td>
</tr>
</table>


</form>
</div>

</body>
</html>

alldmc добавил 04.05.2009 в 02:02
разобрался!
Парни, выложите пожалуйста файл с 3.8.2 attachment.php пожалуйста!!!

Last edited by alldmc : 05-04-2009 at 03:02 AM. Reason: Добавлено сообщение
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 02:59 AM.


Powered by vBulletin® Version 3.5.7
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.