форум vBSupport.ru > vBulletin > Old vB versions (3.0.x & 2.x.x) > vBulletin 3.7.x > Styles & Graphics [3.7.x]
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'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
Вектор
Эксперт
 
Вектор's Avatar
Default Проблема с кодом в стиле форума
0

PHP Code:
$stylevar[htmldoctype]
<
html dir=\"$stylevar[textdirection]\" lang=\"$stylevar[languagecode]\">
<head>
    <!-- no cache headers -->
    <meta http-equiv=\"Pragma\" content=\"no-cache\" />
    <meta http-equiv=\"Expires\" content=\"-1\" />
    <meta http-equiv=\"Cache-Control\" content=\"no-cache\" />
    <!-- end no cache headers -->
    
$headinclude
    <title>" 
construct_phrase("$vbphrase[x_powered_by_vbulletin]""" $GLOBALS['vbulletin']->options['bbtitle'] . "") . "</title>
</head>
<body>
$header


<table cellpadding=\"
$stylevar[cellpadding]\" cellspacing=\"0\" border=\"0\" width=\"$stylevar[outertablewidth]\" class=\"page\" align=\"center\">
<tr>
<td width=\"180\" valign=\"top\">
<br>

<!-- what's going on box -->
<table class=\"tborder\" cellpadding=\"
$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">
<thead>
    "
.(($show['guest']) ? ("
    <table align=\"center\" border=\"0\" cellpadding=\"
$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" class=\"tborder\" width=\"90%\">

</table>

"
) : (""))."
  
</table>


<!-- guest welcome message -->

<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  <tr> 
    <td width=\"5\"><img src=\"
$stylevar[imgdir_misc]/cat_head_left.gif\" width=\"5\" height=\"28\"></td>
    <td background=\"
$stylevar[imgdir_misc]/cat_head_bg.gif\">" construct_phrase("<font color=\"#d3e2e9\"><strong>$vbphrase[welcome_to_the_x]</strong></font>""" $GLOBALS['vbulletin']->options['bbtitle'] . "") . "</td>
    <td width=\"5\"><img src=\"
$stylevar[imgdir_misc]/cat_head_right.gif\" width=\"5\" height=\"28\"></td>
  </tr>
</table>

<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  <tr>
    <td background=\"
$stylevar[imgdir_misc]/cat_head_shadow.jpg\"><img src=\"$stylevar[imgdir_misc]/cat_head_shadow.jpg\" width=\"5\" height=\"3\"></td>
  </tr>
</table>
<table class=\"tborder\" cellpadding=\"0\" cellspacing=\"1\" border=\"0\" width=\"100%\">
  <tr>
    <td><table class=\"alt1\" width=\"100%\" border=\"0\" cellspacing=\"6\" cellpadding=\"0\">
        <tr> 
          <td><font color=\"#5d6e76\" size=\"1\" face=\"Tahoma\"> Если это ваше первое посещение сайта, не забудьте прочитать <strong>Справку</strong> нажав по ссылке выше. Вам придется зарегестрироваться прежде, чем оставлять сообщения: нажмите <strong>Регистрация</strong> ссылка выше, чтобы продолжить. Чтобы начать просмотр, выберите форум, который хотите посетить из списка.
          </td>
        </tr>
      </table></td>
  </tr>
</table>

    <!-- / guest welcome message -->
    </if>


$navbar



<!-- main -->
<table class=\"tborder\" cellpadding=\"
$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">
<thead>
$forumbits
</thead>



<tbody>
    <tr>
        <td align=\"center\" colspan=\""
.(($GLOBALS['vbulletin']->options['showmoderatorcolumn']) ? ("6") : ("5"))."\">
        <div class=\"smallfont\"><strong> <a href=\"forumdisplay.php?" 
$GLOBALS['vbulletin']->session->vars['sessionurl'] . "do=markread\" rel=\"nofollow\">$vbphrase[mark_forums_read]</a> 
          "
.(($GLOBALS['vbulletin']->options['forumleaders']) ? ("&nbsp;| &nbsp; <a href=\"showgroups.php" $GLOBALS['vbulletin']->session->vars['sessionurl_q'] . "\" rel=\"nofollow\">$vbphrase[view_forum_leaders]</a>") : ("")).
          </strong></div></td>
    </tr>
</tbody>

</table>
$forumhome_markread_script
<!-- /main -->

<br />


<!-- what's going on box -->


<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  <tr> 
    <td width=\"5\"><img src=\"
$stylevar[imgdir_misc]/cat_head_left.gif\" width=\"5\" height=\"28\"></td>
    <td class=\"tcat\" background=\"
$stylevar[imgdir_misc]/cat_head_bg.gif\">" construct_phrase("<font color=\"#d3e2e9\"><strong><a href=\"online.php\">Кто на форуме</a> </strong></font>""" $GLOBALS['vbulletin']->options['bbtitle'] . "") . "</td>
    <td width=\"5\"><img src=\"
$stylevar[imgdir_misc]/cat_head_right.gif\" width=\"5\" height=\"28\"></td>
  </tr>
</table>

<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  <tr>
    <td background=\"
$stylevar[imgdir_misc]/cat_head_shadow.jpg\"><img src=\"$stylevar[imgdir]/cat_head_shadow.jpg\" width=\"5\" height=\"3\"></td>
  </tr>
</table>
<table class=\"tborder\" cellpadding=\"0\" cellspacing=\"1\" border=\"0\" width=\"100%\">
  <tr>
    <td><table class=\"alt1\" width=\"100%\" border=\"0\" cellspacing=\"6\" cellpadding=\"0\">
        <tr> 
          <td><font color=\"#5d6e76\" size=\"1\" face=\"Tahoma\"> <strong>
$totalonline 
            - </strong> (" 
construct_phrase("$vbphrase[x_members_and_y_guests]""$numberregistered""$numberguest") . ") 
            | " 
construct_phrase("$vbphrase[most_users_ever_online_was_x_y_at_z]""<b>$recordusers</b>""$recorddate""$recordtime") . "</font></td>
        </tr>
      </table></td>
  </tr>
</table>



<table class=\"tborder\" cellpadding=\"0\" cellspacing=\"1\" border=\"0\" width=\"100%\">
  <tr> 
    <td><table class=\"alt2\" width=\"100%\" border=\"0\" cellspacing=\"6\" cellpadding=\"0\">
        <tr> 
          <td><font color=\"#5d6e76\" size=\"1\" face=\"Tahoma\"> 
$activeusers</font></td>
        </tr>
      </table></td>
  </tr>
</table>

<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
  <tr>
    <td height=\"3\"></td>
  </tr>
</table>

<!-- end what's going on box -->
<!-- icons and login code -->
<table cellpadding=\"0\" cellspacing=\"2\" border=\"0\" width=\"100%\">
  <tr valign=\"bottom\"> "
.((!$show['guest']) ? (
    <!-- member logout -->
    <td align=\"
$stylevar[right]\"><font size=\"1\" face=\"Tahoma\"><a href=\"login.php?" $GLOBALS['vbulletin']->session->vars['sessionurl'] . "do=logout&amp;logouthash=" $GLOBALS['vbulletin']->userinfo['logouthash'] . "\"  onclick=\"return log_out()\">" construct_phrase("$vbphrase[log_out_x]""" $GLOBALS['vbulletin']->userinfo['username'] . "") . "</a><br>
              <br>

              </font></td>
    <!-- end member logout -->
    "
) : (""))." </tr>
</table>
<!-- / icons and login code -->

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


$footer
</body>
</html> 
Вот такой код.
Проблема в следующем.
Когда заходишь на сайт в режиме гостя, то получается вот так



Где ошибка? (PHP не очень хорошо знаю)
Если заходишь под своим ником то все нормально.
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
kerk
k0t
 
kerk's Avatar
Default
0

что это за код вообще?
откуда взялся?
в шаблонах такого нету
 
 
DI&YA
Специалист
 
DI&YA's Avatar
Default
0

Quote:
Originally Posted by kerk View Post
что это за код вообще?
это FORUMHOME если я не ошибаюсь, но какой-то не такой
 
 
4ibon4ik
На доске почёта
 
banned nax
Default
0

а название файла картинки которая внизу лишняя вылезает какое?
 
 
Вектор
Эксперт
 
Вектор's Avatar
Default
0

Quote:
Originally Posted by 4ibon4ik View Post
а название файла картинки которая внизу лишняя вылезает какое?
border_right.gif
 
 
zzzru
Знаток
Default
0

Flaaash, это скорее всего шаблон footer, а не тот, который ты привел. В нем копай.
 
 
Вектор
Эксперт
 
Вектор's Avatar
Smile
0

Quote:
Originally Posted by zzzru View Post
Flaaash, это скорее всего шаблон footer, а не тот, который ты привел. В нем копай.
Ладно покопаемсу
 


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 07:09 AM.


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