MyBB Tutorials

Floating Image in Profile

Submitted by linkzy, , Thread ID: 53

Thread Closed

RE: Floating Image in Profile

OP
This post was last modified: 22-01-2015, 11:10 AM by linkzy
#6
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;
}


Well i would have share them for free but leeching is not allowed here so yeah i used hide codes :3
and yeah this was a tut i recieved from linkz
| A | v4hl| Addicted | Senpai | Sui | Sensei | H | fdigl |



Users browsing this thread: 2 Guest(s)