Forum Replies Created
-
In reply to: How To Remove Sub-Reply Button?
hi @cnorris23 ,
fingers did not help, function returns:
Warning: preg_replace() [function.preg-replace]: Unknown modifier ‘.’ in …… on line 2
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
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. if it takes lots of time, no need to bother about.
thanks!
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?
hi @cnorris23 ,
tried to implement your changes, result is (for functions.php):
Parse error: syntax error, unexpected T_RETURN
In reply to: how to have comment and replies collapse and expand.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 you wanted to achieve?thanks!
In reply to: How to call member avatar@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.
In reply to: how to have comment and replies collapse and expand.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.In reply to: 20 Avatarsok, for loop I had to specify per_page parameter, probably, have to do the same for widget.
In reply to: How to call member avataralready 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’ ) ) ?>`
In reply to: How to call member avataras I understand, in “featured member widget” I need this part of code:
`
<a href="” title=””> $member_id, ‘type’ => ‘thumb’ ) ) ?>`
maybe in latest bp some function was changed?
In reply to: How to call member avatarhi @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.
In reply to: How to call member avatarok, 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?
In reply to: activity slider??thanks for pointing, @onyx808 .
In reply to: activity slider??In reply to: Buddypress Localizationcan not help you with first question, way above my skills.
if you mean registration page than it is already in .po files, but all additional fields (from base group) you could simply write in necessary language.
In reply to: From Latin1 to UFT8 – Issuesas I thought, issue was in my localhost and utf-8.
thanks to all.In reply to: Buddypress Localizationthanks @boonebgorges
already found acceptable solution, changing lines in .po files, then translating these lines back to origin etc…not the best way, but is ok.In reply to: From Latin1 to UFT8 – Issuesthanks guys, probably, I have crawled to the wrong kitchen.
my issue is that during publication of updates (without refresh) all other languages/non english letters are rendered as unknown symbols, after refresh all is fine again.checked testbp.org and there all works excellent for every language, so, I am starting to think that issue is my localhost not bp, because I really can not assume what is the difference between testbp.org and my page, because during every necessary step/installation I used utf-8.
Edit: what I said here: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/buddypress-localization-issues/ is still an opened question with no response.
thanks again.
In reply to: From Latin1 to UFT8 – Issuesthanks for reply,
even if I would find necessary octals for my language, it still would not solve my issue, since biggest problem is updates and, of course, I can not ask my users to use octals in their updates.at the moment they will have to refresh page after every update, maybe some other solutions?
can plugin “RS activity refresh…” solve this issue?
maybe I should completely switch off javascripts for updates?In reply to: From Latin1 to UFT8 – Issueshi,
have same/similar issue with other two non english languages.
when I post update all non english (non latin/roman) letters appear as unknown symbols. After refresh all changes back to normal view.is there any known fix, or it is some normal ajax behaviour?
thanks.
In reply to: [Resolved] Speeding up buddypresstried w3 total cache on localhost, don’t know how for others, but for my non english installation it caches/saves page text as unknown symbols.
Edit: had to disable page cache and now it works fine, I think so, at least nothing goes wrong.
In reply to: How do I add a menu item on the profile page?hi guys, I’ve been searching for this info too. tried to write function myself on the base of buddypress followers, but without any success. If someone will get it done, please mention me in reply, thanks.
In reply to: Facebook like for BuddyPressok, I understood, under ‘profile id’ Andy Peatling means last numbers from facebook url, does it mean that the only way to have personal like box for every user is to include some connection with xprofile field?
In reply to: Facebook like for BuddyPressthanks for replies,
what about displaying facebook like box in profile for every member, this shouldn’t affect load performance a lot, shouldn’t it?
if I will take this plugin
https://buddypress.org/community/groups/facebook-like-box/
will this code do the trick (?):
“
thanks.