Jump to content

Featured Replies

Hi, sry for bad english , my lang not english, 

Is there a training on this topic in IPS ?

postbit background for each user, like this 

ww.gif.fab9e0a8017d7f265e6d11e9342a56bd.gif

Change the postbit background via the image link for each user

i think that requires a bit more than just some HTML modifications🤔

If the administrator gives them access

for more detail About my question >>> click it

Link to comment
https://ipbmafia.ru/topic/22480-postbit-background-for-each-user/
Share on other sites
  • 2 years later...

Hello
Can this bit post be run for ips????

Link to comment
https://ipbmafia.ru/topic/22480-postbit-background-for-each-user/?&do=findComment&comment=189760
Share on other sites
19 hours ago, avangcom said:

Can this bit post be run for ips????

yes but this forum don't give you ready code.

 

Link to comment
https://ipbmafia.ru/topic/22480-postbit-background-for-each-user/?&do=findComment&comment=189777
Share on other sites
50 minutes ago, turk said:

yes but this forum don't give you ready code.

 

This is wrong. Some users of this forum are responding wholeheartedly

Link to comment
https://ipbmafia.ru/topic/22480-postbit-background-for-each-user/?&do=findComment&comment=189780
Share on other sites

 Перейдите в ACP> Темы> Редактировать HTML и CSS > найдите postContainer, затем найдите и замените это:

<aside class='ipsComment_author cAuthorPane ipsColumn ipsColumn_medium ipsResponsive_hidePhone'>

Заменить на это

<aside class='ipsComment_author cAuthorPane ipsColumn ipsColumn_medium ipsResponsive_hidePhone' data-groupId="{$comment->author()->member_group_id}">

В custom.css добавить

.cPost .cAuthorPane[data-groupId="<group_id>"] {
    background-image: url("<url_to_image>");
}

Замените <group_id> и <url_to_image> желаемыми значениями.

я не пробовал. просто нашел информацию :bt:

Link to comment
https://ipbmafia.ru/topic/22480-postbit-background-for-each-user/?&do=findComment&comment=189782
Share on other sites

Там не для групп просили, а для конкретных пользователей, если разрешено. 

Правкой html и css этого не сделать.

Link to comment
https://ipbmafia.ru/topic/22480-postbit-background-for-each-user/?&do=findComment&comment=189783
Share on other sites
1 hour ago, SlawkA said:

 Перейдите в ACP> Темы> Редактировать HTML и CSS > найдите postContainer, затем найдите и замените это:

<aside class='ipsComment_author cAuthorPane ipsColumn ipsColumn_medium ipsResponsive_hidePhone'>

Заменить на это

<aside class='ipsComment_author cAuthorPane ipsColumn ipsColumn_medium ipsResponsive_hidePhone' data-groupId="{$comment->author()->member_group_id}">

В custom.css добавить

.cPost .cAuthorPane[data-groupId="<group_id>"] {
    background-image: url("<url_to_image>");
}

Замените <group_id> и <url_to_image> желаемыми значениями.

я не пробовал. просто нашел информацию :bt:

This line does not exist in postContainer. I checked the default format :

<aside class='ipsComment_author cAuthorPane ipsColumn ipsColumn_medium ipsResponsive_hidePhone'>

 

 

Link to comment
https://ipbmafia.ru/topic/22480-postbit-background-for-each-user/?&do=findComment&comment=189785
Share on other sites
4 часа назад, avangcom сказал:

This line does not exist in postContainer. I checked the default format :

<aside class='ipsComment_author cAuthorPane ipsColumn ipsColumn_medium ipsResponsive_hidePhone'>

 

 

я не пробовал. просто нашел информацию :bt:

Link to comment
https://ipbmafia.ru/topic/22480-postbit-background-for-each-user/?&do=findComment&comment=189788
Share on other sites
В 11.10.2020 в 7:51 PM, Sarvin сказал:

Change the postbit background via the image link for each user

проще брать фона с профиля.
но можно и через кастомное поле сделать подобное.
типа: <img src="/uploads/{$content}"> или <img src="{$content}">, смотря какое поле.

Link to comment
https://ipbmafia.ru/topic/22480-postbit-background-for-each-user/?&do=findComment&comment=189847
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.


Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.