Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Rank badges not assigning correctly
Avatar
Paul M Jerard Jr
Member
sp_UserOfflineSmall Offline
Aug 27, 2015 - 9:25 am

I have made the rank assignments and for example 100 and new member at 1 post.  But when I look at the front end, they are all at mega poster which is over 1000 at least.

I had edited the profile tags to this earilier:

sp_PostIndexUserSpecialRank('tagClass=spPostUserSpecialRank spCenter&showTitle=0');
sp_PostIndexUserMemberships('tagClass=spPostUserMemberships spCenter&showTitle=0');

And thought that may have been the problem (as it seemed to be working 2 days ago) so I put it back to default but that didn't fix it.  

Any ideas? My settings are attached.

 

Thank you,

Meredith

ranks.pngImage Enlargerranks1.pngImage Enlarger

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Aug 27, 2015 - 10:08 am

It might be worth just clearing your browser cache. Just thinking on the off chance it was the first badge you uploaded.

Other than that, try running the user post recount task and if that doesn't help the flush general cache task in Forum > Toolbox > Housekeeping > User Post Count Cleanup / Flush General Cache.

Avatar
Paul M Jerard Jr
Member
sp_UserOfflineSmall Offline
Aug 27, 2015 - 10:15 am

No luck

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Aug 27, 2015 - 10:40 am

See checking your site from the link you posted in the other topic I looked for a poster with over 100 posts and checked a topic they'd posted in and it shows me they have the 'Registered' badge. I know it should be the 100 badge but it's definitely not the 'Mega Poster' badge that you are seeing.

Are you running any caching plugins? If we're seeing something different then it would suggest to me that it's something along those lines.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 27, 2015 - 10:55 am

Let's also confirm about what display function you are using in your template as both those you mention above are not relevant to standard forum ranks. So - are you actually using the sp_PostIndexUserRank() template function?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Paul M Jerard Jr
Member
sp_UserOfflineSmall Offline
Aug 27, 2015 - 11:10 am

Actually, I removed them all and re-added them again, and they seem to be working as they are showing different badges BUT they are still not reflecting the correct number of posts made.

I cleared the caches, website, browser, forum, forum points.  I don't see any fix there.

Now instead of "mega poster" it's just whatever...

See: http://www.yoga-teacher-traini.....-sequence/

So weird.  I'll post a screenshot in case you see something else.

Also, the registered you were seeing was the group assignment icon, I removed that to eliminate possible conflict.

Rank:

ranks3.png

 

Rank Settings, reset

ranks3reset.pngImage Enlarger

Thanks!!

Meredith

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 27, 2015 - 11:34 am

If you take a look at the popup help for this it does clearly state:

enter the name and the number of posts up to which it applies.

Thus - looking at your settings - anyone with between 1 and 100 posts is going to have the 100 posts badge and name applied. You do not need the first entry. Just one that applies to users up to 1 post.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Paul M Jerard Jr
Member
sp_UserOfflineSmall Offline
Aug 27, 2015 - 11:50 am

I feel like such an idiot.  Thanks for your help and your time, it seems to be working now rolleys

Meredith

(Please know this is all me, and no reflection on my esteemed employer Dr. Jerard laugh )

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 27, 2015 - 11:55 am

No worries. Working right is the main thing.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Paul M Jerard Jr
Member
sp_UserOfflineSmall Offline
Aug 27, 2015 - 12:07 pm

Ok, so lastly, I need to hide the rank text name as it's redundant with the rank badge.

members-issue-1.pngImage Enlarger

 

I have this in the child theme 

sp_PostIndexUserSpecialRank('tagClass=spPostUserSpecialRank spCenter&showTitle=0');
sp_PostIndexUserMemberships('tagClass=spPostUserMemberships spCenter&showTitle=0');

and removed this:

#sp_PostIndexUserRank('tagClass=spPostUserRank spCenter&showBadge=1&hideIfSpecialRank=1');

but that removes both text and image...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626