Welcome Guest [Log In] [Register]
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:
Multiquote (on) Multiquote (off)
Add Reply
Titles
Topic Started: Apr 12 2018, 02:31 AM (322 Views)
MidnightMafia
Member
[ * ]
My Forum

Is there a way so I can have a member have multiple titles listed? I use team icons instead of pips, and let's say I'm the owner of the forum. I get the owner title teamicon/image. But I also want a set of titles for post count, like 1000 posts = Supreme Poster. Then i get the Supreme Poster title/image below my Owner image so both are listed at the same time.

I looked at this thread: http://support.zathyus.com/topic/5083904/1/

I read it and inserted this code:

Code:
 
mulranks('Owner','Owner','Supreme Poster', '<br><div class="teamicon"><img src="http://b3.ifrm.com/40135/164/0/t7041083/supremeposter.png"></div>');


After, it just takes away my Owner title and is now replaced with my posting set of ranks. Can anyone help or am I doing something wrong?

Is there another thread anyone can link me too to fix this?
Update: tried this page: http://support.zathyus.com/topic/5231737/1/

On my forum: http://s15.zetaboards.com/khaos_ps

Here's my code:
Code:
 

script type='text/javascript'>
/* Secondary ranks and titles based on post count
// Do not edit this line
titleArray = []; titleID = 0;

// This is where you can add ranks using the example format below. Use empty quotations ('') for no image.
// titleArray[titleID++] = [POST COUNT REQUIRED, 'RANK TITLE', 'CENTER OR MAIN IMAGE LINK', 'LEFT IMAGE LINK', 'RIGHT IMAGE LINK', TIMES TO REPEAT CENTER IMAGE];
titleArray[titleID++] = [10, 'Rookie', '', '', '', 1];
titleArray[titleID++] = [25, 'Beginner', '', '', '', 1];
titleArray[titleID++] = [50, 'Intermediate', '', '', '', 1];
titleArray[titleID++] = [100, 'Advanced', '', '', '', 1];
titleArray[titleID++] = [150, 'Experienced', '', '', '', 1];
titleArray[titleID++] = [200, 'Super', '', '', '', 1];
titleArray[titleID++] = [300, 'Extreme', '', '', '', 1];
titleArray[titleID++] = [400, 'Elite', '', '', '', 1];
titleArray[titleID++] = [500, 'Master', 'http://b3.ifrm.com/40135/164/0/t7041085/masterposter.png', '', '', 1];
titleArray[titleID++] = [750, 'God', 'http://b3.ifrm.com/40135/164/0/t7041084/postergod.png', '', '', 1];
titleArray[titleID++] = [1000, 'Supreme', 'http://b3.ifrm.com/40135/164/0/t7041083/supremeposter.png', '', '', 1];
titleArray[titleID++] = [1337, '1337', '', '', '', 1];

// Do not edit below this line
function titleCalc(c, d) {
var a = "",
b = $.grep(titleArray, function(a) {
return a[0] <= d
});
if (b) {
var b = b[b.length - 1],
e = b[5],
a = a + ('<div class="usertitle">' + b[1] + "<br>");
for ("" !== b[3] && (a += '<img src="' + b[3] + '" alt="">'); e--;) a += '<img src="' + b[2] + '" alt="">';
"" !== b[4] && (a += '<img src="' + b[4] + '" alt="">');
a += "<br></div>"
}
return a
}
if (-1 !== location.href.indexOf("/topic/") || -1 !== location.href.indexOf("/single/")) titleArray.sort(function(c, d) {
return c[0] - d[0]
}), $("td.c_username > a.member").each(function() {
var c = $(this),
d = 1 * c.parents("tr").next().find("td.c_user > dl > dt:contains(Posts)").next().text().replace(/,/g, ""),
a = 1 * c.attr("href").split("/profile/")[1].split("/")[0];
c.parents("tr").next().find("div.usertitle").after(titleCalc(a, d))
});
</script>


It does not work when I post below the board. If you view my forums you can see the code just sitting on screen at the bottom. Anyone can help?
Code:
 

<script type='text/javascript'>
/* Secondary ranks and titles based on post count
// Do not edit this line
titleArray = []; titleID = 0;

// This is where you can add ranks using the example format below. Use empty quotations ('') for no image.
// titleArray[titleID++] = [POST COUNT REQUIRED, 'RANK TITLE', 'CENTER OR MAIN IMAGE LINK', 'LEFT IMAGE LINK', 'RIGHT IMAGE LINK', TIMES TO REPEAT CENTER IMAGE];
titleArray[titleID++] = [10, 'Rookie', '', '', '', 1];
titleArray[titleID++] = [25, 'Beginner', '', '', '', 1];
titleArray[titleID++] = [50, 'Intermediate', '', '', '', 1];
titleArray[titleID++] = [100, 'Advanced', '', '', '', 1];
titleArray[titleID++] = [150, 'Experienced', '', '', '', 1];
titleArray[titleID++] = [200, 'Super', '', '', '', 1];
titleArray[titleID++] = [300, 'Extreme', '', '', '', 1];
titleArray[titleID++] = [400, 'Elite', '', '', '', 1];
titleArray[titleID++] = [500, 'Master', 'http://b3.ifrm.com/40135/164/0/t7041085/masterposter.png', '', '', 1];
titleArray[titleID++] = [750, 'God', 'http://b3.ifrm.com/40135/164/0/t7041084/postergod.png', '', '', 1];
titleArray[titleID++] = [1000, 'Supreme', 'http://b3.ifrm.com/40135/164/0/t7041083/supremeposter.png', '', '', 1];
titleArray[titleID++] = [1337, '1337', '', '', '', 1];

// Do not edit below this line
function titleCalc(c, d) {
var a = "",
b = $.grep(titleArray, function(a) {
return a[0] <= d
});
if (b) {
var b = b[b.length - 1],
e = b[5],
a = a + ('<div class="usertitle">' + b[1] + "<br>");
for ("" !== b[3] && (a += '<img src="' + b[3] + '" alt="">'); e--;) a += '<img src="' + b[2] + '" alt="">';
"" !== b[4] && (a += '<img src="' + b[4] + '" alt="">');
a += "<br></div>"
}
return a
}
if (-1 !== location.href.indexOf("/topic/") || -1 !== location.href.indexOf("/single/")) titleArray.sort(function(c, d) {
return c[0] - d[0]
}), $("td.c_username > a.member").each(function() {
var c = $(this),
d = 1 * c.parents("tr").next().find("td.c_user > dl > dt:contains(Posts)").next().text().replace(/,/g, ""),
a = 1 * c.attr("href").split("/profile/")[1].split("/")[0];
c.parents("tr").next().find("div.usertitle").after(titleCalc(a, d))
});
</script>

Edited by MidnightMafia, Apr 12 2018, 02:33 AM.
Offline Profile Quote Post Goto Top
 
Skyon Archer
Member Avatar
Member
[ *  *  *  * ]
This is the problem:
Code:
 
/* Secondary ranks and titles based on post count


It requires two slashes, like this:
Code:
 
// Secondary ranks and titles based on post count


Here is the corrected code:
Code:
 

<script type='text/javascript'>
// Secondary ranks and titles based on post count
// Do not edit this line
titleArray = []; titleID = 0;

// This is where you can add ranks using the example format below. Use empty quotations ('') for no image.
// titleArray[titleID++] = [POST COUNT REQUIRED, 'RANK TITLE', 'CENTER OR MAIN IMAGE LINK', 'LEFT IMAGE LINK', 'RIGHT IMAGE LINK', TIMES TO REPEAT CENTER IMAGE];
titleArray[titleID++] = [10, 'Rookie', '', '', '', 1];
titleArray[titleID++] = [25, 'Beginner', '', '', '', 1];
titleArray[titleID++] = [50, 'Intermediate', '', '', '', 1];
titleArray[titleID++] = [100, 'Advanced', '', '', '', 1];
titleArray[titleID++] = [150, 'Experienced', '', '', '', 1];
titleArray[titleID++] = [200, 'Super', '', '', '', 1];
titleArray[titleID++] = [300, 'Extreme', '', '', '', 1];
titleArray[titleID++] = [400, 'Elite', '', '', '', 1];
titleArray[titleID++] = [500, 'Master', 'http://b3.ifrm.com/40135/164/0/t7041085/masterposter.png', '', '', 1];
titleArray[titleID++] = [750, 'God', 'http://b3.ifrm.com/40135/164/0/t7041084/postergod.png', '', '', 1];
titleArray[titleID++] = [1000, 'Supreme', 'http://b3.ifrm.com/40135/164/0/t7041083/supremeposter.png', '', '', 1];
titleArray[titleID++] = [1337, '1337', '', '', '', 1];

// Do not edit below this line
function titleCalc(c, d) {
var a = "",
b = $.grep(titleArray, function(a) {
return a[0] <= d
});
if (b) {
var b = b[b.length - 1],
e = b[5],
a = a + ('<div class="usertitle">' + b[1] + "<br>");
for ("" !== b[3] && (a += '<img src="' + b[3] + '" alt="">'); e--;) a += '<img src="' + b[2] + '" alt="">';
"" !== b[4] && (a += '<img src="' + b[4] + '" alt="">');
a += "<br></div>"
}
return a
}
if (-1 !== location.href.indexOf("/topic/") || -1 !== location.href.indexOf("/single/")) titleArray.sort(function(c, d) {
return c[0] - d[0]
}), $("td.c_username > a.member").each(function() {
var c = $(this),
d = 1 * c.parents("tr").next().find("td.c_user > dl > dt:contains(Posts)").next().text().replace(/,/g, ""),
a = 1 * c.attr("href").split("/profile/")[1].split("/")[0];
c.parents("tr").next().find("div.usertitle").after(titleCalc(a, d))
});
</script>
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards - Theme & Code Support · Next Topic »
Add Reply