Support Forum

Unified Theme Reputation?

RA Raven
Raven
Member

Hi Guys, I was wondering how the reputation icon and function worked in the Unified Theme? here is a image comparison in using reboot.

10 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Not sure I fully understand the question… The reputation system works the same in all SP themes. By default it uses the series of images you see there (currently showing the zero version – all rectangles empty) which fill as reputation grows. You can change these default images of course in the reputation system options within the admin… Have you looked there at the options available?

RA Raven
Raven
Member

@Yellow Swordfish

yes i was looking at the Reputations settings before posting here to see if there was a remedy.

I don’t have an issue using reboot, but was just checking.

here is another image on how i started seeing the situation in the Unified theme where the icon does not appear like in using reboot.

 

repreboot.jpg
MP Mr Papa
Mr Papa
Member

guess I dont understand either… in post #1, the reputation icon looks the same in both… in this case, as Andy says, no reputation, so each user gets 10 unfilled or blank squares…

RA Raven
Raven
Member

There is no icon under the online offline icon in the Unified theme to add reputation like in the reboot theme. So how would I give rep to a user in the Unified theme?

MP Mr Papa
Mr Papa
Member

ooohhh… based on you wording, we both thought you meant the icon displayed for the current user’s reputation… you mean the button/link for giving reputation…   now see what you were trying to say…

does look like that template tag is missing from unified…  we can get it fixed up in next version…

or you can make the change yourself, or if you a running a child theme, you can add it to your spTopicView.php template file… 

find this:

                                        sp_SectionStart('tagClass=spCenter', 'user-identities');
                                            sp_PostIndexUserWebsite('', __sp('Visit my website'));
                                            sp_PostIndexUserTwitter('', __sp('Follow me on Twitter'));
                                            sp_PostIndexUserFacebook('', __sp('Connect with me on Facebook'));
                                            sp_PostIndexUserMySpace('', __sp('See MySpace'));
                                            sp_PostIndexUserLinkedIn('', __sp('My LinkedIn network'));
                                            sp_PostIndexUserYouTube('', __sp('View my YouTube channel'));
                                            sp_PostIndexUserGooglePlus('', __sp('Interact with me on Google Plus'));
                                        sp_SectionEnd('', 'user-identities');

and after it add:

                                    if (function_exists('sp_PostIndexRepUser')) sp_PostIndexRepUser('tagClass=spCenter', '', __sp('Give/Take Reputation'));

note, in unified, you will have two places to edit.. one for desktop and once for mobile in that same file…

RA Raven
Raven
Member

mr-papa 

Thanks I will give it a shot. Sorry I should have did a Red arrow implicating the Unified theme

not having the icon lol!

repimage.jpg
RA Raven
Raven
Member

Got It Fixed! Wahoo! Thanks!!

repunified.jpg

File spTopicView.php line 269-297

 

if($spDevice != ‘mobile’)
{ # Column 1 of the post row # ———————————————————————- sp_ColumnStart(‘tagId=spColTopic1&tagClass=spUserSection spLeft&width=0&height=50px’); sp_PostIndexUserDate(‘tagClass=spPostUserDate spCenter’); sp_UserAvatar(‘tagClass=spPostUserAvatar spCenter&context=user’, $spThisPostUser); sp_PostIndexUserName(‘tagClass=spPostUserName spCenter’); sp_PostIndexUserLocation(‘tagClass=spPostUserLocation spCenter’); sp_PostIndexUserRank(‘tagClass=spPostUserRank spCenter’); sp_PostIndexUserSpecialRank(‘tagClass=spPostUserSpecialRank spCenter’); sp_PostIndexUserMemberships(‘tagClass=spPostUserMemberships spCenter’); if (function_exists(‘sp_PostIndexUserReputationLevel’)) sp_PostIndexUserReputationLevel(‘tagClass=spPostReputationLevel spCenter’); sp_PostIndexUserPosts(‘tagClass=spPostUserPosts spCenter’, __sp(‘Forum Posts: %COUNT%’)); if (function_exists(‘sp_PostIndexCubePoints’)) sp_PostIndexCubePoints(‘tagClass=spPostUserCubePoints spCenter’, __sp(‘CubePoints’)); if (function_exists(‘sp_PostIndexMyCred’)) sp_PostIndexMyCred(‘tagClass=spPostUserMyCred spCenter’, __sp(‘MyCred ‘), __sp(‘MyCred’)); sp_PostIndexUserRegistered(‘tagClass=spPostUserRegistered spCenter’, __sp(‘Member Since:
%DATE%’)); sp_PostIndexUserStatus(‘tagClass=spCenter spPostUserStatus’, __sp(‘Online’), __sp(‘Offline’)); if (function_exists(‘sp_PostIndexRepUser’)) sp_PostIndexRepUser(‘tagClass=spCenter’, ”, __sp(‘Give/Take Reputation’)); sp_SectionStart(‘tagClass=spCenter’, ‘user-identities’); sp_PostIndexUserWebsite(”, __sp(‘Visit my website’)); sp_PostIndexUserTwitter(”, __sp(‘Follow me on Twitter’)); sp_PostIndexUserFacebook(”, __sp(‘Connect with me on Facebook’)); sp_PostIndexUserMySpace(”, __sp(‘See MySpace’)); sp_PostIndexUserLinkedIn(”, __sp(‘My LinkedIn network’)); sp_PostIndexUserYouTube(”, __sp(‘View my YouTube channel’)); sp_PostIndexUserGooglePlus(”, __sp(‘Interact with me on Google Plus’)); sp_SectionEnd(”, ‘user-identities’); sp_ColumnEnd();
YS Yellow Swordfish
Yellow Swordfish
Member

And the official fix is in for the next update… Thanks for the find.

RA Raven
Raven
Member

Yellow Swordfish said
And the official fix is in for the next update… Thanks for the find.

No problem and thanks for all the help!