Replies
- calu on April 27, 2020 at 9:56 am in reply to: [Resolved] Graphically separating user field groups #29310
Resolved
- calu on April 26, 2020 at 7:01 am in reply to: [Resolved] Graphically separating user field groups #29285
Hi Brajesh, fair enough, what I was looking for basically was just a way to add some white space like insert a <br> tag to separate the user profile groups.
Regards
Carsten - calu on April 25, 2020 at 11:06 pm in reply to: [Resolved] Graphically separating user field groups #29276
One more design issue regarding the profile fields, which are difficult to style.
Is it possible to gather all table elements in one div for easier styling of eg. background-color and border-radius?
Hi Brajesh, thank you very much for offering this extraordinary support, even if the topic might be off scope
Regards
Carsten- calu on April 24, 2020 at 5:12 pm in reply to: [Resolved] Adding message count to Messages in a hook element #29236
Hi Brajesh, that’s fine, thanks for all your help with the functions.
Regards
Carsten Yes, I can see I am wrong, it breaks my site.
What I do not understand is, that these functions you gave to me seems to be urls, but apparently I can’t just replace a normal url with these.
So my question is, how do I use these functions/urls?
Regards
CarstenHi Brajesh, just to clarify this, then eg
href=$url = bp_loggedin_user_domain();"
replaces
href="https://domain/members/carstenadmin/profile/change-avatar/"
or am I wrong?
- calu on April 24, 2020 at 12:19 pm in reply to: [Resolved] Adding message count to Messages in a hook element #29220
Hi Brajesh, thanks, I found out that
visitors_get_unique_visitors_count
must be the correct one, or?One more question to this markup of the class below, which is probably not correct, It seems like defining the class below is redundant, as it has no effect?
<li id="visitors-personal-li"> <a href="https://domain/members/me/visitors/" id="user-visitors" class="recent-visitors-for-buddypress-profile" > Besøg <span class="count"></span> </a> <?php echo visitors_get_unique_visitors_count( bp_loggedin_user_id() ); ?> </li>
The correct class must be something like the one for messages defining the button:
class="menu-item menu-item-type-post_type menu-item-object-post messages-personal-li button"
but I don’t know where to look it up?
Regards
Carsten - calu on April 24, 2020 at 11:32 am in reply to: [Resolved] Adding message count to Messages in a hook element #29212
Hi Brajesh, I think I found the right function
<?php echo visitors_get_visit_count( $user_id ); ?>
Regards
Carsten - calu on April 24, 2020 at 10:19 am in reply to: [Resolved] Adding message count to Messages in a hook element #29209
Hi Brajesh, thank you very much, again, for your valuable help, it’s working perfectly.
Can I ask you to give me with the corresponding code for the visitors count?
Thanks again
Carsten