Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'custom activity page'

Viewing 25 results - 1,126 through 1,150 (of 1,252 total)
  • Author
    Search Results
  • Gianfranco
    Participant

    @Dimensionmedia Nice and valuable list of tips, thanks.

    I’m glad that my topic have generated such interesting discussions.

    The community website I build up is for Cure fans (you know The Cure, right?), and since they all are already active on Facebook, MySpace and other existing (traditional) forums, it is quiet a bit of a challenge to bring them over to my site and actually use it.

    The motivation that made me wanna do Cureuphoria (http://cureuphoria.com) is that I felt that althought many places already exist for Cure fans to interact, there isn’t a real Social Network with features “à la Facebook/MySpace” that is specifically built with that particular community in mind.

    I feel that the major value of using BuddyPress, and the main difference with the above mentioned social networks is that you can offer basicly the same feautures, BUT in an environement created and adapted around a specific community, which is the strongest point to my opinion.

    From look and feel, to functionalities, you can build something up that is indeed unique to a given community.

    Something that a rather impersonal environement such as Facebook, is not able to offer.

    For example, I used custom profile fields to build a Cure-oriented member profiles, because it is about The Cure, right?

    You can check an example here: http://cureuphoria.com/gian, which is my profile, but you can go and see others too.

    Also, because I believe the register page is a key page of the site, I designed a very simple, basic form with a prominent call to action button, and argued some benefits about registering and using the site, that would accompany the registration form.

    And, because during the intial lunch phase you don’t see many members profile avatars active, I decides to design a visual graphic with different avatars in order to give the potential subscriber a feeling of community. To do so, I asked permissions to Facebook users (within the Cure fans community) to use their avatars, and they all agreed. That gave me already the possibility to communicate the existence of the new site to some.

    By the way, this is the register page: http://cureuphoria.com/register

    At the moment I did get quiet a few registrations in a week time period, but unfortunately, users don’t turn out to be as active as I expect them to be. So, beside the first point of bringing people in and register, the following point would be, how to make them use the website and be active? Maybe it takes time to achive that.

    Maybe their passivity is due to the fact of being troubled by the slight diffrences with (again) Facebook, or other traditional forums structure.

    I mean, the majority of other Cure forums out are built with calssical bulletin board systems, such as phpBB or vBulletin and are (sorry, but I need to say it) quiet ugly. Still they are widely populated with topics.

    My users, I feel, are probably troubled by the Groups/Forums relation. Some posted on the Group homepage activity, thinking that it was answearing to a topic in the forum for that Group.

    I mean, I do think that the Group/Forum as a value and I totally understand the principle behind it. But do my users?

    In order to push them to post Topics that are not necessarily associated with a Group, I did create a Group called Open Topics, that would act as a general topic forum.

    And, I wrote a sticky topic on “How to use Cureuphoria”, which you can find here, even if not finished yet at the moment of this writing: http://cureuphoria.com/groups/cureuphoria-feedback/forum/topic/how-to-use-cureuphoria-read-this/

    I would like to have them create their own groups, write topics, invite their friends over and all that, instead of coming to the site, putting up a video form YouTube, add a friend and then leave to just check if something more exciting is happening after a day, and since it’s not the case, leave again.

    Anyway, I don’t think there is a magic formula to make your BuddyPress site have the success you expect, but it is probably a lot of little things that need to be manged toghether, from design, to functionalities, to constant marketing (social public relationship). Or… something I am just missing.

    I want to thank all of you who contributed to the topic. Keep it going: advices, ideas and thoughts about this are never enough.

    tlachaussie
    Participant

    Hi,

    I’ve been modifying a site using a child theme, and I’d like to now modify some of the pages like activity, member, and group.

    Since I’m modifying the page I thought I could simply recreate the structure of bp-default in my child theme location. I copied the activity folder to my child theme directory, and modified index.php to make my changes, but I don’t see any change, unless i copy the files to the bp-default/activity directory.

    Is there something special that needs to be done to modify these directories for a child theme?

    #72746
    dre1080
    Member

    got this thanks to Boones Gorges..

    insert this in your bp-custom.php to get the total count of activity posts of a user:

    function get_activity_count_by_user( $user_id ) {

    $args = array(

    ‘per_page’ => 10000,

    ‘show_hidden’ => true,

    ‘user_id’ => $user_id

    );

    if ( bp_has_activities( $args ) ) {

    global $activities_template;

    $count = $activities_template->total_activity_count;

    } else {

    $count = 0;

    }

    return $count;

    }

    then use this template tag in your theme <?php echo get_activity_count_by_user( $user_id ) ?>

    Chris Houghton
    Participant

    Hmm – strange. It mostly works. For some reason on some pages of the site something breaks:

    One page would be /groups/GROUPNAME/admin/ – I get the following error:

    Warning: Cannot modify header information – headers already sent by (output started at /home/smartauk/public_html/wp-content/plugins/bp-custom.php:3) in /home/smartauk/public_html/wp-includes/pluggable.php on line 868

    Any idea what might be causing this?

    Thanks

    3sixty
    Participant

    I’m at a convenient but vaguely unsatisfying stopping point in this saga.

    I ended up nuking all the lovely AJAX buttons on the /activity page in favor of HTML form buttons like this one

    <li style="float:left;" <?php if ($_POST["activity-tab"] == "friends") { echo 'class="selected"'; }?>">
    <form action="" method="post">
    <input name="activity-tab" value="friends" type="hidden" />
    <input style="border:0px" type="submit" value="My Friends" />
    </form>
    </li>

    Then later include()ing a custom stream and resetting the $_POST value to empty:

    ...
    <?php if( $_POST["activity-tab"] == "friends" ) { $_POST["activity-tab"] = ""; include( 'activity-loop-friends.php' ); } ?>
    ...

    The ideal solution here would be to somehow rewrite the cookie/display functions in global.js to “forget” the user’s last selected tab, but I was not smart enough to figure that one out…

    #72130
    snark
    Participant

    Thanks @boonebgorges — I got it partially working, but then got stuck. I put the function as is above in my functions.php file, and added this to member-header.php:

    <p><?php echo get_activity_count_by_user( bp_current_user_id() ) ?> Forum posts</p>

    This returned ALL posts for a user, including blog posts. Obviously, based on the text I added above, I only want to include Forum posts (should include both Topics and Replies). I looked at the page you suggested — https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/ — but I couldn’t figure out how or where to implement the filter: what syntax, and where does it go, in the function or in the call-out?

    Also: Using “bp_current_user_id() ” allows the post count to display on the user’s profile page, but how do I display the post count on a different page, such as /single/forum/topic.php, the Forum topics display page, where “bp_current_user_id()” is no longer applicable? On that page I’d like to put a user’s post count in parenthesis next to the user, like this: “John Doe (54 posts)”. That way when you scanned the list of Replies to a Topic, you would quickly see if a user was a long-term and/or hardcore user or a noob based on the number of posts they have contributed to the site, and I’m hoping that little ego boost will help nudge people into posting more frequently. Does that make sense?

    Thanks again for all your help.

    #72109
    Boone Gorges
    Keymaster

    See if this does what you want. Put the following function in [your-theme]/functions.php or [plugin-dir]/bp-custom.php:

    function get_activity_count_by_user( $user_id ) {
    $args = array(
    'per_page' => 10000,
    'show_hidden' => true,
    'user_id' => $user_id
    );

    if ( bp_has_activities( $args ) ) {
    global $activities_template;
    $count = $activities_template->total_activity_count;
    } else {
    $count = 0;
    }

    return $count;
    }

    Then call the function somewhere in a template, something like this:

    <?php echo get_activity_count_by_user( $user_id ) ?>

    making sure that $user_id is populated with the user_id of the person you are querying about.

    You could filter this in various ways. To get just one kind of content, or content from just one component of the site, try some of the filters here: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/. To exclude things (like anything having to do with blogs) is a bit tricker; after calling the $activities_template global, loop through each member of $activities_template->activities and check to see whether it’s the kind of thing you want. If not, reduce $activities_template->total_activity_count by one.

    #72079
    rich! @ etiviti
    Participant

    you can pull in whatever from the activity stream loop and place it anywhere (surprised no one has created a “stream widget” )

    https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    #71863
    3sixty
    Participant

    My aforementioned Privacy Component will offer fine-grained filtering of any activity stream content–that is as long as the plugin developer made sure to register all the activity stream actions for their component. No need for fancy bp-custom.php functions, core hacks, and the like.

    wow… nice!! Another great plugin to melt our heads.

    #71768
    Mariusooms
    Participant

    It depends which page. You’ve got three instances or so, the directory activity page, the profile page and single group page.

    To always show your slider above all instance you could stick it inside the post-form.php with the following do_action:

    <?php do_action( 'bp_before_activity_post_form' ) ?>

    Otherwise, for the directory activity you’ve got the following do_action:

    <?php do_action( 'bp_before_directory_activity_content' ) ?>

    Or for profile views and single group views you have:

    <?php do_action( 'bp_before_member_activity_post_form' ) ?>

    <?php do_action( 'bp_before_group_activity_post_form' ) ?>

    That should give you all possible instances. Just code your slider in your bp-customs.php and use an add_action for your area of choice. Hope this helps.

    #71608
    Hugo Ashmore
    Participant

    It’s no problem of any kind you can do what ever you wish within reason, how you layout the data is your concern really, I’ve approached it from both adding another simple locate_template() to mirror the existing primary sidebar call creating a new file to hold whatever required and by creating a new custom Page along with a new file with a three column layout with two flanking columns containing new widget aware sidebars and the fluid centre column containing the activity loop, that page is simply set as the static index page and posts page set to a new blank Page.

    joescars
    Member

    I fixed it!! Woohoo!!! After much research I found similar issues with IIS 6 and the handling of redirects. I was lead to this page: http://ikailo.com/94/url-modrewrite-workaround-iis-60/ which has a fix for IIS6.. Well, with some tweaking and some magic I was able to come up with a fix for IIS7. it is as folows:

    1. Create a new file called 404-handler.php and put the code found here: http://ikailo.com/94/url-modrewrite-workaround-iis-60/ in it.

    2. You have to now configure your IIS7 installation (in my case IIS 7.5) to allow for custom redirects and to use this page for 404 errors. To do this you have to do the following:

    a) Open up IIS configuration manager (separate install for iis 7, included with iis 7.5).

    b) Browse to system.webServer/httpErrors

    c) unlock defaultPath

    d) unlock allowAbsolutePathsWhenDelegated

    e) set allowAbsolutePathsWhenDelegated to TRUE

    f) go to Error Pages

    g) right click on 404 and click edit

    h) select “Execute a url on this site” and set to /404-handler.php, hit ok

    i) right click 404 and select Edit Feature Settings

    j) set to custom error pages and path to /404-handler.php and path type to execute url

    I then had to reset IIS and IT WORKS!!! Woohoo!! I hope this helps others!!

    Joe

    http://www.561Media.com

    #71455
    3sixty
    Participant

    Jens, I think Rich is referring to this page, which has a link to download the BP skeleton component:

    https://codex.buddypress.org/developer-docs/creating-a-custom-buddypress-component/

    The “skeleton component” is (I think) designed to hook into the Activity Stream, so by looking at that code, you might find what you need?

    #71396
    rogscorp
    Participant

    It’s not working. I’m supposed to change default.css right?

    Do I have to delete some lines after adding that?

    I keep wondering why

    <?php if ( bp_get_activity_count() == bp_get_activity_per_page() ) : ?>

    <li class=”load-more”>

    <?php _e( ‘<img src=”something something’, ‘buddypress’ ) ?>   <span class=”ajax-loader”></span>

    <?php endif; ?>

    doesn’t work. The images shows up but the link doesn’t work. Puzzling.

    rogscorp
    Participant

    I am using WP 2.9.1 and BP 1.2.2.1

    I am trying to customize “Load More” link in the activity page to other image by changing this part:

    <?php if ( bp_get_activity_count() == bp_get_activity_per_page() ) : ?>

    <li class=”load-more”>

    <?php _e( ‘Load More’, ‘buddypress’ ) ?>   <span class=”ajax-loader”></span>

    <?php endif; ?>

    I thought I could change ‘Load More’ to <img> tag.

    Then the image shows up but the link doesn’t work.

    When I put <img> tag with Load More, it shows both and it seems like they are the same link but image link does not work while Load More text link works.

    It is a complete mystery for me.

    Any help please?

    David Lewis
    Participant

    I leveraged the existing drop down method in BuddyPress and created the following code. Three files in my child theme. Modify for your needs.

    • header.php
    • _inc/css/custom.css
    • _inc/scripts/nav.js

    header.php

    <div id="wp-nav-bar">
    <ul id="nav" class="main-nav">
    <!-- Community Drop Down -->
    <li <?php if (
    bp_is_page( BP_ACTIVITY_SLUG ) ||
    bp_is_page( BP_MEMBERS_SLUG ) || bp_is_member() ||
    bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() ||
    bp_is_page( BP_FORUMS_SLUG ) ||
    bp_is_page( BP_BLOGS_SLUG ) ) : ?> class="selected"<?php endif; ?>>
    <a href="<?php echo site_url() ?>/<?php echo BP_ACTIVITY_SLUG ?>/" title="<?php _e( 'Community', 'buddypress' ) ?>"><?php _e( 'Community', 'buddypress' ) ?></a>
    <ul>

    <?php if ( 'activity' != bp_dtheme_page_on_front() && bp_is_active( 'activity' ) ) : ?>
    <li<?php if ( bp_is_page( BP_ACTIVITY_SLUG ) ) : ?> class="selected"<?php endif; ?>>
    <a href="<?php echo site_url() ?>/<?php echo BP_ACTIVITY_SLUG ?>/" title="<?php _e( 'Activity', 'buddypress' ) ?>"><?php _e( 'Activity', 'buddypress' ) ?></a>
    </li>
    <?php endif; ?>

    <li<?php if ( bp_is_page( BP_MEMBERS_SLUG ) || bp_is_member() ) : ?> class="selected"<?php endif; ?>>
    <a href="<?php echo site_url() ?>/<?php echo BP_MEMBERS_SLUG ?>/" title="<?php _e( 'Members', 'buddypress' ) ?>"><?php _e( 'Members', 'buddypress' ) ?></a>
    </li>

    <?php if ( bp_is_active( 'groups' ) ) : ?>
    <li<?php if ( bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() ) : ?> class="selected"<?php endif; ?>>
    <a href="<?php echo site_url() ?>/<?php echo BP_GROUPS_SLUG ?>/" title="<?php _e( 'Groups', 'buddypress' ) ?>"><?php _e( 'Groups', 'buddypress' ) ?></a>
    </li>

    <?php if ( bp_is_active( 'forums' ) && bp_is_active( 'groups' ) && ( function_exists( 'bp_forums_is_installed_correctly' ) && !(int) get_site_option( 'bp-disable-forum-directory' ) ) && bp_forums_is_installed_correctly() ) : ?>
    <li<?php if ( bp_is_page( BP_FORUMS_SLUG ) ) : ?> class="selected"<?php endif; ?>>
    <a href="<?php echo site_url() ?>/<?php echo BP_FORUMS_SLUG ?>/" title="<?php _e( 'Forums', 'buddypress' ) ?>"><?php _e( 'Forums', 'buddypress' ) ?></a>
    </li>
    <?php endif; ?>
    <?php endif; ?>

    <?php if ( bp_is_active( 'blogs' ) && bp_core_is_multisite() ) : ?>
    <li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) : ?> class="selected"<?php endif; ?>>
    <a href="<?php echo site_url() ?>/<?php echo BP_BLOGS_SLUG ?>/" title="<?php _e( 'Blogs', 'buddypress' ) ?>"><?php _e( 'Blogs', 'buddypress' ) ?></a>
    </li>
    <?php endif; ?>

    </ul>
    </li>
    <?php do_action( 'bp_nav_items' ); ?>
    </ul>
    </div>

    custom.css

    /* Subnav */
    ul#nav li ul {width: 30.7%;}
    ul#nav li ul li {float: none; width: 100%;}
    ul#nav li ul li a {background: none !important; padding: 5px 15px;}
    #wp-nav-bar ul li ul {position: absolute; left: -999em; z-index: 1;}
    #wp-nav-bar ul li ul li a span {display: none;}
    #wp-nav-bar ul li:hover ul,
    #wp-nav-bar ul li li:hover ul,
    #wp-nav-bar ul li.sfhover ul,
    #wp-nav-bar ul li ul li.sfhover ul {left: auto;}

    nav.js

    startList = function() {
    if (document.all&&document.getElementById) {
    navRoot = document.getElementById("nav");
    for (i=0; i<navRoot.childNodes.length; i++) {
    node = navRoot.childNodes;
    if (node.nodeName=="LI") {
    node.onmouseover=function() {
    this.className+=" sfhover";
    }
    node.onmouseout=function() {
    this.className=this.className.replace(" sfhover", "");
    }
    }
    }
    }
    }
    window.onload=startList;

    j(document).ready( function() {
    /* Admin Bar Javascript */
    j("#wp-nav-bar ul.main-nav li").mouseover( function() {
    j(this).addClass('sfhover');
    });

    j("#wp-nav-bar ul.main-nav li").mouseout( function() {
    j(this).removeClass('sfhover');
    });
    });

    #70904
    Hugo Ashmore
    Participant

    Running with a custom page used as a static front page complete with dynamic sidebars and posts page set to a blank page causes issues with missing admin bar and no sidebar. Setting front page to Activity stream and posts page left as the new blank page and issue is resolved. At the moment I can’t see where the problem lies especially as the site functions on a mirror version locally with custom front page.

    #70777
    3sixty
    Participant

    Please don’t use my customization of Boone’s code above. It seems to be causing a failure of the Activity Stream, at least for me. Have not figured out why yet.

    #10201
    dizziness
    Participant

    I am using 1.2.3 on WPMU 2.91. The install is a single blog in a subdirectory.

    On my “Your latest posts” page, configured in “Reading,” images are not being displayed. Their URL in the code is: <img title="IMG_4135" src="../files/2010/03/IMG_4135-225x300.jpg" alt="" width="225" height="300" /> The links and the thumbnail both are 404.

    Compare this with the code in the blog entry, which displays the images correctly: <img title="IMG_4135" src="../files/2010/03/IMG_4135-225x300.jpg" alt="" width="225" height="300" />

    Yes, they are correct identical. But, when on the “Your Latest Posts” page, the “../” portion of the code does not refer the browser to the proper location.

    Should I code a new latest activity page in a custom template? Is there another fix?

    #10194
    idotter
    Participant

    Hi there

    As you my probably have red in other posts i’m working on my community. Therefore i’d like to customize the default BP-1.2-theme.

    I’ve tried to show it on a screenshot http://img.skitch.com/20100329-858k25y86eu1kq7mihfyggpsu2.png what i’d like to do.

    I’d like to have a place between the header section and site-content (Activity, Members, Blogs …) where the red stroke is. How do i get this? I’d like to have different contents on every page.

    And is it possible to make this area widget-compatible, so that i could place a widget there?

    If this isn’t possible i’ll hardcode it.

    Can i do this as a sub theme, so that it will not be touched if i update something ?

    rich! @ etiviti
    Participant
    #70478
    itsalltech1
    Participant

    Creating a new page worked, but that only worked for the base of the page. Example: itsalltech.com/activity. However, if you go into a subpage of Activity, it will not work. How can I customize the CSS?

    #70388
    brianterry10
    Member

    I totally agree with this. It’s quite confusing. I think more than a rewording of the text is needed.

    Perhaps you can give people a series of simple steps they should go through to complete setting up their membership?

    Step 1: Activate your membership

    You give them instructions to visit their email account then click on the activation link in the email.

    When they click on the activation link they’re taken to the next step page…

    Step 2: Customize your avatar

    They do this then press the button to complete, then they’re taken to the final step…

    Step 3: They’re then directed to the activity page, at the top of this page could be a message to tell them their account is now active and they can start posting.

    This 3 step process gives people a clear path to follow taking them to the page where they can then see what’s going on and begin taking part.

    Each step page is nice and simple.

    What do you think?

    #10141
    Andy Peatling
    Keymaster

    Based on this topic.

    Plugin Authors — If your plugin does not appear in the “Confirmed Update Friendly” PLEASE UPDATE IT ASAP. It’s really important as your plugins are crashing/have the potential to crash user’s WordPress installations when BuddyPress is updated. This reflects poorly on the project, even though BP is not the problem.

    This will take you less than 5 minutes to do if you create a loader.php file and add the code in the link below, then just include your existing main plugin file when BuddyPress has loaded.

    http://codex.buddypress.org/how-to-guides/checking-buddypress-is-active/

    Not Update Friendly (crashes site):

    Any plugins in this list that have not been updated for 1.2 will be removed from http://buddypress.org/extend/plugins/.

    • BuddyPress Events Calendar
    • bpPicture Album
    • BuddyPress AJAX Chat
    • BP-TagBox
    • Twire / Twitter to Wire
    • Auto Group Join
    • Achievements
    • BuddyPress Stats
    • CD BuddyBar Logo Changer ( is_site_admin() doesn’t exist in WP 2.9.2 before bp_init – should be current_user_can(‘install_plugins’) )
    • Remove Avatars ( is_site_admin() doesn’t exist in WP 2.9.2 before bp_init – should be current_user_can(‘install_plugins’) )
    • BP Translate ( is_site_admin() doesn’t exist in WP 2.9.2 before bp_init – should be current_user_can(‘install_plugins’) )

    Potentially Not Update Friendly (does not crash site but needs updating):

    Plugins that don’t crash but do not check if BuddyPress is active:

    • BP Group Documents
    • BuddyPress Group Tags
    • BuddyPress Rate Forum Posts
    • BuddyPress Multilingual
    • BuddyPress Profile Widget for Blogs
    • TDLC Birthdays
    • Jet Random Members Widget
    • Jet Random Groups Widget
    • BuddyPress Admin Bar Mods
    • BP Announce Group
    • BP Redirect to Profile
    • BuddyPress Real Names
    • Buddypress Pages to Navigation
    • BP Tiny MCE
    • Inbox Widget
    • BP Paginated Posts
    • BP Registration Options
    • BuddyPress Friends On-line (FOL)
    • Remove BuddyPress AdminBar
    • Invite Friends

    Plugins that use an old method of BP detection and need updating to use bp_init loader method:

    • BuddyPress Maps
    • BuddyPress Group Blog
    • BuddyPress My Friends Widgets
    • BuddyPress Widget Pack
    • BuddyPress-Kaltura Media Component)
    • BuddyPress Group Email Subscription
    • BuddyPress Classifieds
    • BuddyPress Quick Press
    • BuddyPress Group Wiki
    • BuddyPress Sitewide Featured Posts
    • BuddyPress Group Activity Notifications ( Error in live version: First argument is expected to be a valid callback, ‘ass_init’ )

    Confirmed Update Friendly (high-fives!):

    • Tweetstream
    • Facestream
    • BP Group Management
    • BP Groupblog
    • BP Expand Activity
    • Invite Anyone
    • BuddyPress Forums Extras (all)
    • BuddyPress Like
    • oEmbed for BuddyPress
    • Forum attachments for BuddyPress
    • BP Profile Privacy
    • BP Notification Widget
    • BP Import Blog Activity
    • Custom Profile Filters for BuddyPress
    • BP Include non Member Comments
    • BP MPO Activity Filter
    • BuddyPress Links
    • BuddyPress Group Twitter
    • BuddyPress External Group Blogs
    • BP Random Members Widget
    • BuddyPress Template Pack
    • Group Forum Subscription for BuddyPress
    • Enhanced BuddyPress Widgets
    • BuddyPress Album+
    • BuddyPress Geo
    • BP Member Filter (but should move all BP specific code to separate file to be safe)
    • BP Member Map (but should move all BP specific code to separate file to be safe)
    • BuddyPress Restrict Group Creation (but should move all BP specific code to separate file to be safe)
    • BuddyPress Sitemap Generator (but should move all BP specific code to separate file to be safe)
    • Welcome Pack

    Please post a followup message if you have updated your plugin, or if you find any other plugins that crash.

    Checking your BuddyPress plugins

    Deactivate all of your plugins. Individually activate a single BuddyPress plugin. If it activates and you do not get a white screen or white screen with error message, then the plugin is update friendly. Otherwise please post it in this thread to add to the hall of shame! :) If you get a white screen then to fix this remove the plugin folder from wp-content/plugins/

    #70211

    In reply to: Search Activity

    Nahum
    Participant

    Something like this? I got it to work this way in a custom page template but not in the activity index. any help…on getting it to work in the activity dir where its bp_ajax_querystring( ‘activity’ ) and some other differences like the filter select.

    <?php

    $searchterm = $_POST['searchterm'];

    ?>

    <form NAME ="form1" METHOD ="post" ACTION = "<?php bloginfo('url'); ?>/search">

    <input TYPE = "TEXT" id="whats-new" Name="searchterm" value="" >

    <INPUT TYPE = "Submit" Name = "Submit1" VALUE = "Search Activity">

    </form>

    <?php if ( bp_has_activities('search_terms=' . $searchterm) ) : ?>

Viewing 25 results - 1,126 through 1,150 (of 1,252 total)
Skip to toolbar