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????

19 hours ago, avangcom said:

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

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

 

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

 Перейдите в 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:

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

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

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'>

 

 

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:

В 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}">, смотря какое поле.

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
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.