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
Buttons in user profile not showing properly
Avatar
Alexander Olijnyk
Member
Free Members
sp_UserOfflineSmall Offline
Jan 24, 2014 - 3:20 am

Hi,

Probably this has already been asked before and I checked recent posts for about half an hour but couldn´t find any that describes the problems I got.

1. When I open the profile pop-up window of a user there´re 2 buttons (The list topics buttons) that exceed the window size:

Image Enlarger

This does not look very professional. I saw in another forum that I can add a second line within these buttons. Unfortunately I´m not that into CSS coding but maybe you can help me with this?

2. I downloaded the plugin "post thanks" which includes the level points system. Unfortunately the names for each level are not showing in my forum. E.g. Level 1 should be "New one" for points < 50. So this should show for all new members? Unfortunately I can´t find this name in any profile...there´s just "member" which I think is the profile status of Wordpress...

Hopefully I could explain the problem quite understandable and you can help me?

Thanks in advance,

alex

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 24, 2014 - 6:34 am

Let's do these one at a time if that is OK. So the first one...

As you will see - if you open your own profile popup here - our buttons DO fit and change dynamically. So the question becomes - what is the difference? And that is almost certainly going to come down to your WordPress theme CSS...

Could you try adding the following to your WordPress theme styles.css file to see if it helps? I would try it on your site but you have not given me a link...

button, a.button, input[type="button"], input[type="submit"] {
    white-space: normal;
}

and let me know the outcome of course...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Alexander Olijnyk
Member
Free Members
sp_UserOfflineSmall Offline
Jan 24, 2014 - 7:01 am

First: Thanks for your very quick reply!

Second: What else is there to say than - PER-FECT! This fixed the first problem in a minute. Thanks a lot! Maybe I could´ve found out this by myself but it´s my first self-made website and I´m not that into these problems. But I´m happy to see that I get fast and excellent supportcool

Ok, let´s try to solve the second problem...any suggestions?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 24, 2014 - 9:32 am

I have opened a ticket to see about getting that into all themes by default. We perhaps assume this to be the norm in WP themes but clearly this is not the case.

As to question 2 then I thin yu probably need to taje a look at this: http://codex.simple-press.com/.....st-thanks/ which should help.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Alexander Olijnyk
Member
Free Members
sp_UserOfflineSmall Offline
Jan 24, 2014 - 7:42 pm

Thanks for the help. Unfortunately that didn´t work...maybe I just don´t know where to add which code. I managed it to show the total points earned with received thanks and posts by using this code in the 'spProfileShow.php':

Image Enlarger

 

Unfortunately this is not what I want it to show. I entered several titles for each level within the "thanks rankings" and I want such titles to show in the user pop-up profile, the user page and (if possible) each post of the user.
 
Maybe it helps to take a look on the forum I´m talking about: http://blogmetohell.de/forum-4/
 
Pleaae don´t be irritated - it´s a German website but the forum is still in English (I want to change this later).
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 24, 2014 - 8:52 pm

guests dont have access to view your forum, so the link doesnt help much...

you are trying to use sp_thanks_post_user_reputation() in the profile??  Afraid you cannot do that... that template tag is designed for topic view, showing the reputation for each post author...  hence the name, post_user_reputation...  sorry if the codex was not clear...

if you want to show it in a profile, use sp_thanks_profile_reputation() instead..

 

Avatar
Alexander Olijnyk
Member
Free Members
sp_UserOfflineSmall Offline
Jan 25, 2014 - 4:45 pm

Ah, ok, in fact the first thing you explained about the reputation being shown in each topic is what I wanted...I just used the code in the wrong php file. I just inserted it in the topic template and it worked...except 1 thing:

Now it´s showing the reputation points earned but I wish to show the title of the reputation. E.g. I got "New one" for receipt thanks < 50...In this case the reputation should show "New one" instead of the thanks value...

 

I have just opened my forum for guests so if you follow this link you should see at least 1 forum with posts. http://blogmetohell.de/forum-4/

Thanks in advance.

alex

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 26, 2014 - 1:22 am

afraid the plugin is not set up that way...  it outputs the points...  first time anyone has asked for the level instead (less info)...  but it can be considered in the future...

if you know a bit of php, you could use a hook, sph_PostThanksReputation, to alter the output before its written...

or you could fork the plugin and just change the output the level instead of value...  as is now, the level is shown if you hover over the stars image...

Avatar
Alexander Olijnyk
Member
Free Members
sp_UserOfflineSmall Offline
Jan 26, 2014 - 6:56 am

Ah, ok...many thanks for your help. Unfortunately it´s not possible to show the reputation title...I just wonder why there´s an option to enter these titles? I mean ok, you see the title when you hover above the reputation but which user knows this? I think it would be much more user friendly if you could show the title in an additional field at least...

Maybe you can change this in future?

Anyway, you already helped me a lot and after a while I also managed it to offer my local language to users...it´s about to be completed;)

alex

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 26, 2014 - 7:10 am

I didn't know this myself actually. I think it would make sense to add this at some point. I will open a ticket for it but I can't give you a time-frame as it will, I am afraid, not have a high priority...

andy-signature.png
YELLOW
SWORDFISH
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: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625