-
Florence Baby replied to the topic Show favourite count after each activity? in the forum How-to & Troubleshooting 10 years, 6 months ago
Hi, @tse11, @deepbevel, @ousep
did anyone know a better solution for this in BP 2.0.
The above code is still working but it is not ajax. you have to reload the page to see the count.
Regards
-
Florence Baby replied to the topic How to add item to main activity Subnav in the forum How-to & Troubleshooting 11 years ago
You are the man, thanks for your help. changing ID to class solved the problem.
Thumbs Up and thanks for your time.
-
Florence Baby replied to the topic How to add item to main activity Subnav in the forum How-to & Troubleshooting 11 years ago
thanks so much, the link is correct and it a normal page create from wp admin.
and I just want to use the code to just link to that page called invite-friends
so I used the code you help me with to link it
function bp_myadd_tabto_mainactivity() {
[Read more]
echo '<li id="activity-invito"><a href="/invite-friends">Invite your… -
Florence Baby replied to the topic How to add item to main activity Subnav in the forum How-to & Troubleshooting 11 years ago
thanks so muck for your great help, the link now shows on the activity page tab but when click, it just stay the same and not going to the link page.
Any suggestion? so sorry to disturb you just a newbie.
regards
-
Florence Baby replied to the topic How to add item to main activity Subnav in the forum How-to & Troubleshooting 11 years ago
thanks so much for your help, although am new to all this code stuffs but after reading through codex have came up with the below code but it is not working.
Any help will be highly appreciated.
function bp_myadd_tabto_mainactivity() {
global $bp;'<li id="activity-invito"><a href="/invite-friends">Invite your…[Read more]
-
Florence Baby replied to the topic How to add item to main activity Subnav in the forum How-to & Troubleshooting 11 years ago
Polite Bump
-
Florence Baby replied to the topic How to add item to main activity Subnav in the forum How-to & Troubleshooting 11 years ago
Thanks so much for your effort, the code you gave above add item to Just-Me activity and not the main activity.
Thanks for your input anyways
Flo
-
Florence Baby started the topic How to add item to main activity Subnav in the forum How-to & Troubleshooting 11 years ago
Hi,
Please can someone help out with a code to add extra item to the main activity Subnav .
Where it says: All Members My Friends My Favorites Mentions [New Item]
Am using latest WP/BP
thanks in advance.
Regards
FLO
-
Florence Baby replied to the topic [Resolved] How to show total friends of display user (2) in the forum How-to & Troubleshooting 11 years, 2 months ago
-
Florence Baby started the topic [Resolved] How to show total friends of display user (2) in the forum How-to & Troubleshooting 11 years, 2 months ago
Hi, Please can someone help me out on how to show total friends count any where e.g sidebar.
I have tried
<p> My Total Friends ( <?php echo friends_get_total_friend_count( $user_id );?> )</p>
but it is not working.I am using latest wordpress and buddypress.
Thanks for your help.
@okuleyeflo
Active 10 years ago