Jump to content
Дизайн и модификация Invision Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...

Recommended Posts

Сссылки выглядят так:

site.ru/index.html/_/articles/forum/promoting-posts-to-articles-r1

 

Для того что бы убрать нижнее подчеркивание (выделено выше красным) или заменить его на что-то своё достаточно в файле index.php который из папки tools изменить:

define( 'DATABASE_FURL_MARKER', '_' );

 

Или нужно еще и здесь править?

admin/applications_addon/ips/ccs/app_class_ccs.php

 

if( !defined('DATABASE_FURL_MARKER') )
{
define( 'DATABASE_FURL_MARKER', '_' );
}

  • Upvote 2

Share this post


Link to post

Я заменила только в index.php на "ipb", потому что совсем убрать нельзя.

Но теперь есть ошибки при вынесении статьи с форума.

Сейчас попробую заменить и в app_class_ccs.php

Если ошибка исчезнет, напишу.

 

Ура. Ошибка пропала :)

Спасибо :)

 

Значит нужно менять и там, и там :)

Подберите ключевое слово по своей теме вместо _

Share this post


Link to post
Ура. Ошибка пропала :)

Спасибо :)

Да не за что! Сам методом тыка делаю )))

 

Так, а как избавиться от index.html ? ))))

 

site.ru/index.html/_/articles/forum/promoting-posts-to-articles-r1

Share this post


Link to post

Переписывалась с саппортом. Поняла, что никак или очень сложно.

Я избавилась пока только путем отсутствия страницы с index.html в модуле статей.

Здесь сейчас сайт.ру/ipcontent – страница, а не каталог.

Но если с главной модуль статей запустить, без index.html никак не обойтись :)

 

Приведу переписку

Fisana

Hello.

My site is working on the HTML now. Every page and the directory created manually.

My site there is a long time and has a lot of external links.

I want to transfer it to ip.content and keep all old url.

 

I do not want to use a board wrapper and can not begin to replace the main page and all current pages. So I did a directory ipcontent for training.

But I can not get rid of this horror - index.html / _ /

For example - _http://ipbskins.ru/ipcontent/index.html/_/module-articles/

Should be so - _http://ipbskins.ru/ipcontent/module-articles/

(Because in the old structure of the site is no debris in the middle of url)

 

Is there a chance to get rid of this or should I give up hope to transfer my site on IP.Content?

 

27 Jul 2010

Staff: Giuseppe Casagrande

Hello,

 

"index.html" is the name of the page and it must stay in the url, "_" instead is the database marker and must be in the url too to separate the furl from the page name. You are free to change the database marker but you cannot remove it completely. If you want to use a database to hold all your pages your only option is to modify the source code to always use "index.html" (or any other page name) as the page and you also need to change it to always "think" the database marker is included too.

 

Editing the code in this way however might break other functions if you are not careful and since it requires file customizations we won't be able to assist you with the edits.

Let us know if you have further questions.

 

--

Giuseppe Casagrande

Advanced Support

Invision Power Services

Share this post


Link to post

Кстати.

Совсем забыла...

У Рицки получилось избавиться от index.html, но при условии использования форумного враппера.

Share this post


Link to post

Как раз использую форумный враппер. Не подскажет он как ликвидировать данную козявку, да вообще в таком виде:

_http://domen.ru/page/home.html/_/problemnye-deti/osobye-deti/polnyy-rebenok-bez-kompleksov.html

 

Все что красным, надо бы удалить... Выходит, одного ковыряния в furlTemplates.php для CCS недостаточно? Неужели сложно сделать как в вордпресс?

Share this post


Link to post

К сожалению, недостаточно.

Попробуйте тоже в саппорт написать. Это ничего сейчас не даст, но пусть будет еще одна капля недовольства для исправления в будущем.

Share this post


Link to post

Написал, привел примеры какие красивые ссылки получаются в вордпресс. Пока молчат, спят наверно еще :) .

Share this post


Link to post

Задал в клиентке следующий вопрос:

 

How to make a normal Friendly URL ?

Hello!
How do IP.Content, that was not the case:
http://domen.ru/page/home.html/_/problemnye-deti/osobye-deti/polnyy-rebenok-bez-kompleksov.html
and so:
http://domen.ru/problemnye-deti/osobye-deti/polnyy-rebenok-bez-kompleksov.html
or even better:
http://domen.ru/2010/09/12/polnyy-rebenok-bez-kompleksov.html

In WordPress this is done by simply switching. In IP.Content not find such a setting, very uncomfortable ... Address to the article turns ugly, very long, readers are not remembered.

My users swear ... Please help ...

 

Видимо последнее зря спросил:

or even better:
http://domen.ru/2010/09/12/polnyy-rebenok-bez-kompleksov.html

 

Наверно не понял меня (или я его ответ не понял) и ответил:

 

Hello,

You cannot change the FURL of IP.Content to access something that doesn't exist.

I'm assuming that the filename is polnyy-rebenok-bez-kompleksov.html in Content, and you have it in the /problemnye-deti/osobye-deti subdirectories.

You have to tell it what it's accessing. I suppose you could write a custom RewriteRule to point http://domen.ru/2010/09/12/polnyy-rebenok-bez-kompleksov.html to http://domen.ru/problemnye-deti/osobye-deti/polnyy-rebenok-bez-kompleksov.html

But, the only way to have it show the way you want directly in IP.Content would be to put the file in the /2010/09/12 subdirectory in content, which would likely have to be created, and then name the file polnyy-rebenok-bez-kompleksov.html

Jason
IPS Support

 

Может кто перевести нормально, чего Jason пытался сказать???

Share this post


Link to post

Вроде предлагает написать свое правило RewriteRule с полным путем или создать папки и страницы внутри.

Share this post


Link to post

RewriteRule - наверно еще где-то можно подсмотреть, при наличии массы времени и что-то понять. А вот на каждый день публикаций вручную создавать папки... :)

Share this post


Link to post

Я получил такой ответ:

 

Thank you for contacting Invision Power Services.

 

Jason H has responded to your Invision Power Services request.

 

-----------------------------------------------

 

Hello,

 

It separates the link from the database record.

 

You're welcome to try removing it.. But.. So far as I know, it won't work. It used to not be removable, and unless that has changed (Which does happen from time to time) removing it will cause the links to not work.

 

You'd have to remove the FURL marker from the files I mentioned before.

 

Jason

IPS Support

 

Очень хочется удалить этот маркер...

Share this post


Link to post

/home.html/_/

Ну сейчас они сделали опцию, позволяющую убирать home.html

Но /_/ можно только заменить. Я заменила на /ipb/

 

Я не могу перевести сайт на ip.content полностью, потому что жду решения проблемы.

Но ее пока нет и в этой версии.

Сейчас могу только страницы создавать без использования модуля статей, дабы потом url не испортились.

Share this post


Link to post

Ps

Если сейчас включаю новую опцию для раздела статей, то у меня исчезает 'ipcontent/' в адресе внутренних страниц, куда есть ссылки с ipbskins.ru/ipcontent/

Получается бред и разрушение созданной с трудом системы.

Share this post


Link to post

_http://domen.ru/page/index.html/_/problemnye-deti/osobye-deti/polnyy-rebenok-bez-kompleksov.html

появилось уже какое-то решение по вопросу устранения page/index.html/_ ?

Edited by Iven

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...