Avatars Display Integration

Started by Pipke, February 15, 2020, 07:43:21 PM

Previous topic - Next topic

Pipke

Quote from: Senkusha on January 23, 2023, 05:54:16 AMIs there an easy way to fix this vertical alignment issue?  The topic is on the bottom of the row, while the other info is at the top of the row.  Ideally, I think a center vertical aligned makes the most sense.

You cannot view this attachment.

can you set/turn the avatars back on @recent posts @ your website, this way i can inspect the code and maybe help you.
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

Senkusha

--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

Pipke

@Senkusha ...  Ok lets do this: fingers crossed ;)

open in your theme\css folder the file costum.css
find at line 891, replace the rule.

Code (replace) Select
/* Recent Flex Grid Thingy thing thing */
.recent_grid_column {
box-shadow: 0 16px 20px rgba(255, 255, 255, 0.15) inset;
background: var(--windowbg);
background: linear-gradient(180deg, var(--windowbg) 70%, var(--windowbg2) 100%);
flex-basis: 100%;
padding: 0px 0px 0px 9px;
margin: 0px;
text-align: left;
font-size: 1em;
}

@media screen and (min-width:800px) {
 .recent_grid_row, .recent_grid_row span {
display:flex;
flex-direction:row;
flex-wrap:nowrap;
align-items: center;
 }
 .recent_grid_flex {
flex:1
 }
 .recent_grid_row {
border-top: 1px solid var(--borderbg2);
 }
}

good luck with the edit.
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

Senkusha

--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

Marina3

Errors in /Sources/AvatarsDisplayIntegration.php (92):

Undefined array key "adi_avatar_curved".
Undefined array key "adi_avatar_square".
Undefined array key "adi_avatar_circle".

SMF 2.1.3 and php 8.1.

Pipke

Quote from: Marina3 on February 09, 2023, 02:12:51 AMErrors in /Sources/AvatarsDisplayIntegration.php (92):

Undefined array key "adi_avatar_curved".
Undefined array key "adi_avatar_square".
Undefined array key "adi_avatar_circle".

SMF 2.1.3 and php 8.1.

Hmm i cannot reproduce that error(tested with php 8.2), wich action triggers this error and can you post the complete error from the log?
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

neurons

Seamless installation with 2.1.3. + PHP 8.2 + Boru_RC4 custom theme. Awesome mod, thank you!

Shades.

SMF 2.1.3
Avatars Display Integration 1.5.4

Hey @Pipke,

When I have these 3 fields ticked:

  • Display avatar last poster on the Board index
  • Display avatar first poster on the Unread, Update and Message index
  • Display avatar last poster on the Unread, Update and Message index

and try to go into board=1.0 I'm getting this error and can't even view the board:

QuoteError
Type of error
Database
Error message
Database Error: '******_******.memf.email_address' isn't in GROUP BY
File
/home/******/public_html/******/Sources/MessageIndex.php
Line
361
URL of page causing the error
https://******.com/index.php?board=1.0

Backtrace information
#0: smf_db_error()
Called from /home/******/public_html/******/Sources/Subs-Db-mysql.php on line 494
#1: smf_db_query()
Called from /home/******/public_html/******/Sources/MessageIndex.php on line 361
#2: MessageIndex()
Called from /home/******/public_html/******/index.php on line 192

But if I untick them it works everywhere else just fine. Any ideas on this please?

Thanks,
Shades 8)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Pipke

@Shades. i have no idea, the first thing i thought that some user doesnt have any email in the profile and is missing from the db, but i tested that and that is not the case i think. Maybe someone else know whats going on here. It has todo with the first member poster memf.email_address AS first_member_mail with setting Display avatar first poster on the Unread, Update and Message index
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

Speed King

About avatar size in Likes popup, it's not defined in AvatarsDisplayIntegration.css file.
I made these changes...

Find:

/* likes popup */
#likes .adi_item_context .avatar { 
padding: 0;
display: inline-flex;
margin: 0 4px 4px 0;
}

Replace with:


/* likes popup */
#likes .adi_item_context .avatar { 
padding: 0;
display: inline-flex;
margin: 0 4px 4px 0;
width: 48px;
height: 48px;
}

marcosbr

#190
Pt translation:
Nothing in life is absolute. We are always learning... Did you know that?
https://amigosdaeletronica.com.br

Pipke

Quote from: marcosbr on June 23, 2023, 08:59:04 PMPt translation:


thx for that, ill add it into next update for mod if i dont forget.
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

gevv


Hi,

@Pipke  Is there a solution to this problem?



I come from here   ;D

+
Disabling first poster from settings didn't work. Topic solved icon does not appear


ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

Pipke

Quote from: gevv on September 14, 2023, 04:34:47 PMHi,

@Pipke  Is there a solution to this problem?



I come from here   ;D

+
Disabling first poster from settings didn't work. Topic solved icon does not appear




quick fix for that conflict is here
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

peter_mein

Hello
Sometimes the following error occurs.
See appendix

Pipke

"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

peter_mein

Hello
When I display avatar last poster on the Board index the original picture is displayed. See attachment. For all other functions, the correct avatar is displayed.
This happens only with guests who are not registered.



Pipke

Quote from: peter_mein on October 14, 2023, 05:52:07 AMHello
When I display avatar last poster on the Board index the original picture is displayed. See attachment. For all other functions, the correct avatar is displayed.
This happens only with guests who are not registered.

I cannot reproduce that, on my test forum all works well.
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

Arskrigitsioniets

Firstly, thanks for the mod, it just works and makes forum much more pretty  :)

But there is a small css flaw, it breaks the evenness of lines when the forums are empty. Not so critical, but you could fix it to make the mod even more cool (I use default theme, just some color rework, so you will be able to reproduce it on Curve from 2.1.4 SMF).

Pipke

Quote from: Arskrigitsioniets on November 19, 2023, 06:46:45 PMFirstly, thanks for the mod, it just works and makes forum much more pretty  :)

But there is a small css flaw, it breaks the evenness of lines when the forums are empty. Not so critical, but you could fix it to make the mod even more cool (I use default theme, just some color rework, so you will be able to reproduce it on Curve from 2.1.4 SMF).

Thanks for finding that. I've update the mod with a fix for it.

Mod updated, the latest version is now 1.5.5
- Fixed css style rule for redirection boards and empty(no topics inside) boards on index
- Updated languages Dutch and Russian
- Added language Portuguese_pt
- Added collaboration with the 'Topic Solved' mod
"If something is wrong, fix it if you can. But train yourself not to worry: Worry never fixes anything."

Click here to view my mods for SMF

Hey 👋 Did i helped... you like what i do. You can now buy me a coffee! ☕

Advertisement: