Advertisement:

Author Topic: Avatars on Board and/or MessageIndex  (Read 59381 times)

Offline Pipke

  • Full Member
  • ***
  • Posts: 550
    • #31970508 on GitHub
Re: Avatars on Board and/or MessageIndex
« Reply #200 on: March 27, 2020, 11:07:22 AM »
@jsx wich mods do you all have installed?
“If something is wrong, fix it if you can. But train yourself not to worry. Worry never fixes anything.”

My Mods for SMF:
Avatars Display Integration
Avatars on Board and/or MessageIndex
Recent Forum Topics on Boardindex
Relative Time Formats

Offline jsx

  • Full Member
  • ***
  • Posts: 536
  • Gender: Male
Re: Avatars on Board and/or MessageIndex
« Reply #201 on: March 27, 2020, 01:32:28 PM »
@Pipke

These mods are installed:

Avatars on Board/MessageIndex 2.0.17
SMF 2.0.17 Update 1.0
Like Posts 2.2    
Download Attachment 1.0    
ShowBannedMessage 1.6    
Ohara YouTube Embed 1.2.10    
AJAX Recent Topics 1.1    
SMFPacks Shoutbox Pro 1.4.5
SimpleColorizer 1.1    
Regbar Warning 1.0.5    
Confirmation message to Mark as Read 1.00    
@mention members 1.1.2    
reCAPTCHA for SMF 2.0.0    
Image Upload 1.0.0    
Medal Honor For Years 1.0
Admin member list registration date 1.2
Tapatalk SMF 2.0 Plugin 4.5.7    
Quick Spoiler 1.2.3    
Yet Another Global Announcements Mod 2.7.5
Ultimate Menu 1.0.3    
Change All Subjects 1.3
Drafts 2.2
TinyPortal 1.6.5    
dQuoteSelection 2.6.4
The Great Winged Hussars

https://www.youtube.com/watch?v=DCdNC1i2eZE

We remember
In september
When The Winged Hussars arrived!

Offline pocttopus

  • Full Member
  • ***
  • Posts: 521
  • Low pressure
    • @pocttopus on Twitter
    • mkreef.com
Re: Avatars on Board and/or MessageIndex
« Reply #202 on: May 19, 2020, 12:56:35 PM »
Hello,

Is there some way to use this mod on 2.1RC2 version?

Offline Deaks

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 22,549
  • Gender: Male
    • trekkiesforyes on Facebook
    • pouvik on GitHub
    • @trekkies4yes on Twitter
    • YES
Re: Avatars on Board and/or MessageIndex
« Reply #203 on: May 19, 2020, 01:38:28 PM »
yes :) its under a different name however this mod seems to be similar:

https://custom.simplemachines.org/mods/index.php?mod=4246

Also by same author.

Offline Pipke

  • Full Member
  • ***
  • Posts: 550
    • #31970508 on GitHub
Re: Avatars on Board and/or MessageIndex
« Reply #204 on: May 19, 2020, 01:39:28 PM »
“If something is wrong, fix it if you can. But train yourself not to worry. Worry never fixes anything.”

My Mods for SMF:
Avatars Display Integration
Avatars on Board and/or MessageIndex
Recent Forum Topics on Boardindex
Relative Time Formats

Offline pocttopus

  • Full Member
  • ***
  • Posts: 521
  • Low pressure
    • @pocttopus on Twitter
    • mkreef.com

Offline Sectomy

  • Semi-Newbie
  • *
  • Posts: 90
Re: Avatars on Board and/or MessageIndex
« Reply #206 on: July 12, 2020, 07:59:45 AM »
hi,

i have a little PRoblem with the Sunrise theme, maybe the exact the same issue another guy have here, too.


Offline Sectomy

  • Semi-Newbie
  • *
  • Posts: 90
Re: Avatars on Board and/or MessageIndex
« Reply #207 on: July 12, 2020, 08:20:43 AM »
oh, and the avatar on message are not centered.....maybe a problem of me ?

Offline efk

  • Full Member
  • ***
  • Posts: 429
  • Gender: Male
Re: Avatars on Board and/or MessageIndex
« Reply #208 on: July 12, 2020, 11:36:04 AM »
oh, and the avatar on message are not centered.....maybe a problem of me ?
Maybe this can help?
CSS - poster

Offline Sectomy

  • Semi-Newbie
  • *
  • Posts: 90
Re: Avatars on Board and/or MessageIndex
« Reply #209 on: July 13, 2020, 12:07:56 PM »
nope, but i tried anything, but....nope :( nothing happens...) all is centered but not the avatar :(

Offline Pipke

  • Full Member
  • ***
  • Posts: 550
    • #31970508 on GitHub
Re: Avatars on Board and/or MessageIndex
« Reply #210 on: July 13, 2020, 02:13:36 PM »
nope, but i tried anything, but....nope :( nothing happens...) all is centered but not the avatar :(

Before we give you a lot of code that might help ... it's much easier if you share us your website url so we can take a look at what's going on there and maybe we can help further.
“If something is wrong, fix it if you can. But train yourself not to worry. Worry never fixes anything.”

My Mods for SMF:
Avatars Display Integration
Avatars on Board and/or MessageIndex
Recent Forum Topics on Boardindex
Relative Time Formats

Offline Pipke

  • Full Member
  • ***
  • Posts: 550
    • #31970508 on GitHub
Re: Avatars on Board and/or MessageIndex
« Reply #211 on: July 13, 2020, 03:38:51 PM »
@Sectomy found your site, add this to your ...Themes/{your_theme}/index.css
Code: [Select]
div.poster div {
margin: auto;
display: block;
}

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

My Mods for SMF:
Avatars Display Integration
Avatars on Board and/or MessageIndex
Recent Forum Topics on Boardindex
Relative Time Formats

Offline Pipke

  • Full Member
  • ***
  • Posts: 550
    • #31970508 on GitHub
Re: Avatars on Board and/or MessageIndex
« Reply #212 on: July 13, 2020, 04:05:46 PM »
hi,

i have a little PRoblem with the Sunrise theme, maybe the exact the same issue another guy have here, too.



where you want that font awesome user edit icon to be placed?
“If something is wrong, fix it if you can. But train yourself not to worry. Worry never fixes anything.”

My Mods for SMF:
Avatars Display Integration
Avatars on Board and/or MessageIndex
Recent Forum Topics on Boardindex
Relative Time Formats

Offline Sectomy

  • Semi-Newbie
  • *
  • Posts: 90
Re: Avatars on Board and/or MessageIndex
« Reply #213 on: July 14, 2020, 02:02:48 AM »
@pipke thank you for the index.css thing, about the icon, if its possible it looks like this:

so all is more centered and aligned properly.... the same with the abm theme problem in the DokuzHarf theme on page 9

Offline Pipke

  • Full Member
  • ***
  • Posts: 550
    • #31970508 on GitHub
Re: Avatars on Board and/or MessageIndex
« Reply #214 on: July 14, 2020, 04:20:45 PM »
...about the icon, if its possible it looks like this:

so all is more centered and aligned properly.... the same with the abm theme problem in the DokuzHarf theme on page 9

open file .../Sources/abm_code.php

Code: (find) [Select]
'~<p>abm<!----></p>~',

Code: (add after) [Select]
'~<i class="fas fa-user-edit"></i>~',
'~<b>'.$txt['last_post'].'</b>~',

and

Code: (find) [Select]
$avatar = preg_replace($find[12], '', $avatar);

Code: (add after) [Select]
$avatar = preg_replace($find[13], '', $avatar);
$avatar = preg_replace($find[14], '<i class="fas fa-user-edit"></i><b>'.$txt['last_post'].'</b>', $avatar);

good luck with the edit, make backup of the file before editing!

if you did all right you will get this result:


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

My Mods for SMF:
Avatars Display Integration
Avatars on Board and/or MessageIndex
Recent Forum Topics on Boardindex
Relative Time Formats

Offline Sectomy

  • Semi-Newbie
  • *
  • Posts: 90
Re: Avatars on Board and/or MessageIndex
« Reply #215 on: July 15, 2020, 02:28:46 AM »
Perfect ! WOW ! Many Thanks !

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,747
  • Gender: Male
  • the "mods and tweaks" junkie
    • dopetalk (drugs and users)
Re: Avatars on Board and/or MessageIndex
« Reply #216 on: May 03, 2021, 05:10:25 AM »
Getting lots of these errors in 2.0.17 and the latest version of this mod

Code: [Select]
8: Undefined index: time
File: /var/www/html/Sources/abm_code.php
Line: 353

Code: [Select]
8: Undefined offset: 32
File: /var/www/html/Sources/abm_code.php
Line: 348

The mod is working fine though. Any ideas ?
The configuration of my Linux VPS (SMF 2.0 with 155+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline Pipke

  • Full Member
  • ***
  • Posts: 550
    • #31970508 on GitHub
Re: Avatars on Board and/or MessageIndex
« Reply #217 on: May 03, 2021, 03:42:55 PM »
Code: [Select]
8: Undefined index: time
File: /var/www/html/Sources/abm_code.php
Line: 353
Code: [Select]
8: Undefined offset: 32
File: /var/www/html/Sources/abm_code.php
Line: 348

try this edit:
Code: (find) [Select]
if ($row['id_parent'])
Code: (replace by) [Select]
if (isset($row['id_parent']))

let me know if that solved the errors.
“If something is wrong, fix it if you can. But train yourself not to worry. Worry never fixes anything.”

My Mods for SMF:
Avatars Display Integration
Avatars on Board and/or MessageIndex
Recent Forum Topics on Boardindex
Relative Time Formats

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,747
  • Gender: Male
  • the "mods and tweaks" junkie
    • dopetalk (drugs and users)
Re: Avatars on Board and/or MessageIndex
« Reply #218 on: May 03, 2021, 08:02:13 PM »
Sorry but that didn't fix the errors and it also lost the avatars.
The configuration of my Linux VPS (SMF 2.0 with 155+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline Pipke

  • Full Member
  • ***
  • Posts: 550
    • #31970508 on GitHub
Re: Avatars on Board and/or MessageIndex
« Reply #219 on: May 04, 2021, 04:41:58 PM »
sorry but i dont have a test smf 2.0 setup atm, so maybe this then?
Code: (find) [Select]
if ($row['id_parent'])
Code: (replace by) [Select]
if (!empty($row['id_parent']))
“If something is wrong, fix it if you can. But train yourself not to worry. Worry never fixes anything.”

My Mods for SMF:
Avatars Display Integration
Avatars on Board and/or MessageIndex
Recent Forum Topics on Boardindex
Relative Time Formats