Search Results for 'theme'
-
AuthorSearch Results
-
January 11, 2009 at 2:48 pm #36081
Burt Adsit
ParticipantKinda something like this?: https://buddypress.org/forums/topic.php?id=540
January 11, 2009 at 5:34 am #36063In reply to: /register… blank
Burt Adsit
ParticipantOn the main page when I click the “Sign up” button, it goes to /register… and 404’s.
/register? Can you give me a link to your site? What is a Clark Connect box?
I’m guessing ‘main page’ is the bp home theme. There are three places a user can choose to signup from there. The admin bar ‘sign up’ the home theme header area ‘login’ and ‘sign up’ buttons and if you are using the welcome widget it has a ‘create account’ button. All three launch wp-signup.php as far as I can see.
Using the url mysite.org/register running the home theme gets the normal registration functions in the left sidebar.
Anything else is a config problem on that box that isn’t allowing normal bp behavior.
January 11, 2009 at 2:40 am #36053In reply to: no links work at all (noob)
Burt Adsit
ParticipantThe only problems are ‘news’, ‘members’, ‘groups’ buttons in the home theme? All else works ok? I don’t know what blog.php has to do with anything. If you hit ‘news’ bp uses ‘index.php’ to display latest posts on that blog.
If members and groups directories aren’t running at all then you should be getting an error msg.. ok stop..
I re-read your msg and you are getting 404s but things are running. Ok. It helps to actually read the other person’s msg. (sigh)
The 404’s are a known problem when running the various directories. A workaround to eliminate the 404s is to create pages with the same slug as the directory slugs.
members
groups
blogs
Three pages with the above slugs should eliminate the 404s. They just serve as placeholders.
January 11, 2009 at 1:40 am #36052In reply to: no links work at all (noob)
ballerjones
Memberyeah, I’ve already registered my sub domains. It was just alumniconnect.localhost. But it’s not like my subdomain is getting a 404 error, they pages are (news, members, etc).
I have no idea what to do.
defining the URL (negating mod_rewrite, in case that was the problem) I did:
http://alumniconnect.localhost/wp-content/themes/buddypress-home/blog.php
it loads, surprisingly, but reads the error:
“Fatal error: Call to undefined function get_header() in C:localhostalumniconnectwp-contentthemesbuddypress-homeblog.php on line 1”
January 10, 2009 at 1:36 pm #36035In reply to: Log Out Redirect Error
Burt Adsit
ParticipantI have a signature running on other forums that reads: “You’re not doing anything wrong. Stop trying to do it right.”
In this case that’s appropriate. The stock behavior for mu and bp is to redirect back to the original url. But we don’t have to live with stock behavior. We got code.
The offending hunk we’re talking about is the various places that bp allows a user to logout. In all cases it has ‘redirect_to=’ site_url(). This takes the user back to where the logged out from. site_url() is what you want to change.
You need to say get_blog_option(1, ‘siteurl’) instead of that. That gets the url for the root/home blog in mu, blog id 1.
You’ll see two logout lines wherever bp allows a logout option. One is for mu 2.7 and it reads: wp_logout_url(site_url()). The other just reads ‘redirect_to=’ site_url()
The mu 2.7 version adds some security stuff to the mix and needs that wp_logout_url() call. In both cases and in all spots change ‘site_url()’ to get_blog_option(1, ‘siteurl’) and things will work as you want them to work.
I see the header in the home theme, two places in the member theme and the admin bar as spots to change.
header.php - www/wp-content/themes/buddypress-home line 48 <?php if ( function_exists('wp_logout_url') ) : ?>header.php - www/wp-content/member-themes/buddypress-member line 46 <?php if ( function_exists('wp_logout_url') ) : ?>bp-core-adminbar.php - www/wp-content/mu-plugins/bp-core line 81 if ( function_exists('wp_logout_url') ) {bp-core-templatetags.php - www/wp-content/mu-plugins/bp-core line 55 if ( function_exists( 'wp_logout_url' ) ) {Those line numbers may not be exact in all cases but it’ll be in the general vicinity.
The problem that you have to be aware of is that you are modifying stuff that will get overwritten when you update your bp installation. You’ll have to make sure that if you use SVN things get merged in properly and if you’re not using SVN then you’ll manually have to go around and put the mods back in each time.
January 10, 2009 at 11:15 am #36030In reply to: BP Themes Site
danielfelice
Participanti have finished the site now so all we need are some themes!
January 10, 2009 at 7:09 am #36028In reply to: Log Out Redirect Error
elishahong
MemberHey I apologize for that, I thought something went wrong with my browser.
Well I installed BuddyPress using the Combo Zip and I got all that problem. When I reinstalled using the trunk version, everything became alright but the login issue remains a problem.
It seems that the redirect code is not redirecting to the main blog and as I mentioned earlier. I am referring to the “Header” section of the “Home Theme”
I identified the code from the header. Here’s the code:
<?php if ( function_exists(‘wp_logout_url’) ) : ?>
/ ” alt=”<?php _e( ‘Log Out’, ‘buddypress’ ) ?>”><?php _e( ‘Log Out’, ‘buddypress’ ) ?>
<?php else : ?>
/ “><?php _e( ‘Log Out’, ‘buddypress’ ) ?>
<?php endif; ?>
Is it possible for someone to help me adjust this script so as to make it log out to the login page instead of a redirect? Although I wish that it would redirect to my main blog but I’ll settle for less. Help me look at a bigger picture here, I’ve installed everything and followed every possible instruction that I can find but help me understand what’s going on with this code and I’ll learn from it.
Thank you for your patience and understanding.
January 10, 2009 at 3:20 am #36017In reply to: Log Out Redirect Error
Burt Adsit
ParticipantAll these errors seem to be related to the fact that the various components in bp aren’t initializing properly. Your setup is like:
../<document root>/<wpmu subdirectory>/wp-content/mu-plugins/<bp installed here>
../<document root>/<wpmu subdirectory>/wp-content/member-themes/buddypress-member
../<document root>/<wpmu subdirectory>/wp-content/themes/buddypress-home
?
January 9, 2009 at 11:05 pm #36000In reply to: Regarding the themes
Wardee
ParticipantHi, Burt! Morning??? You must not be sleeping much.
January 9, 2009 at 10:54 pm #35999In reply to: Regarding the themes
Burt Adsit
ParticipantMornin’ wardeh! @martin47 this is ‘our’ tool. Andy built it for ‘us’. The boys and girls at Automattic are letting us play with it. Us includes you.
January 9, 2009 at 10:48 pm #35998In reply to: Regarding the themes
Wardee
Participanthttps://codex.buddypress.org/getting-started/installing-individual-components/
Scroll down to Installing the Home Theme
January 9, 2009 at 8:55 pm #35992In reply to: Log Out Redirect Error
elishahong
MemberHome theme, where the root of my blog is located, in fact the admin bar(drop down list [log out]) is also affected.
I got this result for both the log out links for the home theme and the admin bar:
You don’t have permission to access /blog/wp-login.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I attempted to replace the code for the admin bar and got the same result as how mdsports had. It didn’t redirect to my home blog page.
I downloaded the latest WordPressMU and BuddyPress(I used the beta link that was given)
Here’s the admin bar code which I identified:
// **** “Log In” and “Sign Up” links (Visible when not logged in) ********
function bp_adminbar_login_menu() {
if ( !is_user_logged_in() ) {
echo ‘<li class=”bp-login no-arrow”>‘ . __( ‘Log In’, ‘buddypress’ ) . ‘‘;
// Show “Sign Up” link if registrations are allowed
if ( get_site_option( ‘registration’ ) != ‘none’ ) {
echo ‘<li class=”bp-signup no-arrow”>‘ . __( ‘Sign Up’, ‘buddypress’ ) . ‘‘;
The Home theme header logout link(the one to the right) is also similar but I have no idea how PHP really works and I spent a few hours figuring out what the problem was but I’m interested to learn how these stuff works and I hope you guys can enlighten me.
January 9, 2009 at 5:15 pm #35967In reply to: News Control
alunsina
ParticipantI tried that by changing the blog id. It removed the recent blog post from front page but didn’t change the News Page.
The news page I’m referring to is the one in between Home and Members page on the top right hand side of the default Buddy Press Theme.
January 9, 2009 at 3:53 pm #35962In reply to: News Control
yu
ParticipantSidebar widgets: Design -> Widgets -> Blog-sidebar
Left side and all other content: wp-content/themes/buddypress-home/single.php
January 9, 2009 at 2:40 pm #35959In reply to: BuddyPress Showoff: Post your links
alunsina
Participantmight as well.

my site is http://upd8t.com
it currently has no real definition on the targeted audience. all the same, i’m pretty happy with it and enjoying the site. i’m using the default buddypress theme. the buddypress concept is awesome!
January 9, 2009 at 1:19 pm #35955In reply to: Log Out Redirect Error
Burt Adsit
Participant@elishahong Can you explain where this logout link is? Home theme, member theme, admin bar… Exactly where does it take you and what version of mu are you running?
January 9, 2009 at 8:04 am #35939In reply to: I’m stuck, please help
Famous
ParticipantThis is random, but if I were to give an educated guess–it seems like the toughest part to comprehend initially might be that you don’t put the member themes under the themes file (directory) you put them in wp-contents. Just a guess, hope you figure it out and have fun…
And also, is it possible that you were using the kubrick theme as your home theme instead of the BuddyPress Home Theme? That would give the plugin error.
Also to remove buddypress just remove all contents from mu-plugins and restore your theme to Kubrick.
January 8, 2009 at 11:37 pm #35928In reply to: I’m stuck, please help
Anointed
Participantarrrggghhhhh
Now when I click on ‘create a blog’ I end up at my profile page.
I’ve got this install all messed up now.,
The worst part is now I can’t figure out how to remove buddypress so I can go back to troubleshooting the problem. Even if I change theme’s for my main acct, I still have buddypress bars etc…
I’m totally stumped now, please help if anyone has the time to look.
January 8, 2009 at 8:22 pm #35915In reply to: Blank screen in new created blog
yu
Participantoh.. now i get it! thanks man ) i’ll install default theme, so new blogs will use it ))
January 8, 2009 at 8:18 pm #35913In reply to: Blank screen in new created blog
Trent Adams
ParticipantThe only blog that should be using the buddypress-home theme is the main blog. All other blogs can use whatever theme the users usually want if they are installed. I am getting the impression that you deleted the “default” folder out of /wp-content/themes/ and that is what is causing you issues.
Trent
January 8, 2009 at 8:10 pm #35912In reply to: Blank screen in new created blog
yu
Participantnope, this is not php error. this is blog creation error. when i create new blog from ‘/wp-admin/wpmu-blogs.php’ – it’s config is not correct. ‘Default theme’ and ‘Default stylesheet’ are set to ‘default’. Dunno what it mean, but when i change this line to ‘buddypress-home’ – new blog works like a charm ) is there anything i can do to make ‘dafault’ theme works for new created blogs? or automate ‘buddypress-home’ adding to this fields? oO
January 8, 2009 at 7:27 pm #35907In reply to: BP Themes Site
nicolagreco
Participantjoin in bpdev and send me a message
January 8, 2009 at 5:38 pm #35898In reply to: No admin bar in blogs
Burt Adsit
ParticipantThe theme has to call wp_footer() for the bar to display. If you are running wpmu 2.7 trunk then you have to disable the mu admin bar if you want to see the bp admin bar. It’s one or the other.
January 8, 2009 at 9:11 am #35881In reply to: BP Themes Site
danielfelice
Participantthanks guys!
@nicolagreco – i’ll send you a mail regarding collaboratingJanuary 8, 2009 at 6:32 am #35867In reply to: BP Themes Site
nicolagreco
Participantvery good idea gpo, if you wan we can collaborate (bpdev). i would open a setion for themes, and if you want i can redirect it to your site
-
AuthorSearch Results