Placing an icon in the users post

For support and discussion related to templates, themes, and imagesets in phpBB 3.1.
Ideas Centre
Locked
User avatar
optimusvault
Registered User
Posts: 108
Joined: Tue Jul 28, 2015 2:51 am
Name: Aaron

Placing an icon in the users post

Post by optimusvault »

Hi

I am wondering how I can place an icon in the users post.

More specifically to the left of the post title & date as shown in the screenshot.

I would need to do a float left, with a little margin, but I tried and it with

Code: Select all

<div style="float: left; margin: 5px;">icon</div>
Just before the
<p class="author">

and it doesn't float properly.
screen.png
screen.png (3.2 KiB) Viewed 1098 times
Cheers,
Aaron

User avatar
Lumpy Burgertushie
Registered User
Posts: 67243
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Placing an icon in the users post

Post by Lumpy Burgertushie »

maybe I missed it but that image doesn't show us anything different from the default.

in the text you say to the left of the post title and date.

the post title and date are on two different lines.
the date has the author before it etc.

if you explain a little better what you want I will see what I can figure out for you.

robert

EDIT:
here is what I figured out, it may not be what you want:

to place it before the topic title/subject line, find this:

Code: Select all

<a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></h3>
and place it before that.



to place something on the author line, find this:

Code: Select all

<!-- ELSE --><a href="{postrow.U_MINI_POST}">

and put it after the <!-- ELSE -->
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?

User avatar
optimusvault
Registered User
Posts: 108
Joined: Tue Jul 28, 2015 2:51 am
Name: Aaron

Re: Placing an icon in the users post

Post by optimusvault »

Thanks I will have a play around.
I think it's coded differently than on 3.0 because of all the events etc, which is where I would normally place it.
Cheers,
Aaron

User avatar
Lumpy Burgertushie
Registered User
Posts: 67243
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Placing an icon in the users post

Post by Lumpy Burgertushie »

those instructions are for 3.1.5 prosilver.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?

User avatar
optimusvault
Registered User
Posts: 108
Joined: Tue Jul 28, 2015 2:51 am
Name: Aaron

Re: Placing an icon in the users post

Post by optimusvault »

Thank you.
Appreciate it :)
Cheers,
Aaron

Locked

Return to “[3.1.x] Styles Support & Discussion”