Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'custom activity page'

Viewing 25 results - 676 through 700 (of 1,252 total)
  • Author
    Search Results
  • #148899
    Baconbits
    Participant

    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,
    Joe

    #148365
    sayumi19
    Participant

    I 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.

    #148340
    samanthar
    Participant

    Going to Members Works
    Going to Activity IE comes up with “Internet Explorer has stopped working” A problem caused the program to stop working correctly. Window will close the program and notify you if a solution is available. Close Program

    It does the above a couple of times before coming up with a blank page.

    WP 3.4.2
    Buddypress 1.6.2

    I havent tried changing themes as i am worried about losing all the current customizations, but will do if we have too

    #148193
    shanebp
    Moderator

    >a page where my users can be curators and have collections of custom posts

    CPs that they created ? Or created by anyone ?

    Usually a profile extension is used for this.

    But you say ‘outside of buddypress’ so you mean a WP page… ?
    Then, because you want it driven by activity_ids, write a custom query.
    Use each activity_id to find the user_id in the activity table, look for posts by that member in the posts table and show the results in a loop.
    Use 2 queries if you can’t write a JOIN.

    #148187
    designnz
    Participant

    Hi @shanebp, thanks for the reply. Im wanting to have a page where my users can be curators and have collections of custom posts (via activity_id). It will fall under its own page outside of buddypress with a special activity page for displaying items.

    #148180
    designnz
    Participant

    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 ?

    Ben
    Participant

    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.php in 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,
    Ben

    mikegarlick
    Participant

    I 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?

    #145524
    drill_sgt.lewis
    Participant

    Another simpler approach would be to created a bp-custom.php and place it in the plugins directory and add the following code
    `<?php
    function bp_guest_redirect() {
    global $bp;
    if ( bp_is_activity_component() || bp_is_groups_component() /*|| bbp_is_single_forum()*/ || bp_is_forums_component() || bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG ) ) {
    // enter the slug or component conditional here
    if(!is_user_logged_in()) { // not logged in user
    wp_redirect( get_option(‘siteurl’) . ‘/register’ );
    } // user will be redirect to any link to want
    }
    }
    add_filter(‘get_header’,’bp_guest_redirect’,1);
    ?>`
    This code will work to hide buddypress pages and group forums as is, if your using sitewide forums in line 4 remove the comments around:
    || bbp_is_single_forum()
    Save and refresh. Works in current versions.

    #145394
    gar976
    Participant

    I have a custom menu but created long ago. In buddypress settings the component directories are set to active pages for activity streams, discussion forums, user groups and members.

    Problem extends beyond this to main buddypress menu at top right of screen where profile edit etc are all blank too (not 404 page not found though). I have an active members widget in a sidebar which does actually work so i agree that it seems like a links issue – but the correct page URL displays when links are clicked.

    kraigg
    Participant

    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 replies

    My 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
      “

    #145122
    @mercime
    Participant

    == Activity, Groups and Members pages display on the menu bar, but Register does not? ==

    You can just add it to the custom menu in Appearance > Themes

    == Also if I try and go straight to the URL (entreacting.com/register) it just takes me to the home page. ==

    That happens when you’re logged in and go to the register page. Log out and check if you can go to the register page just to double-check everything’s in working order.

    == Also I cannot edit my user profile. when I click me name on the right it takes me to “Page not found” ==

    Strange. Re-upload BuddyPress manually to wp-content/plugins/ i.e., via FTP/cpanel/etc.

    #32872
    maineyak
    Participant

    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]

    meandering
    Participant

    Wow thanks for this amazing help!

    I did it and I’m getting excited! (Though I didn’t see the “ tags at all for some reason.)

    Some pages still seem to have issues fitting:

    http://onlinefashionweek.net/activity/
    http://onlinefashionweek.net/members/pataphor/forums/
    http://onlinefashionweek.net/members/pataphor/friends/

    I was thinking it might be easier to remove the sidebar, but I wasn’t sure how to go about it.

    On the other hand, this test forum I made fits great!

    http://onlinefashionweek.net/forums/forum/test-forum

    So maybe if I could make them all fit, maybe with that custom CSS somehow, it would be cool.

    Although, on a separate note, I’m not sure why Forums is blank …

    http://onlinefashionweek.net/forums

    Ai yi yi, my head now officially hurts. : )

    Really appreciate this insanely helpful support!

    #32685
    stuffwelike
    Participant

    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?

    tvansant
    Participant

    I found a way to make the default page for members to be the profile page.
    `http://www.buddyboss.com/making-profile-the-default-landing-page-in-buddypress/`
    and
    `https://codex.buddypress.org/extending-buddypress/bp-custom-php/`

    Sean Infinitee
    Participant

    Hey guys-hoping you can help me figure out what I’m doing wrong…if I can’t hide or remove the “community” tab then it would seem to be a pretty simple concept to change the order of the tab, but no luck with the above…not that php or css savvy but the instructions here are pretty straightforward so any help is appreciated!

    Using latest wordpress version and just installed buddypress yesterday so I would assume it is also the latest version.

    My website is http://www.defendersofturntablism.org

    I added the line `define( ‘BP_DEFAULT_COMPONENT’, ‘preferred_default_tab’ ); to wp-config.php above ‘//MySQL settings – You can get this info from your web host **//`

    Created bp-custom.php in plugins folder and added

    `function bbg_change_profile_tab_order() {
    global $bp;

    $bp->bp_nav = 10;
    $bp->bp_nav = 20;
    $bp->bp_nav = 30;
    $bp->bp_nav = 40;
    }
    add_action( ‘bp_setup_nav’, ‘bbg_change_profile_tab_order’, 999 );`

    Unfortunately all this has done is add the above line of code to the header of my site…can anyone help me figure this out??! Seems like it should be very simple. Ideally I want to have see the community tab go away and have the members section contain the buddypress activity, groups, forums, etc.

    Thanks in advance!!

    #143918
    EthanVan
    Spectator

    We have started out with the following plugins and will be tailoring them to our specific needs:

    BP (Obviously)
    BP Profile As Homepage
    BP Activity Stream Hashtags
    BP Docs
    BP Friends Online
    BP Profile Privacy
    BP reCAPTCHA
    BP Verified
    WP Custom Login Page
    Easy Instagram
    BP Skeleton Component (for all custom plugins)

    The above mentioned plugins (aside from BP) will be highly modified and contain only traces of the original code. Credit will be given to the original developers for the provision of the base plugin state and inspiration that leads us to our end result.

    ouyagamingsource
    Participant

    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/
    etc

    Also, 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

    #32553
    richcoy
    Participant

    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

    #143652
    shanebp
    Moderator

    imo, It’s not clear what you’re trying to do.
    On a ‘single activity page’ – you mean the profile activity page for a specific member ?

    And on that page you want to display, in a sidebar, the 20 most recent updates from all users ?

    In your code, you’re only looking for updates that include an image [bpfb_images]

    So you only want the 20 most recent updates from all members that include an image ?
    If so, you’d be better off writing a custom query. Then you won’t have to do all that string parsing.

    #32492
    shanetheclassic
    Participant

    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!

    #143526
    DaveyWavey
    Participant

    @modemlooper said 4 days, 6 hours ago:
    To change slugs you change the page name and URL for that page in the WordPress admin.

    That worked perfectly. Almost. It seems that links in the activity feed still reference “groups” as opposed to the new slug so for instance the link should be something like this:

    http://www.mysite.com/newslugforgroups/groupname/forum/topic/newforumpost/

    instead the groups slug somehow persists and reads like this:

    http://www.mysite.com/groups/groupname/forum/topic/newforumpost/

    And this above link generates a 404 page not found error.

    Old slug: groups
    New slug: newslugforgroups

    This seems to only occur in the activity feed – everywhere else, your suggestion seems to work just fine.

    #143429
    tweekage
    Participant

    @WPwebbouw I’m using my own custom theme and used the custom theme plugin for it.

    @modemlooper I have done that. I used one I made in the past that works on other pages and even made another one with the code that was in this forum also and that didnt work. I just cant figure this out haha.

    I noticed all of the pages “members, activity, etc” never needed code int he page for it to work. I did put [bbp-forum-index] in the page for the forum to pop up.

    https://www.dropbox.com/s/0ixigjkptharbms/forums.PNG <– an image of what my page looks like in admin with my options.

    https://www.dropbox.com/s/d0ldzkromrx5l6q/forum%20page.PNG <– Result.

    https://www.dropbox.com/s/jt0j9kbwfd0q22l/fullpage.php <– is the file I currently use which I did remove the sidebar call at the bottom.

Viewing 25 results - 676 through 700 (of 1,252 total)
Skip to toolbar