Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Unified Theme Reputation?
Avatar
Raven
Member
sp_UserOfflineSmall Offline
Mar 31, 2016 - 4:35 pm

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

repimage.jpgImage Enlarger

logo.png

|DEVELOPER|GAME DESIGNER|GRAPHIC ARTIST|HOMEBREW|MUGEN|XMUGEN|UNITY 3D|

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 31, 2016 - 4:43 pm

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?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Raven
Member
sp_UserOfflineSmall Offline
Mar 31, 2016 - 5:29 pm

@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.jpgImage Enlarger

logo.png

|DEVELOPER|GAME DESIGNER|GRAPHIC ARTIST|HOMEBREW|MUGEN|XMUGEN|UNITY 3D|

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 31, 2016 - 9:09 pm

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...

Avatar
Raven
Member
sp_UserOfflineSmall Offline
Mar 31, 2016 - 10:24 pm

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?

logo.png

|DEVELOPER|GAME DESIGNER|GRAPHIC ARTIST|HOMEBREW|MUGEN|XMUGEN|UNITY 3D|

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 1, 2016 - 12:40 am

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...

Avatar
Raven
Member
sp_UserOfflineSmall Offline
Apr 1, 2016 - 7:52 am

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.jpgImage Enlarger

logo.png

|DEVELOPER|GAME DESIGNER|GRAPHIC ARTIST|HOMEBREW|MUGEN|XMUGEN|UNITY 3D|

Avatar
Raven
Member
sp_UserOfflineSmall Offline
Apr 1, 2016 - 8:18 am

Got It Fixed! Wahoo! Thanks!!

repunified.jpgImage Enlarger

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();

logo.png

|DEVELOPER|GAME DESIGNER|GRAPHIC ARTIST|HOMEBREW|MUGEN|XMUGEN|UNITY 3D|

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 1, 2016 - 3:39 pm

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

andy-signature.png
YELLOW
SWORDFISH
Avatar
Raven
Member
sp_UserOfflineSmall Offline
Apr 1, 2016 - 4:22 pm

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!

logo.png

|DEVELOPER|GAME DESIGNER|GRAPHIC ARTIST|HOMEBREW|MUGEN|XMUGEN|UNITY 3D|

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
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: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620