We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] User titles below name
Topic Started: Dec 22 2011, 06:14 PM (440 Views)
Ulti
Member Avatar
Member
[ *  * ]
Board Address: http:s7.zetaboards.com/Burnin_Rubber/
Board Software: ZetaBoards
Description: Hello once again ZNR. :) I'm looking for, I imagine, a fairly simple code. I'd just like a user's User Title that normally appears under their avatar to be under their name instead (for example, like the Alphacide theme that was recently made here). Thank you!
Offline Profile Goto Top
 
RyuraGS-ZNR
Member Avatar
Generation Studio
[ *  * ]
Written quickly so let me know if there are any problems.

Make sure "Display the default Avatar Image if any user has not selected an avatar." is enabled in ACP.

If you want the title and the image:
Code:
 

<script type="text/javascript">
$(function() {
$('.usertitle').each(function(){
var $this = $(this).clone();
$(this).prev().before($this);
$(this).remove();
});
});
</script>


If you just want the title:
Code:
 

<script type="text/javascript">
$(function() {
$('.usertitle').each(function(){
var $this = $(this).clone().addClass('memtitle');
var $thisimg = $(this).find('img').addClass('usertitle');
$this.find("img").remove();
$(this).prev().before($this);
$(this).after($thisimg).remove();
$('img.usertitle').wrap('<div class="usertitle" />');
});
});
</script>
Edited by RyuraGS-ZNR, Dec 28 2011, 11:03 PM.
Offline Profile Goto Top
 
Ulti
Member Avatar
Member
[ *  * ]
Below the board?
Offline Profile Goto Top
 
RyuraGS-ZNR
Member Avatar
Generation Studio
[ *  * ]
Ulti
Dec 28 2011, 10:58 PM
Below the board?
Sorry, had a mistake that I just fixed. Anywhere should work.
Offline Profile Goto Top
 
Ulti
Member Avatar
Member
[ *  * ]
Works great. Thanks. :)
Offline Profile Goto Top
 
Brendan
Member Avatar


Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic