Search Results for 'code'
-
Search Results
-
WordPress 3.4.2 / bbPress 2.1.2 / site:
bit.ly/OVo94wHave never used bbPress before so bear with me.
The main problem is all non-admin/author/etc users (including public) cannot see any of the posts (confirmed with a test account as both a basic and paid user). Anybody that’s not a user essentially can see the posts though. Can provide screenshots or test logins if needed.
As if that wasn’t bad enough, after a WordPress update, a cropped version of the main logo for the site started showing up on the forum index after ‘Forums by’.
There also seems to be an issue with public visibility of all the forums on the index (have checked permissions/etc). They all show up to a logged in user but only 2 of them show up for a non-registered/public user and bots indexing the site.
Have tried a number of things so far that i have found in other topics here: Disabling Akismet (and a number of other plugins to see if there are any conflicts), Deactivating and Reactivating bbPress, deleting and re-creating the forums, and more.
At this point I am a little lost, and not sure how to fix these and really would like to avoiding having to completely re-install bbPress/Wordpress.
Thanks for your help in advance.
Hello, I am using TwentyEleven and bbPress 2.1.2
TwentyEleven has a width limit 980px and that is OK.
I want to integrate bbPress but I want it to be 100% full screen width.
I do not want the whole site to be 100% full screen width.
I just want the forums to be 100% and the rest of the site to be 980px.
The problem div id=bbpress-forums is inside div id=page
page { margin: 0 auto; padding: 0 25px; width: 980px; }I don’t know how to separate these divs.
Any help? Thanks
Hi,
As I needed to have a customisable register form for BBPress, I changed the registration to the customisable fields I needed and altered the database. This works fine.
However now when a new user registers and logs in, they cannot view the profile page as a “You do not have sufficient permissions to access this page.”
When I look in the back end as an admin the user is automatically given the role of “subscriber”. If changed to “Forum Participant” the user is allowed to view the profile page, however I want the role to be set automatically, rather than the admin doing it.
So I have got to the point where in the registration process I have this code so far to fix this:
//Where $u is the newly registered user who has been added to the database
$u->remove_role( ‘subscriber’ );
$u->add_role( ” );
The problem is I don’t know the parameter in the add_role function for Forum Participants (or any other way to do this).
If anyone could tell me this it would be greatly appreciated!
Thanks in advance
Hey all,
I had a previous post where i logged a user into bbpress by passing credentials from our site in the url. that worked fine but we were not using bbpress embedded in wordpress at the time.
Now we have changed the configuration by setting up a full WP site with bbpress as a plugin.
the goal is still the same: Send a user to our bbpress forum and automatically log them in.
We are using a single forum so i have made changes to
bbpress\bbp-theme-compat\bbpress\content-single-forum.php
Currently the user is logged in correctly. However when any topic link is pressed the “You must log in….” message is shown. Apparently is_user_logged_in returns false.
Any help on how to make the logged in user persist to more than the first page would be greatly appreciated.
We are using bbpress 2.1.2 and wp 3.4.1
My code for logging in a user is:
<br />
$loginCreds = array();<br />
$loginCreds['user_login'] = $user_login;<br />
$loginCreds['user_password'] = $_GET['password'] ;<br />
$loginCreds['remember'] = true ;<br />
$user = wp_signon( $loginCreds, false );<br />
if ( is_wp_error($user) ){<br />
echo $user->get_error_message();<br />
echo $_GET['password'] ;<br />
} else {<br />
$user_id = $user->ID;<br />
wp_set_current_user($user_id);<br />
wp_set_auth_cookie($user_id, true);<br />
}Hy. I DO NOT want to use child theme! i hate it.
I need to do a little modify to the topic title. Example show it on “bold” style instead of “not bold” style. Yeah i know… when update version i need to repet the css modify or lost it so is better to use child theme… NO THANKS.
SO… on suorce code of my bbpress (plugin) page i found “<a class="bbp-forum-title" ……"
GOOD bbp-forum-title is "my man" … the question is WHERE (DEVIL) I FOUN IT?????? IN which
(cursed) CSS file???Thank you.
PS. BuddyPress 1.6.1 + WordPress 3.4.1 + bbpress (plugin) 2.1.2
Topic: Nofollow Not Working
Hi All,
It seems Nofollow is not working.
I usedadd_filter('post_text', 'bb_rel_nofollow'); add_filter('pre_post', 'bb_rel_nofollow');But that didnot work even.
What shall be done?I’ve done the following steps:
1. Checked Allow BuddyPress Groups to have their own forums 2. Created a Group Forum 3. Selected Group Forum is the parent for all group forums 4. In Buddypress,unchecked Discussion Forums component. 5. In Group / Admim / Forum, created a new forum.Upon completion of creating a new forum in group, I got redirect to Group Forum directory under bbpress page instead of group Forum tab. Under the group Forum tab, it shows This group does not currently have any forums.
I need some help to get things set up right. Thanks!Hi,
I have installed BBPress, in my current registration page I have the code [bbp-register] which works and lets a user register. However the only fields here are to choose a username and enter email, where an password is automatically sent. What I need is to have an password field which the user enters, rather than having a generated one. I would also like other custom fields such as gender and age.
The form is located in form-user-register.php
Its fine to add the extra input boxes here and display, but I don’t know how these would get stored and saved.
Any help on how to make the custom fields save and which files to look at would be extremely helpful.
Thanks in advance!
Hi! In the loop-single-forum.php, there is this part of code:
do_action( ‘bbp_theme_before_forum_description’ );do_action( 'bbp_theme_after_forum_description' ); And I need to see the description of the forum below it, but there is nothing. I definitely have written the Text, but the_content(); just doesn't work. I also had to do a very hard coded tweak, to show the description of the subforums and it worked, but It doesn't work for normal forums..€: I editet two times and the “code-sample” function doesnt work. so I just inserted in manually.
€2: I cant believe it! This is really the last time I use bbpress, even this forum doesn’t work properly. It allways deletes my html..Topic: latest post on frontpage
I have installed bbpress plugin in my wordpress, but there is not latest topcis on my forums front page like on your http://bbpress.org/forums/
Anyone could give me a latest post loop code, so i can insert it manualy to my template?
many thanks!