Jump to content
View in the app

A better way to browse. Learn more.

Дизайн и модификация Invision Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Летит верстка

Вернулся к проекту на IP.B (3.2.3)

 

Верстку проводил в режиме отключенных форумов,и начав тестирование с гостя, столкнулся со странной ситуацией. Для гостя верстка выглядет поломанной (все таблицы где-то справа, горизонтальная полоса прокрутки и т.д.)но общая концепция сохранена (шифты, цвета и т.д.), стоит авторизоваться,и верстка встает на свое место... Стиль для всех установлен по умалчиванию. В чем может быть проблема?

 

З.Ы.

 

тоже самое если заходишь на главную IP.Content

Featured Replies

  • Author

так выглядит авторизовавшись

 

post-49214-0-91296600-1344281389_thumb.jpg

 

так выглядит в гостевом режиме

 

post-49214-0-82138200-1344281428_thumb.jpg

Не закрыли какой-то тег в globalTemplate, вероятнее всего. Точнее, закрыли, но внутри условия, где проверяется, авторизован ли пользователь, и для гостей он остается не закрытым. Проще всего исправить откатив все изменения в шаблонах и повторив модификацию сначала.

  • Author

Не закрыли какой-то тег в globalTemplate, вероятнее всего. Точнее, закрыли, но внутри условия, где проверяется, авторизован ли пользователь, и для гостей он остается не закрытым. Проще всего исправить откатив все изменения в шаблонах и повторив модификацию сначала.

 

Произведу откат этого шаблон и проверю. спасибо.

  • Author

Где то в этой части кода ошибка...

 

<table width="100%" id='header_bar' class='clearfix header_bar1'>
 <tr class='header_bar1'>
   <td align="center" width="40%">
<div><img src='{$this->memberData['pp_thumb_photo']}' alt='{parse expression="sprintf($this->lang->words['users_photo'],$this->memberData['members_display_name'])"}' class='ipsUserPhoto_largen ipsUserPhoton' /></div>
</td>
   <td rowspan="2" width="45%">
   <if test="accessreports:|:$this->memberData['is_mod'] OR !empty($this->memberData['access_report_center']) || ($this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link'])">
					<ul id='admin_bar' class='ipsList_inline left'>
						<if test="showacplink:|:$this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link']">
							<!-- <li>
	<a href="{$this->settings['_admin_link']}" title='{$this->lang->words['admin_cp']}' target="_blank">{$this->lang->words['login_to_acp']}</a>
							</li> -->
						</if>

						<if test="rclink:|:$this->memberData['access_report_center'] && $this->memberData['_cache']['report_num'] > 0">
						<li class='active'>
								<a href="{parse url="app=core&module=reports&do=index" base="public"}" title='{$this->lang->words['view_reports']}'>{$this->memberData['_cache']['report_num']} {$this->lang->words['report_member_bar']}</a>
							</li>
						</if>
					</ul>
				</if>
<if test="memberbox:|:$this->memberData['member_id']">
					<div id='user_navigation' class='logged_in'>
						<ul class='ipsList_inline right'>
							<if test="showInboxNotify:|:! ( ! $this->memberData['member_id'] && $this->settings['force_login'] ) && !($this->settings['board_offline'] && !$this->memberData['g_access_offline'])">
								<if test="messengerlink:|:$this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0">
									<li><a data-clicklaunch="getInboxList" id='inbox_link' href='{parse url="app=members&module=messaging" base="public"}' title='{$this->lang->words['your_messenger']}'><if test="notifications:|:$this->memberData['msg_count_new']"><span class='ipsHasNotifications'>{$this->memberData['msg_count_new']}</span></if> </a></li></if>

								<li><a data-clicklaunch="getNotificationsList" id='notify_link' href="{parse url="app=core&module=usercp&area=notificationlog" base="public"}" title="{$this->lang->words['notifications_at_the_top']}"><if test="notifications:|:$this->memberData['notification_cnt']"><span class='ipsHasNotifications'>{$this->memberData['notification_cnt']}</span></if></a></li>
							</if>                    </td>
   <td rowspan="2" align="center" width="15%">
   <ul>
   <li>
   <a href="{parse url="app=core&module=global&section=login&do=logout&k={$this->member->form_hash}" base="public"}" title="Выход"><img src='{$this->settings['img_url']}/exit.png' alt='Выход'/></a></li>								
							<if test="authenticating:|:$this->memberData['member_group_id'] == $this->settings['auth_group']">
								<li><a href="{parse url="app=core&module=global&section=register&do=reval" base="public"}" title='{$this->lang->words['resend_val']}'>{$this->lang->words['resend_val']}</a></li>
							</if>
						</ul>
                           </td>
 </tr>
 <tr>
   <td align="left">
   <ul>
   <li>
     <div align="center">
     <b><a id='user_link' href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}"  title='{$this->lang->words['your_profile']}'>{$this->memberData['members_display_name']}</a></b>
     </div>
   </li>
   </ul>							
   </td>
 </tr>
</table>

 

Я так понимаю не закрыто условие if

 

<if test="memberbox:|:$this->memberData['member_id']">
					<div id='user_navigation' class='logged_in'>
						<ul class='ipsList_inline right'>
							<if test="showInboxNotify:|:! ( ! $this->memberData['member_id'] && $this->settings['force_login'] ) && !($this->settings['board_offline'] && !$this->memberData['g_access_offline'])">
								<if test="messengerlink:|:$this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0">
									<li><a data-clicklaunch="getInboxList" id='inbox_link' href='{parse url="app=members&module=messaging" base="public"}' title='{$this->lang->words['your_messenger']}'><if test="notifications:|:$this->memberData['msg_count_new']"><span class='ipsHasNotifications'>{$this->memberData['msg_count_new']}</span></if> </a></li></if>

 

но где его закрывать, я не понимаю

  • Author

исправил. тема закрыта.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.