-
Pin replied to the topic Show favourite count after each activity? in the forum How-to & Troubleshooting 11 years, 5 months ago
Anyone managed to get what @snark said? Getting the count inline — [Favorite (23)]
This would be a really nice feature for BP users.Cheers
-
Pin replied to the topic [Resolved] Locking a website using bp-custom in the forum How-to & Troubleshooting 11 years, 5 months ago
both options working like a charm!
you guys are awesome, herzlichen dank! -
Pin started the topic [Resolved] Locking a website using bp-custom in the forum How-to & Troubleshooting 11 years, 5 months ago
Hello,
I am trying to improve this code found here (credits to David Carson I guess):
<?php
// **** Privacy ********
function restrict_access(){
global $bp, $bp_unfiltered_uri;
// If user is not logged in and
if (!is_user_logged_in() &&
(
// The current page is not register or activation
!bp_is_register_page() &&… -
Pin replied to the topic [Resolved] Changing the URI causes dead links in activity stream. in the forum How-to & Troubleshooting 11 years, 6 months ago
Tried, didn’t worked.
If anyone will ever need this, the trick is done via .htaccess file.RewriteCond %{HTTP_HOST} !^www..* [NC]
RewriteRule ^ http://www.domain.com%{REQUEST_URI} [R=301,L]So, explained, if your blog/BP network has old links without www. and you recently changed the website URL to http://www.domain.com because you started using a CDN,…[Read more]
-
Pin started the topic [Resolved] Changing the URI causes dead links in activity stream. in the forum How-to & Troubleshooting 11 years, 6 months ago
Hello,
I needed to to change the website URL from mysite.com into http://www.mysite.com and now every old activity will lead to a dead link. If I press on an members, group link or anything else pointing inside the website it will open a new tab and redirect to http://www.mysite.com.
Is there a way to have both working?
@icepin
Active 3 years ago