For some reason on my FMA forum and my Inuyasha forum, the ranks start out at the second rank even if they have 0 posts..and i check the modify rank area and it is how it is suppose to be there, and i hit modify and it still starts out at rank two...also if you check this check a none staff member, because staff members ranks are altered so it is forced to start out at one for them.
http://fmaadvanced.virtualforums.co.uk
http://inuyashasworld.virtualforums.co.uk/
Looking at the first site it is starting out at the first rank you have in there, "Trainie". They may not have enough posts to be in that rank but they have no choice since you've not got a rank where there are 0 posts required.
umm ya i noticed that but i check it before i posted this and the first one was there..
Edit: ok again I added in the rank but it still starts out at the second rank.. http://fmaadvanced.virtualforums.co.uk/
bump...I know for a fact that the 0 post rank is on there i just checked it, and yet it still shows that it starts out at rank two.
http://fmaadvanced.virtualforums.co.uk/action/view_profile/u ser/sarah/
are you sure that rank 2 doesn't start at 0 too.?
yes want me to show a screen shot?
http://i25.photobucket.com/albums/c51/dog199200/untitled.jpg
Edit: Its happening on all my boards and not just two...
It would help as I can't access your admin panel.
ok I have found the error!![]()
http://fmaadvanced.virtualforums.co.uk/action/view_profile/u ser/sarah/
and
http://fmaadvanced.virtualforums.co.uk/action/view_profile/u ser/rawr/
The first one actually does have a post, if you look in the 'recent posts' part of her profile.
the 2nd one has no posts (none in recent) and therefore shows up fine.
This is indeed a bug!![]()
umm nope not exactly.... it show that the rawr account has 1rank because it is a staff account..any account that doesn't have a staff accout or a member group starts out at rank two all because of this code
Code:
- <script type="text/javascript">
- <!--
- var ranks = Array(); var r=0;
- ranks[r++] = Array(0, 'Newbe', 1, 'http://s4.images.proboards.com/star.gif');
- ranks[r++] = Array(50, 'Trainie', 2, 'http://s4.images.proboards.com/star.gif');
- ranks[r++] = Array(125, 'Apprentice', 3, 'http://s4.images.proboards.com/star.gif');
- ranks[r++] = Array(250, 'Teacher', 4, 'http://s4.images.proboards.com/star.gif');
- ranks[r++] = Array(500, 'Master', 5, 'http://s4.images.proboards.com/star.gif');
- function assign_rank(display_name, posts) {
- if(!display_name.match(/group0/i)) {
- posts = parseInt(posts.replace(/,/g, ''));
- r = 0;
- while(ranks[r] && ranks[r][0] < posts) {
- r++;
- }
- if(r > 0)
- r--;
- var rank_str = "<br />" + ranks[r][1] + "<br />";
- for(c=0; c<ranks[r][2]; c++) {
- rank_str += "<img src=\""+ ranks[r][3] +"\" alt=\"*\" />";
- }
- document.write(rank_str);
- }
- }
- //-->
- </script>
try destaffing the rawr member!![]()
Should be good now.
yep its fixed but umm now people with out a group has two ranks sets not one and only the people in a group should have two..
yep its fixed but umm now people with out a group has two ranks sets not one and only the people in a group should have two..
Links to profiles?
http://fmaadvanced.virtualforums.co.uk/action/view_profile/u ser/rawr/
http://fmaadvanced.virtualforums.co.uk/action/view_profile/u ser/sarah/
http://fmaadvanced.virtualforums.co.uk/action/view_profile/u ser/mariya/
http://fmaadvanced.virtualforums.co.uk/action/view_profile/u ser/clericiv/
all of those are none staff
They're not being given the group0 class. Most probably an error when regsitering. I've added a fix but it won't show up on existing mini profiles as they've been cached. When the users post or modify their profile (which I've done for those 4) the mini profile will be re-created and the correct class applied causing the code to work properly.
use this code instead:
Code:
- <script type="text/javascript">
- <!--
- var ranks = Array(); var r=0;
- ranks[r++] = Array(0, 'Newbe', 1, 'http://s4.images.proboards.com/star.gif');
- ranks[r++] = Array(50, 'Trainie', 2, 'http://s4.images.proboards.com/star.gif');
- ranks[r++] = Array(125, 'Apprentice', 3, 'http://s4.images.proboards.com/star.gif');
- ranks[r++] = Array(250, 'Teacher', 4, 'http://s4.images.proboards.com/star.gif');
- ranks[r++] = Array(500, 'Master', 5, 'http://s4.images.proboards.com/star.gif');
- function assign_rank(display_name, posts) {
- if(!display_name.match(/group(0|$)/i)) {
- posts = parseInt(posts.replace(/,/g, ''));
- r = 0;
- while(ranks[r] && ranks[r][0] < posts) {
- r++;
- }
- if(r > 0)
- r--;
- var rank_str = "<br />" + ranks[r][1] + "<br />";
- for(c=0; c<ranks[r][2]; c++) {
- rank_str += "<img src=\""+ ranks[r][3] +"\" alt=\"*\" />";
- }
- document.write(rank_str);
- }
- }
- //-->
- </script>
ok ty that works
No worries!![]()