Search Results for 'code'
-
Search Results
-
Hi, I am having trouble installing the group component of buddy press. I follow all the directions and have created a file in my host root directory and pasted the code they said to. Despite this I go to the menu for groups and create a group – it says form valid and that is as far as it goes. The group is not in the directory and I can’t go on to the other things such as settings, avatar etc… I am not good at code or complex stuff like the rest of you so can any of you give me easy to understand suggestions or a way to get the group component live. Thank you so much!!
LauraI’m creating a customised forums front page for bbPress, by listing forums in a different way to the bbPress default.
Essentially what I’m trying to do is replace the use of bbp_list_forums() with a second, nested bbPress loop so that I have greater control over how the sub-forums are displayed.
I know I can use the ‘before’ and ‘after’ parameters of bbp_list_forums() but that doesn’t give me as much control as I need.
The only question I found that came close was this one which doesn’t actually provide a definitive answer.
Code won’t paste nicely here so it’s over here: http://wordpress.stackexchange.com/questions/64681/creating-nested-forum-loops-in-bbpress
See the bbp_list_forums() reference – in place of that I want another “while (bbp_forums())…” loop but how do I do that without interfering with the main loop?
Thanks
Topic: Problems bbPress1 migration
Hello everybody!
I have a bbPress 0.9.0.7 forum running that works great. http://elanillounico.com/v5/foro
It has it’s users linked to my WordPress 3.4.2. http://elanillounico.com/I wanted to migrate the bbPress to bbPress 2.1.2 (actual version) but I guess I am doing something wrong.
The new url for the forum is: http://elanillounico.com/forumsWHAT I AM DOING…
First of all I’m installing bbPress 2.1.2 plugin and I activate it in my WordPress.
Second I go to Tools – Forums – Import Forums, I select the bbPress1, I insert the db options and select all the options that suit my server so it doesn’t overload.
I start the process and I wait until it finishes saying “No tags to convert” and then… I am getting this error 🙁
WordPress database error: [Table 'my_database_forum.bb_term_relationships' doesn't exist]
SELECT convert(term_relationships.object_id USING "utf8") AS object_id,convert(term_taxonomy.term_taxonomy_id USING "utf8") AS term_taxonomy_id,convert(terms.name USING "utf8") AS name FROM bb_term_relationships AS term_relationships INNER JOIN bb_term_taxonomy AS term_taxonomy USING (term_taxonomy_id) INNER JOIN bb_terms AS terms USING (term_id) LIMIT 0, 1000Apart from this, the installation does not go right. When I go to my forums, the forums themselves are all right. But the topics are all mixted up. It looks like if the answers to the original topics are now topics as well, so I have the forums with all of the messages as if they were topics, they are not linked as if they were lost the id that linked them.
Any idea of what this means and why this happened??
Question I have: Do I have to upgrade first to version bbPress 1.1 before I upgrade to bbPress 2.1.2?
Thank you very much! 🙂
Juan C.I’d like to have some control over the number of recent topics shown in the [bbp-topic-index] shortcode, presently it shows 15 items which is a too many for my liking.
Where is the limit set and can it be changed without disturbing the normal forum display?
Ideally I’d like this an option in the settings but I’m happy to edit the file for now.
John
Hi there – and sorry upfront for yet another question with regards to bbPress-Themes…
- I have been doing thorough research in the forums, no answers for me…
- Versions: WordPress running 3.4.2, bbPress is 2.1.2
My situation_
I have setup bbPress to work with my custom theme (OptimizePress) and embedded the [bbp-forum-index]-shortcode into a single page (“forum”). Here I could obviously pick a site-template and therefore the forum is nicely embedded into my site-layout.
Since I cannot continue using shortcodes & (slug-)pages for dynamically generated topics, I went ahead and followed the customization instructions. I can ensure that the right (template-)files are called upon (inside my /theme-directory) because I played around with content-single-forum.php f.ex. and also checked for the correct CSS-reference.
I also followed the instructions concerning the functions.php (in /theme):
add_theme_support( 'bbpress' ); remove_action( 'bbp_enqueue_scripts', 'bbp_theme_compat_enqueue_css' );Now I need to wrap the forum-specific template-files with the page-template used by my custom theme. I already tried integrating the bbPress-code into the exisiting page-template with no positive result (no server-response or strange loop-behaviour).
Either I went down the right road but am weak in skill at modifying PHP-Code or there is a far easier approach I haven’t seen/figured out yet (which again doesn’t compliment me on my skill-level…).
Anyways, maybe someone can help me out / hint me into the right direction.
Thanks so much in advance,
RegardsHenning
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 />
}