MyBB Tutorials

Floating Image in Profile

Submitted by linkzy, , Thread ID: 53

Thread Closed

RE: Floating Image in Profile

Warned
#7
22-01-2015, 06:56 AM
Unsuspicious Wrote:
Releasing the tutorial for free, as OP is autistic and stealing my tutorials.


This is a very brief tutorial on how to add a floating image to your profile.

First up, download the Template Conditionals plugin.

Install it, as you would any other MyBB plugin.

Now, head to Templates > Your Theme > Member Templates > member_profile

After <body> add the following code, changing the URL to the image you want to use and changing YOUR ID to your ID:

Code:
<if $uid == YOUR ID then>
<img src="http://linktoyourimage.com/image.png" class="vanity" />
</if>

Now, add the following code to the end of your global.css file.

Code:
.vanity {
  position: fixed;
  bottom: 0px;
  right: 0px;
}


:fp: Just :fp:

Users browsing this thread: 6 Guest(s)