Search Results for 'custom activity page'
-
AuthorSearch Results
-
March 30, 2010 at 8:41 pm #70904
Hugo Ashmore
ParticipantRunning 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.
March 30, 2010 at 6:18 am #707773sixty
ParticipantPlease 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.
March 28, 2010 at 12:59 pm #70529rich! @ etiviti
ParticipantMarch 27, 2010 at 11:11 pm #70478In reply to: BuddyPress and Mystique theme
itsalltech1
ParticipantCreating 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?
March 27, 2010 at 11:29 am #70388In reply to: BP mark as spammers acts wierd in 1.2.2.1
brianterry10
MemberI 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?
March 26, 2010 at 1:15 am #70211In reply to: Search Activity
Nahum
ParticipantSomething 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) ) : ?>March 24, 2010 at 11:14 am #69964In reply to: How to have a landing page for guests?
nado
MemberCan you please explain how to do this?
I’d like to have a custom landing homepage (preferably just a wordpress “page”) with general information for non-logged-in users… then if the user is logged-in the homepage defaults to the activity stream (and becomes the “Home” menu link). i.e. when logged-in the custom landing page is unaccessible.
March 22, 2010 at 3:16 am #696243sixty
ParticipantThank you! This is very powerful.
I customized it to exclude blog comments and forum comments:
if ( $activity->type == ‘new_blog_comment’ || $activity->type == ‘new_forum_post’) {
March 21, 2010 at 4:24 pm #69562In reply to: BP GroupBlog, P2 ready (with bugs)! Please review…
Bowe
ParticipantFirst note: AWESOMEMILICIOUS!
2nd note: Posting new blogposts works great! I can add new posts/photos and videos on the blog page and you get a nice growl like notification when you post something.. This is some serious next level stuff!
The magazine theme layout looks cool, but I feel it’s bit overwhelming for certain users. especially on lower resolutions I feels a bit crammed, with the 3 column recent posts, etc. But I think that’s something personal, and you already said that you’re working on different layouts. I’ve tried to view a different layout in my blog, but could not find the settings. But my suggestion for a third theme would be:
http://emberapp.com/bowromir/images/untitled-8/sizes/o
This is quite simple but powerful enough.. I don’t know if you can add custom text boxes/widgets, but I think that would allow user to be creative with their blog. I forgot to offer a search/archive widget, but that would be handy as well.
3rd note: To avoid confusion I would probably rename Status Update in the groupblog to something like News Update or Blog Update, so that it does not get mixed up with a status/activity update in BuddyPress. To be honest I think that the P2 status update does not add much to it, because a group admin can easily post a status update in the group itself. I understand it’s a added feature in the P2 theme, but I think BP handles it very well.. This is also something personal though

4th: Maybe allow the user to switch to a full markup mode or tiny editor to have more control over longer posts. You already mentioned bringing everything to the front end, but maybe you can solve this by opening a lightbox with the full featured posting of the WP backed (and then remove the navigation in the admin, so the users only sees the posting area). This might be complicated and/ore messy, but it would make for a better user experience.
I’m really really impressed with the current plugin so far and I can’t wait to try it on my site. Thanks so much for sharing this Marius and the rest of YWAM!
March 20, 2010 at 7:10 pm #694573sixty
ParticipantWhile this is an elegant hack, it just occurred to me that this is not optimal if you want to preserve an individual user’s ability to check blog comments in an activity stream. If I read the code correctly, it prevents blog comments from triggering an activity update in the database, so blog comments never get recorded as an activity.
If that’s true, then it would be preferable to still RECORD the activity, but simply not DISPLAY it in the activity loop. Unfortunately, from this codex tutorial, it seems like the “filter” options only allow you to SHOW one type of activity (rather than filtering OUT one type of activity):
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/
March 19, 2010 at 8:04 am #69188Mariusooms
ParticipantThis is the code for pagination:
<div class="pagination">
<div class="pag-count"><?php bp_activity_pagination_count() ?></div>
<div class="pagination-links"><?php bp_activity_pagination_links() ?></div>
</div>It is already on that page, but it wrapped in
<noscript>tags. Just remove those tags and should be good for the top of the page. Just repeat that code somewhere at the bottom, preferably just before the<?php else : ?>statement.To remove to “load More” tab remove or uncomment the following code on that same template:
<?php if ( bp_get_activity_count() == bp_get_activity_per_page() ) : ?>
<li class="load-more">
<a href="#more"><?php _e( 'Load More', 'buddypress' ) ?></a>  <span class="ajax-loader"></span>
</li>
<?php endif; ?>Also look at this codex page, it could be helpful to show you a number of things:
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/
March 10, 2010 at 2:31 pm #67558In reply to: Getting theme to work (infocus)
kingfelix23
Memberah, I have discovered another thing I need to look into with that specific theme.
With infocus you can specify any page to use a specific sidebar which you can create and populate with specific widgets. I created a “buddypress” sidebar which I filled with some community related stuff as well as a login and some of the buttons from the menubar. However the pages I have made linked to buddypress. For instance the page that links to http://templeofthewayoflight.org/wp/activity/ ignores this setting and uses the default infocus sidebar.
I am using a “page links to” plugin for that page but I still think it should honor the settings and use the sidebar I have chosen in the backend for that page, I do think that that has worked with other custompage I have made.
March 9, 2010 at 12:10 pm #67367In reply to: Getting theme to work (infocus)
kingfelix23
MemberYesterday I discovered that if I use the links from the last page of bp template thingie:
Navigation Links
You may want to add new navigation tabs or links to your theme to link to BuddyPress directory pages. The default set of links are:
* Activity: http://templeofthewayoflight.org/wp/activity/
* Members: http://templeofthewayoflight.org/wp/members/
* Groups: http://templeofthewayoflight.org/wp/groups/
* Forums: http://templeofthewayoflight.org/wp/forums/
* Register: http://templeofthewayoflight.org/wp/register/ (registration must be enabled)
These do work and use my customized index.php from the folders in my theme file. I have no idea where the bar gets the urls and why it ignores my cutomisation.
I might not want to use the bar anyway, but even if I create a menu of my own I would like to be able to use the more specified links in the bar aside from the standard ones, ie all the subthings, and just copying and paste those obviously wont work.
Is there any widget one can use that has the same things that are in the buddypress bar?
March 8, 2010 at 8:38 pm #67264In reply to: Need help locating the activity-header code
hypergripe
ParticipantHey @modemlooper;
I’d like to know how you do that… I’m trying to alter the layout of the updates on our (child theme) activity stream page at http://www.hypergripe.com/activity/ so that when a blog update is mentioned, the permalink to the blog post is on the next line and bolded, or in an h3 tag or something to look like a blog title – (the way the code is now the second link does not have a css identifier, and adding css to that specific link is impossible – i think).
I tried to alter the core bp-blogs.php file on line 433 and line 468, where it SEEMS the code for the activity stream is getting generated, but when I change this line:
$activity_action = sprintf( __( '%s wrote a new blog post: %s', 'buddypress' ), bp_core_get_userlink( (int)$post->post_author ), '' . $post->post_title . '' );to this:
$activity_action = sprintf( __( '%s wrote a new blog post: %s', 'buddypress' ), bp_core_get_userlink( (int)$post->post_author ), '
' . $post->post_title . '' );then upload it, there is no change on the activity stream page….
I’m baffled. Ya, I know I’m changing core files – I’ve customized a few core files but have made a schedule of changes for future updates – or until there are gentler fixes.
Thanks in advance – your participation in other threads has been very helpful!
March 7, 2010 at 12:48 am #67061In reply to: Multiple blogs on Buddypress
bennettberlin
ParticipantSay I have a site with 2 buttons in the header, “Books” and “Blog”. Blog is my normal WPMU blog which displays all post categories, including “Books”. Books should only display blog posts with the category “Books”. The BP activity stream should display all posts.
The Blog-in-Blog plugin did the trick, but seems incredibly hard to style. I tested a few other similar plugins (some did not seem to work with WPMU) before settling on the “post-page-association-plugin” which works fine. I have it set just to show the first post from the Books category on a custom page.
However, I would like to learn how to code this myself so that I can add some buttons to the the Books page so that the user can display other single books posts by clicking these buttons. Clicking would replace the current books post with the selected books post.
Hope this is less confusing!
March 5, 2010 at 12:47 am #66781In reply to: Excluding Blog Posts from Activity Feed
joshsadler
MemberI’m looking for this too. I don’t want any blogs to display in the activity feed on a custom page.
I’m using this to limit the number of posts shown at a time to 5 and I don’t want it to be filled up with my blog posts.
<?php if ( bp_has_activities(‘per_page=5’) ) : ?>
I’d settle for someone telling me how to only display 5 status updates.
March 1, 2010 at 10:23 pm #66217In reply to: Activating existing users
Tim Nicholson
ParticipantOk, here’s where I’m at so far. I found out what BP uses to determine if a WP user is a BP user. There is NOT a separate table for BP users. A WP user is considered a BP user if that user has performed ANY “activity”. The BP Members page displays ONLY users that have done something in BP.
For example, when a new user registers, an activity is created saying that user registered. The standard WP user meta table (wp_usermeta) gets a record added for that User ID called “last_activity” and the meta value is the current date and time. Once a user has a last_activity record, then they are displayed in the BP Member directory. You’ll notice that in the Member directory it shows the total users, which should be your total number of WP users, but it also says “Viewing member 1 to x (of x active members”.
I have verified this by manually adding a record to the user meta table for one of my users that registered before I was running BP. That person now shows in the BP member directory.
Now I also see code in BP that attempts to update (or create if not found) the user’s last_activity meta record every 5 minutes while they are logged in. This is so that BP can show how long ago a particular user was “active” for various pages and widgets. I tested this by logging in as another WP user (non-BP user) and it added the record and now displays that person in the list. It also seems to have added that user’s full name in the BP custom profile field table (wp_bp_xprofile_data).
So without doing ANYTHING, our BP member directory will grow as users log in to our site. This probably isn’t a bad thing because if there are users that registered a long time ago for some reason and don’t plan on ever coming back, why list them in the directory?
However, I may still go ahead and try to figure out the best way to programatically add records for all the WP users. My site is new and since I only have 221 users, I’d like to have them added to BP, if for no other reason than for better testing of the plugin before I roll it out. I currently have BP activated, but have hidden all the menus so user’s don’t really know how to get to any of it. My site is at http://xtremelysocial.com if you want to check it out. Just go directly to a BP URL, such as http://xtremelysocial.com/activity/. I’m jacking around with adding BP support to my highly customized WP theme right now so if the formatting looks whacky, that’s why.
I’ll post an update if I work something out programatically to add all the WP users to the BP member directory.
March 1, 2010 at 6:39 pm #66170In reply to: Buddypress 1.2 & BBpress Broken
Carl Chapman
MemberRay – thanks for the input. I managed to get that far myself (after trying every other combination) and seein another of your posts. Very helpful.
My remaining problem is this, everything is redirected to the ‘home’ page of the blog.
1. Which version of WP/MU are you running?
WP 2.9.2
2. Did you install WP/MU as a directory or subdomain install?
directory
3. If a directory install, is it in root or in a subdirectory?
sub-directory
4. Did you upgraded from a previous version of WP/MU? If so, from which version?
no, not on MU
5. Was WP/MU functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
yes
6. Which version of BP are you running?
plugin – Version 1.2.1
7. Did you upgraded from a previous version of BP? If so, from which version?
no – fresh install
8. Do you have any plugins other than BuddyPress installed and activated?
yes, but it doesn’t matter, I deactivated every plugin except Buddy Press, same behavior
9. Are you using the standard BuddyPress themes or customized themes?
I have tried using custom themes as well as the default BuddyPress themes
10. Have you modified the core files in any way?
no
11. Do you have any custom functions in bp-custom.php?
no
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
it came with it built in, but I haven’t turned it one yet…
13. Please provide a list of any errors in your server’s log files.
no errors
14. Which company provides your hosting?
HostGator
I have installed BuddyPress in a development environment so that I can test its functionality. It is located at this address http://www.irreia.org/dev (which is a copy of my live blog.
I can successfully navigate to the several pages that are created by BuddyPress:
http://internationalresidentialrealestateinvestorsassociation.org/dev/activity/
http://internationalresidentialrealestateinvestorsassociation.org/dev/groups/
http://internationalresidentialrealestateinvestorsassociation.org/dev/members/
But if I try to use the admin bar, I can’t get to any page – all pages are redirected to the ‘home’ page of the blog.
I have two members Admin and Carl Chapman, who show up as listed on the main member page, but the hyperlinks to their individual pages are redirected to the ‘home’ page of the blog.
It is the same for any other ‘sub-page’… all are redirected to the ‘home’ page of the blog.
I’m completely stumped. What am I doing wrong? What’s happening and how do I fix it?
March 1, 2010 at 6:34 pm #66168Carl Chapman
MemberI think I am having the same problem or at lease very similar.
1. Which version of WP/MU are you running?
WP 2.9.2
2. Did you install WP/MU as a directory or subdomain install?
directory
3. If a directory install, is it in root or in a subdirectory?
sub-directory
4. Did you upgraded from a previous version of WP/MU? If so, from which version?
no, not on MU
5. Was WP/MU functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
yes
6. Which version of BP are you running?
plugin – Version 1.2.1
7. Did you upgraded from a previous version of BP? If so, from which version?
no – fresh install
8. Do you have any plugins other than BuddyPress installed and activated?
yes, but it doesn’t matter, I deactivated every plugin except Buddy Press, same behavior
9. Are you using the standard BuddyPress themes or customized themes?
I have tried using custom themes as well as the default BuddyPress themes
10. Have you modified the core files in any way?
no
11. Do you have any custom functions in bp-custom.php?
no
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
it came with it built in, but I haven’t turned it one yet…
13. Please provide a list of any errors in your server’s log files.
no errors
14. Which company provides your hosting?
HostGator
I have installed BuddyPress in a development environment so that I can test its functionality. It is located at this address http://www.irreia.org/dev (which is a copy of my live blog.
I can successfully navigate to the several pages that are created by BuddyPress:
http://internationalresidentialrealestateinvestorsassociation.org/dev/activity/
http://internationalresidentialrealestateinvestorsassociation.org/dev/groups/
http://internationalresidentialrealestateinvestorsassociation.org/dev/members/
But if I try to use the admin bar, I can’t get to any page – all pages are redirected to the ‘home’ page of the blog.
I have two members Admin and Carl Chapman, who show up as listed on the main member page, but the hyperlinks to their individual pages are redirected to the ‘home’ page of the blog.
It is the same for any other ‘sub-page’… all are redirected to the ‘home’ page of the blog.
I’m completely stumped.What am I doing wrong? What’s happening and how do I fix it?
March 1, 2010 at 5:03 pm #66142rohit4all
ParticipantMy WPMU & BP is working fine. Even I am able to browse everything like forums, groups, activity with ease. I can create individual blogs as well & further I can post new topic. I am able to access those posts & blogs. But when I click on “Blog” icon on header I will get message like this
“Page Not Found
The page you were looking for was not found.”
I changed nothing except in control panel for dns entry for a “/” for subdomain.
1. Which version of WPMU are you running? WordPress MU 2.9.1.1
2. Did you install WPMU as a directory or subdomain install? directory
3. If a directory install, is it in root or in a subdirectory? subdirectory
4. Did you upgrade from a previous version of WPMU? If so, from which version? fresh install
5. Was WPMU functioning properly before installing/upgrading BuddyPress? Yes, sure it was i even created a blog and was reading the posts normally.
6. Which version of BuddyPress (BP) are you running? BP1.2.1
7. Did you upgrad from a previous version of BP? If so, from which version? No
8. Do you have any plugins other than BuddyPress installed and activated? no
9. Are you using the standard BuddyPress themes or customized themes? standard
10. Have you modified the core files in any way? no
11. Do you have any custom functions in bp-custom.php? no
12. If running bbPress, which version? NO
13. Please provide a list of any errors in your server’s log files.
Please help me solve this, I have struggled a lot with it. Thank you!
March 1, 2010 at 2:41 pm #66118pollycoke :)
ParticipantHere’s how: in your /plugins/ directory, create a file called bp-custom.php with this content:
<?php
function bp_remove_comment_ac() { remove_action( ‘comment_post’, ‘bp_blogs_record_comment’, 10, 2 ); } add_action( ‘bp_init’, ‘bp_remove_comment_ac’ );
?>
It works on blog comments posted after you do this.
Many thanks to apeatling for the solution!
February 28, 2010 at 12:33 pm #65979In reply to: blog link replaced with activity in 1.2
oracleappscommunity
ParticipantThanks david. I don’t want blog posts on home page as I use custom home page. In top navigation (home, activity, groups, forums etc), how to I add ‘Blog’ and clicking on the link would display blogposts. This is how it used to work in prior to 1.2 upgrade
February 28, 2010 at 4:36 am #65953In reply to: blog link replaced with activity in 1.2
David Lewis
ParticipantYou have to create a new WordPress Page called “Blog” and then go into “Settings > Reading” and switch the front page mode to static with the “Blog” page selected as your “Posts page”. I think it will use the index.php template. Do you have a custom homepage?
February 28, 2010 at 1:56 am #65932In reply to: Different home pages for logged-in/logged-out users
hotdvl666
MemberThank you! You guys have been of great help.
@Philip: I have done what you’ve said, exactly, but it seems like I can only make the code work if I edit header.php.
Here’s the code I used (I adapted the method you used in your first reply and second reply):
<?php if (is_user_logged_in()) { ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php bp_page_title() ?></title>
<?php do_action( 'bp_head' ) ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<?php if ( function_exists( 'bp_sitewide_activity_feed_link' ) ) : ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php _e('Site Wide Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_sitewide_activity_feed_link() ?>" />
<?php endif; ?>
<?php if ( function_exists( 'bp_member_activity_feed_link' ) && bp_is_member() ) : ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_displayed_user_fullname() ?> | <?php _e( 'Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_member_activity_feed_link() ?>" />
<?php endif; ?>
<?php if ( function_exists( 'bp_group_activity_feed_link' ) && bp_is_group() ) : ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_current_group_name() ?> | <?php _e( 'Group Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_group_activity_feed_link() ?>" />
<?php endif; ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts RSS Feed', 'buddypress' ) ?>" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts Atom Feed', 'buddypress' ) ?>" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); ?>
</head>
<body <?php body_class() ?> id="bp-default">
<?php do_action( 'bp_before_header' ) ?>
<div id="header">
<h1 id="logo">" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php bp_site_name() ?></h1>
<ul id="nav">
<li<?php if ( bp_is_front_page() ) : ?> class="selected"<?php endif; ?>>
" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?>
<?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; ?>>
<?php endif; ?>
<li<?php if ( bp_is_page( BP_MEMBERS_SLUG ) || bp_is_member() ) : ?> class="selected"<?php endif; ?>>
<?php if ( bp_is_active( 'groups' ) ) : ?>
<li<?php if ( bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() ) : ?> class="selected"<?php endif; ?>>
<?php if ( bp_is_active( 'forums' ) && bp_is_active( 'groups' ) && ( function_exists( 'bp_forums_is_installed_correctly' ) && !(int) bp_get_option( 'bp-disable-forum-directory' ) ) && bp_forums_is_installed_correctly() ) : ?>
<li<?php if ( bp_is_page( BP_FORUMS_SLUG ) ) : ?> class="selected"<?php endif; ?>>
<?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; ?>>
<?php endif; ?>
<!--<?php wp_list_pages( 'title_li=&depth=1&exclude=' . bp_dtheme_page_on_front() ); ?>-->
- Back to The 7th Zone »
<?php do_action( 'bp_nav_items' ); ?>
<!-- #nav -->
<div id="search-bar">
<div class="padder">
<form action="<?php echo bp_search_form_action() ?>" method="post" id="search-form">
<input type="text" id="search-terms" name="search-terms" value="" />
<?php echo bp_search_form_type_select() ?>
<input type="submit" name="search-submit" id="search-submit" value="<?php _e( 'Search', 'buddypress' ) ?>" />
<?php wp_nonce_field( 'bp_search_form' ) ?>
</form><!-- #search-form -->
<?php do_action( 'bp_search_login_bar' ) ?>
</div><!-- .padder -->
</div><!-- #search-bar -->
<?php do_action( 'bp_header' ) ?>
</div><!-- #header -->
<?php do_action( 'bp_after_header' ) ?>
<?php do_action( 'bp_before_container' ) ?>
<center>Network: The 7th Zone :: Home | Grand Theft Auto HQ | Hot Devil 666's HQ | Silent Fiona's HQ
</center><p>
<div id="container">
<?php } else { ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php bp_page_title() ?></title>
<?php do_action( 'bp_head' ) ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<?php if ( function_exists( 'bp_sitewide_activity_feed_link' ) ) : ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php _e('Site Wide Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_sitewide_activity_feed_link() ?>" />
<?php endif; ?>
<?php if ( function_exists( 'bp_member_activity_feed_link' ) && bp_is_member() ) : ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_displayed_user_fullname() ?> | <?php _e( 'Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_member_activity_feed_link() ?>" />
<?php endif; ?>
<?php if ( function_exists( 'bp_group_activity_feed_link' ) && bp_is_group() ) : ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_current_group_name() ?> | <?php _e( 'Group Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_group_activity_feed_link() ?>" />
<?php endif; ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts RSS Feed', 'buddypress' ) ?>" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts Atom Feed', 'buddypress' ) ?>" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); ?>
</head>
<body <?php body_class() ?> id="bp-default">
<?php do_action( 'bp_before_header' ) ?>
<div id="header">
<h1 id="logo">" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php bp_site_name() ?></h1>
<ul id="nav">
<li<?php if ( bp_is_front_page() ) : ?> class="selected"<?php endif; ?>>
" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?>
<?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; ?>>
<?php endif; ?>
<li<?php if ( bp_is_page( BP_MEMBERS_SLUG ) || bp_is_member() ) : ?> class="selected"<?php endif; ?>>
<?php if ( bp_is_active( 'groups' ) ) : ?>
<li<?php if ( bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() ) : ?> class="selected"<?php endif; ?>>
<?php if ( bp_is_active( 'forums' ) && bp_is_active( 'groups' ) && ( function_exists( 'bp_forums_is_installed_correctly' ) && !(int) bp_get_option( 'bp-disable-forum-directory' ) ) && bp_forums_is_installed_correctly() ) : ?>
<li<?php if ( bp_is_page( BP_FORUMS_SLUG ) ) : ?> class="selected"<?php endif; ?>>
<?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; ?>>
<?php endif; ?>
<!--<?php wp_list_pages( 'title_li=&depth=1&exclude=' . bp_dtheme_page_on_front() ); ?>-->
- Back to The 7th Zone »
<?php do_action( 'bp_nav_items' ); ?>
<!-- #nav -->
<div id="search-bar">
<div class="padder">
<form action="<?php echo bp_search_form_action() ?>" method="post" id="search-form">
<input type="text" id="search-terms" name="search-terms" value="" />
<?php echo bp_search_form_type_select() ?>
<input type="submit" name="search-submit" id="search-submit" value="<?php _e( 'Search', 'buddypress' ) ?>" />
<?php wp_nonce_field( 'bp_search_form' ) ?>
</form><!-- #search-form -->
<?php do_action( 'bp_search_login_bar' ) ?>
</div><!-- .padder -->
</div><!-- #search-bar -->
<?php do_action( 'bp_header' ) ?>
</div><!-- #header -->
<center>Network: The 7th Zone :: Home | Grand Theft Auto HQ | Hot Devil 666's HQ | Silent Fiona's HQ
</center><p>
<div id="container">
<div id="content">
<div class="padder">
<div class="page" id="blog-page">
<h2 class="pagetitle">Welcome to the party!</h2>
<div class="post" id="post-68">
<div class="entry">
<p>Social networking at The 7th Zone is like partying! …and more! Joining in the fun at The 7th Zone is nothing like you’ve experienced on Facebook, MySpace, or any major social networking sites! Akin to a crazed, wild college party, The 7th Zone is where fun-loving youths, as well as video game enthusiasts and tech geeks can hang out!</p>
<p>Staying up late to snag that cool-sounding medal in Halo 3, or piloting that Annihilator helicopter in Grand Theft Auto IV’s Free Mode? Fancy that VAIO Z laptop, or are you going nuts over a MacBook Pro refresh? Think the iPad is gimmicky and expected so much more? Prefer metal over the Jonas brothers, and classic Hip Hop over auto-tuned sh*t? This site is for you, the cool kid!</p>
<p>Right here at The 7th Zone Community, you can create your own free blogs. With 500 MB of upload space, a feature-packed plugins set, and 117 beautiful themes, just how much more can you get for $0? More details here.</p>
<p>Join us now. Registration is as easy as a few clicks! Hit the jump below to register yourself!</p>
<div align="right">
<h2>Register Me! »</h2>
</div>
<p>Edit this entry.</p>
</div>
</div>
</div><!-- .page -->
<?php do_action( 'bp_after_blog_page' ) ?>
</div><!-- .padder -->
</div><!-- #content -->
<?php locate_template( array( 'sidebar.php' ), true ) ?>
<?php get_footer(); ?>
<?php } ?>
For some reason, my site still displays whatever page I’m on for non-logged in users, and it does so after the footer for the else case. I have no clue what I did wrong. I have no experience in PHP code, but it looks fine to me. Is there an error I made somewhere?
It also seems that if I set the activity stream to be the home page, the custom home page title that I’ve set in the All-in-One SEO pack doesn’t seem to take effect too. If I want to show logged in users the activity stream as the home page, with my custom home page title, how do I go about doing that?
Thanks.
February 27, 2010 at 11:54 pm #65919In reply to: Group Blog for BP1.2 is now available
Mariusooms
Participant@Avi M I have not tested it with sub-domains sadly. I will see if I can get a test environment for that as well. If anyone else can chime in on subdomains issues, feel free.
@Mike Thanks…let me know what could be useful to add. Group activity streams will come, but I’m not sure how exactly yet. Therefore I included a custom groupblog activity loop on the group blog page.
-
AuthorSearch Results