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 ] Cory's 2 Member titles
Topic Started: Sep 17 2015, 11:23 PM (307 Views)
Exterminate
Member Avatar
Member
[ * ]
So i'm using the code (i posted the code below here) that Cory posted here: http://support.zathyus.com/topic/5226191/1/ it work's perfectly fine however i'd like if someone would make one change for me if possible and that change is it currently appears like this: *PICTURE REMOVED* i would like to change "title" to "Secondary Group(s)"





Code:
 

<script type="text/javascript">
$(function() {
var pName = 'PROFILE_FIELD_NAME';

$('dl.user_profile dt:contains(' + pName + ')').next('dd').andSelf().hide();

$('dl.user_profile dt:contains(' + pName + ')').each(function() {
var dd = $(this).next('dd').text();
$(this).parents('td.c_user').find('dl.user_info').prepend('<dt>Title:</dt><dd>' + dd + '</dd>');
});
});
</script>
Edited by Exterminate, Sep 18 2015, 02:32 AM.
Offline Profile Goto Top
 
Joe
Member Avatar


[bbc_code]<script type="text/javascript">
$(function() {
var pName = 'PROFILE_FIELD_NAME';

$('dl.user_profile dt:contains(' + pName + ')').next('dd').andSelf().hide();

$('dl.user_profile dt:contains(' + pName + ')').each(function() {
var dd = $(this).next('dd').text();
$(this).parents('td.c_user').find('dl.user_info').prepend('<dt>Secondary Group(s):</dt><dd>' + dd + '</dd>');
});
});
</script>[/bbc_code]
Offline Profile Goto Top
 
Exterminate
Member Avatar
Member
[ * ]
Joe
Sep 18 2015, 12:07 AM
[bbc_code]<script type="text/javascript">
$(function() {
var pName = 'PROFILE_FIELD_NAME';

$('dl.user_profile dt:contains(' + pName + ')').next('dd').andSelf().hide();

$('dl.user_profile dt:contains(' + pName + ')').each(function() {
var dd = $(this).next('dd').text();
$(this).parents('td.c_user').find('dl.user_info').prepend('<dt>Secondary Group(s):</dt><dd>' + dd + '</dd>');
});
});
</script>[/bbc_code]
Oh dang i didn't even see that however i just changed that and now it ends out like this: Posted Image all crappy looking anyway to make "Secondary Groups:" be on top and the titles (Example: Extreme Donator in the pic is a title) be below it?
Edited by Exterminate, Sep 18 2015, 02:43 AM.
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

Code:
 
<script type="text/javascript">
$(function() {
var pName = 'PROFILE_FIELD_NAME';

$('dl.user_profile dt:contains(' + pName + ')').next('dd').andSelf().hide();

$('dl.user_profile dt:contains(' + pName + ')').each(function() {
var dd = $(this).next('dd').text();
$(this).parents('td.c_user').find('dl.user_info').prepend('<dt style="float:none;">Secondary Group(s):</dt><dd style="margin-left:10px">' + dd + '</dd>');
});
});
</script>
Offline Profile Goto Top
 
Exterminate
Member Avatar
Member
[ * ]
DaPizzaMan
Sep 29 2015, 02:55 PM
Code:
 
<script type="text/javascript">
$(function() {
var pName = 'PROFILE_FIELD_NAME';

$('dl.user_profile dt:contains(' + pName + ')').next('dd').andSelf().hide();

$('dl.user_profile dt:contains(' + pName + ')').each(function() {
var dd = $(this).next('dd').text();
$(this).parents('td.c_user').find('dl.user_info').prepend('<dt style="float:none;">Secondary Group(s):</dt><dd style="margin-left:10px">' + dd + '</dd>');
});
});
</script>
Works like a charm tyvm.
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

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