Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: (sigh) integration cookie problem for all users except admin


Korhan Ekinci
Participant

@korhanekinci

ok, I had one member with user name “Korhan”, I guess I did this by mistake in the forum profile edit area and could not somehow change it back to “korhan”. So I went inside the database and changed it manually. Posting works now.

I also changed all profile links in forums to buddypress /member/username way, so that there are no 2 places where users play with their profiles but just one and that should be buddypress profile pages.

I know this is going off topic, but here is what I did so that others can use it. I use the looks-like-buddypress theme for my forums:

I changed the logged-in.php file:

<div id="logout-link">
<?php bp_loggedinuser_avatar_thumbnail( 20, 20 ) ?> &nbsp;
<?php bp_loggedinuser_link() ?>
<?php bb_admin_link( 'before= / ' );?>
/ <?php bb_logout_link(); ?>
</div>

Also added the css

#logout-link {
float: right;
}

#logout-link img {
vertical-align: middle;
}

This way the looks are the same as bp

I also changed the sign-up page link to bp’s. I replaced the sign-up button in login-form.php with this:

<input type="button" name="signup-submit" id="signup-submit" value="<?php _e( 'Sign Up', 'buddypress' ) ?>" onclick="location.href='<?php echo bp_signup_page() ?>'" />

Skip to toolbar