Search Results for 'custom activity page'
-
Search Results
-
I did a complete new install Multisite install.+ BP.
## situation ##
domain.com/ * with out BP functions.+ user login
domain.com/members-area/ * BP communty must be only active on here now using the default. BP theme for testing. (this will be a member area)
• Only activated BP in the site admin of the “/members-area/” site.
• Moved the 6 BP template in the /bp-default/ map and in /blogs.dir/2/## Problem ##
• when is use the links in the navigation bar ‘activity’ and ‘members’ ect.
( it shows domain/members-area/)i’m getting a “Page Not Found”
* when i go to the top drop down menu
he brings me here on the main site and not in the BP site domain.com/members-area/domain.com/members/admin/activity/
So he redirects me back to index.php on the root.
## my vsion ##
the BP install is rooting / looking onlly ad the root of the multisite install.
## htacces ##
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]## bb-config.php ##
<?php
/**
* The base configurations of bbPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys and bbPress Language. You can get the MySQL settings from your
* web host.
*
* This file is used by the installer during installation.
*
* @package bbPress
*/// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for bbPress */
define( ‘BBDB_NAME’, ‘xxx’ );/** MySQL database username */
define( ‘BBDB_USER’, ‘xxxxx’ );/** MySQL database password */
define( ‘BBDB_PASSWORD’, ‘xxxx’ );/** MySQL hostname */
define( ‘BBDB_HOST’, ‘localhost’ );/** Database Charset to use in creating database tables. */
define( ‘BBDB_CHARSET’, ‘utf8’ );/** The Database Collate type. Don’t change this if in doubt. */
define( ‘BBDB_COLLATE’, ” );/**#@+
* Authentication Unique Keys.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/bbpress/ WordPress.org secret-key service}
*
* @since 1.0
*/
define( ‘BB_AUTH_KEY’, ‘put your unique phrase here’ );
define( ‘BB_SECURE_AUTH_KEY’, ‘put your unique phrase here’ );
define( ‘BB_LOGGED_IN_KEY’, ‘put your unique phrase here’ );
define( ‘BB_NONCE_KEY’, ‘put your unique phrase here’ );
/**#@-*//**
* bbPress Database Table prefix.
*
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
*/
$bb_table_prefix = ‘wp_bb_’;/**
* bbPress Localized Language, defaults to English.
*
* Change this to localize bbPress. A corresponding MO file for the chosen
* language must be installed to a directory called “my-languages” in the root
* directory of bbPress. For example, install de.mo to “my-languages” and set
* BB_LANG to ‘de’ to enable German language support.
*/
define( ‘BB_LANG’, ” );$bb->custom_user_table = ‘wp_users’;
$bb->custom_user_meta_table = ‘wp_usermeta’;$bb->uri = ‘http://www.twine-networks.com/wp-content/plugins/buddypress/bp-forums/bbpress/’;
$bb->name = ‘ Forums’;
$bb->wordpress_mu_primary_blog_id = 1;define(‘BB_AUTH_SALT’, ‘put your unique phrase here’);
define(‘BB_LOGGED_IN_SALT’, ‘put your unique phrase here’);
define(‘BB_SECURE_AUTH_SALT’, ‘put your unique phrase here’);define(‘WP_AUTH_COOKIE_VERSION’, 2);
?>
## wp-config ##
<?php
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information
* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
* wp-config.php} Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during the
* installation. You don’t have to use the web site, you can just copy this file
* to “wp-config.php” and fill in the values.
*
* @package WordPress
*/// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘xxx’);/** MySQL database username */
define(‘DB_USER’, ‘xxx’);/** MySQL database password */
define(‘DB_PASSWORD’, ‘xxxx’);/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);/** Database Charset to use in creating database tables. */
define(‘DB_CHARSET’, ‘utf8’);/** The Database Collate type. Don’t change this if in doubt. */
define(‘DB_COLLATE’, ”);/**#@+
* Authentication Unique Keys and Salts.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
*
* @since 2.6.0
*/
define(‘AUTH_KEY’, ‘put your unique phrase here’);
define(‘SECURE_AUTH_KEY’, ‘xxxxxxxxxxxxxx’);
define(‘LOGGED_IN_KEY’, ‘xxxxxxxxxxxxxxxx’);
define(‘NONCE_KEY’, ‘xxxxxxxxxxxxxxxx’);
define(‘AUTH_SALT’, ‘xxxxxxxxxxxxxxx’);
define(‘SECURE_AUTH_SALT’, ‘xxxxxxxxxxxx’);
define(‘LOGGED_IN_SALT’, ‘xxxxxxxxxxxxxx’);
define(‘NONCE_SALT’, ‘xxxxxxxxxxxxxxxxxxxx’);/**#@-*/
/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = ‘wp_’;/**
* WordPress Localized Language, defaults to English.
*
* Change this to localize WordPress. A corresponding MO file for the chosen
* language must be installed to wp-content/languages. For example, install
* de.mo to wp-content/languages and set WPLANG to ‘de’ to enable German
* language support.
*/
define (‘WPLANG’, ”);/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*/
define(‘WP_DEBUG’, false);define( ‘MULTISITE’, true );
define( ‘SUBDOMAIN_INSTALL’, false );
$base = ‘/’;
define( ‘DOMAIN_CURRENT_SITE’, ‘www.domain.com’ );
define( ‘PATH_CURRENT_SITE’, ‘/’ );
define( ‘SITE_ID_CURRENT_SITE’, 1 );
define( ‘BLOG_ID_CURRENT_SITE’, 1 );/* That’s all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */
if ( !defined(‘ABSPATH’) )
define(‘ABSPATH’, dirname(__FILE__) . ‘/’);/** Sets up WordPress vars and included files. */
require_once(ABSPATH . ‘wp-settings.php’);Thanks
Dennis
Here is a quick snippet to display the group’s latest activity on the Group’s Directory Page:
function my_group_loop_activity_item() { global $bp, $activities_template; if ( !bp_is_active( 'activity' ) ) return; if ( !bp_group_is_visible() ) return; $show_hidden = false; /* Group filtering */ $object = $bp->groups->id; $primary_id = bp_get_group_id(); if ( 'public' != $bp->groups->current_group->status && groups_is_user_member( $bp->loggedin_user->id, bp_get_group_id() ) ) $show_hidden = true; /* Note: any params used for filtering can be a single value, or multiple values comma separated. */ $defaults = array( 'display_comments' => false, // false for none, stream/threaded - show comments in the stream or threaded under items 'sort' => 'DESC', // sort DESC or ASC 'page' => 1, // which page to load 'per_page' => false, // number of items per page 'max' => 2, // max number to return 'include' => false, // pass an activity_id or string of ID's comma separated 'show_hidden' => $show_hidden, // Show activity items that are hidden site-wide? /* Filtering */ 'object' => $object, // object to filter on e.g. groups, profile, status, friends 'primary_id' => $primary_id, // object ID to filter on e.g. a group_id or forum_id or blog_id etc. 'action' => false, // action to filter on e.g. activity_update, new_forum_post, profile_updated 'secondary_id' => false, // secondary object ID to filter on e.g. a post_id /* Searching */ 'search_terms' => false // specify terms to search on ); $r = wp_parse_args( $args, $defaults ); extract( $r ); $filter = array( 'user_id' => false, 'object' => $object, 'action' => $action, 'primary_id' => $primary_id, 'secondary_id' => $secondary_id ); $activities_template = new BP_Activity_Template( $page, $per_page, $max, $include, $sort, $filter, $search_terms, $display_comments, $show_hidden ); while ( bp_activities() ) : bp_the_activity(); ?> <div class="item-desc" id="activity-"> <div class="activity-avatar"> <a href=""> </a> </div> <div class="activity-content"> <div class="activity-header"> </div> </div> </div> <?php endwhile; } add_action( 'bp_directory_groups_item', 'my_group_loop_activity_item' );Add this to bp-custom.php or functions.php in your theme.
Although if your group is a private group, the activity will still show up on the page.
After I made my theme ‘buddypress-ready’ by the template pack plugin, all the BuddyPress directory pages are properly working (Activity, Members,Groups, Register), accept for Forums.
When I go to the forum-page, I get my sidebar widgets in a row, but no forum and my page does not look good. At the end of the page, it says:
`Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 131072 bytes) in /srv/customers/06220401/zv-mosaqua.nl/wordpress/wp-includes/class-feed.php on line 4`Also, when I try to remove the admin bar, by placing `define( “BP_DISABLE_ADMIN_BAR’, true );` into wp-config.php, there still stands a white space where the bar was. How can I fix this?
Moreover, when I try to activate the plugin ‘Buddypress Sliding Login Panel’ (the reason i wanted to remove the admin bar), nothing happens!
Can somebody help me with these problems, cause I can’t figure it out!yes, I know there are several topics to this, but PLEASE don’t just link me to them, all of them don’t really work.
I have successfully put the post form for users to post on other people’s activity stream’s like buddypress.org, “post something to %”
but the problem is when they do, the @mention goes to the @mention page, <b>I don’t want this to happen!</b>
@boonebgorges post here, http://buddypress.org/community/groups/creating-extending/forum/topic/mentions-show-up-on-personal-activity-streams-like-they-do-here-on-bp-org/#post-77720 About the filters, does not work, when I put in the bp-custom.php file, all <i>other</i> activity disappears accept one @mention appears, and when I post additionally, the @mentions still go to the @mention page.
Maybe we can clear things up in this topic, please help!!!
any one know how to add adsense ads to the e-mail notifications that buddypress send ?? i think that could generate extra few bucks ! any ideas ?? i dont think that i saw such thing before … but google have adsense for e-mails ! (not sure) and if not adbrite is always there ! so any one want to discuss how to do that ? maybe we can custom some php page or something and inject the ads code ….. come on guys lets squeeze our websites to the last cent !!!! dont misunderstand me ! i really pay lots for hosting !!
I’ve noticed in the new version of BuddyPress 1.3 that pages will be used to create the sections of the site such as Members, Activity etc. While this may seem super easy for a user to change the urls, it also breaks the rules of good web development. Pages in WordPress are supposed to be static content, they are not supposed to be used to fake sections just to get a pretty url. I much preferred the original and current method of having all the urls and sections built in the code behind as that’s exactly what they were. If anything, an additional settings page should been added to allow users to change the urls in the admin rather than resorting to using pages to deal with it. There was similar problems with custom post types in WP 3.0 whereby a user to create a fake page to show the posts which is now being fixed in the 3.1 release by having an inbuilt index page.
Think of it this way. Themes are essentially your website, and when a user switches a theme it should reflect as such, so if I switch themes or change plugins the pages I have should reflect, in other words the content shouldn’t be dependant on the theme or plugin. With the new method if a user ditched BP they would have a bunch of fake pages, as they have no content they were used solely to fake the whole url structure which is just bad design.
I really hope someone on the development team reads and takes notice of this post and that others get involved in this discussion because I think BuddyPress has just been ruined with this new approach, if the WP core team can see and fix the problem why has the BP team gone and made the same mistake they did?
Is there an “official” way to make the homepage show the Groups Listing?
I am building a directory so would prefer to show my groups on the home page not posts or activity stream.My hack:
1. created a page named groups – with slug groups and using custom permalink %postname% so this page is at domainname.com/groups/2. set my Reading Settings to show static page – page selected is groups
So when I access my site I get the Groups listing on the homepage.
So my question is there a better way to do this using a plug-in or setting?
TIA,
ajI want add some function(custom code) in activity page, but where can I add them? for examle, I want to add a custom submit botton in it, which can add something to my database.
I noticed there have a folder in wp-contentpluginsbuddypressbp-activity, there have 4 php files in it, which one can I modify? Thanks.I am trying to find a way to add more blog post content to the activity feed. I have a photography class where each student posts multiple photos inside of a post on their blog. What I need is a way for the activity page to show all of the pictures the student has posted in their latest post. The only thing I get is the first picture of the set they have uploaded. Is there a way to customize the bp_excerpt call or get rid of the excerpt all together and display all of the content?
Thanks
Topic: RiotCart.com: A Reworking
So, some of you may remember me (or not, that’s fine too) from my BP project ClothUnderground.com, a venue for WAHM vendors to set up shop and sell their handmade goods…well, it flopped.
However, being the trooper that I am, I have recently decided to have another go at this. I enlisted the brutally honest criticism of both demographics I was after in the first place, WAHM crafters and those who buy their wares, and the results have not been very surprising.
The first thing that was mentioned (and not so gently, may I add) was that the site’s name was too exclusive. I tend to run in the online cloth diapering Mom/natural parenting circle, and chose “Cloth Underground” as a way to give those of us in that circle with pierced faces and tattoos a place to feel at home. My first stroke of genius was “ClothMafia.com” (which I do own, lol), but was warned that some might not like the connotation of the word “mafia”. Shortly after, I found out about CraftMafia.com, though and was glad I hadn’t gone in a similar direction. The “underground” part also seemed to be an issue, simply because it wasn’t descriptive enough of shopping OR crafting community. Anyway, The first order of business with the rebirth of this project was a new name. I wracked my brain for several days for something that held onto the “underground” spirit, but was more indicative of what the site was all about, and “RiotCart.com” hit me like a ton of bricks in the shower the other day. “Riot” gives it that spirit of rebellion and non-conformism, and “cart” is a common word in the community that I’m targeting (competitor’s sites: HyenaCart.com, CongoCart.com), so it ended up being perfect, IMO

The number one complaint about the site setup was that everyone was confused by the main site newsfeed and groups feature. Most have told me that they found themselves overwhelmed just looking at the home page (I had my main site newsfeed set up there) and left. One even told me that she felt as if she were intruding on others’ conversations, and it turned her off. As for the groups, I think that the vocabulary bears a bit of the blame, but mainly, there are already several other large, busy, dedicated forums for those that my site was targeting, so I simply disabled the feature altogether (except for one private group forum for my vendors to share tricks and ask questions away from prying eyes, but that’s beside the point).
The second biggest complaint was that there was too much focus being put on the community aspect of the site, and not nearly enough on the reason we were all there..shopping! In response, there is no longer a main site newsfeed linked to anywhere on the site. The only newsfeed that members have easy access to are those available in the “activity” sub items on their profile (personal, friends, groups (how do I get rid of that?), favorites, and @mentions). I’ve also linked the logged in member’s name in the sidebar directly to their “friends” feed, which seemed like a more natural landing spot than a list of what the member has posted herself.
As for the shopping side of things, I already had a good working sitewide post aggregation system going on using Donncha’s Sitewide Tags plugin, so I actually just incorporated that into the main site and onto the front page, rather than having it relegated to it’s own child blog. The main site index page now consists of a “features” module, where I’ll be posting about cool things our vendors are doing, giveaways, etc., a site news module, and below all of that, the very latest items that vendors have posted to their shops (currently set to 5, but will increase at some point). Since I incorporated the Sitewide Tags blog into the main site, I ended up deciding to create a new custom post type for site news, with categories “news” and “features”, so as not to muddy the waters too terribly. I’ve also installed the WPMU Blog Topics plugin, which will give shoppers yet another way to find what they’re looking for, as shop (child blog) owners will now have a way to categorize their entire shop into topics that I’ve pre-set, which will be great once we get the vendors signing up again.
Incredible feats (at least to me) that have not changed from the old site:
1. Member profile feedback system
2. Original shop (child blog) usage tutorials
…Anyway, I’d love for anyone who’s willing to check it out! It’s still very much a WIP and not ready for relaunch yet, but I really feel like I’m headed in the right direction this time. I do have a wealth of suggestions already from the vendors and shoppers that I’m catering to, but I’d definitely welcome the same from those of you here, who are probably a lot more technical minded (I especially need help with the sidebar…I’m drawing a total blank on what to do with that ugly thing!) Balance is nice
