-
James posted on the forum topic Change Reply button on activty stream posting for Forums! in the group How-To and Troubleshooting: 13 years, 11 months ago
ok, latest news from fighting field:
last code in itself adds working “view” button to every activity, reply buttons still are there.
function my_bp_activity_type_is_new_forum_post() still returns same error.Edit: no need to proceed with this question, I will use code by josemv. thanks again
-
James posted on the forum topic Change Reply button on activty stream posting for Forums! in the group How-To and Troubleshooting: 13 years, 11 months ago
@el_terko , if I put only code from your last post, it adds “view” button to all activities, which acts 100% like “reply” button (hides/reveals text box). if additionally I put your function from previous post, then I get “Parse error: syntax error, unexpected T_RETURN” again 🙂 actually, I thought it will be another copy/past work. […]
-
James posted on the forum topic Change Reply button on activty stream posting for Forums! in the group How-To and Troubleshooting: 13 years, 11 months ago
thanks @el_terko ,
it works, but do you know how to remove reply button for certain activities and change order of meta buttons. At the moment view button stands 4 in a row?
-
James posted on the forum topic GR 1.2.2 in the group BP Group Reviews: 13 years, 11 months ago
I should understand that this is the same problem, because unified search displays same forum tab.
added your corrections to my bpgr 1.2.2 and both problems disappeared, “two birds with one stone” 🙂
thanks!
-
James posted on the forum topic GR 1.2.2 in the group BP Group Reviews: 13 years, 11 months ago
issue is with function from unified search, which goes to functions.php (this is only part of it) :
function bpmag_show_forums_tag_search(){ //only if tag exists if(bb_get_tag($_REQUEST)):?>
Fatal error: Call…is connected with the third line. It looks like because of BPGR my child theme does not see bbpress functions. If BPGR is deactivated,…[Read more] -
James started the forum topic GR 1.2.2 in the group BP Group Reviews: 13 years, 11 months ago
hi, updated group reviews to the latest version and have one important issue: in WP (MU) 3.1.1 BP 1.2.8 plugin conflicts with bbpress installation. e.g., when I activate plugin, main forum tab disappears: “Sorry, there were no forum topics found.” (however, I still see number of forums in main navigation and all the forums in […]
-
James joined the group BP Group Reviews 13 years, 11 months ago
-
James posted on the forum topic Change Reply button on activty stream posting for Forums! in the group How-To and Troubleshooting: 13 years, 11 months ago
hi @cnorris23 ,
tried to implement your changes, result is (for functions.php):
Parse error: syntax error, unexpected T_RETURN
-
James posted on the forum topic how to have comment and replies collapse and expand. in the group How-To and Troubleshooting: 13 years, 11 months ago
hi again @timothyjunior , – in your updated code for header.php you have typing mistake on the end of the 2nd line (closing script tag) – comments/replies of all the activities that go after load more button is pressed are already revealed/expanded and cannot be hidden. Is here any quick fix, or this is exactly what […]
-
James posted on the forum topic How to call member avatar in the group How-To and Troubleshooting: 13 years, 11 months ago
@sladkoe6ka
cannot help with specific widget, but I assume that you should add missing per_page parameter, e.g.bp_has_members( ‘include=2,12,46,233,365&per_page=22’ )
see the link to codex above.
-
James started the forum topic Buddypress Localization in the group How-To and Troubleshooting: 13 years, 11 months ago
hi, can not find correct topic so I start new one. I have an issue with localization of activities titles in BP 1.2.7. If I have three languages and activity is published under language nr.1, when www is switched to the language nr.2 or 3, activity title won’t be changed/translated, but will remain as language […]
-
James posted on the forum topic how to have comment and replies collapse and expand. in the group How-To and Troubleshooting: 13 years, 12 months ago
hi @timothyjunior nice update, definitely will try.
messing with core files isn’t smth terrible, all you should have is child theme of bp-default. -
James posted on the forum topic Speeding up buddypress in the group How-To and Troubleshooting: 13 years, 12 months ago
could anyone tell please about avatars and page load time. thought to add recently active widget with 100-200 small avatars, smth like on twitter, but on my localhost it looks like it will increase page load time dramatically?
thanks!
-
James posted on the forum topic 20 Avatars in the group How-To and Troubleshooting: 13 years, 12 months ago
ok, for loop I had to specify per_page parameter, probably, have to do the same for widget.
-
James started the forum topic 20 Avatars in the group How-To and Troubleshooting: 13 years, 12 months ago
hi, have some strange issue displaying avatars on bp site. basically, I’m talking about two instances: members loop (with defined 34 items/avatars) and enhanced bp member widget with defined 100 members). issue is that after every refresh enhanced bp member widget shows 20 avatars (after pressing popular/active etc. it shows all), but members loop…[Read more]
-
James posted on the forum topic How to call member avatar in the group How-To and Troubleshooting: 13 years, 12 months ago
already was able to get one avatar with the code below, only don’t know how to add multiple IDs to bp_core_get_userid( ‘1’ ), but your method works well @mercime, somehow I forgot about this loop, thanks a lot! ` <a href="” title=” “> $member_id, ‘type’ => ‘thumb’ ) ) ?> […]
-
James posted on the forum topic How to call member avatar in the group How-To and Troubleshooting: 13 years, 12 months ago
as I understand, in “featured member widget” I need this part of code:
<div class="avatar-block">
<div class="item-avatar">
<a href="" title=""> $member_id, 'type' => 'thumb' ) ) ?></a>
maybe in latest bp some function was…[Read more]
-
James posted on the forum topic How to call member avatar in the group How-To and Troubleshooting: 13 years, 12 months ago
hi @mercime ,
thanks for reply. yes, idea was to use this plugin, but it has some strange issue with last wp bp updates described here: https://buddypress.org/community/groups/buddypress-featured-members-widget/forum/topic/multiple-avatars-of-the-same-member-showing-in-widget/
therefor, I hoped that there is some other approach.
-
James posted on the forum topic How to call member avatar in the group How-To and Troubleshooting: 13 years, 12 months ago
ok, probably, my solution is bp_get_the_site_member_avatar
as I understand it is for one ID, is there smth similar for several ID?
-
James started the forum topic How to call member avatar in the group How-To and Troubleshooting: 14 years ago
hi, is there any function/code to call member’s avatar specified by username, or ID, or…?
what I want is to show horizontal list of, let’s say, ten specific avatars (even if I will have to call the code 10 times)
checked google, bp docs…any help?thank you.
- Load More
@janismo
Active 8 years, 5 months ago