Forum Replies Created
-
I have this combination of plugins working on one of my website, it works just fine. in terms of registration, I set buddypress registration page to none and created some custom registration pages for PMP.
Hi, this started to happen to me with the latest buddypress update, I have a buddypress folder in my theme with my customizations, so I tried renaming that folder so it won’t be used, however the issue still occurs…
the php error is the following
[error] 10524#0: *41486276 FastCGI sent in stderr: “PHP message: PHP Warning: reset() expects parameter 1 to be array, boolean given in /var/www/website.com/wp-content/plugins/buddypress/bp-core/bp-core-template.php on line 3048” while reading response header from upstream, client: 74.130.56.345, server: website.com, request: “GET /members/meinhardt/media/604/ HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “www.website.com”, referrer: “http://www.website.com/activity/“
@justbishop the one lastest update where? in the activity or profile pages?
@justbishop if you put it in the fuctions.php it will filter sitewide… so I guess you will have to put it in the activity loop…
@DJPaul any idea of how to pass the user id too? I been trying but fail so far…
tried `&user_id=’ . bp_displayed_user_id()` `global $bp;` `bp_is_member()`….. nothing seems to workSorry actually works on all pages but the activity page…not sure why is not working in the activity page… ;(
@hnla its only working on the profile page… but not in the other pages… any idea how to get it to work on all pages?
have you tried something like this?
function filtering_activity_default( $qs ) {
if ( empty( $qs ) && empty( $_POST ) ) {
$qs = ‘action=activity_update’;
}return $qs;
}
add_filter( ‘bp_ajax_querystring’, ‘filtering_activity_default’, 999 );in the functions.php of your theme… this filters everything and only outputs the activity updates
but to answer that question I think you will have to disable the javascript that is creating that effect on the page…
scrolling is better than just pushing… my thoughts…
anyone?
the “add featured thumbnail” option on the editing screen doesnt show up… its wierd because it works on my local machine but not on the server…
Nevermind figured out, wp-login.php line 380 $redirect_to = !empty( $_REQUEST ) ? $_REQUEST : ‘index.php?loggedout=true’;
there is no magic pill… I been at it for over a month…. Im pretty happy with the theme I created but its taking a lot of work…. I might start making Premium BP themes for sale soon…
where ever you have your login code… I have it on a custom home.php
look for input type=”hidden” name=”redirect_to” value=”
and add the activity after like this
input type=”hidden” name=”redirect_to” value=”/activity
ooooooooooooh!! @pcwriter thank you thank you thank you!!!!
@boonebgorges shoots you lost me in the whole convert the post to UNIX format and subtract the two…
is there a guide somewhere?
Thank you!
try this
ul.activity-list li div.activity-content {
margin-left: 110px;
width: 520px;
}link to the site?
easiest way is css
.activity-meta { display:none;}
I gave the (li) a set height and made the container div = the height that would display only 3 updates…
it didnt work at all…
I actually was able to get this done by modifying the login form redirect! pretty simple
Did you try adding the activity loop?
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/
first I have a custom home.php file where I put the activity loop
wrapped the loop with a div class activity-slideactivity loop can be found here: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/
Then loaded jcarousellite like this:
$(“.activity-slide”).jCarouselLite({
auto: 800,
speed: 1000
});you can find more info about jcarousellite here http://www.gmarwaha.com/jquery/jcarousellite/index.php