Перейти к публикации
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.

Как сделать инклуд latest_post.php?

Опубликовано:

Форум IP.Board - v2.3.4

http://motor.ck.ua/forum/index.php?

 

Слева есть поле, в которое хочу вставить последние активные темы, которые генерятся latest_post.php:

http://motor.ck.ua/forum/latest_post.php

 

На заглавное странице в WP ( http://motor.ck.ua/wordpress/ ) все легко решилось таким образом:

<?php include('/data0/customers/motor.ck.ua/forum/latest_post.php'); ?>

 

А вот как сделать include на форум - ума не приложу.

 

Варианы:

 

<?php include('latest_post.php'); ?>

<!--exec.file="./latest_post.php"-->

<!--exec.url="http://motor.ck.ua/forum/latest_post.php"-->

 

с разными вариантами адресной строки успеха не дали.

Рекомендованные сообщения

Опубликовано:

Можно переписать код под IPB и вставить в шаблон что то вроде <% LASTPOSTS %>

 

Инклуид в шаблон - это зло... И Имхо не безопасно.

Создайте аккаунт или войдите в него для комментирования

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу.

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.