Search Results for 'custom activity page'
-
Search Results
-
Hello all, I’m a novice (but learning) with regard to all server side scripting (I am only familiar with static html).
I have a lot of ideas for my WP/BuddyPress website that I need guidance with, I am using a modified version of the Frisco BP child theme.
1. I want to restrict access to Buddypress specific pages (forums, groups, activity feeds, profiles, etc) but keep blogs/articles 100% public and accessible through search engines. From my research I have created a bp-custom.php file in my plugins that redirects unregistered users to sign up. This is the part of the script:
function restrict_access(){
global $bp, $bp_unfiltered_uri;Is there a way to edit this to only limit it to certain pages and not globally? If not may I have a script to add to specific pages I want unauthorized to the public to refer them to the register page.
2. I will not be creating multiple networks (as in username.website.com). I want all content available throughout the entire network. I would like each users profile to have a “works contributed” section either showing their most recent, most popular, or a link to ALL of their works. Is this possible and how?
3. For users who are adding a post, I would like them to have an option to select “public”, “friends only”, “private” for each post they make. Obviously public would be visible site wide and included in search engines; where friends only/private would be limited to their friends/groups, and private would be for their eyes only i.e. diaries. This may not be possible, but if it can be done or something close to it is possible please let me know.
4. I would like users to be able to BLOCK other users / set their accounts to private (non friends can’t even see they exist) they would have to friend request others in order to be seen. Is this possible?
That’s about all for today, I appreciate any help.
Best,
JoeI use the newest version of buddypress with wordpress 3.5.
There’re some navigations shown only to me at profile page, (messages, settings..) So can i change activity and friends navigations like them ? I mean show them only to me.
Thank you for reading.
Now i have a custom activity stream setup in my Custom post pages and I want to call the post form similar to the main activity . i’ve got it showing but it doesn’t record in the custom activity but it does in the main activity.
Any ideas ?
Thanks for the super-awesome-social-networking-in-a-box.
I’ve been working on a custom home page, and I have just one issue that has me stumped. In trying to create a FB style home page, I’ve managed to make it so that if you are logged in you get the activity stream; and if you aren’t you get introduction/login form. In the latter, I am trying to include the registration form. To do this I have made a stripped down version of
register.phpin another file (minus the calls to the header/footer/sidebar, since I do that in my template), but trying to include this file doesn’t seem to do anything (it’s the same for the non-simplified file).I’ve also attempted to simply copy/paste the content from the file into my template, but no luck.
I’m running WP 3.4.2 and BP 1.6.1. You can see this template in action here: http://community.communicatorsinaction.com/home-test/. (Hint: the registration form supposed to show up under the big “OR”).
Thanks in advance,
BenI want to add a new blank section like the existing Activity, Profile, Group, Forum etc… where i can add my own code/functionality.
how do i do this?
Good morning
My list of users is starting to grow, and the activity stream is starting to get very long and messy. So I’m trying to filter out the activity stream so that it doesn’t display friendships, and users joining groups. I’d like it to display only:
– new groups created
– new topics
– new repliesMy custom activity stream (below) used to work, but ever since I started using bbPress plugin separately, instead of the bbPress included with BuddyPress, the activity stream no longer works the way it should.
If I don’t have any filtering, the activity stream displays, but if I add any sort of filtering, the activity stream returns 0 items.
I’m using the latest bbPress 2.1.3, BuddyPress 1.6.1, and WordPress 3.4.2.
Can you tell me what I’m doing wrong, and how I can fix it?
`/* = Custom Activity Stream
* Place this function in bp-custom.php (in your plugins directory)function my_activity_stream($args ) {
if ( bp_has_activities($args) ) : ?>
<li class="” id=”activity-“>
<a href="”>bp_activity_content_body();
}
?>
`I then placed the function call (below) inside wp-content/themes/my_custom_theme/homepage.php
This doesn’t work, returns 0 items:
“This works, but returns all items, including friendships and group joins
“I’ve created a Buddypress theme using this plugin:
http://wordpress.org/extend/plugins/bp-template-pack/
In a nutshell, it lets you create Buddypress themes from WordPress themes. Everything on my site site looks fine, except the for the activity and events pages. I’ve compared page templates and don’t quite see where the problem lies. Where could I adjust the width of the activity block? It’s too wide and stretches out under the sidebar. You can see it here:
http://www.aroundbrevard.com/activity/Any help would be greatly appreciated. Thanks.
[EDIT – We already know the code for BP activity/index.php and please post page source codes in pastebin.com then paste the generated pastebin URI here. ~~~ Mercime]
My custom theme Buddypress (1.6.1)/Wordpress (3.4.2) site was working perfectly fine. There was a Post Update button and activities were sticking.
Yesterday I updated Jetpack, BP Menus, Post Topics, Google Analytics, WP Facebook AutoConnect paid. The Post Update button disappeared. I solved that problem disabling BP Menus v2.0.3. I only allow registration of Buddypress accounts through Facebook. Now some accounts can post perfectly fine – their post will stick on the website. However I’ve noticed with some other accounts that when they try and post simple text the post appears to go through and have been submitted, however the post disappears once the user refreshes the page.
I’ve noticed that users whose post disappears on the Activity Stream can still send private messages and those work fine.
Any ideas on what is causing this problem and how I can fix it?
I got nearly everything set up with the BuddyPress and bbPress forum plugins, however there’s a few tweaks I need to finish it off and I’m trying to figure out which files I need to adjust the html settings to match my custom theme.
I’m using the bbPress plugin for my forum and I want to change the font style & color, BG colors, and fix the tables so the data is lined up correctly on the forum page:
http://ouyagamingsource.com/forums/As for BuddyPress I want to change the background tables that defaulted to white or yellow to a darker color so the white font can be seen on all related pages:
http://ouyagamingsource.com/members/bryan/
http://ouyagamingsource.com/groups/
http://ouyagamingsource.com/members/
etcAlso, is there a short code for Recent Activity stream from the forum (including replies) that I could drop into the lower table on my homepage? – http://ouyagamingsource.com/, WP Symposium had a shortcode where you could put a dash and number representing how many posts you could see in the table giving visitors a quick look at what’s being discussed in the forum while on the homepage, it was something like “[symposium-stream-30]” or around those lines.
Thanks ahead of time!
–Bryan
Topic: Activity Stream Change…
Hello, I’m trying to make a social site where when the user logs in they are taken to their profile page and the activity thread is just a specific type of post that their friends have posted, it’s a prayer request site.
I’m thinking this would require a custom page template but I’m not very good at this level of customizing yet. Would this just be a custom loop? Because prayer requests can be very personal only friends should be able to see them. If you go to someone else’s profile on the site you do not see their prayer requests unless you are friends. Eventually I think allowing someone to check a box and set a prayer request as public is something I might want to do.
I’m just starting out and trying to decide if BuddyPress can fit my needs. Does this sound like functionality that BuddyPress can handle?
Thanks, Rich
Hi!
I run a private network based on WordPress and BuddyPress and am looking to customise the way new users register and login to the site. I’ve been searching and found various techniques to achieve this since there’s no built in option in BuddyPress to restrict new users from login until an administrator has verified and activated their account.
Background: My site has two parts. Lots of pages and posts that are public and available to all users through Google. This is targeted towards search referals to get potential members to visit the site. The other part (the interactive BuddyPress functions such as Activity, Members, Groups, Forums etc.) are protected from public access using the plugin S2Member. To access these functions, you need to be a logged in member.
This is the process I’m looking for:
1. New user visits site, registers through the standard “New user” registration form which I have customised with a few custom profile fields.
2. Details are saved and the user is presented with a message saying that “An administrator will now review your membership application and send you an e-mail once your account is activated.”
3. An e-mail is sent to the administrator who then manually activates the user after verification of the information the user has filled out.
4. An e-mail is sent to the new user welcoming them to the site and introducing them to the different functions.
5. The user can now login and access all content.
What I’m looking to do is to redirect the activation link e-mail that is sent to the new user to the administrator. I’ll then be using S2Member to restrict access to the interactive BuddyPress functions and manually change the user role to a level where the user can see the BuddyPress functions after verification.
I’ll be posting my progress here and hopefully this will be a relatively easy way to create a private membership site. Any thoughts or mistakes in my plan so far?
Topic: Need help with Custom Code
Hi Everyone,
I have a unique issue. I’m using Buddypress with some modifications, and one of the features of the site is a sidestream bar that lists that latest 20 posts. In order to help with styliing and other issues, I created a code that explodes the activity content into parts so i could style accordingly. I made this code for the single activity page, so now my problem is that it only displays the latest activity in all 20 spots.
I need it to be able to get all 20 and explode them all. I tried everything I know and got nowhere. PLEASE HELP!
Heres the custom code I created. The part with $activityDescription = (activityDescription[0]); is where it calls the description for the latest post, if I change the value to 1 it shows the next one and so on..I tried an array with all 20 but still didnt work
`
<?php
global $activities_template;
$activities = $activities_template->activities;
$activity = $activities[0];$activityContent = $activity->content;
if(stripos($activityContent, “[bpfb_images]”))
{
$activityDescription = explode(“[bpfb_images]”, $activityContent);
$activityDescription = ($activityDescription[0]);//var_dump($activityContent);
$images = explode(” “, $activityContent);
for($i=0; $i<sizeof($images);$i++)
{
if(!(stripos($images[$i], “.jpg”) === false) || !(stripos($images[$i], “.png”) === false) || !(stripos($images[$i], “.gif”) === false))
{
$brokenImages =preg_split(‘/s+/’, $images[$i]);
for($k=1;$k<(sizeof($brokenImages)-1);$k++)
{
if(trim($brokenImages[$k]) == “” || !(stripos($brokenImages[$k], “bpfb_”) === false))
continue;$finalURL = $brokenImages[$k];
$finalFULL = $brokenImages[$k];if(!stripos($finalURL, “ttp://”))
{
$finalURL = str_replace(“.j”, “-bpfbt.j”, $brokenImages[$k]);
$finalURL = “(SITE REMOVED)”.$finalURL;
$finalFULL = “(SITE REMOVED)”.$finalFULL;
}
echo ““;
echo ““;
echo ““.bp_get_activity_action().”“;
echo ““.$activityDescription.”
“;
}
}
}
}
else
{
echo ““;
echo ““.bp_get_activity_action().”“;
echo ““.$activityContent.”
“;
}
?>
`I removed the webiste address in (SITE REMOVED) so search engines cant find it right now while its in dev.
THANKS!