Support Forum

Topics Started / Topics Posted In are reversed?

AN Ann
Ann
Member

Hi

I click a user name to display the ‘pop-up’ profile box. The two buttons ‘Topics Started’ and ‘Topics Posted In’ appear to be functionally reversed. i.e. Hit ‘Topics Started’ and get Topics Posted To and vice-versa.

Any ideas?

6 Answers

New Answer

MP Mr Papa
Mr Papa
Member

which sp theme???

late at night and heading off, but it does appear that the reboot theme may have them backwards… but a couple other I checked seem right…   so would be good to know which you are using…

AN Ann
Ann
Member

Mr Papa said
which sp theme???

late at night and heading off, but it does appear that the reboot theme may have them backwards… but a couple other I checked seem right…   so would be good to know which you are using…

You’re spot on! It’s Reboot ?

YS Yellow Swordfish
Yellow Swordfish
Member

We will get it fixed up. Sorry about this. Would you like me to get Ike to show you how to change the labels?

IK Ike
Ike
Member

A simple fix, and one that should be made to the parent theme not the child theme.

Open forum-themes > reboot > templates > spProfilePopupShow.php .

Locate the function ‘sp_ProfileShowSearchPosts’ on line 94:

sp_ProfileShowSearchPosts('tagClass=spProfileLabel&leftClass=spPostedToSubmit&rightClass=spPostedToSubmit', __sp('Search User Posts'), __sp('Topics Posted In'), __sp('Topics Started'));

At the end of the function line you should see three labels. Swap the last 2 around so it will then appear:

sp_ProfileShowSearchPosts('tagClass=spProfileLabel&leftClass=spPostedToSubmit&rightClass=spPostedToSubmit', __sp('Search User Posts'), __sp('Topics Started'), __sp('Topics Posted In'));

The reason that should be made to the parent theme not the child is so when it’s fixed and you update it takes the new change and overwrites the one you’ve made.